@immich/sdk 1.131.2 → 1.132.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.131.2
3
+ * 1.132.0
4
4
  * DO NOT MODIFY - This file has been generated using oazapfts.
5
5
  * See https://www.npmjs.com/package/oazapfts
6
6
  */
@@ -682,12 +682,16 @@ export type TestEmailResponseDto = {
682
682
  messageId: string;
683
683
  };
684
684
  export type OAuthConfigDto = {
685
+ codeChallenge?: string;
685
686
  redirectUri: string;
687
+ state?: string;
686
688
  };
687
689
  export type OAuthAuthorizeResponseDto = {
688
690
  url: string;
689
691
  };
690
692
  export type OAuthCallbackDto = {
693
+ codeVerifier?: string;
694
+ state?: string;
691
695
  url: string;
692
696
  };
693
697
  export type PartnerResponseDto = {
@@ -1672,11 +1676,11 @@ export declare function addMemoryAssets({ id, bulkIdsDto }: {
1672
1676
  id: string;
1673
1677
  bulkIdsDto: BulkIdsDto;
1674
1678
  }, opts?: Oazapfts.RequestOpts): Promise<BulkIdResponseDto[]>;
1675
- export declare function getNotificationTemplate({ name, templateDto }: {
1679
+ export declare function getNotificationTemplateAdmin({ name, templateDto }: {
1676
1680
  name: string;
1677
1681
  templateDto: TemplateDto;
1678
1682
  }, opts?: Oazapfts.RequestOpts): Promise<TemplateResponseDto>;
1679
- export declare function sendTestEmail({ systemConfigSmtpDto }: {
1683
+ export declare function sendTestEmailAdmin({ systemConfigSmtpDto }: {
1680
1684
  systemConfigSmtpDto: SystemConfigSmtpDto;
1681
1685
  }, opts?: Oazapfts.RequestOpts): Promise<TestEmailResponseDto>;
1682
1686
  export declare function startOAuth({ oAuthConfigDto }: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Immich
3
- * 1.131.2
3
+ * 1.132.0
4
4
  * DO NOT MODIFY - This file has been generated using oazapfts.
5
5
  * See https://www.npmjs.com/package/oazapfts
6
6
  */
@@ -560,15 +560,15 @@ export function addMemoryAssets({ id, bulkIdsDto }, opts) {
560
560
  body: bulkIdsDto
561
561
  })));
562
562
  }
563
- export function getNotificationTemplate({ name, templateDto }, opts) {
564
- return oazapfts.ok(oazapfts.fetchJson(`/notifications/templates/${encodeURIComponent(name)}`, oazapfts.json({
563
+ export function getNotificationTemplateAdmin({ name, templateDto }, opts) {
564
+ return oazapfts.ok(oazapfts.fetchJson(`/notifications/admin/templates/${encodeURIComponent(name)}`, oazapfts.json({
565
565
  ...opts,
566
566
  method: "POST",
567
567
  body: templateDto
568
568
  })));
569
569
  }
570
- export function sendTestEmail({ systemConfigSmtpDto }, opts) {
571
- return oazapfts.ok(oazapfts.fetchJson("/notifications/test-email", oazapfts.json({
570
+ export function sendTestEmailAdmin({ systemConfigSmtpDto }, opts) {
571
+ return oazapfts.ok(oazapfts.fetchJson("/notifications/admin/test-email", oazapfts.json({
572
572
  ...opts,
573
573
  method: "POST",
574
574
  body: systemConfigSmtpDto
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@immich/sdk",
3
- "version": "1.131.2",
3
+ "version": "1.132.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.13.14",
22
+ "@types/node": "^22.14.1",
23
23
  "typescript": "^5.3.3"
24
24
  },
25
25
  "repository": {