@immich/sdk 1.138.1 → 2.2.0

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Immich
3
- * 1.138.1
3
+ * 2.2.0
4
4
  * DO NOT MODIFY - This file has been generated using oazapfts.
5
5
  * See https://www.npmjs.com/package/oazapfts
6
6
  */
@@ -66,6 +66,7 @@ export type SystemConfigSmtpTransportDto = {
66
66
  ignoreCert: boolean;
67
67
  password: string;
68
68
  port: number;
69
+ secure: boolean;
69
70
  username: string;
70
71
  };
71
72
  export type SystemConfigSmtpDto = {
@@ -238,6 +239,17 @@ export type UserPreferencesUpdateDto = {
238
239
  sharedLinks?: SharedLinksUpdate;
239
240
  tags?: TagsUpdate;
240
241
  };
242
+ export type SessionResponseDto = {
243
+ appVersion: string | null;
244
+ createdAt: string;
245
+ current: boolean;
246
+ deviceOS: string;
247
+ deviceType: string;
248
+ expiresAt?: string;
249
+ id: string;
250
+ isPendingSyncReset: boolean;
251
+ updatedAt: string;
252
+ };
241
253
  export type AssetStatsResponseDto = {
242
254
  images: number;
243
255
  total: number;
@@ -312,6 +324,8 @@ export type TagResponseDto = {
312
324
  export type AssetResponseDto = {
313
325
  /** base64 encoded sha1 hash */
314
326
  checksum: string;
327
+ /** The UTC timestamp when the asset was originally uploaded to Immich. */
328
+ createdAt: string;
315
329
  deviceAssetId: string;
316
330
  deviceId: string;
317
331
  duplicateId?: string | null;
@@ -349,12 +363,17 @@ export type AssetResponseDto = {
349
363
  updatedAt: string;
350
364
  visibility: AssetVisibility;
351
365
  };
366
+ export type ContributorCountResponseDto = {
367
+ assetCount: number;
368
+ userId: string;
369
+ };
352
370
  export type AlbumResponseDto = {
353
371
  albumName: string;
354
372
  albumThumbnailAssetId: string | null;
355
373
  albumUsers: AlbumUserResponseDto[];
356
374
  assetCount: number;
357
375
  assets: AssetResponseDto[];
376
+ contributorCounts?: ContributorCountResponseDto[];
358
377
  createdAt: string;
359
378
  description: string;
360
379
  endDate?: string;
@@ -379,6 +398,14 @@ export type CreateAlbumDto = {
379
398
  assetIds?: string[];
380
399
  description?: string;
381
400
  };
401
+ export type AlbumsAddAssetsDto = {
402
+ albumIds: string[];
403
+ assetIds: string[];
404
+ };
405
+ export type AlbumsAddAssetsResponseDto = {
406
+ error?: BulkIdErrorReason;
407
+ success: boolean;
408
+ };
382
409
  export type AlbumStatisticsResponseDto = {
383
410
  notShared: number;
384
411
  owned: number;
@@ -432,6 +459,10 @@ export type AssetBulkDeleteDto = {
432
459
  force?: boolean;
433
460
  ids: string[];
434
461
  };
462
+ export type AssetMetadataUpsertItemDto = {
463
+ key: AssetMetadataKey;
464
+ value: object;
465
+ };
435
466
  export type AssetMediaCreateDto = {
436
467
  assetData: Blob;
437
468
  deviceAssetId: string;
@@ -442,6 +473,7 @@ export type AssetMediaCreateDto = {
442
473
  filename?: string;
443
474
  isFavorite?: boolean;
444
475
  livePhotoVideoId?: string;
476
+ metadata: AssetMetadataUpsertItemDto[];
445
477
  sidecarData?: Blob;
446
478
  visibility?: AssetVisibility;
447
479
  };
@@ -480,6 +512,15 @@ export type AssetBulkUploadCheckResult = {
480
512
  export type AssetBulkUploadCheckResponseDto = {
481
513
  results: AssetBulkUploadCheckResult[];
482
514
  };
515
+ export type AssetCopyDto = {
516
+ albums?: boolean;
517
+ favorite?: boolean;
518
+ sharedLinks?: boolean;
519
+ sidecar?: boolean;
520
+ sourceId: string;
521
+ stack?: boolean;
522
+ targetId: string;
523
+ };
483
524
  export type CheckExistingAssetsDto = {
484
525
  deviceAssetIds: string[];
485
526
  deviceId: string;
@@ -501,6 +542,40 @@ export type UpdateAssetDto = {
501
542
  rating?: number;
502
543
  visibility?: AssetVisibility;
503
544
  };
545
+ export type AssetMetadataResponseDto = {
546
+ key: AssetMetadataKey;
547
+ updatedAt: string;
548
+ value: object;
549
+ };
550
+ export type AssetMetadataUpsertDto = {
551
+ items: AssetMetadataUpsertItemDto[];
552
+ };
553
+ export type AssetOcrResponseDto = {
554
+ assetId: string;
555
+ /** Confidence score for text detection box */
556
+ boxScore: number;
557
+ id: string;
558
+ /** Recognized text */
559
+ text: string;
560
+ /** Confidence score for text recognition */
561
+ textScore: number;
562
+ /** Normalized x coordinate of box corner 1 (0-1) */
563
+ x1: number;
564
+ /** Normalized x coordinate of box corner 2 (0-1) */
565
+ x2: number;
566
+ /** Normalized x coordinate of box corner 3 (0-1) */
567
+ x3: number;
568
+ /** Normalized x coordinate of box corner 4 (0-1) */
569
+ x4: number;
570
+ /** Normalized y coordinate of box corner 1 (0-1) */
571
+ y1: number;
572
+ /** Normalized y coordinate of box corner 2 (0-1) */
573
+ y2: number;
574
+ /** Normalized y coordinate of box corner 3 (0-1) */
575
+ y3: number;
576
+ /** Normalized y coordinate of box corner 4 (0-1) */
577
+ y4: number;
578
+ };
504
579
  export type AssetMediaReplaceDto = {
505
580
  assetData: Blob;
506
581
  deviceAssetId: string;
@@ -516,6 +591,7 @@ export type SignUpDto = {
516
591
  password: string;
517
592
  };
518
593
  export type ChangePasswordDto = {
594
+ invalidateSessions?: boolean;
519
595
  newPassword: string;
520
596
  password: string;
521
597
  };
@@ -650,6 +726,7 @@ export type AllJobStatusResponseDto = {
650
726
  metadataExtraction: JobStatusDto;
651
727
  migration: JobStatusDto;
652
728
  notifications: JobStatusDto;
729
+ ocr: JobStatusDto;
653
730
  search: JobStatusDto;
654
731
  sidecar: JobStatusDto;
655
732
  smartSearch: JobStatusDto;
@@ -783,7 +860,10 @@ export type PartnerResponseDto = {
783
860
  profileChangedAt: string;
784
861
  profileImagePath: string;
785
862
  };
786
- export type UpdatePartnerDto = {
863
+ export type PartnerCreateDto = {
864
+ sharedWithId: string;
865
+ };
866
+ export type PartnerUpdateDto = {
787
867
  inTimeline: boolean;
788
868
  };
789
869
  export type PeopleResponseDto = {
@@ -877,6 +957,7 @@ export type MetadataSearchDto = {
877
957
  libraryId?: string | null;
878
958
  make?: string;
879
959
  model?: string | null;
960
+ ocr?: string;
880
961
  order?: AssetOrder;
881
962
  originalFileName?: string;
882
963
  originalPath?: string;
@@ -949,6 +1030,7 @@ export type RandomSearchDto = {
949
1030
  libraryId?: string | null;
950
1031
  make?: string;
951
1032
  model?: string | null;
1033
+ ocr?: string;
952
1034
  personIds?: string[];
953
1035
  rating?: number;
954
1036
  size?: number;
@@ -984,9 +1066,11 @@ export type SmartSearchDto = {
984
1066
  libraryId?: string | null;
985
1067
  make?: string;
986
1068
  model?: string | null;
1069
+ ocr?: string;
987
1070
  page?: number;
988
1071
  personIds?: string[];
989
- query: string;
1072
+ query?: string;
1073
+ queryAssetId?: string;
990
1074
  rating?: number;
991
1075
  size?: number;
992
1076
  state?: string | null;
@@ -1019,6 +1103,7 @@ export type StatisticsSearchDto = {
1019
1103
  libraryId?: string | null;
1020
1104
  make?: string;
1021
1105
  model?: string | null;
1106
+ ocr?: string;
1022
1107
  personIds?: string[];
1023
1108
  rating?: number;
1024
1109
  state?: string | null;
@@ -1085,6 +1170,7 @@ export type ServerFeaturesDto = {
1085
1170
  map: boolean;
1086
1171
  oauth: boolean;
1087
1172
  oauthAutoLaunch: boolean;
1173
+ ocr: boolean;
1088
1174
  passwordLogin: boolean;
1089
1175
  reverseGeocoding: boolean;
1090
1176
  search: boolean;
@@ -1154,16 +1240,6 @@ export type ServerVersionHistoryResponseDto = {
1154
1240
  id: string;
1155
1241
  version: string;
1156
1242
  };
1157
- export type SessionResponseDto = {
1158
- createdAt: string;
1159
- current: boolean;
1160
- deviceOS: string;
1161
- deviceType: string;
1162
- expiresAt?: string;
1163
- id: string;
1164
- isPendingSyncReset: boolean;
1165
- updatedAt: string;
1166
- };
1167
1243
  export type SessionCreateDto = {
1168
1244
  deviceOS?: string;
1169
1245
  deviceType?: string;
@@ -1171,6 +1247,7 @@ export type SessionCreateDto = {
1171
1247
  duration?: number;
1172
1248
  };
1173
1249
  export type SessionCreateResponseDto = {
1250
+ appVersion: string | null;
1174
1251
  createdAt: string;
1175
1252
  current: boolean;
1176
1253
  deviceOS: string;
@@ -1330,6 +1407,7 @@ export type SystemConfigJobDto = {
1330
1407
  metadataExtraction: JobSettingsDto;
1331
1408
  migration: JobSettingsDto;
1332
1409
  notifications: JobSettingsDto;
1410
+ ocr: JobSettingsDto;
1333
1411
  search: JobSettingsDto;
1334
1412
  sidecar: JobSettingsDto;
1335
1413
  smartSearch: JobSettingsDto;
@@ -1351,6 +1429,11 @@ export type SystemConfigLoggingDto = {
1351
1429
  enabled: boolean;
1352
1430
  level: LogLevel;
1353
1431
  };
1432
+ export type MachineLearningAvailabilityChecksDto = {
1433
+ enabled: boolean;
1434
+ interval: number;
1435
+ timeout: number;
1436
+ };
1354
1437
  export type ClipConfig = {
1355
1438
  enabled: boolean;
1356
1439
  modelName: string;
@@ -1366,13 +1449,20 @@ export type FacialRecognitionConfig = {
1366
1449
  minScore: number;
1367
1450
  modelName: string;
1368
1451
  };
1452
+ export type OcrConfig = {
1453
+ enabled: boolean;
1454
+ maxResolution: number;
1455
+ minDetectionScore: number;
1456
+ minRecognitionScore: number;
1457
+ modelName: string;
1458
+ };
1369
1459
  export type SystemConfigMachineLearningDto = {
1460
+ availabilityChecks: MachineLearningAvailabilityChecksDto;
1370
1461
  clip: ClipConfig;
1371
1462
  duplicateDetection: DuplicateDetectionConfig;
1372
1463
  enabled: boolean;
1373
1464
  facialRecognition: FacialRecognitionConfig;
1374
- /** This property was deprecated in v1.122.0 */
1375
- url?: string;
1465
+ ocr: OcrConfig;
1376
1466
  urls: string[];
1377
1467
  };
1378
1468
  export type SystemConfigMapDto = {
@@ -1529,10 +1619,14 @@ export type TimeBucketAssetResponseDto = {
1529
1619
  isImage: boolean[];
1530
1620
  /** Array indicating whether each asset is in the trash */
1531
1621
  isTrashed: boolean[];
1622
+ /** Array of latitude coordinates extracted from EXIF GPS data */
1623
+ latitude?: (number | null)[];
1532
1624
  /** Array of live photo video asset IDs (null for non-live photos) */
1533
1625
  livePhotoVideoId: (string | null)[];
1534
1626
  /** Array of UTC offset hours at the time each photo was taken. Positive values are east of UTC, negative values are west of UTC. Values may be fractional (e.g., 5.5 for +05:30, -9.75 for -09:45). Applying this offset to 'fileCreatedAt' will give you the time the photo was taken from the photographer's perspective. */
1535
1627
  localOffsetHours: number[];
1628
+ /** Array of longitude coordinates extracted from EXIF GPS data */
1629
+ longitude?: (number | null)[];
1536
1630
  /** Array of owner IDs for each asset */
1537
1631
  ownerId: string[];
1538
1632
  /** Array of projection types for 360° content (e.g., "EQUIRECTANGULAR", "CUBEFACE", "CYLINDRICAL") */
@@ -1670,6 +1764,12 @@ export declare function updateUserPreferencesAdmin({ id, userPreferencesUpdateDt
1670
1764
  export declare function restoreUserAdmin({ id }: {
1671
1765
  id: string;
1672
1766
  }, opts?: Oazapfts.RequestOpts): Promise<UserAdminResponseDto>;
1767
+ /**
1768
+ * This endpoint is an admin-only route, and requires the `adminSession.read` permission.
1769
+ */
1770
+ export declare function getUserSessionsAdmin({ id }: {
1771
+ id: string;
1772
+ }, opts?: Oazapfts.RequestOpts): Promise<SessionResponseDto[]>;
1673
1773
  /**
1674
1774
  * This endpoint is an admin-only route, and requires the `adminUser.read` permission.
1675
1775
  */
@@ -1692,6 +1792,14 @@ export declare function getAllAlbums({ assetId, shared }: {
1692
1792
  export declare function createAlbum({ createAlbumDto }: {
1693
1793
  createAlbumDto: CreateAlbumDto;
1694
1794
  }, opts?: Oazapfts.RequestOpts): Promise<AlbumResponseDto>;
1795
+ /**
1796
+ * This endpoint requires the `albumAsset.create` permission.
1797
+ */
1798
+ export declare function addAssetsToAlbums({ key, slug, albumsAddAssetsDto }: {
1799
+ key?: string;
1800
+ slug?: string;
1801
+ albumsAddAssetsDto: AlbumsAddAssetsDto;
1802
+ }, opts?: Oazapfts.RequestOpts): Promise<AlbumsAddAssetsResponseDto>;
1695
1803
  /**
1696
1804
  * This endpoint requires the `album.statistics` permission.
1697
1805
  */
@@ -1766,6 +1874,7 @@ export declare function getApiKeys(opts?: Oazapfts.RequestOpts): Promise<ApiKeyR
1766
1874
  export declare function createApiKey({ apiKeyCreateDto }: {
1767
1875
  apiKeyCreateDto: ApiKeyCreateDto;
1768
1876
  }, opts?: Oazapfts.RequestOpts): Promise<ApiKeyCreateResponseDto>;
1877
+ export declare function getMyApiKey(opts?: Oazapfts.RequestOpts): Promise<ApiKeyResponseDto>;
1769
1878
  /**
1770
1879
  * This endpoint requires the `apiKey.delete` permission.
1771
1880
  */
@@ -1812,6 +1921,12 @@ export declare function updateAssets({ assetBulkUpdateDto }: {
1812
1921
  export declare function checkBulkUpload({ assetBulkUploadCheckDto }: {
1813
1922
  assetBulkUploadCheckDto: AssetBulkUploadCheckDto;
1814
1923
  }, opts?: Oazapfts.RequestOpts): Promise<AssetBulkUploadCheckResponseDto>;
1924
+ /**
1925
+ * This endpoint requires the `asset.copy` permission.
1926
+ */
1927
+ export declare function copyAsset({ assetCopyDto }: {
1928
+ assetCopyDto: AssetCopyDto;
1929
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
1815
1930
  /**
1816
1931
  * getAllUserAssetsByDeviceId
1817
1932
  */
@@ -1856,6 +1971,39 @@ export declare function updateAsset({ id, updateAssetDto }: {
1856
1971
  id: string;
1857
1972
  updateAssetDto: UpdateAssetDto;
1858
1973
  }, opts?: Oazapfts.RequestOpts): Promise<AssetResponseDto>;
1974
+ /**
1975
+ * This endpoint requires the `asset.read` permission.
1976
+ */
1977
+ export declare function getAssetMetadata({ id }: {
1978
+ id: string;
1979
+ }, opts?: Oazapfts.RequestOpts): Promise<AssetMetadataResponseDto[]>;
1980
+ /**
1981
+ * This endpoint requires the `asset.update` permission.
1982
+ */
1983
+ export declare function updateAssetMetadata({ id, assetMetadataUpsertDto }: {
1984
+ id: string;
1985
+ assetMetadataUpsertDto: AssetMetadataUpsertDto;
1986
+ }, opts?: Oazapfts.RequestOpts): Promise<AssetMetadataResponseDto[]>;
1987
+ /**
1988
+ * This endpoint requires the `asset.update` permission.
1989
+ */
1990
+ export declare function deleteAssetMetadata({ id, key }: {
1991
+ id: string;
1992
+ key: AssetMetadataKey;
1993
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
1994
+ /**
1995
+ * This endpoint requires the `asset.read` permission.
1996
+ */
1997
+ export declare function getAssetMetadataByKey({ id, key }: {
1998
+ id: string;
1999
+ key: AssetMetadataKey;
2000
+ }, opts?: Oazapfts.RequestOpts): Promise<AssetMetadataResponseDto>;
2001
+ /**
2002
+ * This endpoint requires the `asset.read` permission.
2003
+ */
2004
+ export declare function getAssetOcr({ id }: {
2005
+ id: string;
2006
+ }, opts?: Oazapfts.RequestOpts): Promise<AssetOcrResponseDto[]>;
1859
2007
  /**
1860
2008
  * This endpoint requires the `asset.download` permission.
1861
2009
  */
@@ -1865,7 +2013,7 @@ export declare function downloadAsset({ id, key, slug }: {
1865
2013
  slug?: string;
1866
2014
  }, opts?: Oazapfts.RequestOpts): Promise<Blob>;
1867
2015
  /**
1868
- * replaceAsset
2016
+ * Replace the asset with new file, without changing its id
1869
2017
  */
1870
2018
  export declare function replaceAsset({ id, key, slug, assetMediaReplaceDto }: {
1871
2019
  id: string;
@@ -2173,6 +2321,12 @@ export declare function unlinkOAuthAccount(opts?: Oazapfts.RequestOpts): Promise
2173
2321
  export declare function getPartners({ direction }: {
2174
2322
  direction: PartnerDirection;
2175
2323
  }, opts?: Oazapfts.RequestOpts): Promise<PartnerResponseDto[]>;
2324
+ /**
2325
+ * This endpoint requires the `partner.create` permission.
2326
+ */
2327
+ export declare function createPartner({ partnerCreateDto }: {
2328
+ partnerCreateDto: PartnerCreateDto;
2329
+ }, opts?: Oazapfts.RequestOpts): Promise<PartnerResponseDto>;
2176
2330
  /**
2177
2331
  * This endpoint requires the `partner.delete` permission.
2178
2332
  */
@@ -2180,17 +2334,17 @@ export declare function removePartner({ id }: {
2180
2334
  id: string;
2181
2335
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
2182
2336
  /**
2183
- * This endpoint requires the `partner.create` permission.
2337
+ * This property was deprecated in v1.141.0. This endpoint requires the `partner.create` permission.
2184
2338
  */
2185
- export declare function createPartner({ id }: {
2339
+ export declare function createPartnerDeprecated({ id }: {
2186
2340
  id: string;
2187
2341
  }, opts?: Oazapfts.RequestOpts): Promise<PartnerResponseDto>;
2188
2342
  /**
2189
2343
  * This endpoint requires the `partner.update` permission.
2190
2344
  */
2191
- export declare function updatePartner({ id, updatePartnerDto }: {
2345
+ export declare function updatePartner({ id, partnerUpdateDto }: {
2192
2346
  id: string;
2193
- updatePartnerDto: UpdatePartnerDto;
2347
+ partnerUpdateDto: PartnerUpdateDto;
2194
2348
  }, opts?: Oazapfts.RequestOpts): Promise<PartnerResponseDto>;
2195
2349
  /**
2196
2350
  * This endpoint requires the `person.delete` permission.
@@ -2276,7 +2430,7 @@ export declare function getExploreData(opts?: Oazapfts.RequestOpts): Promise<Sea
2276
2430
  /**
2277
2431
  * This endpoint requires the `asset.read` permission.
2278
2432
  */
2279
- export declare function searchLargeAssets({ albumIds, city, country, createdAfter, createdBefore, deviceId, isEncoded, isFavorite, isMotion, isNotInAlbum, isOffline, lensModel, libraryId, make, minFileSize, model, personIds, rating, size, state, tagIds, takenAfter, takenBefore, trashedAfter, trashedBefore, $type, updatedAfter, updatedBefore, visibility, withDeleted, withExif }: {
2433
+ export declare function searchLargeAssets({ albumIds, city, country, createdAfter, createdBefore, deviceId, isEncoded, isFavorite, isMotion, isNotInAlbum, isOffline, lensModel, libraryId, make, minFileSize, model, ocr, personIds, rating, size, state, tagIds, takenAfter, takenBefore, trashedAfter, trashedBefore, $type, updatedAfter, updatedBefore, visibility, withDeleted, withExif }: {
2280
2434
  albumIds?: string[];
2281
2435
  city?: string | null;
2282
2436
  country?: string | null;
@@ -2293,6 +2447,7 @@ export declare function searchLargeAssets({ albumIds, city, country, createdAfte
2293
2447
  make?: string;
2294
2448
  minFileSize?: number;
2295
2449
  model?: string | null;
2450
+ ocr?: string;
2296
2451
  personIds?: string[];
2297
2452
  rating?: number;
2298
2453
  size?: number;
@@ -2349,9 +2504,10 @@ export declare function searchAssetStatistics({ statisticsSearchDto }: {
2349
2504
  /**
2350
2505
  * This endpoint requires the `asset.read` permission.
2351
2506
  */
2352
- export declare function getSearchSuggestions({ country, includeNull, make, model, state, $type }: {
2507
+ export declare function getSearchSuggestions({ country, includeNull, lensModel, make, model, state, $type }: {
2353
2508
  country?: string;
2354
2509
  includeNull?: boolean;
2510
+ lensModel?: string;
2355
2511
  make?: string;
2356
2512
  model?: string;
2357
2513
  state?: string;
@@ -2646,7 +2802,7 @@ export declare function tagAssets({ id, bulkIdsDto }: {
2646
2802
  /**
2647
2803
  * This endpoint requires the `asset.read` permission.
2648
2804
  */
2649
- export declare function getTimeBucket({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, timeBucket, userId, visibility, withPartners, withStacked }: {
2805
+ export declare function getTimeBucket({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, timeBucket, userId, visibility, withCoordinates, withPartners, withStacked }: {
2650
2806
  albumId?: string;
2651
2807
  isFavorite?: boolean;
2652
2808
  isTrashed?: boolean;
@@ -2658,13 +2814,14 @@ export declare function getTimeBucket({ albumId, isFavorite, isTrashed, key, ord
2658
2814
  timeBucket: string;
2659
2815
  userId?: string;
2660
2816
  visibility?: AssetVisibility;
2817
+ withCoordinates?: boolean;
2661
2818
  withPartners?: boolean;
2662
2819
  withStacked?: boolean;
2663
2820
  }, opts?: Oazapfts.RequestOpts): Promise<TimeBucketAssetResponseDto>;
2664
2821
  /**
2665
2822
  * This endpoint requires the `asset.read` permission.
2666
2823
  */
2667
- export declare function getTimeBuckets({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, userId, visibility, withPartners, withStacked }: {
2824
+ export declare function getTimeBuckets({ albumId, isFavorite, isTrashed, key, order, personId, slug, tagId, userId, visibility, withCoordinates, withPartners, withStacked }: {
2668
2825
  albumId?: string;
2669
2826
  isFavorite?: boolean;
2670
2827
  isTrashed?: boolean;
@@ -2675,6 +2832,7 @@ export declare function getTimeBuckets({ albumId, isFavorite, isTrashed, key, or
2675
2832
  tagId?: string;
2676
2833
  userId?: string;
2677
2834
  visibility?: AssetVisibility;
2835
+ withCoordinates?: boolean;
2678
2836
  withPartners?: boolean;
2679
2837
  withStacked?: boolean;
2680
2838
  }, opts?: Oazapfts.RequestOpts): Promise<TimeBucketsResponseDto[]>;
@@ -2800,6 +2958,8 @@ export declare enum NotificationType {
2800
2958
  JobFailed = "JobFailed",
2801
2959
  BackupFailed = "BackupFailed",
2802
2960
  SystemMessage = "SystemMessage",
2961
+ AlbumInvite = "AlbumInvite",
2962
+ AlbumUpdate = "AlbumUpdate",
2803
2963
  Custom = "Custom"
2804
2964
  }
2805
2965
  export declare enum UserStatus {
@@ -2832,6 +2992,12 @@ export declare enum AssetTypeEnum {
2832
2992
  Audio = "AUDIO",
2833
2993
  Other = "OTHER"
2834
2994
  }
2995
+ export declare enum BulkIdErrorReason {
2996
+ Duplicate = "duplicate",
2997
+ NoPermission = "no_permission",
2998
+ NotFound = "not_found",
2999
+ Unknown = "unknown"
3000
+ }
2835
3001
  export declare enum Error {
2836
3002
  Duplicate = "duplicate",
2837
3003
  NoPermission = "no_permission",
@@ -2858,6 +3024,7 @@ export declare enum Permission {
2858
3024
  AssetDownload = "asset.download",
2859
3025
  AssetUpload = "asset.upload",
2860
3026
  AssetReplace = "asset.replace",
3027
+ AssetCopy = "asset.copy",
2861
3028
  AlbumCreate = "album.create",
2862
3029
  AlbumRead = "album.read",
2863
3030
  AlbumUpdate = "album.update",
@@ -2966,8 +3133,12 @@ export declare enum Permission {
2966
3133
  AdminUserRead = "adminUser.read",
2967
3134
  AdminUserUpdate = "adminUser.update",
2968
3135
  AdminUserDelete = "adminUser.delete",
3136
+ AdminSessionRead = "adminSession.read",
2969
3137
  AdminAuthUnlinkAll = "adminAuth.unlinkAll"
2970
3138
  }
3139
+ export declare enum AssetMetadataKey {
3140
+ MobileApp = "mobile-app"
3141
+ }
2971
3142
  export declare enum AssetMediaStatus {
2972
3143
  Created = "created",
2973
3144
  Replaced = "replaced",
@@ -3015,7 +3186,8 @@ export declare enum JobName {
3015
3186
  Sidecar = "sidecar",
3016
3187
  Library = "library",
3017
3188
  Notifications = "notifications",
3018
- BackupDatabase = "backupDatabase"
3189
+ BackupDatabase = "backupDatabase",
3190
+ Ocr = "ocr"
3019
3191
  }
3020
3192
  export declare enum JobCommand {
3021
3193
  Start = "start",
@@ -3036,7 +3208,8 @@ export declare enum SearchSuggestionType {
3036
3208
  State = "state",
3037
3209
  City = "city",
3038
3210
  CameraMake = "camera-make",
3039
- CameraModel = "camera-model"
3211
+ CameraModel = "camera-model",
3212
+ CameraLensModel = "camera-lens-model"
3040
3213
  }
3041
3214
  export declare enum SharedLinkType {
3042
3215
  Album = "ALBUM",
@@ -3054,6 +3227,8 @@ export declare enum SyncEntityType {
3054
3227
  AssetV1 = "AssetV1",
3055
3228
  AssetDeleteV1 = "AssetDeleteV1",
3056
3229
  AssetExifV1 = "AssetExifV1",
3230
+ AssetMetadataV1 = "AssetMetadataV1",
3231
+ AssetMetadataDeleteV1 = "AssetMetadataDeleteV1",
3057
3232
  PartnerV1 = "PartnerV1",
3058
3233
  PartnerDeleteV1 = "PartnerDeleteV1",
3059
3234
  PartnerAssetV1 = "PartnerAssetV1",
@@ -3091,7 +3266,8 @@ export declare enum SyncEntityType {
3091
3266
  UserMetadataV1 = "UserMetadataV1",
3092
3267
  UserMetadataDeleteV1 = "UserMetadataDeleteV1",
3093
3268
  SyncAckV1 = "SyncAckV1",
3094
- SyncResetV1 = "SyncResetV1"
3269
+ SyncResetV1 = "SyncResetV1",
3270
+ SyncCompleteV1 = "SyncCompleteV1"
3095
3271
  }
3096
3272
  export declare enum SyncRequestType {
3097
3273
  AlbumsV1 = "AlbumsV1",
@@ -3101,6 +3277,7 @@ export declare enum SyncRequestType {
3101
3277
  AlbumAssetExifsV1 = "AlbumAssetExifsV1",
3102
3278
  AssetsV1 = "AssetsV1",
3103
3279
  AssetExifsV1 = "AssetExifsV1",
3280
+ AssetMetadataV1 = "AssetMetadataV1",
3104
3281
  AuthUsersV1 = "AuthUsersV1",
3105
3282
  MemoriesV1 = "MemoriesV1",
3106
3283
  MemoryToAssetsV1 = "MemoryToAssetsV1",