From b7d2b04e6a972fa52fc7fb657dcef31be27c0654 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Tue, 17 Feb 2026 14:05:11 -0800 Subject: [PATCH] fix(pagination): add missing next_page to response interfaces and operator comments --- apps/sim/tools/supabase/text_search.ts | 1 + apps/sim/tools/zendesk/autocomplete_organizations.ts | 1 + apps/sim/tools/zendesk/search_users.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/apps/sim/tools/supabase/text_search.ts b/apps/sim/tools/supabase/text_search.ts index d644c898907..ee7581493c8 100644 --- a/apps/sim/tools/supabase/text_search.ts +++ b/apps/sim/tools/supabase/text_search.ts @@ -80,6 +80,7 @@ export const textSearchTool: ToolConfig = { plain: 'plfts', phrase: 'phfts', diff --git a/apps/sim/tools/zendesk/autocomplete_organizations.ts b/apps/sim/tools/zendesk/autocomplete_organizations.ts index b01613d9fc9..67d86c89be4 100644 --- a/apps/sim/tools/zendesk/autocomplete_organizations.ts +++ b/apps/sim/tools/zendesk/autocomplete_organizations.ts @@ -23,6 +23,7 @@ export interface ZendeskAutocompleteOrganizationsResponse { paging?: { after_cursor: string | null has_more: boolean + next_page?: string | null } metadata: { total_returned: number diff --git a/apps/sim/tools/zendesk/search_users.ts b/apps/sim/tools/zendesk/search_users.ts index ba03d87b109..f000aec0c66 100644 --- a/apps/sim/tools/zendesk/search_users.ts +++ b/apps/sim/tools/zendesk/search_users.ts @@ -24,6 +24,7 @@ export interface ZendeskSearchUsersResponse { paging?: { after_cursor: string | null has_more: boolean + next_page?: string | null } metadata: { total_returned: number