@immich/sdk 2.5.6 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 24.13.0
1
+ 24.13.1
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Immich
3
- * 2.5.6
3
+ * 2.6.1
4
4
  * DO NOT MODIFY - This file has been generated using oazapfts.
5
5
  * See https://www.npmjs.com/package/oazapfts
6
6
  */
@@ -611,7 +611,7 @@ export type AssetResponseDto = {
611
611
  resized?: boolean;
612
612
  stack?: (AssetStackResponseDto) | null;
613
613
  tags?: TagResponseDto[];
614
- /** Thumbhash for thumbnail generation */
614
+ /** Thumbhash for thumbnail generation (base64) also used as the c query param for thumbnail cache busting. */
615
615
  thumbhash: string | null;
616
616
  /** Asset type */
617
617
  "type": AssetTypeEnum;
@@ -829,8 +829,8 @@ export type AssetBulkUpdateDto = {
829
829
  latitude?: number;
830
830
  /** Longitude coordinate */
831
831
  longitude?: number;
832
- /** Rating */
833
- rating?: number;
832
+ /** Rating in range [1-5], or null for unrated */
833
+ rating?: number | null;
834
834
  /** Time zone (IANA timezone) */
835
835
  timeZone?: string;
836
836
  /** Asset visibility */
@@ -939,8 +939,8 @@ export type UpdateAssetDto = {
939
939
  livePhotoVideoId?: string | null;
940
940
  /** Longitude coordinate */
941
941
  longitude?: number;
942
- /** Rating */
943
- rating?: number;
942
+ /** Rating in range [1-5], or null for unrated */
943
+ rating?: number | null;
944
944
  /** Asset visibility */
945
945
  visibility?: AssetVisibility;
946
946
  };
@@ -954,38 +954,36 @@ export type CropParameters = {
954
954
  /** Top-Left Y coordinate of crop */
955
955
  y: number;
956
956
  };
957
- export type AssetEditActionCrop = {
958
- /** Type of edit action to perform */
959
- action: AssetEditAction;
960
- parameters: CropParameters;
961
- };
962
957
  export type RotateParameters = {
963
958
  /** Rotation angle in degrees */
964
959
  angle: number;
965
960
  };
966
- export type AssetEditActionRotate = {
967
- /** Type of edit action to perform */
968
- action: AssetEditAction;
969
- parameters: RotateParameters;
970
- };
971
961
  export type MirrorParameters = {
972
962
  /** Axis to mirror along */
973
963
  axis: MirrorAxis;
974
964
  };
975
- export type AssetEditActionMirror = {
965
+ export type AssetEditActionItemResponseDto = {
976
966
  /** Type of edit action to perform */
977
967
  action: AssetEditAction;
978
- parameters: MirrorParameters;
968
+ id: string;
969
+ /** List of edit actions to apply (crop, rotate, or mirror) */
970
+ parameters: CropParameters | RotateParameters | MirrorParameters;
979
971
  };
980
- export type AssetEditsDto = {
981
- /** Asset ID to apply edits to */
972
+ export type AssetEditsResponseDto = {
973
+ /** Asset ID these edits belong to */
982
974
  assetId: string;
975
+ /** List of edit actions applied to the asset */
976
+ edits: AssetEditActionItemResponseDto[];
977
+ };
978
+ export type AssetEditActionItemDto = {
979
+ /** Type of edit action to perform */
980
+ action: AssetEditAction;
983
981
  /** List of edit actions to apply (crop, rotate, or mirror) */
984
- edits: (AssetEditActionCrop | AssetEditActionRotate | AssetEditActionMirror)[];
982
+ parameters: CropParameters | RotateParameters | MirrorParameters;
985
983
  };
986
- export type AssetEditActionListDto = {
984
+ export type AssetEditsCreateDto = {
987
985
  /** List of edit actions to apply (crop, rotate, or mirror) */
988
- edits: (AssetEditActionCrop | AssetEditActionRotate | AssetEditActionMirror)[];
986
+ edits: AssetEditActionItemDto[];
989
987
  };
990
988
  export type AssetMetadataResponseDto = {
991
989
  /** Metadata key */
@@ -1127,9 +1125,11 @@ export type ValidateAccessTokenResponseDto = {
1127
1125
  /** Authentication status */
1128
1126
  authStatus: boolean;
1129
1127
  };
1130
- export type AssetIdsDto = {
1128
+ export type DownloadArchiveDto = {
1131
1129
  /** Asset IDs */
1132
1130
  assetIds: string[];
1131
+ /** Download edited asset if available */
1132
+ edited?: boolean;
1133
1133
  };
1134
1134
  export type DownloadInfoDto = {
1135
1135
  /** Album ID to download */
@@ -1399,12 +1399,16 @@ export type MemoryCreateDto = {
1399
1399
  /** Asset IDs to associate with memory */
1400
1400
  assetIds?: string[];
1401
1401
  data: OnThisDayDto;
1402
+ /** Date when memory should be hidden */
1403
+ hideAt?: string;
1402
1404
  /** Is memory saved */
1403
1405
  isSaved?: boolean;
1404
1406
  /** Memory date */
1405
1407
  memoryAt: string;
1406
1408
  /** Date when memory was seen */
1407
1409
  seenAt?: string;
1410
+ /** Date when memory should be shown */
1411
+ showAt?: string;
1408
1412
  /** Memory type */
1409
1413
  "type": MemoryType;
1410
1414
  };
@@ -1702,8 +1706,8 @@ export type MetadataSearchDto = {
1702
1706
  personIds?: string[];
1703
1707
  /** Filter by preview file path */
1704
1708
  previewPath?: string;
1705
- /** Filter by rating */
1706
- rating?: number;
1709
+ /** Filter by rating [1-5], or null for unrated */
1710
+ rating?: number | null;
1707
1711
  /** Number of results to return */
1708
1712
  size?: number;
1709
1713
  /** Filter by state/province name */
@@ -1818,8 +1822,8 @@ export type RandomSearchDto = {
1818
1822
  ocr?: string;
1819
1823
  /** Filter by person IDs */
1820
1824
  personIds?: string[];
1821
- /** Filter by rating */
1822
- rating?: number;
1825
+ /** Filter by rating [1-5], or null for unrated */
1826
+ rating?: number | null;
1823
1827
  /** Number of results to return */
1824
1828
  size?: number;
1825
1829
  /** Filter by state/province name */
@@ -1894,8 +1898,8 @@ export type SmartSearchDto = {
1894
1898
  query?: string;
1895
1899
  /** Asset ID to use as search reference */
1896
1900
  queryAssetId?: string;
1897
- /** Filter by rating */
1898
- rating?: number;
1901
+ /** Filter by rating [1-5], or null for unrated */
1902
+ rating?: number | null;
1899
1903
  /** Number of results to return */
1900
1904
  size?: number;
1901
1905
  /** Filter by state/province name */
@@ -1960,8 +1964,8 @@ export type StatisticsSearchDto = {
1960
1964
  ocr?: string;
1961
1965
  /** Filter by person IDs */
1962
1966
  personIds?: string[];
1963
- /** Filter by rating */
1964
- rating?: number;
1967
+ /** Filter by rating [1-5], or null for unrated */
1968
+ rating?: number | null;
1965
1969
  /** Filter by state/province name */
1966
1970
  state?: string | null;
1967
1971
  /** Filter by tag IDs */
@@ -2282,6 +2286,10 @@ export type SharedLinkCreateDto = {
2282
2286
  /** Shared link type */
2283
2287
  "type": SharedLinkType;
2284
2288
  };
2289
+ export type SharedLinkLoginDto = {
2290
+ /** Shared link password */
2291
+ password: string;
2292
+ };
2285
2293
  export type SharedLinkEditDto = {
2286
2294
  /** Allow downloads */
2287
2295
  allowDownload?: boolean;
@@ -2300,6 +2308,10 @@ export type SharedLinkEditDto = {
2300
2308
  /** Custom URL slug */
2301
2309
  slug?: string | null;
2302
2310
  };
2311
+ export type AssetIdsDto = {
2312
+ /** Asset IDs */
2313
+ assetIds: string[];
2314
+ };
2303
2315
  export type AssetIdsResponseDto = {
2304
2316
  /** Asset ID */
2305
2317
  assetId: string;
@@ -2950,6 +2962,16 @@ export type SyncAssetDeleteV1 = {
2950
2962
  /** Asset ID */
2951
2963
  assetId: string;
2952
2964
  };
2965
+ export type SyncAssetEditDeleteV1 = {
2966
+ editId: string;
2967
+ };
2968
+ export type SyncAssetEditV1 = {
2969
+ action: AssetEditAction;
2970
+ assetId: string;
2971
+ id: string;
2972
+ parameters: object;
2973
+ sequence: number;
2974
+ };
2953
2975
  export type SyncAssetExifV1 = {
2954
2976
  /** Asset ID */
2955
2977
  assetId: string;
@@ -3022,6 +3044,26 @@ export type SyncAssetFaceV1 = {
3022
3044
  /** Source type */
3023
3045
  sourceType: string;
3024
3046
  };
3047
+ export type SyncAssetFaceV2 = {
3048
+ /** Asset ID */
3049
+ assetId: string;
3050
+ boundingBoxX1: number;
3051
+ boundingBoxX2: number;
3052
+ boundingBoxY1: number;
3053
+ boundingBoxY2: number;
3054
+ /** Face deleted at */
3055
+ deletedAt: string | null;
3056
+ /** Asset face ID */
3057
+ id: string;
3058
+ imageHeight: number;
3059
+ imageWidth: number;
3060
+ /** Is the face visible in the asset */
3061
+ isVisible: boolean;
3062
+ /** Person ID */
3063
+ personId: string | null;
3064
+ /** Source type */
3065
+ sourceType: string;
3066
+ };
3025
3067
  export type SyncAssetMetadataDeleteV1 = {
3026
3068
  /** Asset ID */
3027
3069
  assetId: string;
@@ -3622,14 +3664,14 @@ export declare function removeAssetEdits({ id }: {
3622
3664
  */
3623
3665
  export declare function getAssetEdits({ id }: {
3624
3666
  id: string;
3625
- }, opts?: Oazapfts.RequestOpts): Promise<AssetEditsDto>;
3667
+ }, opts?: Oazapfts.RequestOpts): Promise<AssetEditsResponseDto>;
3626
3668
  /**
3627
3669
  * Apply edits to an existing asset
3628
3670
  */
3629
- export declare function editAsset({ id, assetEditActionListDto }: {
3671
+ export declare function editAsset({ id, assetEditsCreateDto }: {
3630
3672
  id: string;
3631
- assetEditActionListDto: AssetEditActionListDto;
3632
- }, opts?: Oazapfts.RequestOpts): Promise<AssetEditsDto>;
3673
+ assetEditsCreateDto: AssetEditsCreateDto;
3674
+ }, opts?: Oazapfts.RequestOpts): Promise<AssetEditsResponseDto>;
3633
3675
  /**
3634
3676
  * Get asset metadata
3635
3677
  */
@@ -3760,10 +3802,10 @@ export declare function validateAccessToken(opts?: Oazapfts.RequestOpts): Promis
3760
3802
  /**
3761
3803
  * Download asset archive
3762
3804
  */
3763
- export declare function downloadArchive({ key, slug, assetIdsDto }: {
3805
+ export declare function downloadArchive({ key, slug, downloadArchiveDto }: {
3764
3806
  key?: string;
3765
3807
  slug?: string;
3766
- assetIdsDto: AssetIdsDto;
3808
+ downloadArchiveDto: DownloadArchiveDto;
3767
3809
  }, opts?: Oazapfts.RequestOpts): Promise<Blob>;
3768
3810
  /**
3769
3811
  * Retrieve download information
@@ -4204,7 +4246,7 @@ export declare function searchLargeAssets({ albumIds, city, country, createdAfte
4204
4246
  model?: string | null;
4205
4247
  ocr?: string;
4206
4248
  personIds?: string[];
4207
- rating?: number;
4249
+ rating?: number | null;
4208
4250
  size?: number;
4209
4251
  state?: string | null;
4210
4252
  tagIds?: string[] | null;
@@ -4376,6 +4418,14 @@ export declare function getAllSharedLinks({ albumId, id }: {
4376
4418
  export declare function createSharedLink({ sharedLinkCreateDto }: {
4377
4419
  sharedLinkCreateDto: SharedLinkCreateDto;
4378
4420
  }, opts?: Oazapfts.RequestOpts): Promise<SharedLinkResponseDto>;
4421
+ /**
4422
+ * Shared link login
4423
+ */
4424
+ export declare function sharedLinkLogin({ key, slug, sharedLinkLoginDto }: {
4425
+ key?: string;
4426
+ slug?: string;
4427
+ sharedLinkLoginDto: SharedLinkLoginDto;
4428
+ }, opts?: Oazapfts.RequestOpts): Promise<SharedLinkResponseDto>;
4379
4429
  /**
4380
4430
  * Retrieve current shared link
4381
4431
  */
@@ -4407,10 +4457,8 @@ export declare function updateSharedLink({ id, sharedLinkEditDto }: {
4407
4457
  /**
4408
4458
  * Remove assets from a shared link
4409
4459
  */
4410
- export declare function removeSharedLinkAssets({ id, key, slug, assetIdsDto }: {
4460
+ export declare function removeSharedLinkAssets({ id, assetIdsDto }: {
4411
4461
  id: string;
4412
- key?: string;
4413
- slug?: string;
4414
4462
  assetIdsDto: AssetIdsDto;
4415
4463
  }, opts?: Oazapfts.RequestOpts): Promise<AssetIdsResponseDto[]>;
4416
4464
  /**
@@ -4594,8 +4642,9 @@ export declare function tagAssets({ id, bulkIdsDto }: {
4594
4642
  /**
4595
4643
  * Get time bucket
4596
4644
  */
4597
- export declare function getTimeBucket({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, timeBucket, userId, visibility, withCoordinates, withPartners, withStacked }: {
4645
+ export declare function getTimeBucket({ albumId, bbox, isFavorite, isTrashed, key, order, personId, slug, tagId, timeBucket, userId, visibility, withCoordinates, withPartners, withStacked }: {
4598
4646
  albumId?: string;
4647
+ bbox?: string;
4599
4648
  isFavorite?: boolean;
4600
4649
  isTrashed?: boolean;
4601
4650
  key?: string;
@@ -4613,8 +4662,9 @@ export declare function getTimeBucket({ albumId, isFavorite, isTrashed, key, ord
4613
4662
  /**
4614
4663
  * Get time buckets
4615
4664
  */
4616
- export declare function getTimeBuckets({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, userId, visibility, withCoordinates, withPartners, withStacked }: {
4665
+ export declare function getTimeBuckets({ albumId, bbox, isFavorite, isTrashed, key, order, personId, slug, tagId, userId, visibility, withCoordinates, withPartners, withStacked }: {
4617
4666
  albumId?: string;
4667
+ bbox?: string;
4618
4668
  isFavorite?: boolean;
4619
4669
  isTrashed?: boolean;
4620
4670
  key?: string;
@@ -5183,6 +5233,8 @@ export declare enum SyncEntityType {
5183
5233
  AssetV1 = "AssetV1",
5184
5234
  AssetDeleteV1 = "AssetDeleteV1",
5185
5235
  AssetExifV1 = "AssetExifV1",
5236
+ AssetEditV1 = "AssetEditV1",
5237
+ AssetEditDeleteV1 = "AssetEditDeleteV1",
5186
5238
  AssetMetadataV1 = "AssetMetadataV1",
5187
5239
  AssetMetadataDeleteV1 = "AssetMetadataDeleteV1",
5188
5240
  PartnerV1 = "PartnerV1",
@@ -5218,6 +5270,7 @@ export declare enum SyncEntityType {
5218
5270
  PersonV1 = "PersonV1",
5219
5271
  PersonDeleteV1 = "PersonDeleteV1",
5220
5272
  AssetFaceV1 = "AssetFaceV1",
5273
+ AssetFaceV2 = "AssetFaceV2",
5221
5274
  AssetFaceDeleteV1 = "AssetFaceDeleteV1",
5222
5275
  UserMetadataV1 = "UserMetadataV1",
5223
5276
  UserMetadataDeleteV1 = "UserMetadataDeleteV1",
@@ -5233,6 +5286,7 @@ export declare enum SyncRequestType {
5233
5286
  AlbumAssetExifsV1 = "AlbumAssetExifsV1",
5234
5287
  AssetsV1 = "AssetsV1",
5235
5288
  AssetExifsV1 = "AssetExifsV1",
5289
+ AssetEditsV1 = "AssetEditsV1",
5236
5290
  AssetMetadataV1 = "AssetMetadataV1",
5237
5291
  AuthUsersV1 = "AuthUsersV1",
5238
5292
  MemoriesV1 = "MemoriesV1",
@@ -5245,6 +5299,7 @@ export declare enum SyncRequestType {
5245
5299
  UsersV1 = "UsersV1",
5246
5300
  PeopleV1 = "PeopleV1",
5247
5301
  AssetFacesV1 = "AssetFacesV1",
5302
+ AssetFacesV2 = "AssetFacesV2",
5248
5303
  UserMetadataV1 = "UserMetadataV1"
5249
5304
  }
5250
5305
  export declare enum TranscodeHWAccel {
@@ -5258,6 +5313,7 @@ export declare enum AudioCodec {
5258
5313
  Mp3 = "mp3",
5259
5314
  Aac = "aac",
5260
5315
  Libopus = "libopus",
5316
+ Opus = "opus",
5261
5317
  PcmS16Le = "pcm_s16le"
5262
5318
  }
5263
5319
  export declare enum VideoContainer {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Immich
3
- * 2.5.6
3
+ * 2.6.1
4
4
  * DO NOT MODIFY - This file has been generated using oazapfts.
5
5
  * See https://www.npmjs.com/package/oazapfts
6
6
  */
@@ -619,11 +619,11 @@ export function getAssetEdits({ id }, opts) {
619
619
  /**
620
620
  * Apply edits to an existing asset
621
621
  */
622
- export function editAsset({ id, assetEditActionListDto }, opts) {
622
+ export function editAsset({ id, assetEditsCreateDto }, opts) {
623
623
  return oazapfts.ok(oazapfts.fetchJson(`/assets/${encodeURIComponent(id)}/edits`, oazapfts.json({
624
624
  ...opts,
625
625
  method: "PUT",
626
- body: assetEditActionListDto
626
+ body: assetEditsCreateDto
627
627
  })));
628
628
  }
629
629
  /**
@@ -826,14 +826,14 @@ export function validateAccessToken(opts) {
826
826
  /**
827
827
  * Download asset archive
828
828
  */
829
- export function downloadArchive({ key, slug, assetIdsDto }, opts) {
829
+ export function downloadArchive({ key, slug, downloadArchiveDto }, opts) {
830
830
  return oazapfts.ok(oazapfts.fetchBlob(`/download/archive${QS.query(QS.explode({
831
831
  key,
832
832
  slug
833
833
  }))}`, oazapfts.json({
834
834
  ...opts,
835
835
  method: "POST",
836
- body: assetIdsDto
836
+ body: downloadArchiveDto
837
837
  })));
838
838
  }
839
839
  /**
@@ -1795,6 +1795,19 @@ export function createSharedLink({ sharedLinkCreateDto }, opts) {
1795
1795
  body: sharedLinkCreateDto
1796
1796
  })));
1797
1797
  }
1798
+ /**
1799
+ * Shared link login
1800
+ */
1801
+ export function sharedLinkLogin({ key, slug, sharedLinkLoginDto }, opts) {
1802
+ return oazapfts.ok(oazapfts.fetchJson(`/shared-links/login${QS.query(QS.explode({
1803
+ key,
1804
+ slug
1805
+ }))}`, oazapfts.json({
1806
+ ...opts,
1807
+ method: "POST",
1808
+ body: sharedLinkLoginDto
1809
+ })));
1810
+ }
1798
1811
  /**
1799
1812
  * Retrieve current shared link
1800
1813
  */
@@ -1838,11 +1851,8 @@ export function updateSharedLink({ id, sharedLinkEditDto }, opts) {
1838
1851
  /**
1839
1852
  * Remove assets from a shared link
1840
1853
  */
1841
- export function removeSharedLinkAssets({ id, key, slug, assetIdsDto }, opts) {
1842
- return oazapfts.ok(oazapfts.fetchJson(`/shared-links/${encodeURIComponent(id)}/assets${QS.query(QS.explode({
1843
- key,
1844
- slug
1845
- }))}`, oazapfts.json({
1854
+ export function removeSharedLinkAssets({ id, assetIdsDto }, opts) {
1855
+ return oazapfts.ok(oazapfts.fetchJson(`/shared-links/${encodeURIComponent(id)}/assets`, oazapfts.json({
1846
1856
  ...opts,
1847
1857
  method: "DELETE",
1848
1858
  body: assetIdsDto
@@ -2141,9 +2151,10 @@ export function tagAssets({ id, bulkIdsDto }, opts) {
2141
2151
  /**
2142
2152
  * Get time bucket
2143
2153
  */
2144
- export function getTimeBucket({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, timeBucket, userId, visibility, withCoordinates, withPartners, withStacked }, opts) {
2154
+ export function getTimeBucket({ albumId, bbox, isFavorite, isTrashed, key, order, personId, slug, tagId, timeBucket, userId, visibility, withCoordinates, withPartners, withStacked }, opts) {
2145
2155
  return oazapfts.ok(oazapfts.fetchJson(`/timeline/bucket${QS.query(QS.explode({
2146
2156
  albumId,
2157
+ bbox,
2147
2158
  isFavorite,
2148
2159
  isTrashed,
2149
2160
  key,
@@ -2164,9 +2175,10 @@ export function getTimeBucket({ albumId, isFavorite, isTrashed, key, order, pers
2164
2175
  /**
2165
2176
  * Get time buckets
2166
2177
  */
2167
- export function getTimeBuckets({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, userId, visibility, withCoordinates, withPartners, withStacked }, opts) {
2178
+ export function getTimeBuckets({ albumId, bbox, isFavorite, isTrashed, key, order, personId, slug, tagId, userId, visibility, withCoordinates, withPartners, withStacked }, opts) {
2168
2179
  return oazapfts.ok(oazapfts.fetchJson(`/timeline/buckets${QS.query(QS.explode({
2169
2180
  albumId,
2181
+ bbox,
2170
2182
  isFavorite,
2171
2183
  isTrashed,
2172
2184
  key,
@@ -2872,6 +2884,8 @@ export var SyncEntityType;
2872
2884
  SyncEntityType["AssetV1"] = "AssetV1";
2873
2885
  SyncEntityType["AssetDeleteV1"] = "AssetDeleteV1";
2874
2886
  SyncEntityType["AssetExifV1"] = "AssetExifV1";
2887
+ SyncEntityType["AssetEditV1"] = "AssetEditV1";
2888
+ SyncEntityType["AssetEditDeleteV1"] = "AssetEditDeleteV1";
2875
2889
  SyncEntityType["AssetMetadataV1"] = "AssetMetadataV1";
2876
2890
  SyncEntityType["AssetMetadataDeleteV1"] = "AssetMetadataDeleteV1";
2877
2891
  SyncEntityType["PartnerV1"] = "PartnerV1";
@@ -2907,6 +2921,7 @@ export var SyncEntityType;
2907
2921
  SyncEntityType["PersonV1"] = "PersonV1";
2908
2922
  SyncEntityType["PersonDeleteV1"] = "PersonDeleteV1";
2909
2923
  SyncEntityType["AssetFaceV1"] = "AssetFaceV1";
2924
+ SyncEntityType["AssetFaceV2"] = "AssetFaceV2";
2910
2925
  SyncEntityType["AssetFaceDeleteV1"] = "AssetFaceDeleteV1";
2911
2926
  SyncEntityType["UserMetadataV1"] = "UserMetadataV1";
2912
2927
  SyncEntityType["UserMetadataDeleteV1"] = "UserMetadataDeleteV1";
@@ -2923,6 +2938,7 @@ export var SyncRequestType;
2923
2938
  SyncRequestType["AlbumAssetExifsV1"] = "AlbumAssetExifsV1";
2924
2939
  SyncRequestType["AssetsV1"] = "AssetsV1";
2925
2940
  SyncRequestType["AssetExifsV1"] = "AssetExifsV1";
2941
+ SyncRequestType["AssetEditsV1"] = "AssetEditsV1";
2926
2942
  SyncRequestType["AssetMetadataV1"] = "AssetMetadataV1";
2927
2943
  SyncRequestType["AuthUsersV1"] = "AuthUsersV1";
2928
2944
  SyncRequestType["MemoriesV1"] = "MemoriesV1";
@@ -2935,6 +2951,7 @@ export var SyncRequestType;
2935
2951
  SyncRequestType["UsersV1"] = "UsersV1";
2936
2952
  SyncRequestType["PeopleV1"] = "PeopleV1";
2937
2953
  SyncRequestType["AssetFacesV1"] = "AssetFacesV1";
2954
+ SyncRequestType["AssetFacesV2"] = "AssetFacesV2";
2938
2955
  SyncRequestType["UserMetadataV1"] = "UserMetadataV1";
2939
2956
  })(SyncRequestType || (SyncRequestType = {}));
2940
2957
  export var TranscodeHWAccel;
@@ -2950,6 +2967,7 @@ export var AudioCodec;
2950
2967
  AudioCodec["Mp3"] = "mp3";
2951
2968
  AudioCodec["Aac"] = "aac";
2952
2969
  AudioCodec["Libopus"] = "libopus";
2970
+ AudioCodec["Opus"] = "opus";
2953
2971
  AudioCodec["PcmS16Le"] = "pcm_s16le";
2954
2972
  })(AudioCodec || (AudioCodec = {}));
2955
2973
  export var VideoContainer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@immich/sdk",
3
- "version": "2.5.6",
3
+ "version": "2.6.1",
4
4
  "description": "Auto-generated TypeScript SDK for the Immich API",
5
5
  "type": "module",
6
6
  "main": "./build/index.js",
@@ -16,7 +16,7 @@
16
16
  "@oazapfts/runtime": "^1.0.2"
17
17
  },
18
18
  "devDependencies": {
19
- "@types/node": "^24.10.11",
19
+ "@types/node": "^24.11.0",
20
20
  "typescript": "^5.3.3"
21
21
  },
22
22
  "repository": {
@@ -25,7 +25,7 @@
25
25
  "directory": "open-api/typescript-sdk"
26
26
  },
27
27
  "volta": {
28
- "node": "24.13.0"
28
+ "node": "24.13.1"
29
29
  },
30
30
  "scripts": {
31
31
  "build": "tsc"