Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export interface CursorPageParams {
limit?: number;
}

export class CursorPage<Item extends { id: string }>
export class CursorPage<Item extends { id?: string }>
extends AbstractPage<Item>
implements CursorPageResponse<Item>
{
Expand Down
2 changes: 1 addition & 1 deletion src/resources/responses/responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down