From 91ad5840648b568acbc6782578a1c98dd3f6b129 Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Wed, 3 May 2023 15:27:57 -0400 Subject: [PATCH] chore: regenerate open api (#2374) --- mobile/openapi/lib/model/add_assets_dto.dart | Bin 3371 -> 3306 bytes .../lib/model/add_assets_response_dto.dart | Bin 4613 -> 4548 bytes mobile/openapi/lib/model/add_users_dto.dart | Bin 3416 -> 3351 bytes .../lib/model/admin_signup_response_dto.dart | Bin 4408 -> 4343 bytes .../lib/model/album_count_response_dto.dart | Bin 3886 -> 3821 bytes .../openapi/lib/model/album_response_dto.dart | Bin 6143 -> 6076 bytes .../model/all_job_status_response_dto.dart | Bin 6508 -> 6443 bytes .../openapi/lib/model/api_key_create_dto.dart | Bin 3739 -> 3674 bytes .../model/api_key_create_response_dto.dart | Bin 3735 -> 3670 bytes .../lib/model/api_key_response_dto.dart | Bin 4048 -> 3983 bytes .../openapi/lib/model/api_key_update_dto.dart | Bin 3312 -> 3247 bytes .../lib/model/asset_count_by_time_bucket.dart | Bin 3730 -> 3665 bytes ...set_count_by_time_bucket_response_dto.dart | Bin 4011 -> 3945 bytes .../asset_count_by_user_id_response_dto.dart | Bin 4421 -> 4356 bytes .../model/asset_file_upload_response_dto.dart | Bin 3764 -> 3699 bytes .../openapi/lib/model/asset_response_dto.dart | Bin 10250 -> 10173 bytes .../lib/model/auth_device_response_dto.dart | Bin 4680 -> 4615 bytes .../lib/model/change_password_dto.dart | Bin 3684 -> 3619 bytes .../lib/model/check_duplicate_asset_dto.dart | Bin 3808 -> 3743 bytes .../check_duplicate_asset_response_dto.dart | Bin 4243 -> 4178 bytes .../lib/model/check_existing_assets_dto.dart | Bin 3897 -> 3832 bytes .../check_existing_assets_response_dto.dart | Bin 3770 -> 3705 bytes .../openapi/lib/model/create_album_dto.dart | Bin 4066 -> 4001 bytes .../model/create_album_share_link_dto.dart | Bin 7101 -> 7036 bytes .../model/create_assets_share_link_dto.dart | Bin 7182 -> 7117 bytes .../create_profile_image_response_dto.dart | Bin 3960 -> 3895 bytes mobile/openapi/lib/model/create_tag_dto.dart | Bin 3455 -> 3390 bytes mobile/openapi/lib/model/create_user_dto.dart | Bin 4040 -> 3975 bytes .../model/curated_locations_response_dto.dart | Bin 4556 -> 4491 bytes .../model/curated_objects_response_dto.dart | Bin 4540 -> 4475 bytes .../openapi/lib/model/delete_asset_dto.dart | Bin 3346 -> 3281 bytes .../lib/model/delete_asset_response_dto.dart | Bin 3667 -> 3602 bytes .../openapi/lib/model/download_files_dto.dart | Bin 3451 -> 3386 bytes .../lib/model/edit_shared_link_dto.dart | Bin 6374 -> 6309 bytes .../openapi/lib/model/exif_response_dto.dart | Bin 10541 -> 10476 bytes .../model/get_asset_by_time_bucket_dto.dart | Bin 3617 -> 3552 bytes .../get_asset_count_by_time_bucket_dto.dart | Bin 3639 -> 3574 bytes mobile/openapi/lib/model/job_command_dto.dart | Bin 3517 -> 3452 bytes mobile/openapi/lib/model/job_counts_dto.dart | Bin 4420 -> 4355 bytes mobile/openapi/lib/model/job_status_dto.dart | Bin 3610 -> 3545 bytes .../lib/model/login_credential_dto.dart | Bin 3632 -> 3567 bytes .../openapi/lib/model/login_response_dto.dart | Bin 5372 -> 5307 bytes .../lib/model/logout_response_dto.dart | Bin 3704 -> 3639 bytes .../lib/model/o_auth_callback_dto.dart | Bin 3320 -> 3255 bytes .../openapi/lib/model/o_auth_config_dto.dart | Bin 3376 -> 3311 bytes .../lib/model/o_auth_config_response_dto.dart | Bin 5903 -> 5838 bytes .../openapi/lib/model/queue_status_dto.dart | Bin 3580 -> 3515 bytes .../openapi/lib/model/remove_assets_dto.dart | Bin 3431 -> 3366 bytes .../lib/model/search_album_response_dto.dart | Bin 4162 -> 4095 bytes .../openapi/lib/model/search_asset_dto.dart | Bin 3364 -> 3299 bytes .../lib/model/search_asset_response_dto.dart | Bin 4162 -> 4095 bytes .../lib/model/search_config_response_dto.dart | Bin 3504 -> 3439 bytes .../lib/model/search_explore_item.dart | Bin 3577 -> 3512 bytes .../model/search_explore_response_dto.dart | Bin 3791 -> 3725 bytes .../search_facet_count_response_dto.dart | Bin 3770 -> 3705 bytes .../lib/model/search_facet_response_dto.dart | Bin 3783 -> 3717 bytes .../lib/model/search_response_dto.dart | Bin 3650 -> 3585 bytes .../lib/model/server_info_response_dto.dart | Bin 5286 -> 5221 bytes .../lib/model/server_ping_response.dart | Bin 3360 -> 3295 bytes .../lib/model/server_stats_response_dto.dart | Bin 4184 -> 4118 bytes .../lib/model/server_version_reponse_dto.dart | Bin 3899 -> 3834 bytes .../lib/model/shared_link_response_dto.dart | Bin 7119 -> 7053 bytes mobile/openapi/lib/model/sign_up_dto.dart | Bin 3960 -> 3895 bytes .../lib/model/smart_info_response_dto.dart | Bin 3967 -> 3902 bytes .../openapi/lib/model/system_config_dto.dart | Bin 4310 -> 4245 bytes .../lib/model/system_config_f_fmpeg_dto.dart | Bin 8158 -> 8093 bytes .../lib/model/system_config_o_auth_dto.dart | Bin 6048 -> 5983 bytes .../system_config_password_login_dto.dart | Bin 3604 -> 3539 bytes .../system_config_storage_template_dto.dart | Bin 3660 -> 3595 bytes ...em_config_template_storage_option_dto.dart | Bin 6116 -> 6051 bytes .../openapi/lib/model/tag_response_dto.dart | Bin 4271 -> 4206 bytes .../openapi/lib/model/update_album_dto.dart | Bin 4654 -> 4589 bytes .../openapi/lib/model/update_asset_dto.dart | Bin 5510 -> 5445 bytes mobile/openapi/lib/model/update_tag_dto.dart | Bin 4404 -> 4339 bytes mobile/openapi/lib/model/update_user_dto.dart | Bin 7464 -> 7399 bytes .../openapi/lib/model/usage_by_user_dto.dart | Bin 4562 -> 4497 bytes .../lib/model/user_count_response_dto.dart | Bin 3466 -> 3401 bytes .../openapi/lib/model/user_response_dto.dart | Bin 6884 -> 6819 bytes .../validate_access_token_response_dto.dart | Bin 3680 -> 3615 bytes .../native/native_class.mustache | 20 ++++++++---------- 80 files changed, 9 insertions(+), 11 deletions(-) diff --git a/mobile/openapi/lib/model/add_assets_dto.dart b/mobile/openapi/lib/model/add_assets_dto.dart index 42908bc82796f1333fd40524e6a050940c5a3fa6..d0eb324493c38a2d8c99b15f4da2e7fe56227167 100644 GIT binary patch delta 36 scmZ22^-6L>IQ!-Zb`_S%3%S)N2XLxPKFDo6IgLkfG82#UK(h@DA_S8N4kwf24J4B&4l@vKVQ^bzZgg^aE^B3Z WT_8P^@dFi;$q+Y_J*MVQ^bzZgg^aE^B3Z XT_8OmlhFtklj09Ill2WDlY79^9t6f={?7ZHJt)zzUX=mkl#d?hR}W77n@q 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 77b5e3df3e5e7fb205d63d4e8ef0fa9f4727e515..84cb2b44456018e3657ba17fd53e28dbcbcb6176 100644 GIT binary patch delta 47 zcmV+~0MP%J9o8JMR0skfY?CkyK(m(!Is}uR3MZ4%3?!4j3Nw?&4H1)40vD5R4L6hS F4XJ(z5LEyG delta 40 wcmca6GhKE=2nVyhLe6A;9*51-IILJES8&anT+VAY*^5(gatOEQv%dJagF)(R7o9uKliCl7!C delta 30 mcmeB|zaYP1IVYq2=H;9|ER#2L&zL-g&unrAPuAqud`kedIt%6i diff --git a/mobile/openapi/lib/model/api_key_update_dto.dart b/mobile/openapi/lib/model/api_key_update_dto.dart index 47847df7888b9fb2d0d10adfb524ee6b2399d958..82dcdb49c1edb5df6abf02e95ecc6a7afbaaecb4 100644 GIT binary patch delta 54 zcmew$xn6PuD?5`y&g7L`4x2sLe=$$i=Tx8U#H}*fpVOExH?bf(HLs+oQZGBTGIsJ& KZqLc#JTn3D84{fU delta 36 scmZ24`9X36D?78jLeAtBTn?Mv*?%!l=H#3<`2n}tLe6AO9*51-IgD5)mvYUWoX=}E*^^UoasapI}m84>yx_ F5YUyl5dHuF delta 44 zcmV+{0Mq}3BE=%Gr3wQ-AZ(MW4nVW#3TgzCcn>6#1r30c{tq^jrwbvI!wpH3RS>Ui C%n(Wd 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 33f46cda250344a79352e556d8d93250291a4900..b00e17871e1fdb436feee1fbb8392f31880a029f 100644 GIT binary patch delta 44 zcmV+{0Mq}p9rGNpR|vCM2$Teq5e+AkhzcZ=F%2`5XA2RNBncanjSV)Fm28 diff --git a/mobile/openapi/lib/model/asset_response_dto.dart b/mobile/openapi/lib/model/asset_response_dto.dart index 7fdc42559dd1d7bfb301a15b2dfaaf4aff7a1ff7..e9f0185ce8e9eac69c06dc5a4b08cb93b59c0333 100644 GIT binary patch delta 55 zcmV-70LcG}P`yvExFD0nAV#wbAw&d|I3p*M6C)&(SR*r&=pzvYL349ubd!-F8I$uR NDU&xM6SH_Gk^wYa6J7uS delta 52 zcmV-40L%ZqPl`~mxF8H5KR+O2Z*FsRAX{CNxFALWKePTIL}EI1V$DHW3k%f(I3o-VisF^$sDEe-X)a C;Sfjw delta 34 scmV+-0NwwGB*-MN)(ZhYv(^i21e5X&oRjAeHj~HKmdP<(GbY>enoYLiRGe(Y?Kyc0Z$ALTb_&`6 diff --git a/mobile/openapi/lib/model/check_duplicate_asset_dto.dart b/mobile/openapi/lib/model/check_duplicate_asset_dto.dart index 65a4a6ebd293bc9885d2d9550276ff17c5315d88..bdc9d4acd2f9dc7c919c584cc40ebbaca776b907 100644 GIT binary patch delta 44 zcmV+{0Mq~A9iJVrod~m@2y_IKHw`C~5)CAiR}C|hnF|qkdy$YR^w+%LvcMEEh4i1s}y$wJB 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 e106a899b5c546a17c68103ddc7b14ea7922d1b4..6f4586edb6186f85074894e0ac0fd0e07cb67d8e 100644 GIT binary patch delta 54 zcmV-60LlN8A<`hQ9tyJ`3bX{1_zowN(+(t)7!NZMZDDX*Wo~qGc`j>Zd0ikqAd^uD M9+P(uHJpS{XZeGoQ!g?>vf= HQ~7HF@01eR delta 34 scmV+-0NwwgAL1Xd`w0O*v-=4&1e5yq8c`n!WI*gG#iPL C%@Cph delta 30 mcmexkw%2?^yC|dm=62BRNgEN9FcTP)@ftUiaT}dOM-I^d delta 34 scmV+-0Nwx1H;y>4&J_Vav(6QS1e5j`pOg9;Hj~B{A(PV>Nt00Zd0mrB3`Ud4 J2osa-43ZEa6afGL delta 40 ycmV+@0N4M%8vh!wqXz>&AZ(K{3qZ5w2jT;hn+cPXV+=Nvg9ss$Yzj$}x(tLpG!GpB diff --git a/mobile/openapi/lib/model/create_user_dto.dart b/mobile/openapi/lib/model/create_user_dto.dart index bb7bb7c17df0cacf5a5930284304618507003b5d..e292eb481bd3460e71259bebc1a86316a7da17ae 100644 GIT binary patch delta 40 ycmV+@0N4M>ABP{Xy$Q3v2`mJY-wP*`x(g(e{|hsd)eaGpa1KP1v=el5H^!{ J3=@+D5yz&U55@oh delta 36 scmeBHKBK(Bgqzu3A!o8Szr*G-?kJYY8N7=oR|}X;R_Du_d`Vy@0N7p(SO5S3 diff --git a/mobile/openapi/lib/model/curated_objects_response_dto.dart b/mobile/openapi/lib/model/curated_objects_response_dto.dart index d7e6617bf1a5d41c450fcd71dcb3d0c41306d11c..e1a3a2582e6afbd0a8d10dfaa7434dba32bf9403 100644 GIT binary patch delta 51 zcmV-30L=fqBl{w-Gz$VCY?B@jK(luXN(7UJ4JVUf4J4DM4KtIt5D}As3mKDO5I2)& J4k42P5xccX5KjOA delta 40 wcmeyZv`2Y^2{*I7Le6AaeuvFv++Hk`6L=R)&J-}4tjD7`*^bY1@&SR}01({`Q2+n{ diff --git a/mobile/openapi/lib/model/delete_asset_dto.dart b/mobile/openapi/lib/model/delete_asset_dto.dart index a7c613a436588e231a8ebfad408ee154e2c948ea..cc79b881d9cacfed609f313c2ca96ec89c5f5b3a 100644 GIT binary patch delta 47 zcmV+~0MP%E8qpcBF$V%5Y?ICkK(llQ@&l8L3n!Ci3nY`P3p0}i3K5g+3q_MH3L%r5 F40nj-5A6T| delta 34 qcmca8IZ0}RAv>e}WkQztX?m`xVtP@K%d2`7`t3nY`#2{V(n3=xw~3`djR44qX2 B50(G` delta 36 scmdlb^;>E~Gdr`rLe6AeZimfB*_l`-cXLjkoX%r5*`6zF@;;s#0PDgGn*aa+ diff --git a/mobile/openapi/lib/model/edit_shared_link_dto.dart b/mobile/openapi/lib/model/edit_shared_link_dto.dart index c6323e6672347a2841f2f8fb15ac6365090e1ff3..f6f64d76faa0668b0575f5459801a2bf21ba73a6 100644 GIT binary patch delta 40 ycmV+@0N4NKF{LrE^%Ar85=;b>Clx1?0u>~aM-?-Z*cB0z$QMYHBoq^qY#4e$6An-S delta 34 qcmZ2#_{?y_S0P6G&0mFlSSDwPt4vlEEt&jC+-&kT(X7dq5;*|%i48yi diff --git a/mobile/openapi/lib/model/exif_response_dto.dart b/mobile/openapi/lib/model/exif_response_dto.dart index fceec66d3749a7de50bba2265c2319a47c996fea..96b727434a92e89466537f9372ad79c96de92d9c 100644 GIT binary patch delta 36 scmZ1*^d@kFpYmpZWgC{s8`RY&2dk<~zMyVAxk5v5vY>|B6O)wg3MZ3y3?!3K3NsFEVQ^bzZgg^aE^B3Z UU6Y;&Ad?ymHj@_#6O*hBi=^um!TI0MZ2`7`$2_%yi3Nw?V3K5fs3`CO@4XI~m B4_5#H delta 40 ycmV+@0N4Ng8oe8^)CU7UAZ(Lq3qZ3L2e2L$Aa-6_30L_UDhyVZp delta 34 qcmZoxI-;~eotx2qvpTm5%Vc@p$&;V+n@witQJnmN*K@L+z)=9XGYb*` diff --git a/mobile/openapi/lib/model/job_status_dto.dart b/mobile/openapi/lib/model/job_status_dto.dart index 481855a230ecdec8980cf5d904142bf50e45766b..47abf75827363b87b19340b1698c1935055dd32e 100644 GIT binary patch delta 58 zcmV-A0LA~B9N8PNG6(`7Y?HwYK(loS;scXV3MZ3S3?!3q3NsFEVQ^bzZgg^aE^B3Z QU6a}jMw3?w6O()mo>KG_aR2}S delta 36 ucmV+<0NelB8=4%jG6(}dAZ(Ms3qZ4U2;u{iDhiX6@(ebU+6rouNez(nJ`Ion diff --git a/mobile/openapi/lib/model/login_credential_dto.dart b/mobile/openapi/lib/model/login_credential_dto.dart index 103eedd4ba7e7c62198c830ff8053350765fdcb1..381c455d477a829ee5c3bb891335de17d3a44928 100644 GIT binary patch delta 61 zcmV-D0K)&U9Pb;j83+X+Y-w|Jld%aElj;j7vs?%g1d~q+CzEarB$ICnGY)NGa9d?= TbaHtvYh`&|lkp5plZFkdhqD!= delta 39 vcmaDay+LM!BnPv-LeAui+zy+gIfPgyYjVw;%+G5!nUzy<61V5%G~P}C`IHOH diff --git a/mobile/openapi/lib/model/login_response_dto.dart b/mobile/openapi/lib/model/login_response_dto.dart index 9f3fa60f74412532e458d682f486dd72d0df76ea..ec8e858ed5ccc85969e3e6a9f07ec6ab41b00bf8 100644 GIT binary patch delta 52 zcmeyPxm$BX9pC19J{OkBYXsCMw+pCDJ|kevmz!7+otjrtRH>JpS{XapP1tL4i=g7> IU&2g`02QtiBLDyZ delta 31 ncmdn3`A2g@9Ur6p<~lwXmdR}b(0P=qfr2qf` delta 30 mcmdlk^FwAs5(lIG<|GaumdSZsGba1mL4ilEi2|VhP*|}6EH}DuwR_7I*e2~X=G84DrgsSY!fSPv1C5(XBM4>yx2 N3lozj4Gxo`51}t+5-tD$ delta 52 zcmew_e@J0NG$*6tG=j5F%!ml~`I8WB( HIR1qIv6K)o diff --git a/mobile/openapi/lib/model/search_asset_dto.dart b/mobile/openapi/lib/model/search_asset_dto.dart index 7bc1341ddb9dfcd14983f256daff156e46e6b0f0..561e43bab4b081bcf11470664151b977925b6695 100644 GIT binary patch delta 51 zcmZ1?^;mL)4f|$Wb`zG#Nu27F3%OM$Z{s%R%S|kZPR%PRs?^I)t&E-gh1+AY1()LF HWju8N$KnzE delta 34 qcmaDXxkPG%4LhU#W*c@BmdQ4pQz!HBm`zsTP@K%qgsSY!fSPv1C5(XBM4>yx2 N3lozj4Gxo`51}t+5-tD$ delta 52 zcmew_e@J0NG$*6tG=j5F%!ml~`I8WB( HIR1qIv6K)o diff --git a/mobile/openapi/lib/model/search_config_response_dto.dart b/mobile/openapi/lib/model/search_config_response_dto.dart index 72faed25dcdb91151deb1b07d8d26e34186c34c6..5ec94abca2c04f5890a2925d39aca2b915768fe0 100644 GIT binary patch delta 69 zcmV-L0J{IM8}AyhdItp{Y-w|JlOYKelWq$rv%Lp81d|*LCzJOJB$GT0GY)NGa9d?= bbaHtvYh`&|lR*d@la&lMleGvFlP3*{FasA1 delta 43 zcmV+`0M!5Q8n7F%dIttSAZ%%Kbdw+n6_afXD6_l=Is}uR37(Uk3^tQl3Tl(|40}(% B50?M{ diff --git a/mobile/openapi/lib/model/search_explore_item.dart b/mobile/openapi/lib/model/search_explore_item.dart index f7529496c5da1652b4319dfb44ad44b2535430dc..7e5fbed4d068f42044dafce59d6223ca7abe7486 100644 GIT binary patch delta 51 zcmV-30L=gS8@L;=?+3H+2TTN$Aqppx{0StJK?*YtZDDX*Wo~qGc`j>Zd0msR2o;mm J3^tQf4W0NMYz8~Gcs?*{=tv+oB?1e5y-n3LQLHj~*1A(Ocb5tHHyIFmCCg+)*gv;Y7A diff --git a/mobile/openapi/lib/model/search_explore_response_dto.dart b/mobile/openapi/lib/model/search_explore_response_dto.dart index 812aceecf7bd2dc9b79e9f545c49fb3e69887ef1..1c30196b76f6e305e25a0d62c0acba4354743f77 100644 GIT binary patch delta 44 zcmV+{0Mq}^9gQ8ZG6<712u`zt2!sTa&k84#1`Q;W?+P=MhYJytVFDPFqzyNdBo3=n C$PTRl delta 40 wcmeB`Jukb#h=WmavJrwN_5c6? 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 8b9d30f81e08750399bd8e2442480afe8951905a..7b3f5868ca2ee7a0e2eb28b4321ef8fec269431f 100644 GIT binary patch delta 62 zcmV-E0Kxyd9r+xvRR{tgY?Dn4K(m+#S_G4?3MZ5D3?!4!3NsFEVQ^bzZgg^aE^B3Z UU6UXQACr^~Hj|hM6O$$ml)sV{zyJUM delta 36 scmewLe69#9*51-Iigr5cXBP7Jcrk8vIlq8k(}5KrwbTQP8AlM?9VManOE3+vWlSM delta 34 qcmaE=u}pIVD<7l%W>&r&mdP`OR3^I$R7@5VHk*7)AZv22@DBjOKnuG7 diff --git a/mobile/openapi/lib/model/server_ping_response.dart b/mobile/openapi/lib/model/server_ping_response.dart index 2385b27b8e7eb819c417ed78651519a64e45f529..20faa1a8be8fa3a86b83aecc7ef80bf3de1bc56f 100644 GIT binary patch delta 40 wcmZ1=bzgFWH2Y>5_7IlIft>1-3%FG#7jha;X66!{yopnIGAEDOZd0mt34N;RQ J3KNr>4xtrJ6RH3J delta 34 scmV+-0Nwxk9lIW|?Fa!sv+W3c1d|a9o|6y`Hk0ECA(QP3Nt0&|lk*h~K>z>% diff --git a/mobile/openapi/lib/model/shared_link_response_dto.dart b/mobile/openapi/lib/model/shared_link_response_dto.dart index e39891043aad3afd4654417db5eb9a0c09711d7d..ec8472c81081ee9ce9f6542e33654a4ae0000c16 100644 GIT binary patch delta 57 zcmV-90LK5%H;p&2*%Pzc6G;IAAZ(NI7(laT6)FUiWfv!tKo=yFg%>lEgBlT&;06_w PD;hVGLKq>l%o+m$Vn!22 delta 48 zcmV-00MGx8H_tb)*%JXFv)L0#0RulEY?JR8K(k~ODg={07o3y46AhC<8Yz?a7izPL G8Uq2a%MjxL diff --git a/mobile/openapi/lib/model/sign_up_dto.dart b/mobile/openapi/lib/model/sign_up_dto.dart index 5aaa7ac31a41525c38dfa8d02d90c14e2a256ff2..a68c3d92f0f584813e5580986af65826c1198a7d 100644 GIT binary patch delta 47 zcmV+~0MP&V9=9H_kqH7IY?BKOK(o{d$^(<53n!C)3nY`n3p1024iS?i4nUK13?Y-w F4yv7$5YYet delta 30 mcmdlk_d{;OL{3Kg%@a9!SSHtUPnc}RXEs@jCu?#q-zosAQVNy; diff --git a/mobile/openapi/lib/model/smart_info_response_dto.dart b/mobile/openapi/lib/model/smart_info_response_dto.dart index f567a82a83f8833aa3afcbe54d56989178d0261b..9c9f42ef4419f7e73088bc869bb246681a93868c 100644 GIT binary patch delta 58 zcmV-A0LB0R9=;y1a|s0?Y-w|JlMxFQvyKT$1e37~CzIF>B$Lq#Gm~Wu5t9-O6_axg QHj}6d6O*6}4wDlPY*aN90ssI2 delta 39 vcmdld_g`*9F(;e7LQZCJ$z%a;(apV_UM!Qlxo1zV<};h@%#$_w5?>Ag7wQe- diff --git a/mobile/openapi/lib/model/system_config_dto.dart b/mobile/openapi/lib/model/system_config_dto.dart index fb35e7350f92304245d28bbebc30116d5a50fb50..41ae4cee9911a7096a4855827b328616ecf1ca9c 100644 GIT binary patch delta 36 ucmV+<0Nel8A(bJpunM!W3Oodp5)UVnwG1Sa`V2FZi475xa}P$70ua>vFAVbl delta 30 mcmbQLcujG`1};YX%^SFESSD}bnKrqb-)wR^Z`R~T{F?!`MGN@= 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 15957023f896f49283bb8921f4816ddd6eb8eb30..0fa2758373f411f10aeac922d0a9b5019ba069da 100644 GIT binary patch delta 56 zcmV-80LTB{Kb=3Y@(cnXY?HtcK$D&qAG1^q3j~ui4=0lk4ObL4-u0C6%~{E O5jT@39}}~U5>X8=rV=Xv delta 41 xcmbPhf6soyCmv>dg`COz1so>Fipy^f=H+IY%*Q`xGP97`z2&4a@)l 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 19a87df106462ec11cde38a9c8e097a1b7e4e95a..5ce9e0abac45b19c7dd1707a373d394bf2c24ac8 100644 GIT binary patch delta 48 zcmV-00MGxRFW)Y()er(8Y?GW6K(iPTA_S9P6(^JK5+sv<6*H5^6A_bi6BU!y6*jX} G7EA%E%n*(M delta 37 vcmV+=0NVfGE}$>4)er+eAZ(MH6hN~V5h4VW?Gl@l-4!;Ir4wqiG!`oX5bF(z 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 5a0eba93a2a9b994af01814eba947ee86bcbbced..67cc5f6d70e8978215056b74f9f5ad8e2eb3b47c 100644 GIT binary patch delta 58 zcmV-A0LA~59Mc=Hu?GSmY?H7HK(q7*Vg!>93MZ3R3?!2;3NsFEVQ^bzZgg^aE^B3Z QU6XwXAd~qFHj{V_oK{g3i2wiq delta 30 mcmcaCJw;~2Ms`N~%^TU5uuOi*xp*=oui504Tv?MNc&h=qk_&tQ 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 c5fd4f9121c9cfc8e56a342eae54deb9df704dc7..c170ad07bf8c5d44ba3c9148c91aef327d169581 100644 GIT binary patch delta 40 ycmV+@0N4M_9E%*V)(5lK2ebr}unZ@Y7YZbk&Zd0mrX4@i@x J4Iz^g5S$ll6N&%; delta 34 scmV+-0NwxYAg>{?sR{uY361kdJ39utyiR391P`PA<_I1WmdO!(QzvT)noZ{7&zjsQm;(Txy$Qbn diff --git a/mobile/openapi/lib/model/update_asset_dto.dart b/mobile/openapi/lib/model/update_asset_dto.dart index c24a98dc3df26339a59188eb99924b85c62a446a..6b783fdac0861977d9e4c100da9f18c368739ce2 100644 GIT binary patch delta 40 wcmZqEKB~201OMiY{3a}uxkS__KNVJ)tR-SRxkX5Da<+);zUdL<9mz!7+otjrtRH>JpS{XZ8LcneEa)Dj| DpjiI0K=87GrY86=aF88ee<91)WQ97K~y8X=Ri F9CoU=5UT(H delta 34 qcmaEExx#8gpg5!b=0I^BmdU=7QzlEvm`yg8P@F6;r(GMh(77#NIZDDX*Wo~qGc`j>Zd0mrK5J;1l J4k42U5zOo(5?lZP delta 34 scmV+-0NwwQBhn+VoC^Uzvz!Yw1e2T%m6L7|Hj{u1A(L+oNt4A8%-mKCxBvhE diff --git a/mobile/openapi/lib/model/user_count_response_dto.dart b/mobile/openapi/lib/model/user_count_response_dto.dart index 81b0f488a9400d3f7fb935839fdb8cf74611c554..a5005f184e6d570503b8dbcd71f119ef78dffbcc 100644 GIT binary patch delta 44 zcmeB@J}I>!mwj^{dkV|s)tu^++c;GwpXM~4e1u1EvI&Rip)g`?lmz~jmb1r)d%j6&2Dw9`omQOC_F`I15l{NVcPb~n}{tRdU diff --git a/mobile/openapi/lib/model/user_response_dto.dart b/mobile/openapi/lib/model/user_response_dto.dart index 7d231d305b0a3c3b18af6fc7438b8aabc4a095d9..ccdb9b552df181140f9e728f9fec294d7d6d6277 100644 GIT binary patch delta 48 zcmV-00MGyAHKR4KY7_z>Y?BTcK(nnB`U8{97$=jb7$lSI7&DWU84;5$8Ag+p6%(`1 G85IG+1QBNd delta 37 tcmZ2%`owfYmI$-GLe6Af35U&VM1C<(&J&w9*;UePvZ8p_<~fq=i~s}649@@n 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 a32f2d914e14662187c6f6d7ea51b5fcb37e5fd2..7a39b7f509241ebcc8017d3ffad984786dc4f199 100644 GIT binary patch delta 40 ycmV+@0N4NE9G@Jp=m)du2ebr}!VD*qoeU(CZVEG#nGF$>BMnuPGz%e<;thUOUk@z+ delta 30 mcmbO)^FU_93wB2P%`e!uuuRtAS~}T_*KG1DuB^!mdFuedQw%Er diff --git a/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache b/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache index 4cde0cd9b5..34f83c304b 100644 --- a/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache +++ b/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache @@ -141,7 +141,7 @@ class {{{classname}}} { {{{name}}}: json[r'{{{baseName}}}'] is List ? (json[r'{{{baseName}}}'] as List).map((e) => {{#items.complexType}} - {{items.complexType}}.listFromJson(json[r'{{{baseName}}}']){{#required}}{{^isNullable}}!{{/isNullable}}{{#uniqueItems}}.toSet(){{/uniqueItems}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}} + {{items.complexType}}.listFromJson(json[r'{{{baseName}}}']){{#uniqueItems}}.toSet(){{/uniqueItems}} {{/items.complexType}} {{^items.complexType}} e == null ? {{#items.isNullable}}null{{/items.isNullable}}{{^items.isNullable}}const <{{items.items.dataType}}>[]{{/items.isNullable}} : (e as List).cast<{{items.items.dataType}}>() @@ -150,7 +150,7 @@ class {{{classname}}} { : {{#isNullable}}null{{/isNullable}}{{^isNullable}}const []{{/isNullable}}, {{/items.isArray}} {{^items.isArray}} - {{{name}}}: {{{complexType}}}.listFromJson(json[r'{{{baseName}}}']){{#required}}{{^isNullable}}!{{/isNullable}}{{#uniqueItems}}.toSet(){{/uniqueItems}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, + {{{name}}}: {{{complexType}}}.listFromJson(json[r'{{{baseName}}}']){{#uniqueItems}}.toSet(){{/uniqueItems}}, {{/items.isArray}} {{/isArray}} {{^isArray}} @@ -168,7 +168,7 @@ class {{{classname}}} { {{^items.isArray}} {{#items.isMap}} {{#items.complexType}} - {{{name}}}: {{items.complexType}}.mapFromJson(json[r'{{{baseName}}}']){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, + {{{name}}}: {{items.complexType}}.mapFromJson(json[r'{{{baseName}}}']), {{/items.complexType}} {{^items.complexType}} {{{name}}}: mapCastOfType(json, r'{{{baseName}}}'){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, @@ -176,7 +176,7 @@ class {{{classname}}} { {{/items.isMap}} {{^items.isMap}} {{#items.complexType}} - {{{name}}}: {{{items.complexType}}}.mapFromJson(json[r'{{{baseName}}}'{{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}}]) ?? {{{.}}}{{/defaultValue}}{{/required}}, + {{{name}}}: {{{items.complexType}}}.mapFromJson(json[r'{{{baseName}}}']), {{/items.complexType}} {{^items.complexType}} {{{name}}}: mapCastOfType(json, r'{{{baseName}}}'){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, @@ -197,7 +197,7 @@ class {{{classname}}} { {{^complexType}} {{#isArray}} {{#isEnum}} - {{{name}}}: {{{items.datatypeWithEnum}}}.listFromJson(json[r'{{{baseName}}}']){{#required}}{{^isNullable}}!{{/isNullable}}{{#uniqueItems}}.toSet(){{/uniqueItems}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, + {{{name}}}: {{{items.datatypeWithEnum}}}.listFromJson(json[r'{{{baseName}}}']){{#uniqueItems}}.toSet(){{/uniqueItems}}, {{/isEnum}} {{^isEnum}} {{{name}}}: json[r'{{{baseName}}}'] is {{#uniqueItems}}Set{{/uniqueItems}}{{^uniqueItems}}List{{/uniqueItems}} @@ -234,7 +234,7 @@ class {{{classname}}} { return null; } - static List<{{{classname}}}>? listFromJson(dynamic json, {bool growable = false,}) { + static List<{{{classname}}}> listFromJson(dynamic json, {bool growable = false,}) { final result = <{{{classname}}}>[]; if (json is List && json.isNotEmpty) { for (final row in json) { @@ -265,12 +265,10 @@ class {{{classname}}} { static Map> mapListFromJson(dynamic json, {bool growable = false,}) { final map = >{}; if (json is Map && json.isNotEmpty) { - json = json.cast(); // ignore: parameter_assignments + // ignore: parameter_assignments + json = json.cast(); for (final entry in json.entries) { - final value = {{{classname}}}.listFromJson(entry.value, growable: growable,); - if (value != null) { - map[entry.key] = value; - } + map[entry.key] = {{{classname}}}.listFromJson(entry.value, growable: growable,); } } return map;