@immich/sdk 1.137.3 → 1.138.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.
- package/.nvmrc +1 -1
- package/build/fetch-client.d.ts +17 -4
- package/build/fetch-client.js +19 -3
- package/package.json +3 -3
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
22.
|
|
1
|
+
22.18.0
|
package/build/fetch-client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Immich
|
|
3
|
-
* 1.
|
|
3
|
+
* 1.138.0
|
|
4
4
|
* DO NOT MODIFY - This file has been generated using oazapfts.
|
|
5
5
|
* See https://www.npmjs.com/package/oazapfts
|
|
6
6
|
*/
|
|
@@ -451,6 +451,7 @@ export type AssetMediaResponseDto = {
|
|
|
451
451
|
};
|
|
452
452
|
export type AssetBulkUpdateDto = {
|
|
453
453
|
dateTimeOriginal?: string;
|
|
454
|
+
dateTimeRelative?: number;
|
|
454
455
|
description?: string;
|
|
455
456
|
duplicateId?: string | null;
|
|
456
457
|
ids: string[];
|
|
@@ -458,6 +459,7 @@ export type AssetBulkUpdateDto = {
|
|
|
458
459
|
latitude?: number;
|
|
459
460
|
longitude?: number;
|
|
460
461
|
rating?: number;
|
|
462
|
+
timeZone?: string;
|
|
461
463
|
visibility?: AssetVisibility;
|
|
462
464
|
};
|
|
463
465
|
export type AssetBulkUploadCheckItem = {
|
|
@@ -1602,6 +1604,10 @@ export declare function getActivityStatistics({ albumId, assetId }: {
|
|
|
1602
1604
|
export declare function deleteActivity({ id }: {
|
|
1603
1605
|
id: string;
|
|
1604
1606
|
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
1607
|
+
/**
|
|
1608
|
+
* This endpoint is an admin-only route, and requires the `adminAuth.unlinkAll` permission.
|
|
1609
|
+
*/
|
|
1610
|
+
export declare function unlinkAllOAuthAccountsAdmin(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
1605
1611
|
export declare function createNotification({ notificationCreateDto }: {
|
|
1606
1612
|
notificationCreateDto: NotificationCreateDto;
|
|
1607
1613
|
}, opts?: Oazapfts.RequestOpts): Promise<NotificationDto>;
|
|
@@ -2387,6 +2393,9 @@ export declare function getServerStatistics(opts?: Oazapfts.RequestOpts): Promis
|
|
|
2387
2393
|
export declare function getStorage(opts?: Oazapfts.RequestOpts): Promise<ServerStorageResponseDto>;
|
|
2388
2394
|
export declare function getTheme(opts?: Oazapfts.RequestOpts): Promise<ServerThemeDto>;
|
|
2389
2395
|
export declare function getServerVersion(opts?: Oazapfts.RequestOpts): Promise<ServerVersionResponseDto>;
|
|
2396
|
+
/**
|
|
2397
|
+
* This endpoint requires the `server.versionCheck` permission.
|
|
2398
|
+
*/
|
|
2390
2399
|
export declare function getVersionCheck(opts?: Oazapfts.RequestOpts): Promise<VersionCheckStateResponseDto>;
|
|
2391
2400
|
export declare function getVersionHistory(opts?: Oazapfts.RequestOpts): Promise<ServerVersionHistoryResponseDto[]>;
|
|
2392
2401
|
/**
|
|
@@ -2908,6 +2917,7 @@ export declare enum Permission {
|
|
|
2908
2917
|
ServerApkLinks = "server.apkLinks",
|
|
2909
2918
|
ServerStorage = "server.storage",
|
|
2910
2919
|
ServerStatistics = "server.statistics",
|
|
2920
|
+
ServerVersionCheck = "server.versionCheck",
|
|
2911
2921
|
ServerLicenseRead = "serverLicense.read",
|
|
2912
2922
|
ServerLicenseUpdate = "serverLicense.update",
|
|
2913
2923
|
ServerLicenseDelete = "serverLicense.delete",
|
|
@@ -2955,7 +2965,8 @@ export declare enum Permission {
|
|
|
2955
2965
|
AdminUserCreate = "adminUser.create",
|
|
2956
2966
|
AdminUserRead = "adminUser.read",
|
|
2957
2967
|
AdminUserUpdate = "adminUser.update",
|
|
2958
|
-
AdminUserDelete = "adminUser.delete"
|
|
2968
|
+
AdminUserDelete = "adminUser.delete",
|
|
2969
|
+
AdminAuthUnlinkAll = "adminAuth.unlinkAll"
|
|
2959
2970
|
}
|
|
2960
2971
|
export declare enum AssetMediaStatus {
|
|
2961
2972
|
Created = "created",
|
|
@@ -3058,9 +3069,11 @@ export declare enum SyncEntityType {
|
|
|
3058
3069
|
AlbumUserV1 = "AlbumUserV1",
|
|
3059
3070
|
AlbumUserBackfillV1 = "AlbumUserBackfillV1",
|
|
3060
3071
|
AlbumUserDeleteV1 = "AlbumUserDeleteV1",
|
|
3061
|
-
|
|
3072
|
+
AlbumAssetCreateV1 = "AlbumAssetCreateV1",
|
|
3073
|
+
AlbumAssetUpdateV1 = "AlbumAssetUpdateV1",
|
|
3062
3074
|
AlbumAssetBackfillV1 = "AlbumAssetBackfillV1",
|
|
3063
|
-
|
|
3075
|
+
AlbumAssetExifCreateV1 = "AlbumAssetExifCreateV1",
|
|
3076
|
+
AlbumAssetExifUpdateV1 = "AlbumAssetExifUpdateV1",
|
|
3064
3077
|
AlbumAssetExifBackfillV1 = "AlbumAssetExifBackfillV1",
|
|
3065
3078
|
AlbumToAssetV1 = "AlbumToAssetV1",
|
|
3066
3079
|
AlbumToAssetDeleteV1 = "AlbumToAssetDeleteV1",
|
package/build/fetch-client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Immich
|
|
3
|
-
* 1.
|
|
3
|
+
* 1.138.0
|
|
4
4
|
* DO NOT MODIFY - This file has been generated using oazapfts.
|
|
5
5
|
* See https://www.npmjs.com/package/oazapfts
|
|
6
6
|
*/
|
|
@@ -58,6 +58,15 @@ export function deleteActivity({ id }, opts) {
|
|
|
58
58
|
method: "DELETE"
|
|
59
59
|
}));
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* This endpoint is an admin-only route, and requires the `adminAuth.unlinkAll` permission.
|
|
63
|
+
*/
|
|
64
|
+
export function unlinkAllOAuthAccountsAdmin(opts) {
|
|
65
|
+
return oazapfts.ok(oazapfts.fetchText("/admin/auth/unlink-all", {
|
|
66
|
+
...opts,
|
|
67
|
+
method: "POST"
|
|
68
|
+
}));
|
|
69
|
+
}
|
|
61
70
|
export function createNotification({ notificationCreateDto }, opts) {
|
|
62
71
|
return oazapfts.ok(oazapfts.fetchJson("/admin/notifications", oazapfts.json({
|
|
63
72
|
...opts,
|
|
@@ -1321,6 +1330,9 @@ export function getServerVersion(opts) {
|
|
|
1321
1330
|
...opts
|
|
1322
1331
|
}));
|
|
1323
1332
|
}
|
|
1333
|
+
/**
|
|
1334
|
+
* This endpoint requires the `server.versionCheck` permission.
|
|
1335
|
+
*/
|
|
1324
1336
|
export function getVersionCheck(opts) {
|
|
1325
1337
|
return oazapfts.ok(oazapfts.fetchJson("/server/version-check", {
|
|
1326
1338
|
...opts
|
|
@@ -2110,6 +2122,7 @@ export var Permission;
|
|
|
2110
2122
|
Permission["ServerApkLinks"] = "server.apkLinks";
|
|
2111
2123
|
Permission["ServerStorage"] = "server.storage";
|
|
2112
2124
|
Permission["ServerStatistics"] = "server.statistics";
|
|
2125
|
+
Permission["ServerVersionCheck"] = "server.versionCheck";
|
|
2113
2126
|
Permission["ServerLicenseRead"] = "serverLicense.read";
|
|
2114
2127
|
Permission["ServerLicenseUpdate"] = "serverLicense.update";
|
|
2115
2128
|
Permission["ServerLicenseDelete"] = "serverLicense.delete";
|
|
@@ -2158,6 +2171,7 @@ export var Permission;
|
|
|
2158
2171
|
Permission["AdminUserRead"] = "adminUser.read";
|
|
2159
2172
|
Permission["AdminUserUpdate"] = "adminUser.update";
|
|
2160
2173
|
Permission["AdminUserDelete"] = "adminUser.delete";
|
|
2174
|
+
Permission["AdminAuthUnlinkAll"] = "adminAuth.unlinkAll";
|
|
2161
2175
|
})(Permission || (Permission = {}));
|
|
2162
2176
|
export var AssetMediaStatus;
|
|
2163
2177
|
(function (AssetMediaStatus) {
|
|
@@ -2274,9 +2288,11 @@ export var SyncEntityType;
|
|
|
2274
2288
|
SyncEntityType["AlbumUserV1"] = "AlbumUserV1";
|
|
2275
2289
|
SyncEntityType["AlbumUserBackfillV1"] = "AlbumUserBackfillV1";
|
|
2276
2290
|
SyncEntityType["AlbumUserDeleteV1"] = "AlbumUserDeleteV1";
|
|
2277
|
-
SyncEntityType["
|
|
2291
|
+
SyncEntityType["AlbumAssetCreateV1"] = "AlbumAssetCreateV1";
|
|
2292
|
+
SyncEntityType["AlbumAssetUpdateV1"] = "AlbumAssetUpdateV1";
|
|
2278
2293
|
SyncEntityType["AlbumAssetBackfillV1"] = "AlbumAssetBackfillV1";
|
|
2279
|
-
SyncEntityType["
|
|
2294
|
+
SyncEntityType["AlbumAssetExifCreateV1"] = "AlbumAssetExifCreateV1";
|
|
2295
|
+
SyncEntityType["AlbumAssetExifUpdateV1"] = "AlbumAssetExifUpdateV1";
|
|
2280
2296
|
SyncEntityType["AlbumAssetExifBackfillV1"] = "AlbumAssetExifBackfillV1";
|
|
2281
2297
|
SyncEntityType["AlbumToAssetV1"] = "AlbumToAssetV1";
|
|
2282
2298
|
SyncEntityType["AlbumToAssetDeleteV1"] = "AlbumToAssetDeleteV1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@immich/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.138.0",
|
|
4
4
|
"description": "Auto-generated TypeScript SDK for the Immich API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./build/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@oazapfts/runtime": "^1.0.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@types/node": "^22.
|
|
22
|
+
"@types/node": "^22.17.0",
|
|
23
23
|
"typescript": "^5.3.3"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
"directory": "open-api/typescript-sdk"
|
|
29
29
|
},
|
|
30
30
|
"volta": {
|
|
31
|
-
"node": "22.
|
|
31
|
+
"node": "22.18.0"
|
|
32
32
|
}
|
|
33
33
|
}
|