@immich/sdk 2.7.5 → 3.0.0-rc.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,8 +1,14 @@
1
1
  import { HttpError } from '@oazapfts/runtime';
2
+ export interface ApiValidationError {
3
+ code: string;
4
+ path: (string | number)[];
5
+ message: string;
6
+ }
2
7
  export interface ApiExceptionResponse {
3
8
  message: string;
4
9
  error?: string;
5
10
  statusCode: number;
11
+ errors?: ApiValidationError[];
6
12
  }
7
13
  export interface ApiHttpError extends HttpError {
8
14
  data: ApiExceptionResponse;
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@immich/sdk",
3
- "version": "2.7.5",
3
+ "version": "3.0.0-rc.0",
4
4
  "description": "Auto-generated TypeScript SDK for the Immich API",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/immich-app/immich.git",
8
+ "directory": "packages/sdk"
9
+ },
5
10
  "type": "module",
6
11
  "main": "./build/index.js",
7
12
  "types": "./build/index.d.ts",
@@ -16,17 +21,9 @@
16
21
  "@oazapfts/runtime": "^1.0.2"
17
22
  },
18
23
  "devDependencies": {
19
- "@types/node": "^24.12.0",
24
+ "@types/node": "^24.12.4",
20
25
  "typescript": "^6.0.0"
21
26
  },
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/immich-app/immich.git",
25
- "directory": "open-api/typescript-sdk"
26
- },
27
- "volta": {
28
- "node": "24.14.1"
29
- },
30
27
  "scripts": {
31
28
  "build": "tsc"
32
29
  }
package/.nvmrc DELETED
@@ -1 +0,0 @@
1
- 24.14.1