From ba160523fe2970f29f909d48ca29f299a85460d1 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 24 Feb 2025 19:53:02 -0300 Subject: [PATCH] feat: Return next_page_url (#1549) --- src/lib/seam/connect/openapi.ts | 13 ++++++++++++- src/lib/seam/connect/route-types.ts | 6 ++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 3e3cf62f..8f0ba105 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -18758,6 +18758,7 @@ export default { search: { description: 'String to partial match between full_name, phone_number and email_address.', + minLength: 1, type: 'string', }, user_identity_email_address: { @@ -18808,8 +18809,18 @@ export default { nullable: true, type: 'string', }, + next_page_url: { + description: 'URL to get the next page of results.', + format: 'uri', + nullable: true, + type: 'string', + }, }, - required: ['next_page_cursor', 'has_next_page'], + required: [ + 'next_page_cursor', + 'has_next_page', + 'next_page_url', + ], type: 'object', }, }, diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 5796a2ce..5ecdb6c6 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -12494,10 +12494,10 @@ export interface Routes { user_identity_email_address?: string | undefined /** ID of the `acs_system` for which you want to retrieve all `acs_user`s. */ acs_system_id?: string | undefined - /** Maximum number of records to return per page. */ - limit?: number /** String to partial match between full_name, phone_number and email_address. */ search?: string | undefined + /** Maximum number of records to return per page. */ + limit?: number created_before?: Date | undefined /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */ page_cursor?: (string | undefined) | null @@ -12630,6 +12630,8 @@ export interface Routes { next_page_cursor: string | null /** Indicates whether there is another page of results after this one. */ has_next_page: boolean + /** URL to get the next page of results. */ + next_page_url: string | null } } }