@immich/sdk 1.133.0 → 1.134.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 +7 -1
- package/build/fetch-client.js +11 -1
- package/package.json +3 -3
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
22.
|
|
1
|
+
22.16.0
|
package/build/fetch-client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Immich
|
|
3
|
-
* 1.
|
|
3
|
+
* 1.134.0
|
|
4
4
|
* DO NOT MODIFY - This file has been generated using oazapfts.
|
|
5
5
|
* See https://www.npmjs.com/package/oazapfts
|
|
6
6
|
*/
|
|
@@ -1071,6 +1071,10 @@ export type ServerVersionResponseDto = {
|
|
|
1071
1071
|
minor: number;
|
|
1072
1072
|
patch: number;
|
|
1073
1073
|
};
|
|
1074
|
+
export type VersionCheckStateResponseDto = {
|
|
1075
|
+
checkedAt: string | null;
|
|
1076
|
+
releaseVersion: string | null;
|
|
1077
|
+
};
|
|
1074
1078
|
export type ServerVersionHistoryResponseDto = {
|
|
1075
1079
|
createdAt: string;
|
|
1076
1080
|
id: string;
|
|
@@ -1882,6 +1886,7 @@ export declare function getServerStatistics(opts?: Oazapfts.RequestOpts): Promis
|
|
|
1882
1886
|
export declare function getStorage(opts?: Oazapfts.RequestOpts): Promise<ServerStorageResponseDto>;
|
|
1883
1887
|
export declare function getTheme(opts?: Oazapfts.RequestOpts): Promise<ServerThemeDto>;
|
|
1884
1888
|
export declare function getServerVersion(opts?: Oazapfts.RequestOpts): Promise<ServerVersionResponseDto>;
|
|
1889
|
+
export declare function getVersionCheck(opts?: Oazapfts.RequestOpts): Promise<VersionCheckStateResponseDto>;
|
|
1885
1890
|
export declare function getVersionHistory(opts?: Oazapfts.RequestOpts): Promise<ServerVersionHistoryResponseDto[]>;
|
|
1886
1891
|
export declare function deleteAllSessions(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
1887
1892
|
export declare function getSessions(opts?: Oazapfts.RequestOpts): Promise<SessionResponseDto[]>;
|
|
@@ -1971,6 +1976,7 @@ export declare function updateAdminOnboarding({ adminOnboardingUpdateDto }: {
|
|
|
1971
1976
|
adminOnboardingUpdateDto: AdminOnboardingUpdateDto;
|
|
1972
1977
|
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
1973
1978
|
export declare function getReverseGeocodingState(opts?: Oazapfts.RequestOpts): Promise<ReverseGeocodingStateResponseDto>;
|
|
1979
|
+
export declare function getVersionCheckState(opts?: Oazapfts.RequestOpts): Promise<VersionCheckStateResponseDto>;
|
|
1974
1980
|
export declare function getAllTags(opts?: Oazapfts.RequestOpts): Promise<TagResponseDto[]>;
|
|
1975
1981
|
export declare function createTag({ tagCreateDto }: {
|
|
1976
1982
|
tagCreateDto: TagCreateDto;
|
package/build/fetch-client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Immich
|
|
3
|
-
* 1.
|
|
3
|
+
* 1.134.0
|
|
4
4
|
* DO NOT MODIFY - This file has been generated using oazapfts.
|
|
5
5
|
* See https://www.npmjs.com/package/oazapfts
|
|
6
6
|
*/
|
|
@@ -904,6 +904,11 @@ export function getServerVersion(opts) {
|
|
|
904
904
|
...opts
|
|
905
905
|
}));
|
|
906
906
|
}
|
|
907
|
+
export function getVersionCheck(opts) {
|
|
908
|
+
return oazapfts.ok(oazapfts.fetchJson("/server/version-check", {
|
|
909
|
+
...opts
|
|
910
|
+
}));
|
|
911
|
+
}
|
|
907
912
|
export function getVersionHistory(opts) {
|
|
908
913
|
return oazapfts.ok(oazapfts.fetchJson("/server/version-history", {
|
|
909
914
|
...opts
|
|
@@ -1116,6 +1121,11 @@ export function getReverseGeocodingState(opts) {
|
|
|
1116
1121
|
...opts
|
|
1117
1122
|
}));
|
|
1118
1123
|
}
|
|
1124
|
+
export function getVersionCheckState(opts) {
|
|
1125
|
+
return oazapfts.ok(oazapfts.fetchJson("/system-metadata/version-check-state", {
|
|
1126
|
+
...opts
|
|
1127
|
+
}));
|
|
1128
|
+
}
|
|
1119
1129
|
export function getAllTags(opts) {
|
|
1120
1130
|
return oazapfts.ok(oazapfts.fetchJson("/tags", {
|
|
1121
1131
|
...opts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@immich/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.134.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.15.
|
|
22
|
+
"@types/node": "^22.15.21",
|
|
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.16.0"
|
|
32
32
|
}
|
|
33
33
|
}
|