From 4f764bae9ca5a46d8dde10b538f3f789a36e601c Mon Sep 17 00:00:00 2001 From: Nazar Lysyi Date: Wed, 3 Jul 2024 22:34:16 +0300 Subject: [PATCH 1/2] feat: add stringIds to listScreenshots parameters --- src/screenshots/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screenshots/index.ts b/src/screenshots/index.ts index 8ca400a13..64b8306a7 100644 --- a/src/screenshots/index.ts +++ b/src/screenshots/index.ts @@ -226,6 +226,7 @@ export class Screenshots extends CrowdinApi { export namespace ScreenshotsModel { export interface ListScreenshotParams extends PaginationOptions { + stringIds?: number[]; stringId?: number; labelIds?: string; excludeLabelIds?: string; From 4cd6bf3cb7ac03740b15cd6e1aedc7779f31011c Mon Sep 17 00:00:00 2001 From: Nazar Lysyi Date: Thu, 4 Jul 2024 11:10:04 +0300 Subject: [PATCH 2/2] deprecate stringId --- src/screenshots/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/screenshots/index.ts b/src/screenshots/index.ts index 64b8306a7..781cb5a90 100644 --- a/src/screenshots/index.ts +++ b/src/screenshots/index.ts @@ -227,6 +227,9 @@ export class Screenshots extends CrowdinApi { export namespace ScreenshotsModel { export interface ListScreenshotParams extends PaginationOptions { stringIds?: number[]; + /** + * @deprecated use stringIds instead + */ stringId?: number; labelIds?: string; excludeLabelIds?: string;