From 13df619ba96bd9bc29376b07546714b6922682a8 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 6 Aug 2023 15:55:14 -0500 Subject: [PATCH] fix(server): pin openapi genreator patch and regenerate api (#3573) * fix(server): pin openapi genreator patch and regenerate api * variable --- mobile/openapi/doc/PeopleResponseDto.md | Bin 529 -> 529 bytes mobile/openapi/lib/model/add_users_dto.dart | Bin 2911 -> 2860 bytes .../lib/model/admin_signup_response_dto.dart | Bin 3847 -> 3851 bytes .../lib/model/album_count_response_dto.dart | Bin 3331 -> 3334 bytes .../openapi/lib/model/album_response_dto.dart | Bin 6886 -> 6856 bytes .../model/all_job_status_response_dto.dart | Bin 5956 -> 5966 bytes .../openapi/lib/model/api_key_create_dto.dart | Bin 3173 -> 3174 bytes .../model/api_key_create_response_dto.dart | Bin 3153 -> 3155 bytes .../lib/model/api_key_response_dto.dart | Bin 3520 -> 3522 bytes .../openapi/lib/model/api_key_update_dto.dart | Bin 2747 -> 2748 bytes .../model/asset_bulk_upload_check_dto.dart | Bin 2975 -> 2956 bytes .../model/asset_bulk_upload_check_item.dart | Bin 3170 -> 3172 bytes .../asset_bulk_upload_check_response_dto.dart | Bin 3135 -> 3116 bytes .../model/asset_bulk_upload_check_result.dart | Bin 10073 -> 10077 bytes .../model/asset_file_upload_response_dto.dart | Bin 3176 -> 3178 bytes mobile/openapi/lib/model/asset_ids_dto.dart | Bin 2846 -> 2795 bytes .../lib/model/asset_ids_response_dto.dart | Bin 6317 -> 6320 bytes .../openapi/lib/model/asset_response_dto.dart | Bin 9352 -> 9330 bytes .../lib/model/asset_stats_response_dto.dart | Bin 3295 -> 3298 bytes .../lib/model/auth_device_response_dto.dart | Bin 4098 -> 4104 bytes .../lib/model/bulk_id_response_dto.dart | Bin 6313 -> 6316 bytes mobile/openapi/lib/model/bulk_ids_dto.dart | Bin 2763 -> 2712 bytes .../lib/model/change_password_dto.dart | Bin 3114 -> 3116 bytes .../lib/model/check_duplicate_asset_dto.dart | Bin 3228 -> 3230 bytes .../check_duplicate_asset_response_dto.dart | Bin 3646 -> 3648 bytes .../lib/model/check_existing_assets_dto.dart | Bin 3369 -> 3319 bytes .../check_existing_assets_response_dto.dart | Bin 3227 -> 3176 bytes .../openapi/lib/model/create_album_dto.dart | Bin 4328 -> 4228 bytes .../create_profile_image_response_dto.dart | Bin 3366 -> 3368 bytes mobile/openapi/lib/model/create_tag_dto.dart | Bin 2895 -> 2897 bytes mobile/openapi/lib/model/create_user_dto.dart | Bin 4252 -> 4258 bytes .../model/curated_locations_response_dto.dart | Bin 3963 -> 3968 bytes .../model/curated_objects_response_dto.dart | Bin 3951 -> 3956 bytes .../openapi/lib/model/delete_asset_dto.dart | Bin 2835 -> 2784 bytes .../lib/model/delete_asset_response_dto.dart | Bin 3087 -> 3089 bytes .../lib/model/download_archive_info.dart | Bin 3183 -> 3133 bytes .../lib/model/download_response_dto.dart | Bin 3170 -> 3152 bytes .../openapi/lib/model/exif_response_dto.dart | Bin 10313 -> 10374 bytes .../openapi/lib/model/import_asset_dto.dart | Bin 7334 -> 7343 bytes mobile/openapi/lib/model/job_command_dto.dart | Bin 2955 -> 2957 bytes mobile/openapi/lib/model/job_counts_dto.dart | Bin 3856 -> 3862 bytes .../openapi/lib/model/job_settings_dto.dart | Bin 2807 -> 2808 bytes mobile/openapi/lib/model/job_status_dto.dart | Bin 3050 -> 3052 bytes .../lib/model/login_credential_dto.dart | Bin 3060 -> 3062 bytes .../openapi/lib/model/login_response_dto.dart | Bin 4798 -> 4806 bytes .../lib/model/logout_response_dto.dart | Bin 3134 -> 3136 bytes .../lib/model/map_marker_response_dto.dart | Bin 3187 -> 3190 bytes .../lib/model/memory_lane_response_dto.dart | Bin 3134 -> 3116 bytes .../openapi/lib/model/merge_person_dto.dart | Bin 2835 -> 2784 bytes .../lib/model/o_auth_callback_dto.dart | Bin 2753 -> 2754 bytes .../openapi/lib/model/o_auth_config_dto.dart | Bin 2813 -> 2814 bytes .../lib/model/o_auth_config_response_dto.dart | Bin 5317 -> 5322 bytes .../lib/model/people_response_dto.dart | Bin 3275 -> 3270 bytes .../openapi/lib/model/people_update_dto.dart | Bin 2815 -> 2796 bytes .../openapi/lib/model/people_update_item.dart | Bin 4979 -> 4983 bytes .../lib/model/person_response_dto.dart | Bin 3508 -> 3512 bytes .../openapi/lib/model/person_update_dto.dart | Bin 4769 -> 4772 bytes .../openapi/lib/model/queue_status_dto.dart | Bin 3016 -> 3018 bytes .../lib/model/search_album_response_dto.dart | Bin 3618 -> 3582 bytes .../openapi/lib/model/search_asset_dto.dart | Bin 2801 -> 2802 bytes .../lib/model/search_asset_response_dto.dart | Bin 3618 -> 3582 bytes .../lib/model/search_config_response_dto.dart | Bin 2923 -> 2924 bytes .../lib/model/search_explore_item.dart | Bin 3007 -> 3009 bytes .../model/search_explore_response_dto.dart | Bin 3226 -> 3208 bytes .../search_facet_count_response_dto.dart | Bin 3180 -> 3182 bytes .../lib/model/search_facet_response_dto.dart | Bin 3222 -> 3204 bytes .../lib/model/search_response_dto.dart | Bin 3080 -> 3082 bytes .../lib/model/server_info_response_dto.dart | Bin 4703 -> 4710 bytes .../server_media_types_response_dto.dart | Bin 3783 -> 3630 bytes .../lib/model/server_ping_response.dart | Bin 2789 -> 2790 bytes .../lib/model/server_stats_response_dto.dart | Bin 3621 -> 3605 bytes .../lib/model/server_version_reponse_dto.dart | Bin 3316 -> 3319 bytes .../lib/model/shared_link_create_dto.dart | Bin 5727 -> 5682 bytes .../lib/model/shared_link_edit_dto.dart | Bin 5819 -> 5823 bytes .../lib/model/shared_link_response_dto.dart | Bin 6271 -> 6261 bytes mobile/openapi/lib/model/sign_up_dto.dart | Bin 3404 -> 3408 bytes .../lib/model/smart_info_response_dto.dart | Bin 3493 -> 3391 bytes .../openapi/lib/model/system_config_dto.dart | Bin 3946 -> 3951 bytes .../lib/model/system_config_f_fmpeg_dto.dart | Bin 5316 -> 5326 bytes .../lib/model/system_config_job_dto.dart | Bin 5906 -> 5916 bytes .../lib/model/system_config_o_auth_dto.dart | Bin 5819 -> 5830 bytes .../system_config_password_login_dto.dart | Bin 3013 -> 3014 bytes .../system_config_storage_template_dto.dart | Bin 3065 -> 3066 bytes ...em_config_template_storage_option_dto.dart | Bin 5867 -> 5510 bytes .../openapi/lib/model/tag_response_dto.dart | Bin 3329 -> 3333 bytes .../lib/model/time_bucket_response_dto.dart | Bin 3132 -> 3134 bytes .../openapi/lib/model/update_album_dto.dart | Bin 4811 -> 4814 bytes .../openapi/lib/model/update_asset_dto.dart | Bin 4993 -> 4945 bytes mobile/openapi/lib/model/update_tag_dto.dart | Bin 3119 -> 3120 bytes mobile/openapi/lib/model/update_user_dto.dart | Bin 8365 -> 8374 bytes .../openapi/lib/model/usage_by_user_dto.dart | Bin 3994 -> 4000 bytes .../lib/model/user_count_response_dto.dart | Bin 2891 -> 2892 bytes .../openapi/lib/model/user_response_dto.dart | Bin 6427 -> 6437 bytes .../validate_access_token_response_dto.dart | Bin 3085 -> 3086 bytes .../test/people_response_dto_test.dart | Bin 802 -> 802 bytes server/bin/generate-open-api.sh | 7 +- server/immich-openapi-specs.json | 4 +- .../native/native_class.mustache | 20 +- .../templates/web/apiInner.mustache | 27 +- .../templates/web/apiInner.mustache.orig | 390 ++++++++++++ server/src/domain/person/person.dto.ts | 5 + web/src/api/open-api/api.ts | 596 ++++++++---------- 102 files changed, 691 insertions(+), 358 deletions(-) create mode 100644 server/openapi-generator/templates/web/apiInner.mustache.orig diff --git a/mobile/openapi/doc/PeopleResponseDto.md b/mobile/openapi/doc/PeopleResponseDto.md index 8e02531c78d05ddd4050062f1d49801fe900cafe..1b986955c1805fa0067efb3fbd5f228a1a7e8c6a 100644 GIT binary patch delta 43 tcmbQpGLdD23!{8yUWt~LLX83tacOClWfo^9<)nf|w6uV7lam?O0RR!04E6v3 delta 43 tcmbQpGLdD23!{8qX|9%*LX83tacOClWfo^9<)nf|w6uV7lam?O0RR$s4FCWD diff --git a/mobile/openapi/lib/model/add_users_dto.dart b/mobile/openapi/lib/model/add_users_dto.dart index 9ce47afc6abcfd55d6f377c3beb13beaa2ffe0e6..f680bc995d029495112270315b85d1b9b375b47b 100644 GIT binary patch delta 74 zcmcaFwnl7&0+YBxeo01ZkzR2|Vo_>JXmM(hXG*bxt?lHMjPjc^nbtC~_+%EBOqOHS c5(Y6e^^y~dOKgHmiZb)k?KC!*v%X*j0KJA8Z~y=R delta 121 zcmZ1@c3*6R0+VQbN@{9>Yhh_(PG(7^UMh%DtT9=UNmxKfp*SP4C^aRtIJL+#rC4*b zE7LwE4$qR*qQs<})XD6uTKX`Kre1PlafwZENl|8Ax}AomUP-=BW^su|dQpBkNU@bd N8qnC(%`U7jSON4KDiZ(z diff --git a/mobile/openapi/lib/model/admin_signup_response_dto.dart b/mobile/openapi/lib/model/admin_signup_response_dto.dart index c6f0814f801b3ee3cf43d05f7e6fbd66501b2467..5e6764f23292af3ab3de19717f7dee1bdab8784e 100644 GIT binary patch delta 33 pcmZpd>z3Q_j%o5+Ce_J;%(9bpnN=qTGK+6cXLe-SyplbR9RR{q3TglV delta 50 zcmeB{YnR*bj%o6HCY8w|%rcV=nN@`HOEOZ6^fFTvY;6^Qq?#Jn=1gW67RI8@YuV%2 E0iPQW8UO$Q diff --git a/mobile/openapi/lib/model/album_count_response_dto.dart b/mobile/openapi/lib/model/album_count_response_dto.dart index 62121c1f3521bd4b30c0da84a080ea32b84e1d20..7227cbf55af57e7227c9c87cdd3277e2c2dd9308 100644 GIT binary patch delta 20 bcmZpcYLnW~$~3u!NpM!4pe!{tE``Y#*)%5q zVAGtez%I@PQ8@V^ugv5KcGbx>?6Q+*uq#g9!7i@`HKRBqu_!eqv^cd0Y!EURWZGta W4oR-bnnD*h{}$3`+^j9Kn+*Vh#xF4d delta 176 zcmX?M`pk5LEZbx`HkHZFY&Me{*wpmmQ&Lk4TnkGRb23XR^-@8MVvYQgjMO5%#Ny)A zl42bN2(780rp7h-5Szy2*FY@7E;d=4-EDFayUgT%c7@3s*ySwn7*(8+Sd^L)TAW%0 iG!KabHgxkBc1bSAqRG5M7a5B--xJbj1X8>ryV(FOMLc!@ diff --git a/mobile/openapi/lib/model/all_job_status_response_dto.dart b/mobile/openapi/lib/model/all_job_status_response_dto.dart index 7bf28794883221976f20bd47731309a10d3d6223..17c443abefb82f155eb237d9d2f802ed47e7cec0 100644 GIT binary patch delta 48 zcmV-00MGx#F3v8nrUa9v1TT}*1S^yM1UHj21uc_b1uv701s{{E1tF8m1w)e!2061u G2LBMr!Vzo$ delta 48 zcmV-00MGxL1t62u1wxY-1~{`& G2L2GOc@U%k diff --git a/mobile/openapi/lib/model/api_key_create_dto.dart b/mobile/openapi/lib/model/api_key_create_dto.dart index 91cf836b502ed19663d07c094c70ab916d966e7a..c8eec9bfc7e79f5be239ccce53e350920bb2f367 100644 GIT binary patch delta 12 TcmaDV@l0YvHuL5z=HDCuB~b-E delta 12 TcmaDR@l;|%HuL5j=3g8DC0PYN diff --git a/mobile/openapi/lib/model/api_key_create_response_dto.dart b/mobile/openapi/lib/model/api_key_create_response_dto.dart index d117d7a5e471d05b63e2bdffd992c09c92c492d8..dae46f9b9ea3fd3bd0078e03a570faf79183c34f 100644 GIT binary patch delta 16 Xcmca8aam$RA=BgnCi%^MOourEIXDI@ delta 16 YcmcaCaZzGJA=Bg{Cb`WMnGSIR069jt5-jR!LZ^0p1j delta 56 zcmX>keL#A{DyGS+nN%iUU=kC{FUd$P(#uQCO;xb9RRGg!YFwNDF@0cWESmg|Z6RaP J=6-f#HULgh6aoMM diff --git a/mobile/openapi/lib/model/api_key_update_dto.dart b/mobile/openapi/lib/model/api_key_update_dto.dart index c7002482daba89d61080af02f3ce3f7dc149b8d1..c28cafaee4b952397bba78f41c4b0492046b7965 100644 GIT binary patch delta 12 Tcmdljx<_<_7}I7^rez!e9UlYY delta 12 TcmdlZx?6OE7}I8PrllMJ9VY|h diff --git a/mobile/openapi/lib/model/asset_bulk_upload_check_dto.dart b/mobile/openapi/lib/model/asset_bulk_upload_check_dto.dart index 9a88201a3fbf85771903ad3ee58bbbf49d8084a7..fc80d4537bc7985eceb11fcfc92b72b1c5c2db38 100644 GIT binary patch delta 36 ncmbO)-Xp#tgh^Z>za%5INH4LtIJKl$!PZs*!rENNq{s;XYhh_(PG(7^UMh%DtdU=mky@lzlv-SxQ&Oy>0A*-yp2#$t F699ml74ZN7 diff --git a/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart b/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart index adde2f60ec9547d73405492b251a8e8196310534..4c9bde6dbc1851b17a7ddcefe6d8f92501fb95f6 100644 GIT binary patch delta 41 vcmccVch_%&FUw>f7Wv6pEQ%ru`6U^tMS7Vj3bwWiKvGSOOJVa|mOV-UDWwe< delta 24 gcmccXchhf!FUw><7P-l}EDDqRSj09jW!a$w0C@`t>;M1& diff --git a/mobile/openapi/lib/model/asset_file_upload_response_dto.dart b/mobile/openapi/lib/model/asset_file_upload_response_dto.dart index f75ec6addc65cfc23a79ea55446c738a8a5abb88..ce43f8c15fab0d6b29be6bb859c2e44229d42b90 100644 GIT binary patch delta 16 YcmaDM@k(Mt9@FGpCe_UonXYpJ06Yl>Z~y=R delta 16 YcmaDQ@j_xl9@FG}CY8-on67aG06ZZEa{vGU diff --git a/mobile/openapi/lib/model/asset_ids_dto.dart b/mobile/openapi/lib/model/asset_ids_dto.dart index 1b4fceeaa8bf9e576aadf13fc948c5158035dc2f..68511fe4b1904648b9a2894824ffebc0dd91673a 100644 GIT binary patch delta 74 zcmbOy_F8m<7?ZR@eo01ZkzQhPacYTYO0j~itpbd_*@bB~6N^t~amnQ8EULmFhNfO} VVsVL0a7j^SUb>yeW^2~RtN_F18NdJl delta 125 zcmaDYI!|na7?WOnN@{9>Yhh_(PG(7^UMh%DtdU=mky@meSX`W1;+aycqX1)RZZ>3^ z&BWnZl3J9Ql#@F70*k6XjH9WSoLF396I@c1nU`*-p{ZAr?~_?vqLE&dUk*}irH}?R LI(0J#>tj{`KrSsS diff --git a/mobile/openapi/lib/model/asset_ids_response_dto.dart b/mobile/openapi/lib/model/asset_ids_response_dto.dart index 44845f9585bc19c25cae8e7d9f9515dadf447260..958c1bb9be003e70dc9c98e1bb5edc3b32a15ee0 100644 GIT binary patch delta 20 ccmZ2$xWRD41g6RTOp24&Gs$i~&GbkV09V`y9{>OV delta 20 ccmdmBxYlsP1g6OonG_~(Vv^Z>p6Q_|09X(RB>(^b diff --git a/mobile/openapi/lib/model/asset_response_dto.dart b/mobile/openapi/lib/model/asset_response_dto.dart index 80c4e49a0cf6dff3ef910f2c0f24f33087ed1f76..02bb376cc2be63a36fed0a7f10abb47cc9a1d09d 100644 GIT binary patch delta 152 zcmeD1{N%C0jB~Onr}E@*PTk4PKzb<<9|z)>K)xuK{$yt^@yU@~>XYk%cqy0hnN^m^U}dvaCMrx5>W{QHXtpbo#Q{$Q( z&!siFi%V_tMlPetPk>mQTWhitw}M`LN@{9>Yhh_(PG(7^UMh%DtO3zqkeXkRld7Wt zp*6wA)N!j!Ud*kcg-2USVtTQT0*HiYxzDX31~IUtvLF@YBrpwh)Mj~}iM)(OlQ&2@ RGZtdv%=(5W~Ip;%xaU@GmC9L#_Yrc0GkL2bpQYW diff --git a/mobile/openapi/lib/model/bulk_id_response_dto.dart b/mobile/openapi/lib/model/bulk_id_response_dto.dart index 70efd425182fcf371e6a075b566eb95ade8bf48d..2d23373589b78a67fca73a82168cd6bb3dd95e3a 100644 GIT binary patch delta 37 rcmZ2!xW;fp4b$XmCRq`M{F02+BE8HM1zTGMAgQLtrLcJw(|=I_?6eE? delta 35 pcmZ2uxYBS#4b$XWCK;jpl8n?Mz04E^TU!MnsiwxYc`eg_Q2^U(3$_3N diff --git a/mobile/openapi/lib/model/bulk_ids_dto.dart b/mobile/openapi/lib/model/bulk_ids_dto.dart index ba2076844d6304681f8d1fc1a37a57e8893e05a9..54a32a8ba8bf0056e0fcffa9bf7ed29d01b59b71 100644 GIT binary patch delta 64 zcmX>tIzw~=2a}*eeo01ZkzQs>v4X9w0+8CQ!&Jh=;*(iiGI<4yf-s1osh6BsTw)Vk QQk0pOZl|&NJIfVT0G{L(ssI20 delta 115 zcmbOsdRlY?2a`&CN@{9>Yhh_(PG(7^UMh%DtdU=mky@menNqBy03=7MIurmlS2@rQ2y}>XqdCWEPibq!;CvgA`jSqyY^~-F$@Q G3M&9FGbt4S diff --git a/mobile/openapi/lib/model/change_password_dto.dart b/mobile/openapi/lib/model/change_password_dto.dart index 3008f5b1c5dd12b9acf60c84df77e4ead3f67268..5147c922a0585b4a727762bc1c51127c7ed00546 100644 GIT binary patch delta 16 XcmZ1_u|{G;4AbOjCe6*wOv^a|GVcYJ delta 16 XcmZ1@u}We?4AbOTCXLN)Ov^X{GY18k diff --git a/mobile/openapi/lib/model/check_duplicate_asset_dto.dart b/mobile/openapi/lib/model/check_duplicate_asset_dto.dart index 2e7754e8ad96b769d42a80ad739500f5a3f40f75..3d2a3cd57a3298ca10f0573c05a86c8b4aee77c8 100644 GIT binary patch delta 16 YcmbOuIZtv!3De|aCf&{Rnf`JD05oF;A^-pY delta 16 YcmbOyIY)9s3De|KCY{ZTnEr4A05p3BB>(^b diff --git a/mobile/openapi/lib/model/check_duplicate_asset_response_dto.dart b/mobile/openapi/lib/model/check_duplicate_asset_response_dto.dart index 1419e059a41fff5647665917b62bd87eaa2d193d..f16ba2e9e54331ecedf601faaf7ff72f83e34704 100644 GIT binary patch delta 16 Ycmdldb3kUpdFILIn8i0gVUFSg06xgvrlHjdFII%n8h|fXO83o06yymwEzGB diff --git a/mobile/openapi/lib/model/check_existing_assets_dto.dart b/mobile/openapi/lib/model/check_existing_assets_dto.dart index cf3e4c2eaecbb35591da075aed71d783f407b69a..256a5a1e1740b4abc455292d47cc4969050150fe 100644 GIT binary patch delta 91 zcmZ1}^<8p99g~hieo01ZkzPt_S!QyoV{vh6iDyc&f~~CrnuwYjm%`>fOliz4KAFWO fleO5ig+UBWz2wB=5}V+XqRhN>JB`gPY)jby#4#T# delta 141 zcmew^xl(FF9g|&rN@{9>Yhh_(PG(7^UMh%DtdU=mky@mel3JFToa$IyoLb_UQmmtZ z%GXp-Q{&paiYbkm!?Pr{C^0D~b+QPXwmyubsh6BsTw)VkQk0pOZl|HCSCa3OSzMx# VUX))BQf#G=2DB=5a}e87HUM3lGIsy~ diff --git a/mobile/openapi/lib/model/check_existing_assets_response_dto.dart b/mobile/openapi/lib/model/check_existing_assets_response_dto.dart index db91cf1f0f0660cf7884133cf25181881fb106a8..c8992c6224270d697c645e74a7354e1d27471c4f 100644 GIT binary patch delta 72 zcmbO&`9fkt29u~leo01ZkzQ&=W^qYoUb<&Wv4XAb=7MIurmlOe2+G%Y5&bovR0LPUYd;kCd delta 131 zcmaDMFYhh_(PG(7^UMh%DtdU=mky@meT9H{?l9`w8nNqByfW*<< z+{yHZiNmubwJ0$uCv|cstA;*|qp6piSX^QgTv7zoXs4m6SCa1oG({u5D8C$}*h(P{ MXhG`cBdkl<0MEEF4FCWD diff --git a/mobile/openapi/lib/model/create_album_dto.dart b/mobile/openapi/lib/model/create_album_dto.dart index 7b527eb7bcb75897ea8a7e9160ce66721a0ed767..437ec5c55fa2661f04ff037aef7a90b9d8fe672c 100644 GIT binary patch delta 138 zcmaE%*rK>WlV!37i>iV`eo01ZkzQhPacYTYO0j~itpc2_rpBc(xt>LbQDO1{7I9{v z+~n2F%A5bNOlD#6$t*6JJe^Zj7{t)jOHM2Yhh_(PG(7^UMh%DtdU=mky@meSX`W1;+aycqX1)R zDyXS(P0nM{aloUkI3uwrH6=W=BqOvqwFs;qLr8P;ah4@49G)eqMTto{sgoVK#3#3L z^6A3_H1(1bi%V>RONuh{((N=f^-A)6GK)(z(u?xTK^m+S(tz$voxGfL8nPjJWEh~Z Jc@ftmRscaAV;KMd diff --git a/mobile/openapi/lib/model/create_profile_image_response_dto.dart b/mobile/openapi/lib/model/create_profile_image_response_dto.dart index 9e628efa8ae47b811cccd75ffeb2b5772b4b0969..d5de750154b40f6d7c07dfbccce2564d365e1c7d 100644 GIT binary patch delta 16 YcmZ1`wL)scB&Nv|nT$6dW=iG)05@g^1poj5 delta 16 YcmZ1>wM=TmB&NxenT$3cV@l!z05^UH2mk;8 diff --git a/mobile/openapi/lib/model/create_tag_dto.dart b/mobile/openapi/lib/model/create_tag_dto.dart index ee4a5fe64931f15a96bf42e1b959a5f5cff3a261..6e9ec685f1afad4ba3293a62b89c800fea3b0e0a 100644 GIT binary patch delta 37 pcmX>vc2R7DIg^A!eo01ZkzQV6ZmNQ|Qk3f%wz delta 35 ncmca8c3y0QIg?m^Nk(dsUS48us)DVp0+?1)N-Wmew2p7|{g0F~$ok^lez delta 32 ocmZ3aI7e{<6Z2$dW|_$f%vzJZnN=niFe^=-%&fF|8}l0;0G8khrvLx| diff --git a/mobile/openapi/lib/model/curated_locations_response_dto.dart b/mobile/openapi/lib/model/curated_locations_response_dto.dart index 0b54c4807fc408f141469c9de76eba2bfc41940d..9aac5cc72d1f5a07fead6a1a611cf11038a521db 100644 GIT binary patch delta 49 zcmew@*C4-vgIPi$za%5INH00Fq*B4wRsl?_sc|VxmSZ-U?8~e?IiFd4b1U;VZUBOT B4*&oF delta 47 zcmZpW|1GzHgIO%UBqOy*FFCWMQo+_%0Zgl@aZOfWHkcg9tTefVS!{DR^H**FZcz@* diff --git a/mobile/openapi/lib/model/curated_objects_response_dto.dart b/mobile/openapi/lib/model/curated_objects_response_dto.dart index 40b6e1789b50e85acb47d4b3263c1fe7fcaf5187..8b2cc99495fbbdcb31e802971af2355c2fb123da 100644 GIT binary patch delta 28 kcmaDa_eE|43-e@VX5Gp9%*vAknZ+lkGs|yoWq!pC0EMjx&j0`b delta 28 kcmew&_g-!T3-e@FW}V4K%u16(nZ+jOFw1T3W`4;H0ESHn-T(jq diff --git a/mobile/openapi/lib/model/delete_asset_dto.dart b/mobile/openapi/lib/model/delete_asset_dto.dart index 2f2569097632d08bb5dbf9fd1105c60be0414e49..b6909a4189bdee4d2636d1477ccc39db2a3d809b 100644 GIT binary patch delta 64 zcmbO%_CR!l1e2gbeo01ZkzQs>v4X9w0+8Bl!_>mW;*(iiGWi6Hf-s1osh6BsTw)Vk QQk0pOZl|$Xob?YY0IN0?Q~&?~ delta 115 zcmaDLI$3Ok1d~d9N@{9>Yhh_(PG(7^UMh%DtdU=mky@menNqBy03=7MIurmlS2@rQ2y}>XqdCWEPibq!;CvgA`jSqyY^~-TZ{* G4=VsplPSIc diff --git a/mobile/openapi/lib/model/delete_asset_response_dto.dart b/mobile/openapi/lib/model/delete_asset_response_dto.dart index 4344c778120fc33cf0a784d701b86914db784cab..6e435adcb6884ffddd6b92462ddcbb3485563384 100644 GIT binary patch delta 16 XcmeB|m?*I!m1%McllbN;rm36&FT4ds delta 31 lcmbOz(J!$fl}RYSBqOy*FEd5K)>Z*Xs;O~pu4J0Q2>_qJ31a{N diff --git a/mobile/openapi/lib/model/download_archive_info.dart b/mobile/openapi/lib/model/download_archive_info.dart index 20cf8f9b5f0fefccb390b1922c37467adccac725..ed612cc2c89fcc87d533229d226fbfcbb0cba302 100644 GIT binary patch delta 79 zcmaDau~%Y4G?Riteo01ZkzQhPacYTYO0j~itpc2_rpBePxtB?VnZ+lwxMcE5R#jmT ZLsKs~vAD!0xTGjEFWpXK^Iz5?HUKYh8lV6G delta 129 zcmdlh@m^v>G?P($N@{9>Yhh_(PG(7^UMh%DtdU=mky@meSX`W1;+aycqX1)RDyXS( zZLVe#Vdn5GNi9lD%1NC(nN?LE#?jPEPAo352`(wh%uBb^(9|o*_sJ|S(MT`KF9#{M PQb+?DpSt-pYY`g&&mJx9 diff --git a/mobile/openapi/lib/model/download_response_dto.dart b/mobile/openapi/lib/model/download_response_dto.dart index 1945491a132686b177f87a85ad800e630d1c6a2b..352fd5edffdff6f44bc0718a915a732685b2525d 100644 GIT binary patch delta 45 tcmaDPaY1535tD*Keo01ZkzQg^azYhh_(PG(7^UMh%DtdU=mky@meSd^TRS(aL?qX1)RDyXS( KZJxxmj}rh93l~@b diff --git a/mobile/openapi/lib/model/exif_response_dto.dart b/mobile/openapi/lib/model/exif_response_dto.dart index f508a5ca5800c70203a9430ff4ef7db105838ea3..6ae0177c36a71abd9d714d5413fadf3b5661d48f 100644 GIT binary patch delta 288 zcmX>Z&=$BMhIMi@tMuejR>jFvS&b(jXVskip4D)&Je&SxUpDQ@#DBgUKu$w1|D5=$~mN>fr%74Rs`mW3(E&r8RmVxPj2&B=<-*Z^!o BWbOa} delta 294 zcmZn*JQ=VdhIMi*tJLHQR)xtkS&b&2Vbz%YmDK=<`6rvQ$xjYt)0*7CrZ9OSo8IIL zY#Ji@B^jwjdYQ%f3bwWiAWBV*Yce0Z+GJC9mB~>+T+c2wc^13OMHi{3`IY7-r535j0%aD-Edwc>BrgI|mo6V5h)@S~8(7Ub`6w}jXij2DW=UyE dDp<-zVYWDuRDNDMLhg^k62_v<3lyKR0RX9bjCe_W=O!=GuIbQ|H delta 16 XcmaDO{z`m91k>b5CY8-~OnICDId=ui diff --git a/mobile/openapi/lib/model/login_credential_dto.dart b/mobile/openapi/lib/model/login_credential_dto.dart index 8dc3d9d58f10ef608301f599994c9ce9cc83f1a2..f047ff8c4e0371683dc8d3a659f37da112087837 100644 GIT binary patch delta 16 Xcmew&{!M&C2-D K1SPY#1P2c56%k4R delta 40 ycmV+@0N4Mgu}@+{9Mj}@CXLMYhh_(PG(7^UMh%DtdU=mky@meSX`W1Qmmr@p*0oM)VMZx IF)iW*0H2N(U;qFB diff --git a/mobile/openapi/lib/model/merge_person_dto.dart b/mobile/openapi/lib/model/merge_person_dto.dart index cb3a5f4c3b2493a01a2a23cf432875b86c30b912..33eb98fc0b004c5d43d49065022d86300ecb5889 100644 GIT binary patch delta 64 zcmbO%_CR!l1e2gbeo01ZkzQs>v4X9w0+8Bl!_>mW;*(iiGWi6Hf-s1osh6BsTw)Vk QQk0pOZl|$Xob?YY0IN0?Q~&?~ delta 115 zcmaDLI$3Ok1d~d9N@{9>Yhh_(PG(7^UMh%DtdU=mky@menNqBy03=7MIurmlS2@rQ2y}>XqdCWEPibq!;CvgA`jSqyY^~-TZ{* G4=VsplPSIc diff --git a/mobile/openapi/lib/model/o_auth_callback_dto.dart b/mobile/openapi/lib/model/o_auth_callback_dto.dart index 0ec446cead671c1dba193f0b2967848140f07a92..08fac9798ec4054af0e7ab031dac185ff40f6d61 100644 GIT binary patch delta 12 TcmX>odPsDG1k+}5rd1pO9l-kdQfzO1k+|orj;B39mxat diff --git a/mobile/openapi/lib/model/o_auth_config_dto.dart b/mobile/openapi/lib/model/o_auth_config_dto.dart index a86b5ab7144c2c7a1496d1dce0a3f21afee8284b..0f62306ef41e365bbb22e508ef8d96a17fa5ba58 100644 GIT binary patch delta 12 Tcmew>`cHI&0@G%Brh6O!BdG+k delta 12 Tcmew-`d4&=0@G$irn?*fBe4Xt diff --git a/mobile/openapi/lib/model/o_auth_config_response_dto.dart b/mobile/openapi/lib/model/o_auth_config_response_dto.dart index 83fd87b6c8a44a1f13a9e545932745c3a89bb180..4b6846af25084ca2844b15653aa5bb79da5aa87d 100644 GIT binary patch delta 28 icmX@Ac}jBwJNsldcJ;|RKpe!bIJt=3dh;4~NnQYe$_O+7 delta 39 tcmX@5c~o-)JNsk~cD2d+Kpe)dz?NT_0@tc}#M{e@4N~yb^_y{F1~RYc4JY1t4#-08_b)LVig`YLQ++YJNdZs)DVp0+gku z#-%WME0emd0KMAe@4N)(p-g-{F1~RYc4JY1t4#-08_bFd`fC+fooxDVoqjBrCutCQLK?) zl95`ZSCE=tkdvyT0HHM%)YO3b6ciwmV3QPVZ6QX2R=88nyXikSX7*Hm$E6c0RYxXL5TnW diff --git a/mobile/openapi/lib/model/people_update_dto.dart b/mobile/openapi/lib/model/people_update_dto.dart index a98934b5219e9780dac3c2be26ae120ad6d0eb73..3c39c4bdb882bcdfc9b610102b43ebc42ddc13dd 100644 GIT binary patch delta 36 ncmew_`bKnv4wJY-eo01ZkzPS+enC#Ef~~Crgta-0X(a~$_!JEL delta 55 zcmaDO`d@T|4wF`VN@{9>Yhh_(PG(7^UMh%DtdU=mky@lzkeXkRld7Wtp*1%!TheoB0U8`ET0CgsiPOo^NTGnEBA delta 16 XcmX>lenNbM8`ETWCZ)|;ObMI-Gpz+b diff --git a/mobile/openapi/lib/model/search_album_response_dto.dart b/mobile/openapi/lib/model/search_album_response_dto.dart index 7925356102dcf87a6ad9cc7f43a413e8f372e00e..6ca6d21031f894abc20729195b6c39670f2326a2 100644 GIT binary patch delta 74 zcmZ1^^G|xi4W`N0nPe>$@=G#Oi}cbGlT%BI6>M!4pe!{tE(H*PNN1L$=7MD*43OmJ IAm$5P0Lc~@761SM delta 111 zcmew-y+~%m4W`LAnPlSPQ&Lk4TnkGRb23XR^-@8MVvYQgjMO5%w8Z4pl42bN2(780 arpBcJ1bB30mZataHGnCw`ptUG7q|c(+b4zq diff --git a/mobile/openapi/lib/model/search_asset_dto.dart b/mobile/openapi/lib/model/search_asset_dto.dart index cad0e056484efc0f3f6f9533ec4482c423ee8193..02c744a06cadd3c7f492530a64f0c042cbd01d3e 100644 GIT binary patch delta 12 Tcmew;`bl(y9Mfi5rYjr(B6kFg delta 12 Tcmew)`cZU)9Mfibrpp`vB7X#p diff --git a/mobile/openapi/lib/model/search_asset_response_dto.dart b/mobile/openapi/lib/model/search_asset_response_dto.dart index 98291307d421b3041cb2738f04464d5fa3206d70..8253ad0b149510bb1819f2e6804bf85353eef95d 100644 GIT binary patch delta 74 zcmZ1^^G|xi4W`N0nPe>$@=G#Oi}cbGlT%BI6>M!4pe!{tE(H*PNN1L$=7MD*43OmJ IAm$5P0Lc~@761SM delta 111 zcmew-y+~%m4W`LAnPlSPQ&Lk4TnkGRb23XR^-@8MVvYQgjMO5%w8Z4pl42bN2(780 arpBcJ1bB30mZataHGnCw`ptUG7q|c(+b4zq diff --git a/mobile/openapi/lib/model/search_config_response_dto.dart b/mobile/openapi/lib/model/search_config_response_dto.dart index e6e0181d2fc6b07564b054e446c17266840b941e..31927662c4bc0ec78ef14b1623ac376d0b57d6b6 100644 GIT binary patch delta 12 TcmaDY_C{=j71L%*CL>M&A@~Ft delta 12 TcmaDO_F8O%71L&GCPPjDA^-#$ diff --git a/mobile/openapi/lib/model/search_explore_item.dart b/mobile/openapi/lib/model/search_explore_item.dart index 218f7f4c6ff52cff8991ec27e61f5cf772032700..ddc8f5282b3d0f169bef72f6eceb76ff021334a7 100644 GIT binary patch delta 16 Xcmdlleo%Zv5Yyy9Ch5)DOd*^AGcg4* delta 16 XcmX>ozF&Mp5YyyfCaKMNOu?K0Gf4$B diff --git a/mobile/openapi/lib/model/search_explore_response_dto.dart b/mobile/openapi/lib/model/search_explore_response_dto.dart index ad317642d94fb36c728f146d3ed44629b770aaa4..403ba396d45ad8f845cee23a64b202e96f2740f3 100644 GIT binary patch delta 38 qcmbOw*&(^1k!f-Rld7mfeo01ZkzQs=YHqQDt*ru>vH2|1Sxx}|O%0s@ delta 57 zcmeB>oF%!Tk!f-hlZr-sN@{9>Yhh_(PG(7^UMh%DtdU=mky@meS(2JttfK&?G&k>N HI?D+FVE7eg diff --git a/mobile/openapi/lib/model/search_facet_count_response_dto.dart b/mobile/openapi/lib/model/search_facet_count_response_dto.dart index a53ae6b86ce13b58911555d2dbc2913ada33a011..d11450d2f0b707f44071916813b8974674720d4a 100644 GIT binary patch delta 16 XcmaDO@lIkxKGWnpCfUthOpiDLJYEKN delta 16 XcmaDS@kU}pKGWm^CYjB>Ob=#tow$22*YNq%!TQ!OU|FWCi3 delta 16 XcmeB@=#bcu$22*gNp5o=Qw=8oFYyIU diff --git a/mobile/openapi/lib/model/server_info_response_dto.dart b/mobile/openapi/lib/model/server_info_response_dto.dart index e66cfe44bf447a29dae341b3b2f00b49b6f9c5df..d5b90bcd6d252fcffa3217a892d78afe94bc6b1c 100644 GIT binary patch delta 40 vcmcbw@=RqzEA!+QW?di_nS6vuyG~}q4yIs*{F02+BE8Jq#Pn1JTU!MPLrslK0R$kD#hEFo$%#cEX&4h#K^ag% zK1dqO*zCfbz|7*4SzI!C4V#iMh@q*MoLF396I@c1nU`*-G5If>Jw$;Ey9y2kN|Sf8 SOF|UgV#j5Q!e(!d8a4oiQbUmd delta 373 zcmZ1{b6j@A4yO9}l+@G$*TT}ooXnC+y;KmRSR=nABeh5`GdD3kRYw6#X)36xaVY=+ z9`(hUDXGbcMLG&l1~Gbg%Yd5lbrisq=4Ni@1ZED;lGLKaq@2{r`D{x1Fpj2Pa$<3b zO>jw3W?s6ThNfOgzE5UxiAH)+emO|7l|mZO<*Ae9*p((9W0OTTM11l;HeNCevPLn) W3hYGnScSx51=1a*uz3@E4I2O++<{L3 diff --git a/mobile/openapi/lib/model/server_ping_response.dart b/mobile/openapi/lib/model/server_ping_response.dart index 280a50a44bf4dee57407446a519f33faaaa6c37f..ad72c0f5e52bb3858d0eee6bc46554b34e16f125 100644 GIT binary patch delta 12 TcmaDV`b>0#0@G%BrehocA!!6^ delta 12 TcmaDR`c!m-0@G$irlTAHA#nt2 diff --git a/mobile/openapi/lib/model/server_stats_response_dto.dart b/mobile/openapi/lib/model/server_stats_response_dto.dart index c4afaa348ccb70cf7ca551f799e8641f90a79d9c..37db37a3eddf9a87ed43accea45e6c1ba286d627 100644 GIT binary patch delta 59 zcmZ1~GgW58E~d#lndB#5XOdM@$S=uAEz&D3PE1dAstheoEmE+xRY2ydsc|W6)?xn1 F1ptSj6n+2z delta 77 zcmbO#vs7loE~d%5ndBzlVv@0lPf1NJa4jrN%*iaN)Jp|1iZ${}GE$55N{bWIQ=KY9 Wi&Kkq6p%QY3TkRxn`M}PasdE+Y#b^8 diff --git a/mobile/openapi/lib/model/server_version_reponse_dto.dart b/mobile/openapi/lib/model/server_version_reponse_dto.dart index ae11651678e640211cd2dbc1a9845e311666c73f..a1ec0e68e5208667dc703ba95f5f034655ec0d88 100644 GIT binary patch delta 20 ccmew&`CW2DE7Rl_CfUggm}EEaVY1)?09&F5kN^Mx delta 41 scmew^`9*R=E0aWiNk(dsUT$JmevyK$tpbFhrp7gSK9j=c15D;z07q;NDF6Tf diff --git a/mobile/openapi/lib/model/shared_link_create_dto.dart b/mobile/openapi/lib/model/shared_link_create_dto.dart index 2da76a327c444f7e82822416880ab4324c660b5d..a940808c1a871868413cfa6a486c6d6218347e90 100644 GIT binary patch delta 107 zcmcbwvq@)zDcfWdHpR&yY`T*h*fbRs@=G#Oi}VtUi&INHQ;HRAZ57~bH8n1U$+y{b zCbO}tPS#>q-t5CZiJiqKv$$mPGd@*e5JOWhIkC9JCb*<1GcVmvW3m)k9R(OmQ$bCQYw{VO)}L%DljYczHaoIUWascKNi9lD%1NDkjZak{#?jPEPAo35 t2`(wh%uBb^(9|o*_sJ|S(MT`KF9#{MQb+?@l{%S^e*$CC=6U>6*Z^dmHf<4&BLx9Ga770`Wl()y+>i7O-z_6EI~10MGjiz5oCK delta 35 qcmdn5yIXgI8^>gK4xPy*92%470`V~pmCdg?=Cd;vZSE2Si#m-0m@QS<5HOH&89KA rh)r|yEH>52``E-MUtyD+{Dw_=G9SD2W)1dV9Fvs=YBnzrxX%s%=jb28 delta 148 zcmexr@ZVs=TGq+ySY;-kX4RSegH=N>J|#7^z_qY6F(YHD1QZP+v>rvh;wo66+PY+@o1mD#D43bwWiAPS`DKAV~tM53g!AQdD7 arh!tMW!e97FcwXg5~yJ;+B{9*K05%zi8BKL diff --git a/mobile/openapi/lib/model/sign_up_dto.dart b/mobile/openapi/lib/model/sign_up_dto.dart index dad051c1a805780028421b9eb1dee4b04ee0badb..e6b7f2abf93b8e03c7e949e1bab18df00d4121e0 100644 GIT binary patch delta 24 gcmX>jbwO&wB&Nv|nPexgWm27dkx6;;XQoIl0DO!IQvd(} delta 24 gcmca0bw+B#B&NxenPet!U{aZUl}Tyy52gq%0DSBTT>t<8 diff --git a/mobile/openapi/lib/model/smart_info_response_dto.dart b/mobile/openapi/lib/model/smart_info_response_dto.dart index 72e958297ab0c7d7f2a96b04fa1e198ad6c5c413..9d3893171e37583e4ac6c1ec0cbf8652c9a3f25e 100644 GIT binary patch delta 136 zcmZ1~y0nt9z4-{!31$|b y%;J*CQ`l65K@3g3Yhh_(PG(7^UMh%DtdU=mky@mepOlrFTvDu~0A*+@sHt%& z00AC7C5h=k4Iol;^E{>#%p9I2sYQuNIjNKHv5DJ24N{L)NGw)>$!O{&Cl;631eX+L v=B3+dXzG>Z`(zfEXrveAmxFX#DWn12lsb7KnZOmJ^0dY+Z A)Bpeg delta 45 ycmaDa_eySqCG%t}W;v1kl8n?My{!Bs1zTGM5T&NZH93!2VRApS&gMPLo4Em9b`GBa diff --git a/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart b/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart index aa5bfb12078df34a5a6f2a0bed85d5a64581f77b..4dbc471c8cd30cebb463c66a31558b9d04c58918 100644 GIT binary patch delta 71 zcmX@2c}{bKIE$1*eo01ZkzQhQa%zr(t*rutp{B;AFj=2PX0jKH`s4x@`N@4O#*+^K U@h2cwVO5;$!m7GCgEfX9047ltkpKVy delta 48 zcmX@7c|>!AILl-S7MaPWEE1FbSkxw$vdB%I!eTV}I1v8=VqI2+$$qRVn~Pba`2lqd B4#)ri diff --git a/mobile/openapi/lib/model/system_config_job_dto.dart b/mobile/openapi/lib/model/system_config_job_dto.dart index aa6d6b3a796de9a4e3811eef46c920e1d0766be6..ca3dab9e6d070fc1b80aa9cdb96b11c14dd2ae1b 100644 GIT binary patch delta 48 zcmV-00MGxDE}Sl~rUa9v1TT}*1S^yM1UHj21uc_b1uv701s{{E1tF8m1w)e!2061u G2F(z+0ua^! delta 48 zcmV-00MGxNE|M;=rUa9x1TK@-1S*pO1vZm71uTL1t62u1wxY-1~{`& G2FwtexeyKj diff --git a/mobile/openapi/lib/model/system_config_o_auth_dto.dart b/mobile/openapi/lib/model/system_config_o_auth_dto.dart index 1de193c20cb903fca796125076aa3eda35f65261..bf39f969ccf640de75a60a9037e9bc16488dbfb4 100644 GIT binary patch delta 52 zcmdn3drWsj6wBmD7WK*XEZUP-0_pQC%9B3=+0v|vldV}*C&#nePM*zbI{7@S?B>_3 G7X$$4%o0=p delta 52 zcmX@6yIXfd6wBmj7PZMuELxM-0_iI(N|V0>*-ESmlbu;rCTFnPOkT=rGWiy(%;xW` G=LG=ma1xdP diff --git a/mobile/openapi/lib/model/system_config_password_login_dto.dart b/mobile/openapi/lib/model/system_config_password_login_dto.dart index 840206acc984b6e232931adf2c6d45ade9ff8e54..1e9dc20cb8db34a57a293bc3b16d3e98b1f8abaa 100644 GIT binary patch delta 12 TcmX>qeoTCWAJb-ErV35~ATR_y delta 12 TcmX>mepGyeAJb-krgBaIAUFg* diff --git a/mobile/openapi/lib/model/system_config_storage_template_dto.dart b/mobile/openapi/lib/model/system_config_storage_template_dto.dart index 1e51c651bf86d11237cd6aa3f2ea1019cc0d7a73..604fe1256e0009f905b2cde34369be6598079321 100644 GIT binary patch delta 12 Tcmew<{!4sA6w~HNrUje;C42a# diff --git a/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart b/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart index d786ec8516ce7961a44db9a497d50907cbf03753..23d17e16aa8e403e3f9407d90cf93b4849624af3 100644 GIT binary patch delta 584 zcmaE@+orvMrCuSwBqOy*FD0?kzn~;DKd)H9)>Z+Dr>4fG00IzY8Tq9}Na~Qes0wp4 z^GZunk(8nez!lenZO_fmE6G4sjLe6t1uHEmN-a(;K~jqo1xYcg08p_i zlIJQ@6OlcK#NE7tbqXtsPiAq+WLsYG$b!XS>OUUFh_iA``xQD$DcoyKHGKBdWf zxK-f_C-Dg4RF}k~2~#IAc{Ps^PKA8D>M(_xI2CQ@g_|Zm`9H5P4u#$@lf);l=EJ2( WX)-@Q!Vi;!`EhwdVe@8w3w8h+J-*)n delta 921 zcmZqEeyzKJr9M6-HMPLCurx6zv!qfl6~rjk$S=uAEz(O#tn@D^$;{6y)=@yPH5Js< zxD;QtXKkxtm diff --git a/mobile/openapi/lib/model/tag_response_dto.dart b/mobile/openapi/lib/model/tag_response_dto.dart index 566e7a0f18e962a2787e7b5d9371b5d7ca984842..621223b8dd2230fcc94f4a5a3f790c1214ddbdb3 100644 GIT binary patch delta 24 gcmZpaYL(j1&osG@Nqq7WCh5uhn4~w~VAA9Q0Bi9GH~;_u delta 43 vcmZpbYLwd0&op@glbBe3Nk(dsUS48us)DVp0+?1)*iH@yRSM gnQX_aEDU03>Ln)@m)HcC6lLb6+i7f`!26LE0HX#RhX4Qo delta 133 zcmcbp)~LQ=JKN+PY#NgvvZ+nxU{}+MPf1NJa4jrN%*iaN)Jp|1iZ${}GE$55N)ppO zQ;KyIAhhOYSN4aj9G)eqMTto{sgt#MmGxm9O}*sA;u4$SlA_GKbUO`Ay^?&N%;FM_ W^rHN7kYX!^G@!Amn-h3HvH}35yf6U( diff --git a/mobile/openapi/lib/model/update_tag_dto.dart b/mobile/openapi/lib/model/update_tag_dto.dart index 6075bc79630a74cb5ef60a616b1a06232a886375..f1ea738c02335a92cc4aaf7e6f5019b503a6f2fc 100644 GIT binary patch delta 12 TcmZ24u|Z-(JoDx_=8GHvAJqhp delta 12 TcmdlWv0h?BJoDxR<_jDEAKe6y diff --git a/mobile/openapi/lib/model/update_user_dto.dart b/mobile/openapi/lib/model/update_user_dto.dart index 90ad086b3c6617fdfba980e15113fe6ef5837dfd..71f3f16e8a745bbeab15e7474dd94b06604f3ac7 100644 GIT binary patch delta 61 zcmZ4MxXp1x0N-SPKH16HeA<(z@~Mg_tc1CQ2A=739CTUIp9;XAa delta 12 TcmX>jc3NzMA=73fCMiw;9%%+fE ol95_8`67?#WM(#n$x3Y6n|;_=IVT74TW;>*Kg6`zU+4@Q0L3L6O8@`> delta 80 zcmZ2#G}~xHFU#aU7M01Hf%pcC%;c{uT9Xx6RVKT#icOATRhV4Msx)~4kUq$2H2Djw i)nt7(t<6zvES!u*ljHa;8H+Yg=Rd>*q#}jRumJ#6mKst3 diff --git a/mobile/openapi/lib/model/validate_access_token_response_dto.dart b/mobile/openapi/lib/model/validate_access_token_response_dto.dart index f04ca200fc37dac0a0b5a575236d596533ab671a..b06bd663e09145f2fc093373c98fc03b8d353f05 100644 GIT binary patch delta 12 TcmeB`=#$tG!?Zb?X%i;^9D)QT delta 12 TcmeB^=#|(I!?Zb;X(J~99Et=c diff --git a/mobile/openapi/test/people_response_dto_test.dart b/mobile/openapi/test/people_response_dto_test.dart index 0b155b0debd0cc3e85ef29d47fd91bbc47b84331..ae7b81d0ababefec37875d02dc1d9fa4c1a78d6c 100644 GIT binary patch delta 45 vcmZ3)wuo&*G81QJUWr0Ueo11^WPT>a$-PWQ+#r#%%;La$-PWQ+#r#%%;Lq1@ diff --git a/server/bin/generate-open-api.sh b/server/bin/generate-open-api.sh index 9989b3f63f..2db41e003d 100755 --- a/server/bin/generate-open-api.sh +++ b/server/bin/generate-open-api.sh @@ -1,9 +1,10 @@ #!/usr/bin/env bash +OPENAPI_GENEARTOR_VERSION=v6.6.0 function mobile { rm -rf ../mobile/openapi cd ./openapi-generator/templates/mobile/serialization/native - wget -O native_class.mustache https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/main/resources/dart2/serialization/native/native_class.mustache + wget -O native_class.mustache https://raw.githubusercontent.com/OpenAPITools/openapi-generator/$OPENAPI_GENEARTOR_VERSION/modules/openapi-generator/src/main/resources/dart2/serialization/native/native_class.mustache patch -u native_class.mustache identical(this, other) || other is {{{classname}}} && {{#vars}} - {{#isMap}}_deepEquality.equals(other.{{{name}}}, {{{name}}}){{/isMap}}{{^isMap}}{{#isArray}}_deepEquality.equals(other.{{{name}}}, {{{name}}}){{/isArray}}{{^isArray}}other.{{{name}}} == {{{name}}}{{/isArray}}{{/isMap}}{{^-last}} &&{{/-last}}{{#-last}};{{/-last}} + other.{{{name}}} == {{{name}}}{{^-last}} &&{{/-last}}{{#-last}};{{/-last}} {{/vars}} @override @@ -66,7 +66,7 @@ class {{{classname}}} { {{/isNullable}} {{#isDateTime}} {{#pattern}} - json[r'{{{baseName}}}'] = _isEpochMarker(r'{{{pattern}}}') + json[r'{{{baseName}}}'] = _dateEpochMarker == '{{{pattern}}}' ? this.{{{name}}}{{#isNullable}}!{{/isNullable}}{{^isNullable}}{{^required}}{{^defaultValue}}!{{/defaultValue}}{{/required}}{{/isNullable}}.millisecondsSinceEpoch : this.{{{name}}}{{#isNullable}}!{{/isNullable}}{{^isNullable}}{{^required}}{{^defaultValue}}!{{/defaultValue}}{{/required}}{{/isNullable}}.toUtc().toIso8601String(); {{/pattern}} @@ -76,7 +76,7 @@ class {{{classname}}} { {{/isDateTime}} {{#isDate}} {{#pattern}} - json[r'{{{baseName}}}'] = _isEpochMarker(r'{{{pattern}}}') + json[r'{{{baseName}}}'] = _dateEpochMarker == '{{{pattern}}}' ? this.{{{name}}}{{#isNullable}}!{{/isNullable}}{{^isNullable}}{{^required}}{{^defaultValue}}!{{/defaultValue}}{{/required}}{{/isNullable}}.millisecondsSinceEpoch : _dateFormatter.format(this.{{{name}}}{{#isNullable}}!{{/isNullable}}{{^isNullable}}{{^required}}{{^defaultValue}}!{{/defaultValue}}{{/required}}{{/isNullable}}.toUtc()); {{/pattern}} @@ -86,7 +86,7 @@ class {{{classname}}} { {{/isDate}} {{^isDateTime}} {{^isDate}} - json[r'{{{baseName}}}'] = this.{{{name}}}{{#isArray}}{{#uniqueItems}}{{#isNullable}}!{{/isNullable}}.toList(growable: false){{/uniqueItems}}{{/isArray}}; + json[r'{{{baseName}}}'] = this.{{{name}}}; {{/isDate}} {{/isDateTime}} {{#isNullable}} @@ -117,10 +117,10 @@ class {{{classname}}} { return {{{classname}}}( {{#vars}} {{#isDateTime}} - {{{name}}}: mapDateTime(json, r'{{{baseName}}}', r'{{{pattern}}}'){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, + {{{name}}}: mapDateTime(json, r'{{{baseName}}}', '{{{pattern}}}'){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, {{/isDateTime}} {{#isDate}} - {{{name}}}: mapDateTime(json, r'{{{baseName}}}', r'{{{pattern}}}'){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, + {{{name}}}: mapDateTime(json, r'{{{baseName}}}', '{{{pattern}}}'){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, {{/isDate}} {{^isDateTime}} {{^isDate}} @@ -189,8 +189,8 @@ class {{{classname}}} { {{{name}}}: {{{items.datatypeWithEnum}}}.listFromJson(json[r'{{{baseName}}}']){{#uniqueItems}}.toSet(){{/uniqueItems}}, {{/isEnum}} {{^isEnum}} - {{{name}}}: json[r'{{{baseName}}}'] is Iterable - ? (json[r'{{{baseName}}}'] as Iterable).cast<{{{items.datatype}}}>().{{#uniqueItems}}toSet(){{/uniqueItems}}{{^uniqueItems}}toList(growable: false){{/uniqueItems}} + {{{name}}}: json[r'{{{baseName}}}'] is {{#uniqueItems}}Set{{/uniqueItems}}{{^uniqueItems}}List{{/uniqueItems}} + ? (json[r'{{{baseName}}}'] as {{#uniqueItems}}Set{{/uniqueItems}}{{^uniqueItems}}List{{/uniqueItems}}).cast<{{{items.datatype}}}>() : {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}, {{/isEnum}} {{/isArray}} @@ -200,9 +200,9 @@ class {{{classname}}} { {{/isMap}} {{^isMap}} {{#isNumber}} - {{{name}}}: {{#isNullable}}json[r'{{{baseName}}}'] == null + {{{name}}}: json[r'{{{baseName}}}'] == null ? {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}} - : {{/isNullable}}{{{datatypeWithEnum}}}.parse('${json[r'{{{baseName}}}']}'), + : {{{datatypeWithEnum}}}.parse(json[r'{{{baseName}}}'].toString()), {{/isNumber}} {{^isNumber}} {{^isEnum}} diff --git a/server/openapi-generator/templates/web/apiInner.mustache b/server/openapi-generator/templates/web/apiInner.mustache index 848b41b971..65bf745061 100644 --- a/server/openapi-generator/templates/web/apiInner.mustache +++ b/server/openapi-generator/templates/web/apiInner.mustache @@ -3,8 +3,9 @@ /* eslint-disable */ {{>licenseInfo}} -import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; -import { Configuration } from '{{apiRelativeToRoot}}configuration'; +import type { Configuration } from '{{apiRelativeToRoot}}configuration'; +import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; +import globalAxios from 'axios'; {{#withNodeImports}} // URLSearchParams not necessarily used // @ts-ignore @@ -146,12 +147,16 @@ export const {{classname}}AxiosParamCreator = function (configuration?: Configur } {{/isArray}} {{^isArray}} - if ({{paramName}} !== undefined && {{paramName}} !== null) { + {{! `val == null` covers for both `null` and `undefined`}} + if ({{paramName}} != null) { {{#isString}} localVarHeaderParameter['{{baseName}}'] = String({{paramName}}); {{/isString}} {{^isString}} - localVarHeaderParameter['{{baseName}}'] = String(JSON.stringify({{paramName}})); + {{! isString is falsy also for $ref that defines a string or enum type}} + localVarHeaderParameter['{{baseName}}'] = typeof {{paramName}} === 'string' + ? {{paramName}} + : JSON.stringify({{paramName}}); {{/isString}} } {{/isArray}} @@ -253,16 +258,30 @@ export const {{classname}}Factory = function (configuration?: Configuration, bas {{#summary}} * @summary {{&summary}} {{/summary}} + {{#useSingleRequestParameter}} + {{#allParams.0}} + * @param {{=<% %>=}}{<%& classname %><%& operationIdCamelCase %>Request}<%={{ }}=%> requestParameters Request parameters. + {{/allParams.0}} + {{/useSingleRequestParameter}} + {{^useSingleRequestParameter}} {{#allParams}} * @param {{=<% %>=}}{<%&dataType%>}<%={{ }}=%> {{^required}}[{{/required}}{{paramName}}{{^required}}]{{/required}} {{description}} {{/allParams}} + {{/useSingleRequestParameter}} * @param {*} [options] Override http request option.{{#isDeprecated}} * @deprecated{{/isDeprecated}} * @throws {RequiredError} */ + {{#useSingleRequestParameter}} + {{nickname}}({{#allParams.0}}requestParameters: {{classname}}{{operationIdCamelCase}}Request{{^hasRequiredParams}} = {}{{/hasRequiredParams}}, {{/allParams.0}}options?: AxiosRequestConfig): AxiosPromise<{{{returnType}}}{{^returnType}}void{{/returnType}}> { + return localVarFp.{{nickname}}({{#allParams.0}}{{#allParams}}requestParameters.{{paramName}}, {{/allParams}}{{/allParams.0}}options).then((request) => request(axios, basePath)); + }, + {{/useSingleRequestParameter}} + {{^useSingleRequestParameter}} {{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}options?: any): AxiosPromise<{{{returnType}}}{{^returnType}}void{{/returnType}}> { return localVarFp.{{nickname}}({{#allParams}}{{paramName}}, {{/allParams}}options).then((request) => request(axios, basePath)); }, + {{/useSingleRequestParameter}} {{/operation}} }; }; diff --git a/server/openapi-generator/templates/web/apiInner.mustache.orig b/server/openapi-generator/templates/web/apiInner.mustache.orig new file mode 100644 index 0000000000..4cb65b7f1b --- /dev/null +++ b/server/openapi-generator/templates/web/apiInner.mustache.orig @@ -0,0 +1,390 @@ +{{#withSeparateModelsAndApi}} +/* tslint:disable */ +/* eslint-disable */ +{{>licenseInfo}} + +import type { Configuration } from '{{apiRelativeToRoot}}configuration'; +import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; +import globalAxios from 'axios'; +{{#withNodeImports}} +// URLSearchParams not necessarily used +// @ts-ignore +import { URL, URLSearchParams } from 'url'; +{{#multipartFormData}} +import FormData from 'form-data' +{{/multipartFormData}} +{{/withNodeImports}} +// Some imports not used depending on template conditions +// @ts-ignore +import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '{{apiRelativeToRoot}}common'; +// @ts-ignore +import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '{{apiRelativeToRoot}}base'; +{{#imports}} +// @ts-ignore +import { {{classname}} } from '{{apiRelativeToRoot}}{{tsModelPackage}}'; +{{/imports}} +{{/withSeparateModelsAndApi}} +{{^withSeparateModelsAndApi}} +{{/withSeparateModelsAndApi}} +{{#operations}} +/** + * {{classname}} - axios parameter creator{{#description}} + * {{&description}}{{/description}} + * @export + */ +export const {{classname}}AxiosParamCreator = function (configuration?: Configuration) { + return { + {{#operation}} + /** + * {{¬es}} + {{#summary}} + * @summary {{&summary}} + {{/summary}} + {{#allParams}} + * @param {{=<% %>=}}{<%&dataType%>}<%={{ }}=%> {{^required}}[{{/required}}{{paramName}}{{^required}}]{{/required}} {{description}} + {{/allParams}} + * @param {*} [options] Override http request option.{{#isDeprecated}} + * @deprecated{{/isDeprecated}} + * @throws {RequiredError} + */ + {{nickname}}: async ({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}options: AxiosRequestConfig = {}): Promise => { + {{#allParams}} + {{#required}} + // verify required parameter '{{paramName}}' is not null or undefined + assertParamExists('{{nickname}}', '{{paramName}}', {{paramName}}) + {{/required}} + {{/allParams}} + const localVarPath = `{{{path}}}`{{#pathParams}} + .replace(`{${"{{baseName}}"}}`, encodeURIComponent(String({{paramName}}))){{/pathParams}}; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: '{{httpMethod}}', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any;{{#vendorExtensions}}{{#hasFormParams}} + const localVarFormParams = new {{^multipartFormData}}URLSearchParams(){{/multipartFormData}}{{#multipartFormData}}((configuration && configuration.formDataCtor) || FormData)(){{/multipartFormData}};{{/hasFormParams}}{{/vendorExtensions}} + + {{#authMethods}} + // authentication {{name}} required + {{#isApiKey}} + {{#isKeyInHeader}} + await setApiKeyToObject(localVarHeaderParameter, "{{keyParamName}}", configuration) + {{/isKeyInHeader}} + {{#isKeyInQuery}} + await setApiKeyToObject(localVarQueryParameter, "{{keyParamName}}", configuration) + {{/isKeyInQuery}} + {{/isApiKey}} + {{#isBasicBasic}} + // http basic authentication required + setBasicAuthToObject(localVarRequestOptions, configuration) + {{/isBasicBasic}} + {{#isBasicBearer}} + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + {{/isBasicBearer}} + {{#isOAuth}} + // oauth required + await setOAuthToObject(localVarHeaderParameter, "{{name}}", [{{#scopes}}"{{{scope}}}"{{^-last}}, {{/-last}}{{/scopes}}], configuration) + {{/isOAuth}} + + {{/authMethods}} + {{#queryParams}} + {{#isArray}} + if ({{paramName}}) { + {{#isCollectionFormatMulti}} + {{#uniqueItems}} + localVarQueryParameter['{{baseName}}'] = Array.from({{paramName}}); + {{/uniqueItems}} + {{^uniqueItems}} + localVarQueryParameter['{{baseName}}'] = {{paramName}}; + {{/uniqueItems}} + {{/isCollectionFormatMulti}} + {{^isCollectionFormatMulti}} + {{#uniqueItems}} + localVarQueryParameter['{{baseName}}'] = Array.from({{paramName}}).join(COLLECTION_FORMATS.{{collectionFormat}}); + {{/uniqueItems}} + {{^uniqueItems}} + localVarQueryParameter['{{baseName}}'] = {{paramName}}.join(COLLECTION_FORMATS.{{collectionFormat}}); + {{/uniqueItems}} + {{/isCollectionFormatMulti}} + } + {{/isArray}} + {{^isArray}} + if ({{paramName}} !== undefined) { + {{#isDateTime}} + localVarQueryParameter['{{baseName}}'] = ({{paramName}} as any instanceof Date) ? + ({{paramName}} as any).toISOString() : + {{paramName}}; + {{/isDateTime}} + {{^isDateTime}} + {{#isDate}} + localVarQueryParameter['{{baseName}}'] = ({{paramName}} as any instanceof Date) ? + ({{paramName}} as any).toISOString().substr(0,10) : + {{paramName}}; + {{/isDate}} + {{^isDate}} + localVarQueryParameter['{{baseName}}'] = {{paramName}}; + {{/isDate}} + {{/isDateTime}} + } + {{/isArray}} + + {{/queryParams}} + {{#headerParams}} + {{#isArray}} + if ({{paramName}}) { + {{#uniqueItems}} + let mapped = Array.from({{paramName}}).map(value => ("{{{dataType}}}" !== "Set") ? JSON.stringify(value) : (value || "")); + {{/uniqueItems}} + {{^uniqueItems}} + let mapped = {{paramName}}.map(value => ("{{{dataType}}}" !== "Array") ? JSON.stringify(value) : (value || "")); + {{/uniqueItems}} + localVarHeaderParameter['{{baseName}}'] = mapped.join(COLLECTION_FORMATS["{{collectionFormat}}"]); + } + {{/isArray}} + {{^isArray}} + {{! `val == null` covers for both `null` and `undefined`}} + if ({{paramName}} != null) { + {{#isString}} + localVarHeaderParameter['{{baseName}}'] = String({{paramName}}); + {{/isString}} + {{^isString}} + {{! isString is falsy also for $ref that defines a string or enum type}} + localVarHeaderParameter['{{baseName}}'] = typeof {{paramName}} === 'string' + ? {{paramName}} + : JSON.stringify({{paramName}}); + {{/isString}} + } + {{/isArray}} + + {{/headerParams}} + {{#vendorExtensions}} + {{#formParams}} + {{#isArray}} + if ({{paramName}}) { + {{#isCollectionFormatMulti}} + {{paramName}}.forEach((element) => { + localVarFormParams.{{#multipartFormData}}append{{/multipartFormData}}{{^multipartFormData}}set{{/multipartFormData}}('{{baseName}}', element as any); + }) + {{/isCollectionFormatMulti}} + {{^isCollectionFormatMulti}} + localVarFormParams.{{#multipartFormData}}append{{/multipartFormData}}{{^multipartFormData}}set{{/multipartFormData}}('{{baseName}}', {{paramName}}.join(COLLECTION_FORMATS.{{collectionFormat}})); + {{/isCollectionFormatMulti}} + }{{/isArray}} + {{^isArray}} + if ({{paramName}} !== undefined) { {{^multipartFormData}} + localVarFormParams.set('{{baseName}}', {{paramName}} as any);{{/multipartFormData}}{{#multipartFormData}}{{#isPrimitiveType}} + localVarFormParams.append('{{baseName}}', {{paramName}} as any);{{/isPrimitiveType}}{{^isPrimitiveType}} + localVarFormParams.append('{{baseName}}', new Blob([JSON.stringify({{paramName}})], { type: "application/json", }));{{/isPrimitiveType}}{{/multipartFormData}} + }{{/isArray}} + {{/formParams}}{{/vendorExtensions}} + {{#vendorExtensions}}{{#hasFormParams}}{{^multipartFormData}} + localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';{{/multipartFormData}}{{#multipartFormData}} + localVarHeaderParameter['Content-Type'] = 'multipart/form-data';{{/multipartFormData}} + {{/hasFormParams}}{{/vendorExtensions}} + {{#bodyParam}} + {{^consumes}} + localVarHeaderParameter['Content-Type'] = 'application/json'; + {{/consumes}} + {{#consumes.0}} + localVarHeaderParameter['Content-Type'] = '{{{mediaType}}}'; + {{/consumes.0}} + + {{/bodyParam}} + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions,{{#hasFormParams}}{{#multipartFormData}} ...(localVarFormParams as any).getHeaders?.(),{{/multipartFormData}}{{/hasFormParams}} ...options.headers}; + {{#hasFormParams}} + localVarRequestOptions.data = localVarFormParams{{#vendorExtensions}}{{^multipartFormData}}.toString(){{/multipartFormData}}{{/vendorExtensions}}; + {{/hasFormParams}} + {{#bodyParam}} + localVarRequestOptions.data = serializeDataIfNeeded({{paramName}}, localVarRequestOptions, configuration) + {{/bodyParam}} + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + {{/operation}} + } +}; + +/** + * {{classname}} - functional programming interface{{#description}} + * {{{.}}}{{/description}} + * @export + */ +export const {{classname}}Fp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = {{classname}}AxiosParamCreator(configuration) + return { + {{#operation}} + /** + * {{¬es}} + {{#summary}} + * @summary {{&summary}} + {{/summary}} + {{#allParams}} + * @param {{=<% %>=}}{<%&dataType%>}<%={{ }}=%> {{^required}}[{{/required}}{{paramName}}{{^required}}]{{/required}} {{description}} + {{/allParams}} + * @param {*} [options] Override http request option.{{#isDeprecated}} + * @deprecated{{/isDeprecated}} + * @throws {RequiredError} + */ + async {{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{{{returnType}}}{{^returnType}}void{{/returnType}}>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.{{nickname}}({{#allParams}}{{paramName}}, {{/allParams}}options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + {{/operation}} + } +}; + +/** + * {{classname}} - factory interface{{#description}} + * {{&description}}{{/description}} + * @export + */ +export const {{classname}}Factory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = {{classname}}Fp(configuration) + return { + {{#operation}} + /** + * {{¬es}} + {{#summary}} + * @summary {{&summary}} + {{/summary}} + {{#useSingleRequestParameter}} + {{#allParams.0}} + * @param {{=<% %>=}}{<%& classname %><%& operationIdCamelCase %>Request}<%={{ }}=%> requestParameters Request parameters. + {{/allParams.0}} + {{/useSingleRequestParameter}} + {{^useSingleRequestParameter}} + {{#allParams}} + * @param {{=<% %>=}}{<%&dataType%>}<%={{ }}=%> {{^required}}[{{/required}}{{paramName}}{{^required}}]{{/required}} {{description}} + {{/allParams}} + {{/useSingleRequestParameter}} + * @param {*} [options] Override http request option.{{#isDeprecated}} + * @deprecated{{/isDeprecated}} + * @throws {RequiredError} + */ + {{#useSingleRequestParameter}} + {{nickname}}({{#allParams.0}}requestParameters: {{classname}}{{operationIdCamelCase}}Request{{^hasRequiredParams}} = {}{{/hasRequiredParams}}, {{/allParams.0}}options?: AxiosRequestConfig): AxiosPromise<{{{returnType}}}{{^returnType}}void{{/returnType}}> { + return localVarFp.{{nickname}}({{#allParams.0}}{{#allParams}}requestParameters.{{paramName}}, {{/allParams}}{{/allParams.0}}options).then((request) => request(axios, basePath)); + }, + {{/useSingleRequestParameter}} + {{^useSingleRequestParameter}} + {{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}options?: any): AxiosPromise<{{{returnType}}}{{^returnType}}void{{/returnType}}> { + return localVarFp.{{nickname}}({{#allParams}}{{paramName}}, {{/allParams}}options).then((request) => request(axios, basePath)); + }, + {{/useSingleRequestParameter}} + {{/operation}} + }; +}; + +{{#withInterfaces}} +/** + * {{classname}} - interface{{#description}} + * {{&description}}{{/description}} + * @export + * @interface {{classname}} + */ +export interface {{classname}}Interface { +{{#operation}} + /** + * {{¬es}} + {{#summary}} + * @summary {{&summary}} + {{/summary}} + {{#allParams}} + * @param {{=<% %>=}}{<%&dataType%>}<%={{ }}=%> {{^required}}[{{/required}}{{paramName}}{{^required}}]{{/required}} {{description}} + {{/allParams}} + * @param {*} [options] Override http request option.{{#isDeprecated}} + * @deprecated{{/isDeprecated}} + * @throws {RequiredError} + * @memberof {{classname}}Interface + */ + {{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}options?: AxiosRequestConfig): AxiosPromise<{{{returnType}}}{{^returnType}}void{{/returnType}}>; + +{{/operation}} +} + +{{/withInterfaces}} +{{#useSingleRequestParameter}} +{{#operation}} +{{#allParams.0}} +/** + * Request parameters for {{nickname}} operation in {{classname}}. + * @export + * @interface {{classname}}{{operationIdCamelCase}}Request + */ +export interface {{classname}}{{operationIdCamelCase}}Request { + {{#allParams}} + /** + * {{description}} + * @type {{=<% %>=}}{<%&dataType%>}<%={{ }}=%> + * @memberof {{classname}}{{operationIdCamelCase}} + */ + readonly {{paramName}}{{^required}}?{{/required}}: {{{dataType}}} + {{^-last}} + + {{/-last}} + {{/allParams}} +} + +{{/allParams.0}} +{{/operation}} +{{/useSingleRequestParameter}} +/** + * {{classname}} - object-oriented interface{{#description}} + * {{{.}}}{{/description}} + * @export + * @class {{classname}} + * @extends {BaseAPI} + */ +{{#withInterfaces}} +export class {{classname}} extends BaseAPI implements {{classname}}Interface { +{{/withInterfaces}} +{{^withInterfaces}} +export class {{classname}} extends BaseAPI { +{{/withInterfaces}} + {{#operation}} + /** + * {{¬es}} + {{#summary}} + * @summary {{&summary}} + {{/summary}} + {{#useSingleRequestParameter}} + {{#allParams.0}} + * @param {{=<% %>=}}{<%& classname %><%& operationIdCamelCase %>Request}<%={{ }}=%> requestParameters Request parameters. + {{/allParams.0}} + {{/useSingleRequestParameter}} + {{^useSingleRequestParameter}} + {{#allParams}} + * @param {{=<% %>=}}{<%&dataType%>}<%={{ }}=%> {{^required}}[{{/required}}{{paramName}}{{^required}}]{{/required}} {{description}} + {{/allParams}} + {{/useSingleRequestParameter}} + * @param {*} [options] Override http request option.{{#isDeprecated}} + * @deprecated{{/isDeprecated}} + * @throws {RequiredError} + * @memberof {{classname}} + */ + {{#useSingleRequestParameter}} + public {{nickname}}({{#allParams.0}}requestParameters: {{classname}}{{operationIdCamelCase}}Request{{^hasRequiredParams}} = {}{{/hasRequiredParams}}, {{/allParams.0}}options?: AxiosRequestConfig) { + return {{classname}}Fp(this.configuration).{{nickname}}({{#allParams.0}}{{#allParams}}requestParameters.{{paramName}}, {{/allParams}}{{/allParams.0}}options).then((request) => request(this.axios, this.basePath)); + } + {{/useSingleRequestParameter}} + {{^useSingleRequestParameter}} + public {{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}options?: AxiosRequestConfig) { + return {{classname}}Fp(this.configuration).{{nickname}}({{#allParams}}{{paramName}}, {{/allParams}}options).then((request) => request(this.axios, this.basePath)); + } + {{/useSingleRequestParameter}} + {{^-last}} + + {{/-last}} + {{/operation}} +} +{{/operations}} diff --git a/server/src/domain/person/person.dto.ts b/server/src/domain/person/person.dto.ts index 7b99da0dbd..f9557fbaea 100644 --- a/server/src/domain/person/person.dto.ts +++ b/server/src/domain/person/person.dto.ts @@ -1,4 +1,5 @@ import { AssetFaceEntity, PersonEntity } from '@app/infra/entities'; +import { ApiProperty } from '@nestjs/swagger'; import { Transform, Type } from 'class-transformer'; import { IsArray, IsBoolean, IsNotEmpty, IsOptional, IsString, ValidateNested } from 'class-validator'; import { toBoolean, ValidateUUID } from '../domain.util'; @@ -82,8 +83,12 @@ export class PersonResponseDto { } export class PeopleResponseDto { + @ApiProperty({ type: 'integer' }) total!: number; + + @ApiProperty({ type: 'integer' }) visible!: number; + people!: PersonResponseDto[]; } diff --git a/web/src/api/open-api/api.ts b/web/src/api/open-api/api.ts index e444eb580a..744c297858 100644 --- a/web/src/api/open-api/api.ts +++ b/web/src/api/open-api/api.ts @@ -3429,48 +3429,47 @@ export const APIKeyApiFactory = function (configuration?: Configuration, basePat return { /** * - * @param {APIKeyCreateDto} aPIKeyCreateDto + * @param {APIKeyApiCreateKeyRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createKey(aPIKeyCreateDto: APIKeyCreateDto, options?: any): AxiosPromise { - return localVarFp.createKey(aPIKeyCreateDto, options).then((request) => request(axios, basePath)); + createKey(requestParameters: APIKeyApiCreateKeyRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.createKey(requestParameters.aPIKeyCreateDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {APIKeyApiDeleteKeyRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteKey(id: string, options?: any): AxiosPromise { - return localVarFp.deleteKey(id, options).then((request) => request(axios, basePath)); + deleteKey(requestParameters: APIKeyApiDeleteKeyRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.deleteKey(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {APIKeyApiGetKeyRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getKey(id: string, options?: any): AxiosPromise { - return localVarFp.getKey(id, options).then((request) => request(axios, basePath)); + getKey(requestParameters: APIKeyApiGetKeyRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getKey(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getKeys(options?: any): AxiosPromise> { + getKeys(options?: AxiosRequestConfig): AxiosPromise> { return localVarFp.getKeys(options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {APIKeyUpdateDto} aPIKeyUpdateDto + * @param {APIKeyApiUpdateKeyRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateKey(id: string, aPIKeyUpdateDto: APIKeyUpdateDto, options?: any): AxiosPromise { - return localVarFp.updateKey(id, aPIKeyUpdateDto, options).then((request) => request(axios, basePath)); + updateKey(requestParameters: APIKeyApiUpdateKeyRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.updateKey(requestParameters.id, requestParameters.aPIKeyUpdateDto, options).then((request) => request(axios, basePath)); }, }; }; @@ -4198,100 +4197,92 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath return { /** * - * @param {string} id - * @param {BulkIdsDto} bulkIdsDto - * @param {string} [key] + * @param {AlbumApiAddAssetsToAlbumRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - addAssetsToAlbum(id: string, bulkIdsDto: BulkIdsDto, key?: string, options?: any): AxiosPromise> { - return localVarFp.addAssetsToAlbum(id, bulkIdsDto, key, options).then((request) => request(axios, basePath)); + addAssetsToAlbum(requestParameters: AlbumApiAddAssetsToAlbumRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.addAssetsToAlbum(requestParameters.id, requestParameters.bulkIdsDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {AddUsersDto} addUsersDto + * @param {AlbumApiAddUsersToAlbumRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - addUsersToAlbum(id: string, addUsersDto: AddUsersDto, options?: any): AxiosPromise { - return localVarFp.addUsersToAlbum(id, addUsersDto, options).then((request) => request(axios, basePath)); + addUsersToAlbum(requestParameters: AlbumApiAddUsersToAlbumRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.addUsersToAlbum(requestParameters.id, requestParameters.addUsersDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {CreateAlbumDto} createAlbumDto + * @param {AlbumApiCreateAlbumRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createAlbum(createAlbumDto: CreateAlbumDto, options?: any): AxiosPromise { - return localVarFp.createAlbum(createAlbumDto, options).then((request) => request(axios, basePath)); + createAlbum(requestParameters: AlbumApiCreateAlbumRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.createAlbum(requestParameters.createAlbumDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {AlbumApiDeleteAlbumRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteAlbum(id: string, options?: any): AxiosPromise { - return localVarFp.deleteAlbum(id, options).then((request) => request(axios, basePath)); + deleteAlbum(requestParameters: AlbumApiDeleteAlbumRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.deleteAlbum(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAlbumCount(options?: any): AxiosPromise { + getAlbumCount(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.getAlbumCount(options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {string} [key] + * @param {AlbumApiGetAlbumInfoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAlbumInfo(id: string, key?: string, options?: any): AxiosPromise { - return localVarFp.getAlbumInfo(id, key, options).then((request) => request(axios, basePath)); + getAlbumInfo(requestParameters: AlbumApiGetAlbumInfoRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getAlbumInfo(requestParameters.id, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * - * @param {boolean} [shared] - * @param {string} [assetId] Only returns albums that contain the asset Ignores the shared parameter undefined: get all albums + * @param {AlbumApiGetAllAlbumsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllAlbums(shared?: boolean, assetId?: string, options?: any): AxiosPromise> { - return localVarFp.getAllAlbums(shared, assetId, options).then((request) => request(axios, basePath)); + getAllAlbums(requestParameters: AlbumApiGetAllAlbumsRequest = {}, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.getAllAlbums(requestParameters.shared, requestParameters.assetId, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {BulkIdsDto} bulkIdsDto + * @param {AlbumApiRemoveAssetFromAlbumRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeAssetFromAlbum(id: string, bulkIdsDto: BulkIdsDto, options?: any): AxiosPromise> { - return localVarFp.removeAssetFromAlbum(id, bulkIdsDto, options).then((request) => request(axios, basePath)); + removeAssetFromAlbum(requestParameters: AlbumApiRemoveAssetFromAlbumRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.removeAssetFromAlbum(requestParameters.id, requestParameters.bulkIdsDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {string} userId + * @param {AlbumApiRemoveUserFromAlbumRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeUserFromAlbum(id: string, userId: string, options?: any): AxiosPromise { - return localVarFp.removeUserFromAlbum(id, userId, options).then((request) => request(axios, basePath)); + removeUserFromAlbum(requestParameters: AlbumApiRemoveUserFromAlbumRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.removeUserFromAlbum(requestParameters.id, requestParameters.userId, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {UpdateAlbumDto} updateAlbumDto + * @param {AlbumApiUpdateAlbumInfoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateAlbumInfo(id: string, updateAlbumDto: UpdateAlbumDto, options?: any): AxiosPromise { - return localVarFp.updateAlbumInfo(id, updateAlbumDto, options).then((request) => request(axios, basePath)); + updateAlbumInfo(requestParameters: AlbumApiUpdateAlbumInfoRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.updateAlbumInfo(requestParameters.id, requestParameters.updateAlbumDto, options).then((request) => request(axios, basePath)); }, }; }; @@ -4932,7 +4923,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['skip'] = skip; } - if (ifNoneMatch !== undefined && ifNoneMatch !== null) { + if (ifNoneMatch != null) { localVarHeaderParameter['if-none-match'] = String(ifNoneMatch); } @@ -6192,136 +6183,117 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath return { /** * Checks if assets exist by checksums - * @param {AssetBulkUploadCheckDto} assetBulkUploadCheckDto + * @param {AssetApiBulkUploadCheckRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - bulkUploadCheck(assetBulkUploadCheckDto: AssetBulkUploadCheckDto, options?: any): AxiosPromise { - return localVarFp.bulkUploadCheck(assetBulkUploadCheckDto, options).then((request) => request(axios, basePath)); + bulkUploadCheck(requestParameters: AssetApiBulkUploadCheckRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.bulkUploadCheck(requestParameters.assetBulkUploadCheckDto, options).then((request) => request(axios, basePath)); }, /** * Check duplicated asset before uploading - for Web upload used - * @param {CheckDuplicateAssetDto} checkDuplicateAssetDto - * @param {string} [key] + * @param {AssetApiCheckDuplicateAssetRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - checkDuplicateAsset(checkDuplicateAssetDto: CheckDuplicateAssetDto, key?: string, options?: any): AxiosPromise { - return localVarFp.checkDuplicateAsset(checkDuplicateAssetDto, key, options).then((request) => request(axios, basePath)); + checkDuplicateAsset(requestParameters: AssetApiCheckDuplicateAssetRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.checkDuplicateAsset(requestParameters.checkDuplicateAssetDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * Checks if multiple assets exist on the server and returns all existing - used by background backup - * @param {CheckExistingAssetsDto} checkExistingAssetsDto + * @param {AssetApiCheckExistingAssetsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - checkExistingAssets(checkExistingAssetsDto: CheckExistingAssetsDto, options?: any): AxiosPromise { - return localVarFp.checkExistingAssets(checkExistingAssetsDto, options).then((request) => request(axios, basePath)); + checkExistingAssets(requestParameters: AssetApiCheckExistingAssetsRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.checkExistingAssets(requestParameters.checkExistingAssetsDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {DeleteAssetDto} deleteAssetDto + * @param {AssetApiDeleteAssetRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteAsset(deleteAssetDto: DeleteAssetDto, options?: any): AxiosPromise> { - return localVarFp.deleteAsset(deleteAssetDto, options).then((request) => request(axios, basePath)); + deleteAsset(requestParameters: AssetApiDeleteAssetRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.deleteAsset(requestParameters.deleteAssetDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {AssetIdsDto} assetIdsDto - * @param {string} [key] + * @param {AssetApiDownloadArchiveRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - downloadArchive(assetIdsDto: AssetIdsDto, key?: string, options?: any): AxiosPromise { - return localVarFp.downloadArchive(assetIdsDto, key, options).then((request) => request(axios, basePath)); + downloadArchive(requestParameters: AssetApiDownloadArchiveRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.downloadArchive(requestParameters.assetIdsDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {string} [key] + * @param {AssetApiDownloadFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - downloadFile(id: string, key?: string, options?: any): AxiosPromise { - return localVarFp.downloadFile(id, key, options).then((request) => request(axios, basePath)); + downloadFile(requestParameters: AssetApiDownloadFileRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.downloadFile(requestParameters.id, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * Get all AssetEntity belong to the user - * @param {string} [userId] - * @param {boolean} [isFavorite] - * @param {boolean} [isArchived] - * @param {boolean} [withoutThumbs] Include assets without thumbnails - * @param {number} [skip] - * @param {string} [ifNoneMatch] ETag of data already cached on the client + * @param {AssetApiGetAllAssetsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllAssets(userId?: string, isFavorite?: boolean, isArchived?: boolean, withoutThumbs?: boolean, skip?: number, ifNoneMatch?: string, options?: any): AxiosPromise> { - return localVarFp.getAllAssets(userId, isFavorite, isArchived, withoutThumbs, skip, ifNoneMatch, options).then((request) => request(axios, basePath)); + getAllAssets(requestParameters: AssetApiGetAllAssetsRequest = {}, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.getAllAssets(requestParameters.userId, requestParameters.isFavorite, requestParameters.isArchived, requestParameters.withoutThumbs, requestParameters.skip, requestParameters.ifNoneMatch, options).then((request) => request(axios, basePath)); }, /** * Get a single asset\'s information - * @param {string} id - * @param {string} [key] + * @param {AssetApiGetAssetByIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetById(id: string, key?: string, options?: any): AxiosPromise { - return localVarFp.getAssetById(id, key, options).then((request) => request(axios, basePath)); + getAssetById(requestParameters: AssetApiGetAssetByIdRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getAssetById(requestParameters.id, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetSearchTerms(options?: any): AxiosPromise> { + getAssetSearchTerms(options?: AxiosRequestConfig): AxiosPromise> { return localVarFp.getAssetSearchTerms(options).then((request) => request(axios, basePath)); }, /** * - * @param {boolean} [isArchived] - * @param {boolean} [isFavorite] + * @param {AssetApiGetAssetStatsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetStats(isArchived?: boolean, isFavorite?: boolean, options?: any): AxiosPromise { - return localVarFp.getAssetStats(isArchived, isFavorite, options).then((request) => request(axios, basePath)); + getAssetStats(requestParameters: AssetApiGetAssetStatsRequest = {}, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getAssetStats(requestParameters.isArchived, requestParameters.isFavorite, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {ThumbnailFormat} [format] - * @param {string} [key] + * @param {AssetApiGetAssetThumbnailRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetThumbnail(id: string, format?: ThumbnailFormat, key?: string, options?: any): AxiosPromise { - return localVarFp.getAssetThumbnail(id, format, key, options).then((request) => request(axios, basePath)); + getAssetThumbnail(requestParameters: AssetApiGetAssetThumbnailRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getAssetThumbnail(requestParameters.id, requestParameters.format, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * - * @param {TimeBucketSize} size - * @param {string} timeBucket - * @param {string} [userId] - * @param {string} [albumId] - * @param {string} [personId] - * @param {boolean} [isArchived] - * @param {boolean} [isFavorite] - * @param {string} [key] + * @param {AssetApiGetByTimeBucketRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getByTimeBucket(size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, key?: string, options?: any): AxiosPromise> { - return localVarFp.getByTimeBucket(size, timeBucket, userId, albumId, personId, isArchived, isFavorite, key, options).then((request) => request(axios, basePath)); + getByTimeBucket(requestParameters: AssetApiGetByTimeBucketRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.getByTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCuratedLocations(options?: any): AxiosPromise> { + getCuratedLocations(options?: AxiosRequestConfig): AxiosPromise> { return localVarFp.getCuratedLocations(options).then((request) => request(axios, basePath)); }, /** @@ -6329,126 +6301,98 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCuratedObjects(options?: any): AxiosPromise> { + getCuratedObjects(options?: AxiosRequestConfig): AxiosPromise> { return localVarFp.getCuratedObjects(options).then((request) => request(axios, basePath)); }, /** * - * @param {Array} [assetIds] - * @param {string} [albumId] - * @param {string} [userId] - * @param {number} [archiveSize] - * @param {string} [key] + * @param {AssetApiGetDownloadInfoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getDownloadInfo(assetIds?: Array, albumId?: string, userId?: string, archiveSize?: number, key?: string, options?: any): AxiosPromise { - return localVarFp.getDownloadInfo(assetIds, albumId, userId, archiveSize, key, options).then((request) => request(axios, basePath)); + getDownloadInfo(requestParameters: AssetApiGetDownloadInfoRequest = {}, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getDownloadInfo(requestParameters.assetIds, requestParameters.albumId, requestParameters.userId, requestParameters.archiveSize, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * - * @param {boolean} [isFavorite] - * @param {string} [fileCreatedAfter] - * @param {string} [fileCreatedBefore] + * @param {AssetApiGetMapMarkersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMapMarkers(isFavorite?: boolean, fileCreatedAfter?: string, fileCreatedBefore?: string, options?: any): AxiosPromise> { - return localVarFp.getMapMarkers(isFavorite, fileCreatedAfter, fileCreatedBefore, options).then((request) => request(axios, basePath)); + getMapMarkers(requestParameters: AssetApiGetMapMarkersRequest = {}, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.getMapMarkers(requestParameters.isFavorite, requestParameters.fileCreatedAfter, requestParameters.fileCreatedBefore, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} timestamp Get pictures for +24 hours from this time going back x years + * @param {AssetApiGetMemoryLaneRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMemoryLane(timestamp: string, options?: any): AxiosPromise> { - return localVarFp.getMemoryLane(timestamp, options).then((request) => request(axios, basePath)); + getMemoryLane(requestParameters: AssetApiGetMemoryLaneRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.getMemoryLane(requestParameters.timestamp, options).then((request) => request(axios, basePath)); }, /** * - * @param {TimeBucketSize} size - * @param {string} [userId] - * @param {string} [albumId] - * @param {string} [personId] - * @param {boolean} [isArchived] - * @param {boolean} [isFavorite] - * @param {string} [key] + * @param {AssetApiGetTimeBucketsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTimeBuckets(size: TimeBucketSize, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, key?: string, options?: any): AxiosPromise> { - return localVarFp.getTimeBuckets(size, userId, albumId, personId, isArchived, isFavorite, key, options).then((request) => request(axios, basePath)); + getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.getTimeBuckets(requestParameters.size, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * Get all asset of a device that are in the database, ID only. - * @param {string} deviceId + * @param {AssetApiGetUserAssetsByDeviceIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUserAssetsByDeviceId(deviceId: string, options?: any): AxiosPromise> { - return localVarFp.getUserAssetsByDeviceId(deviceId, options).then((request) => request(axios, basePath)); + getUserAssetsByDeviceId(requestParameters: AssetApiGetUserAssetsByDeviceIdRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.getUserAssetsByDeviceId(requestParameters.deviceId, options).then((request) => request(axios, basePath)); }, /** * - * @param {ImportAssetDto} importAssetDto + * @param {AssetApiImportFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - importFile(importAssetDto: ImportAssetDto, options?: any): AxiosPromise { - return localVarFp.importFile(importAssetDto, options).then((request) => request(axios, basePath)); + importFile(requestParameters: AssetApiImportFileRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.importFile(requestParameters.importAssetDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {SearchAssetDto} searchAssetDto + * @param {AssetApiSearchAssetRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - searchAsset(searchAssetDto: SearchAssetDto, options?: any): AxiosPromise> { - return localVarFp.searchAsset(searchAssetDto, options).then((request) => request(axios, basePath)); + searchAsset(requestParameters: AssetApiSearchAssetRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.searchAsset(requestParameters.searchAssetDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {boolean} [isThumb] - * @param {boolean} [isWeb] - * @param {string} [key] + * @param {AssetApiServeFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - serveFile(id: string, isThumb?: boolean, isWeb?: boolean, key?: string, options?: any): AxiosPromise { - return localVarFp.serveFile(id, isThumb, isWeb, key, options).then((request) => request(axios, basePath)); + serveFile(requestParameters: AssetApiServeFileRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.serveFile(requestParameters.id, requestParameters.isThumb, requestParameters.isWeb, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * Update an asset - * @param {string} id - * @param {UpdateAssetDto} updateAssetDto + * @param {AssetApiUpdateAssetRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateAsset(id: string, updateAssetDto: UpdateAssetDto, options?: any): AxiosPromise { - return localVarFp.updateAsset(id, updateAssetDto, options).then((request) => request(axios, basePath)); + updateAsset(requestParameters: AssetApiUpdateAssetRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.updateAsset(requestParameters.id, requestParameters.updateAssetDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {File} assetData - * @param {string} deviceAssetId - * @param {string} deviceId - * @param {string} fileCreatedAt - * @param {string} fileModifiedAt - * @param {boolean} isFavorite - * @param {string} [key] - * @param {string} [duration] - * @param {boolean} [isArchived] - * @param {boolean} [isReadOnly] - * @param {boolean} [isVisible] - * @param {File} [livePhotoData] - * @param {File} [sidecarData] + * @param {AssetApiUploadFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - uploadFile(assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, key?: string, duration?: string, isArchived?: boolean, isReadOnly?: boolean, isVisible?: boolean, livePhotoData?: File, sidecarData?: File, options?: any): AxiosPromise { - return localVarFp.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, duration, isArchived, isReadOnly, isVisible, livePhotoData, sidecarData, options).then((request) => request(axios, basePath)); + uploadFile(requestParameters: AssetApiUploadFileRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.uploadFile(requestParameters.assetData, requestParameters.deviceAssetId, requestParameters.deviceId, requestParameters.fileCreatedAt, requestParameters.fileModifiedAt, requestParameters.isFavorite, requestParameters.key, requestParameters.duration, requestParameters.isArchived, requestParameters.isReadOnly, requestParameters.isVisible, requestParameters.livePhotoData, requestParameters.sidecarData, options).then((request) => request(axios, basePath)); }, }; }; @@ -7758,62 +7702,62 @@ export const AuthenticationApiFactory = function (configuration?: Configuration, return { /** * - * @param {SignUpDto} signUpDto + * @param {AuthenticationApiAdminSignUpRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - adminSignUp(signUpDto: SignUpDto, options?: any): AxiosPromise { - return localVarFp.adminSignUp(signUpDto, options).then((request) => request(axios, basePath)); + adminSignUp(requestParameters: AuthenticationApiAdminSignUpRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.adminSignUp(requestParameters.signUpDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {ChangePasswordDto} changePasswordDto + * @param {AuthenticationApiChangePasswordRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - changePassword(changePasswordDto: ChangePasswordDto, options?: any): AxiosPromise { - return localVarFp.changePassword(changePasswordDto, options).then((request) => request(axios, basePath)); + changePassword(requestParameters: AuthenticationApiChangePasswordRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.changePassword(requestParameters.changePasswordDto, options).then((request) => request(axios, basePath)); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAuthDevices(options?: any): AxiosPromise> { + getAuthDevices(options?: AxiosRequestConfig): AxiosPromise> { return localVarFp.getAuthDevices(options).then((request) => request(axios, basePath)); }, /** * - * @param {LoginCredentialDto} loginCredentialDto + * @param {AuthenticationApiLoginRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - login(loginCredentialDto: LoginCredentialDto, options?: any): AxiosPromise { - return localVarFp.login(loginCredentialDto, options).then((request) => request(axios, basePath)); + login(requestParameters: AuthenticationApiLoginRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.login(requestParameters.loginCredentialDto, options).then((request) => request(axios, basePath)); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - logout(options?: any): AxiosPromise { + logout(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.logout(options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {AuthenticationApiLogoutAuthDeviceRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - logoutAuthDevice(id: string, options?: any): AxiosPromise { - return localVarFp.logoutAuthDevice(id, options).then((request) => request(axios, basePath)); + logoutAuthDevice(requestParameters: AuthenticationApiLogoutAuthDeviceRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.logoutAuthDevice(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - logoutAuthDevices(options?: any): AxiosPromise { + logoutAuthDevices(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.logoutAuthDevices(options).then((request) => request(axios, basePath)); }, /** @@ -7821,7 +7765,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration, * @param {*} [options] Override http request option. * @throws {RequiredError} */ - validateAccessToken(options?: any): AxiosPromise { + validateAccessToken(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.validateAccessToken(options).then((request) => request(axios, basePath)); }, }; @@ -8113,18 +8057,17 @@ export const JobApiFactory = function (configuration?: Configuration, basePath?: * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllJobsStatus(options?: any): AxiosPromise { + getAllJobsStatus(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.getAllJobsStatus(options).then((request) => request(axios, basePath)); }, /** * - * @param {JobName} id - * @param {JobCommandDto} jobCommandDto + * @param {JobApiSendJobCommandRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - sendJobCommand(id: JobName, jobCommandDto: JobCommandDto, options?: any): AxiosPromise { - return localVarFp.sendJobCommand(id, jobCommandDto, options).then((request) => request(axios, basePath)); + sendJobCommand(requestParameters: JobApiSendJobCommandRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.sendJobCommand(requestParameters.id, requestParameters.jobCommandDto, options).then((request) => request(axios, basePath)); }, }; }; @@ -8437,37 +8380,37 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath return { /** * - * @param {OAuthCallbackDto} oAuthCallbackDto + * @param {OAuthApiCallbackRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - callback(oAuthCallbackDto: OAuthCallbackDto, options?: any): AxiosPromise { - return localVarFp.callback(oAuthCallbackDto, options).then((request) => request(axios, basePath)); + callback(requestParameters: OAuthApiCallbackRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.callback(requestParameters.oAuthCallbackDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {OAuthConfigDto} oAuthConfigDto + * @param {OAuthApiGenerateConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - generateConfig(oAuthConfigDto: OAuthConfigDto, options?: any): AxiosPromise { - return localVarFp.generateConfig(oAuthConfigDto, options).then((request) => request(axios, basePath)); + generateConfig(requestParameters: OAuthApiGenerateConfigRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.generateConfig(requestParameters.oAuthConfigDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {OAuthCallbackDto} oAuthCallbackDto + * @param {OAuthApiLinkRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - link(oAuthCallbackDto: OAuthCallbackDto, options?: any): AxiosPromise { - return localVarFp.link(oAuthCallbackDto, options).then((request) => request(axios, basePath)); + link(requestParameters: OAuthApiLinkRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.link(requestParameters.oAuthCallbackDto, options).then((request) => request(axios, basePath)); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mobileRedirect(options?: any): AxiosPromise { + mobileRedirect(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.mobileRedirect(options).then((request) => request(axios, basePath)); }, /** @@ -8475,7 +8418,7 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - unlink(options?: any): AxiosPromise { + unlink(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.unlink(options).then((request) => request(axios, basePath)); }, }; @@ -8772,30 +8715,30 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa return { /** * - * @param {string} id + * @param {PartnerApiCreatePartnerRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createPartner(id: string, options?: any): AxiosPromise { - return localVarFp.createPartner(id, options).then((request) => request(axios, basePath)); + createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.createPartner(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {'shared-by' | 'shared-with'} direction + * @param {PartnerApiGetPartnersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPartners(direction: 'shared-by' | 'shared-with', options?: any): AxiosPromise> { - return localVarFp.getPartners(direction, options).then((request) => request(axios, basePath)); + getPartners(requestParameters: PartnerApiGetPartnersRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.getPartners(requestParameters.direction, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {PartnerApiRemovePartnerRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removePartner(id: string, options?: any): AxiosPromise { - return localVarFp.removePartner(id, options).then((request) => request(axios, basePath)); + removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.removePartner(requestParameters.id, options).then((request) => request(axios, basePath)); }, }; }; @@ -9293,68 +9236,66 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat return { /** * - * @param {boolean} [withHidden] + * @param {PersonApiGetAllPeopleRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllPeople(withHidden?: boolean, options?: any): AxiosPromise { - return localVarFp.getAllPeople(withHidden, options).then((request) => request(axios, basePath)); + getAllPeople(requestParameters: PersonApiGetAllPeopleRequest = {}, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getAllPeople(requestParameters.withHidden, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {PersonApiGetPersonRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPerson(id: string, options?: any): AxiosPromise { - return localVarFp.getPerson(id, options).then((request) => request(axios, basePath)); + getPerson(requestParameters: PersonApiGetPersonRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getPerson(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {PersonApiGetPersonAssetsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonAssets(id: string, options?: any): AxiosPromise> { - return localVarFp.getPersonAssets(id, options).then((request) => request(axios, basePath)); + getPersonAssets(requestParameters: PersonApiGetPersonAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.getPersonAssets(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {PersonApiGetPersonThumbnailRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonThumbnail(id: string, options?: any): AxiosPromise { - return localVarFp.getPersonThumbnail(id, options).then((request) => request(axios, basePath)); + getPersonThumbnail(requestParameters: PersonApiGetPersonThumbnailRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getPersonThumbnail(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {MergePersonDto} mergePersonDto + * @param {PersonApiMergePersonRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mergePerson(id: string, mergePersonDto: MergePersonDto, options?: any): AxiosPromise> { - return localVarFp.mergePerson(id, mergePersonDto, options).then((request) => request(axios, basePath)); + mergePerson(requestParameters: PersonApiMergePersonRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.mergePerson(requestParameters.id, requestParameters.mergePersonDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {PeopleUpdateDto} peopleUpdateDto + * @param {PersonApiUpdatePeopleRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updatePeople(peopleUpdateDto: PeopleUpdateDto, options?: any): AxiosPromise> { - return localVarFp.updatePeople(peopleUpdateDto, options).then((request) => request(axios, basePath)); + updatePeople(requestParameters: PersonApiUpdatePeopleRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.updatePeople(requestParameters.peopleUpdateDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {PersonUpdateDto} personUpdateDto + * @param {PersonApiUpdatePersonRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updatePerson(id: string, personUpdateDto: PersonUpdateDto, options?: any): AxiosPromise { - return localVarFp.updatePerson(id, personUpdateDto, options).then((request) => request(axios, basePath)); + updatePerson(requestParameters: PersonApiUpdatePersonRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.updatePerson(requestParameters.id, requestParameters.personUpdateDto, options).then((request) => request(axios, basePath)); }, }; }; @@ -9825,7 +9766,7 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getExploreData(options?: any): AxiosPromise> { + getExploreData(options?: AxiosRequestConfig): AxiosPromise> { return localVarFp.getExploreData(options).then((request) => request(axios, basePath)); }, /** @@ -9833,32 +9774,17 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSearchConfig(options?: any): AxiosPromise { + getSearchConfig(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.getSearchConfig(options).then((request) => request(axios, basePath)); }, /** * - * @param {string} [q] - * @param {string} [query] - * @param {boolean} [clip] - * @param {'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER'} [type] - * @param {boolean} [isFavorite] - * @param {boolean} [isArchived] - * @param {string} [exifInfoCity] - * @param {string} [exifInfoState] - * @param {string} [exifInfoCountry] - * @param {string} [exifInfoMake] - * @param {string} [exifInfoModel] - * @param {string} [exifInfoProjectionType] - * @param {Array} [smartInfoObjects] - * @param {Array} [smartInfoTags] - * @param {boolean} [recent] - * @param {boolean} [motion] + * @param {SearchApiSearchRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - search(q?: string, query?: string, clip?: boolean, type?: 'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER', isFavorite?: boolean, isArchived?: boolean, exifInfoCity?: string, exifInfoState?: string, exifInfoCountry?: string, exifInfoMake?: string, exifInfoModel?: string, exifInfoProjectionType?: string, smartInfoObjects?: Array, smartInfoTags?: Array, recent?: boolean, motion?: boolean, options?: any): AxiosPromise { - return localVarFp.search(q, query, clip, type, isFavorite, isArchived, exifInfoCity, exifInfoState, exifInfoCountry, exifInfoMake, exifInfoModel, exifInfoProjectionType, smartInfoObjects, smartInfoTags, recent, motion, options).then((request) => request(axios, basePath)); + search(requestParameters: SearchApiSearchRequest = {}, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.search(requestParameters.q, requestParameters.query, requestParameters.clip, requestParameters.type, requestParameters.isFavorite, requestParameters.isArchived, requestParameters.exifInfoCity, requestParameters.exifInfoState, requestParameters.exifInfoCountry, requestParameters.exifInfoMake, requestParameters.exifInfoModel, requestParameters.exifInfoProjectionType, requestParameters.smartInfoObjects, requestParameters.smartInfoTags, requestParameters.recent, requestParameters.motion, options).then((request) => request(axios, basePath)); }, }; }; @@ -10261,7 +10187,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerInfo(options?: any): AxiosPromise { + getServerInfo(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.getServerInfo(options).then((request) => request(axios, basePath)); }, /** @@ -10269,7 +10195,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerVersion(options?: any): AxiosPromise { + getServerVersion(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.getServerVersion(options).then((request) => request(axios, basePath)); }, /** @@ -10277,7 +10203,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getStats(options?: any): AxiosPromise { + getStats(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.getStats(options).then((request) => request(axios, basePath)); }, /** @@ -10285,7 +10211,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSupportedMediaTypes(options?: any): AxiosPromise { + getSupportedMediaTypes(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.getSupportedMediaTypes(options).then((request) => request(axios, basePath)); }, /** @@ -10293,7 +10219,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - pingServer(options?: any): AxiosPromise { + pingServer(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.pingServer(options).then((request) => request(axios, basePath)); }, }; @@ -10833,79 +10759,74 @@ export const SharedLinkApiFactory = function (configuration?: Configuration, bas return { /** * - * @param {string} id - * @param {AssetIdsDto} assetIdsDto - * @param {string} [key] + * @param {SharedLinkApiAddSharedLinkAssetsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - addSharedLinkAssets(id: string, assetIdsDto: AssetIdsDto, key?: string, options?: any): AxiosPromise> { - return localVarFp.addSharedLinkAssets(id, assetIdsDto, key, options).then((request) => request(axios, basePath)); + addSharedLinkAssets(requestParameters: SharedLinkApiAddSharedLinkAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.addSharedLinkAssets(requestParameters.id, requestParameters.assetIdsDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * - * @param {SharedLinkCreateDto} sharedLinkCreateDto + * @param {SharedLinkApiCreateSharedLinkRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createSharedLink(sharedLinkCreateDto: SharedLinkCreateDto, options?: any): AxiosPromise { - return localVarFp.createSharedLink(sharedLinkCreateDto, options).then((request) => request(axios, basePath)); + createSharedLink(requestParameters: SharedLinkApiCreateSharedLinkRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.createSharedLink(requestParameters.sharedLinkCreateDto, options).then((request) => request(axios, basePath)); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllSharedLinks(options?: any): AxiosPromise> { + getAllSharedLinks(options?: AxiosRequestConfig): AxiosPromise> { return localVarFp.getAllSharedLinks(options).then((request) => request(axios, basePath)); }, /** * - * @param {string} [key] + * @param {SharedLinkApiGetMySharedLinkRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMySharedLink(key?: string, options?: any): AxiosPromise { - return localVarFp.getMySharedLink(key, options).then((request) => request(axios, basePath)); + getMySharedLink(requestParameters: SharedLinkApiGetMySharedLinkRequest = {}, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getMySharedLink(requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {SharedLinkApiGetSharedLinkByIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSharedLinkById(id: string, options?: any): AxiosPromise { - return localVarFp.getSharedLinkById(id, options).then((request) => request(axios, basePath)); + getSharedLinkById(requestParameters: SharedLinkApiGetSharedLinkByIdRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getSharedLinkById(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {SharedLinkApiRemoveSharedLinkRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeSharedLink(id: string, options?: any): AxiosPromise { - return localVarFp.removeSharedLink(id, options).then((request) => request(axios, basePath)); + removeSharedLink(requestParameters: SharedLinkApiRemoveSharedLinkRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.removeSharedLink(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {AssetIdsDto} assetIdsDto - * @param {string} [key] + * @param {SharedLinkApiRemoveSharedLinkAssetsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeSharedLinkAssets(id: string, assetIdsDto: AssetIdsDto, key?: string, options?: any): AxiosPromise> { - return localVarFp.removeSharedLinkAssets(id, assetIdsDto, key, options).then((request) => request(axios, basePath)); + removeSharedLinkAssets(requestParameters: SharedLinkApiRemoveSharedLinkAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.removeSharedLinkAssets(requestParameters.id, requestParameters.assetIdsDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {SharedLinkEditDto} sharedLinkEditDto + * @param {SharedLinkApiUpdateSharedLinkRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateSharedLink(id: string, sharedLinkEditDto: SharedLinkEditDto, options?: any): AxiosPromise { - return localVarFp.updateSharedLink(id, sharedLinkEditDto, options).then((request) => request(axios, basePath)); + updateSharedLink(requestParameters: SharedLinkApiUpdateSharedLinkRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.updateSharedLink(requestParameters.id, requestParameters.sharedLinkEditDto, options).then((request) => request(axios, basePath)); }, }; }; @@ -11365,7 +11286,7 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getConfig(options?: any): AxiosPromise { + getConfig(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.getConfig(options).then((request) => request(axios, basePath)); }, /** @@ -11373,7 +11294,7 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getDefaults(options?: any): AxiosPromise { + getDefaults(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.getDefaults(options).then((request) => request(axios, basePath)); }, /** @@ -11381,17 +11302,17 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getStorageTemplateOptions(options?: any): AxiosPromise { + getStorageTemplateOptions(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.getStorageTemplateOptions(options).then((request) => request(axios, basePath)); }, /** * - * @param {SystemConfigDto} systemConfigDto + * @param {SystemConfigApiUpdateConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateConfig(systemConfigDto: SystemConfigDto, options?: any): AxiosPromise { - return localVarFp.updateConfig(systemConfigDto, options).then((request) => request(axios, basePath)); + updateConfig(requestParameters: SystemConfigApiUpdateConfigRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.updateConfig(requestParameters.systemConfigDto, options).then((request) => request(axios, basePath)); }, }; }; @@ -11922,77 +11843,74 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?: return { /** * - * @param {CreateTagDto} createTagDto + * @param {TagApiCreateTagRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createTag(createTagDto: CreateTagDto, options?: any): AxiosPromise { - return localVarFp.createTag(createTagDto, options).then((request) => request(axios, basePath)); + createTag(requestParameters: TagApiCreateTagRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.createTag(requestParameters.createTagDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {TagApiDeleteTagRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteTag(id: string, options?: any): AxiosPromise { - return localVarFp.deleteTag(id, options).then((request) => request(axios, basePath)); + deleteTag(requestParameters: TagApiDeleteTagRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.deleteTag(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllTags(options?: any): AxiosPromise> { + getAllTags(options?: AxiosRequestConfig): AxiosPromise> { return localVarFp.getAllTags(options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {TagApiGetTagAssetsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTagAssets(id: string, options?: any): AxiosPromise> { - return localVarFp.getTagAssets(id, options).then((request) => request(axios, basePath)); + getTagAssets(requestParameters: TagApiGetTagAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.getTagAssets(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {TagApiGetTagByIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTagById(id: string, options?: any): AxiosPromise { - return localVarFp.getTagById(id, options).then((request) => request(axios, basePath)); + getTagById(requestParameters: TagApiGetTagByIdRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getTagById(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {AssetIdsDto} assetIdsDto + * @param {TagApiTagAssetsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - tagAssets(id: string, assetIdsDto: AssetIdsDto, options?: any): AxiosPromise> { - return localVarFp.tagAssets(id, assetIdsDto, options).then((request) => request(axios, basePath)); + tagAssets(requestParameters: TagApiTagAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.tagAssets(requestParameters.id, requestParameters.assetIdsDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {AssetIdsDto} assetIdsDto + * @param {TagApiUntagAssetsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - untagAssets(id: string, assetIdsDto: AssetIdsDto, options?: any): AxiosPromise> { - return localVarFp.untagAssets(id, assetIdsDto, options).then((request) => request(axios, basePath)); + untagAssets(requestParameters: TagApiUntagAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.untagAssets(requestParameters.id, requestParameters.assetIdsDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id - * @param {UpdateTagDto} updateTagDto + * @param {TagApiUpdateTagRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateTag(id: string, updateTagDto: UpdateTagDto, options?: any): AxiosPromise { - return localVarFp.updateTag(id, updateTagDto, options).then((request) => request(axios, basePath)); + updateTag(requestParameters: TagApiUpdateTagRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.updateTag(requestParameters.id, requestParameters.updateTagDto, options).then((request) => request(axios, basePath)); }, }; }; @@ -12761,92 +12679,92 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? return { /** * - * @param {File} file + * @param {UserApiCreateProfileImageRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createProfileImage(file: File, options?: any): AxiosPromise { - return localVarFp.createProfileImage(file, options).then((request) => request(axios, basePath)); + createProfileImage(requestParameters: UserApiCreateProfileImageRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.createProfileImage(requestParameters.file, options).then((request) => request(axios, basePath)); }, /** * - * @param {CreateUserDto} createUserDto + * @param {UserApiCreateUserRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createUser(createUserDto: CreateUserDto, options?: any): AxiosPromise { - return localVarFp.createUser(createUserDto, options).then((request) => request(axios, basePath)); + createUser(requestParameters: UserApiCreateUserRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.createUser(requestParameters.createUserDto, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {UserApiDeleteUserRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteUser(id: string, options?: any): AxiosPromise { - return localVarFp.deleteUser(id, options).then((request) => request(axios, basePath)); + deleteUser(requestParameters: UserApiDeleteUserRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.deleteUser(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {boolean} isAll + * @param {UserApiGetAllUsersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllUsers(isAll: boolean, options?: any): AxiosPromise> { - return localVarFp.getAllUsers(isAll, options).then((request) => request(axios, basePath)); + getAllUsers(requestParameters: UserApiGetAllUsersRequest, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.getAllUsers(requestParameters.isAll, options).then((request) => request(axios, basePath)); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMyUserInfo(options?: any): AxiosPromise { + getMyUserInfo(options?: AxiosRequestConfig): AxiosPromise { return localVarFp.getMyUserInfo(options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {UserApiGetProfileImageRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getProfileImage(id: string, options?: any): AxiosPromise { - return localVarFp.getProfileImage(id, options).then((request) => request(axios, basePath)); + getProfileImage(requestParameters: UserApiGetProfileImageRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getProfileImage(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {UserApiGetUserByIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUserById(id: string, options?: any): AxiosPromise { - return localVarFp.getUserById(id, options).then((request) => request(axios, basePath)); + getUserById(requestParameters: UserApiGetUserByIdRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getUserById(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {boolean} [admin] + * @param {UserApiGetUserCountRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUserCount(admin?: boolean, options?: any): AxiosPromise { - return localVarFp.getUserCount(admin, options).then((request) => request(axios, basePath)); + getUserCount(requestParameters: UserApiGetUserCountRequest = {}, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.getUserCount(requestParameters.admin, options).then((request) => request(axios, basePath)); }, /** * - * @param {string} id + * @param {UserApiRestoreUserRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - restoreUser(id: string, options?: any): AxiosPromise { - return localVarFp.restoreUser(id, options).then((request) => request(axios, basePath)); + restoreUser(requestParameters: UserApiRestoreUserRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.restoreUser(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** * - * @param {UpdateUserDto} updateUserDto + * @param {UserApiUpdateUserRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateUser(updateUserDto: UpdateUserDto, options?: any): AxiosPromise { - return localVarFp.updateUser(updateUserDto, options).then((request) => request(axios, basePath)); + updateUser(requestParameters: UserApiUpdateUserRequest, options?: AxiosRequestConfig): AxiosPromise { + return localVarFp.updateUser(requestParameters.updateUserDto, options).then((request) => request(axios, basePath)); }, }; };