diff --git a/src/core/pagination.ts b/src/core/pagination.ts index 9bef26447..ffe36de65 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 dca13a9bb..17810fb68 100644 --- a/src/resources/responses/responses.ts +++ b/src/resources/responses/responses.ts @@ -2798,7 +2798,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