From b39fb18c978fba89570e74fb6dcbb0becd89e476 Mon Sep 17 00:00:00 2001 From: 3xpl0itk1t Date: Wed, 16 Jul 2025 19:26:43 +0530 Subject: [PATCH] fix: made id optional in ResponseInputMessageItem to prevent linter issues --- src/core/pagination.ts | 2 +- src/resources/responses/responses.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/pagination.ts b/src/core/pagination.ts index 6b187e9f5..cb9d5c47c 100644 --- a/src/core/pagination.ts +++ b/src/core/pagination.ts @@ -154,7 +154,7 @@ export interface CursorPageParams { limit?: number; } -export class CursorPage +export class CursorPage extends AbstractPage implements CursorPageResponse { diff --git a/src/resources/responses/responses.ts b/src/resources/responses/responses.ts index d7bfbf8cf..be6ab152e 100644 --- a/src/resources/responses/responses.ts +++ b/src/resources/responses/responses.ts @@ -2506,7 +2506,7 @@ export interface ResponseInputMessageItem { /** * The unique ID of the message input. */ - id: string; + id?: string; /** * A list of one or many input items to the model, containing different content