From 1ad04f0b179d746a52fb17ca9fafc1f859ca98dc Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 18 May 2024 13:50:28 -0500 Subject: [PATCH] chore(server): openapi generation (#9585) --- mobile/openapi/.openapi-generator/FILES | 3 +++ mobile/openapi/README.md | Bin 27045 -> 27101 bytes mobile/openapi/doc/AssetResponseDto.md | Bin 2036 -> 2082 bytes mobile/openapi/doc/DuplicateApi.md | Bin 2121 -> 2133 bytes mobile/openapi/doc/DuplicateResponseDto.md | Bin 0 -> 511 bytes mobile/openapi/lib/api.dart | Bin 9655 -> 9697 bytes mobile/openapi/lib/api/duplicate_api.dart | Bin 1912 -> 1924 bytes mobile/openapi/lib/api_client.dart | Bin 26048 -> 26140 bytes .../openapi/lib/model/asset_response_dto.dart | Bin 13895 -> 14269 bytes .../lib/model/duplicate_response_dto.dart | Bin 0 -> 3188 bytes .../openapi/test/asset_response_dto_test.dart | Bin 4075 -> 4182 bytes mobile/openapi/test/duplicate_api_test.dart | Bin 598 -> 602 bytes .../test/duplicate_response_dto_test.dart | Bin 0 -> 729 bytes open-api/immich-openapi-specs.json | 24 +++++++++++++++++- open-api/typescript-sdk/src/fetch-client.ts | 7 ++++- 15 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 mobile/openapi/doc/DuplicateResponseDto.md create mode 100644 mobile/openapi/lib/model/duplicate_response_dto.dart create mode 100644 mobile/openapi/test/duplicate_response_dto_test.dart diff --git a/mobile/openapi/.openapi-generator/FILES b/mobile/openapi/.openapi-generator/FILES index ae72e70d5b..69172bd977 100644 --- a/mobile/openapi/.openapi-generator/FILES +++ b/mobile/openapi/.openapi-generator/FILES @@ -70,6 +70,7 @@ doc/DownloadInfoDto.md doc/DownloadResponseDto.md doc/DuplicateApi.md doc/DuplicateDetectionConfig.md +doc/DuplicateResponseDto.md doc/EntityType.md doc/ExifResponseDto.md doc/FaceApi.md @@ -312,6 +313,7 @@ lib/model/download_archive_info.dart lib/model/download_info_dto.dart lib/model/download_response_dto.dart lib/model/duplicate_detection_config.dart +lib/model/duplicate_response_dto.dart lib/model/entity_type.dart lib/model/exif_response_dto.dart lib/model/face_dto.dart @@ -507,6 +509,7 @@ test/download_info_dto_test.dart test/download_response_dto_test.dart test/duplicate_api_test.dart test/duplicate_detection_config_test.dart +test/duplicate_response_dto_test.dart test/entity_type_test.dart test/exif_response_dto_test.dart test/face_api_test.dart diff --git a/mobile/openapi/README.md b/mobile/openapi/README.md index 3cce4635ccaaaf0bbe857ba2fd73e065143714c1..048d5b00a0d5df4718be1eaeff826a2190a6dc73 100644 GIT binary patch delta 54 zcmZ2_nepyr#tl3ClwC>-ax#+>OHzYUiwpAeic?)m@?$kp@{{%TVN#P5BSkmw@Ovu- E0DQ?7h5!Hn delta 14 Wcmcb6nQ`f5#tl3CHh=JYD+K^Nz6aR= diff --git a/mobile/openapi/doc/AssetResponseDto.md b/mobile/openapi/doc/AssetResponseDto.md index 98290b374599d9646aa11b69a7e8e0339392d089..41a628bd540183fc36d9ee0cb9d9f4d8035c9137 100644 GIT binary patch delta 29 lcmeyuzer$16eCALPG)jqNvh}MKqj%tQEYshBN*qf0RWv#37-G} delta 23 ecmZ1^@P&Uv6eC+vVo7Fx-ed(viOtIxYuEs0!3X>R diff --git a/mobile/openapi/doc/DuplicateApi.md b/mobile/openapi/doc/DuplicateApi.md index 4dfbe55d3dee920341c5a538c11321a8b17f0d62..cdf279b69ac668e9edb093e16ec8848b90e9ebca 100644 GIT binary patch delta 62 zcmX>pa8+P~KO?70X+chAa$-s9<`70VRwXz$D7CmCKd(5|r6k`@ODk3bF0pwF+f+sX D#F`eK delta 50 ycmcaAa8h7{KO?JSadB$N<_JbNRw*zuD7CmCKd(5|r6k`@ODk3bB7cBwDkA{H{1MRr diff --git a/mobile/openapi/doc/DuplicateResponseDto.md b/mobile/openapi/doc/DuplicateResponseDto.md new file mode 100644 index 0000000000000000000000000000000000000000..f982569996ee1a976bdcb819dc5d54adb443e708 GIT binary patch literal 511 zcma)2J!``-6x{VI9(YJBu(P+Nkm3x1B!sk^F<4kHsi-Xp>3Jyh$M?xishg$MBJOk_ z=rV8~t@5TEoW{PaM&FxG5uPx5XCqeRgvc`3Ii-PK5hfjY)xD_;ineXF3M9P3-$QNn6ffm71!FH0 zV4o0m{lp_B-#$$XJ-0W_vMg7p&AQrexFgf98wa$c(x;2F3&k{V%;CqqK5qZ%<*^I2 R+B;+ESHxH0O?fVa_yl3hp-lh) literal 0 HcmV?d00001 diff --git a/mobile/openapi/lib/api.dart b/mobile/openapi/lib/api.dart index 69be2f8a9506b33b54a81a355247a9ee343f41b2..110c4f757e7275c2b9b2e79d1447a6f647ae04cc 100644 GIT binary patch delta 25 gcmdn){m^?uJ3mKCX+chAa$?D3L1CrM?feE}0Eny!I{*Lx delta 12 TcmaFpz1@35JOAd5{03qGC<_HH diff --git a/mobile/openapi/lib/api/duplicate_api.dart b/mobile/openapi/lib/api/duplicate_api.dart index 2833d091e9a6051baa703fd33aaa5633eb7625ab..ef71108b86bf6082d27c2b407d337b6d1a9f5f8c 100644 GIT binary patch delta 50 ocmeyt*TTQSjD^#sv>+!lIk6;lvo*^;CIol#KQ=Wao+i6L0L@+z@c;k- delta 38 kcmZqS|G~GxjD^*)xHz?Bvpvf`CJ1vf8@n2mWyOC~>5Qs9JfQYSAo)!zI@?}`}!c)$_E delta 14 WcmbPphVj5@#tm=uHhbt_F#`ZMM+Wo& diff --git a/mobile/openapi/lib/model/asset_response_dto.dart b/mobile/openapi/lib/model/asset_response_dto.dart index 86dec6392fada15dd05d678648b4beb19eede3ff..8802bb03abb63847381afa3b6b705bc3a3be9d50 100644 GIT binary patch delta 257 zcmX?}vp0XkT}FYDjLc%al+uEn%;dz9RL_*j8<|8lzh*39=CW6S32zQ$y~`yESE68R zi;$8QU}sfCk;*I0$x*OZFi^09t4f_bK|*x1f@lScFkGpv3f%aKlBvuhnQ00d7>+TJ zl|&fgnW7%6V5@+xXp)i~H_RxI2Y#u@ZT>H_l#3l|)#Qg-%DhMl)HOHHP+!jn0CE&u ATmS$7 delta 46 zcmV+}0MY-wZ^vw~-2s!g0}itR0(1kjjRnsNvxE@z1hcReb_BCP8eRjlDITs0vl=O* E4#S}li~s-t diff --git a/mobile/openapi/lib/model/duplicate_response_dto.dart b/mobile/openapi/lib/model/duplicate_response_dto.dart new file mode 100644 index 0000000000000000000000000000000000000000..b93ecfe5f57755ea0d43d437ac723f748a718878 GIT binary patch literal 3188 zcmbVOZExE)5dQ98aRG{2Mpb#+r^2bd2D39HZDJsG2MmTGFcNLElSP%JY8a{i`|e25 zrc*V|79h4o-W#9ixfA>SPQMQqpJvn7e@<>EcNeqC7%s0qOkx;M;dVNMo9X!K^6xV= zBg=O=Q)c*E^6Q%pJ&IK+6;GE^rAtxp0n}x!d7kouZ+K~9|136@RHoH~6vVv(1|0J9c4!HnE!7=k?<%onlU^YA#M+?RBf)AqiH#R7Z~+Pu9W z|De(lxQN!`qfw$y&gy?kj;lIEOOlP@(ZgxMv?IxBQ!qc>-dn~HnTc(~1=Xe{f=Gld+^Gw2PGUgzeBJA*+};z zvY>Uxp0a?Oxl1&B;lAVWP{S8Nwnf)wxnb2?7Zgo**eD_!fsxl*mYBtfXemloz-L@S z4Si?*us^p)0c$Z=U6;ALK;uAukBov!j+ViqGgr11Y+zd0lO+FhivTNga1%p=z()AW zikfR!D!FOm&FvC))e;T5)OvFSW)VYK7bsoQ=~iglYyshw;!Es%+f}O0P~18t*{3)` zjL1?PHfx!a0Ng@rqyBE|uy{B4yZSu%SW;xGqb9(j{5rr1E!HH-7`E$UIwRN0G!7a( z+k_KgneNZ=H-L*rZJ!i43@#BgTP(>TAiL*g3PlK59KeQEe-Yf%|_Xxi9#?M%_LnXmW~K^MB-QN-g6ya`@7q^kDz8j%xi zw`wJZ=k+kg2vzh%y8ol4XUgO`l51vfFdu%ZC_LLK;ccv(j_g2K@u7u}%^V-p=EQO` z2{2tCl0MAV{Gf-!MG~c_@tx0*@*1Ub&jDYN8q-p1Fu49Wy`}qVGb`L})H}Z?-^2A{ W^k5Hpr7vOuAR z?ZL87eBbxGJC|iqmazP`sZYPG?pF89&8mW%_3dg7RSkFb2ENwS`sVwI$ddANi-E5{ zo}FJ5snor7fmG*$>a?Lt80-+KRb*&KmgmP>@4O2<>Ok`c_fh$QRiNL44q~^slhb36 zH&cib9^$yYaW*nqR=O3S?lgsLkE1Z7Ek$LV?M230wCdu6YPJ|+Q5<@NiO1#__H^ky zS@gP;=PXSBgjgi8obdBGTl@3(kE5yiYKRA*rB%589WyN;^?$R z13C}V5L}NMr?W*N@;Q;pEChL9z;kke*kX@e2}FC-oxV|;PF7ixVKFnCfQ`5O("/duplicates", { ...opts }));