diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 04e79cdf..e639402b 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -38760,7 +38760,6 @@ export default { { in: 'query', name: 'action_attempt_ids', - required: true, schema: { description: 'IDs of the action attempts that you want to retrieve.', @@ -38768,6 +38767,36 @@ export default { type: 'array', }, }, + { + in: 'query', + name: 'device_id', + schema: { + description: 'ID of the device to filter action attempts by.', + format: 'uuid', + type: 'string', + }, + }, + { + in: 'query', + name: 'limit', + schema: { + default: 500, + description: 'Maximum number of records to return per page.', + exclusiveMinimum: true, + minimum: 0, + type: 'integer', + }, + }, + { + in: 'query', + name: 'page_cursor', + schema: { + description: + "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.", + nullable: true, + type: 'string', + }, + }, ], responses: { 200: { @@ -38780,8 +38809,9 @@ export default { type: 'array', }, ok: { type: 'boolean' }, + pagination: { $ref: '#/components/schemas/pagination' }, }, - required: ['action_attempts', 'ok'], + required: ['action_attempts', 'pagination', 'ok'], type: 'object', }, }, @@ -38819,8 +38849,27 @@ export default { items: { format: 'uuid', type: 'string' }, type: 'array', }, + device_id: { + description: + 'ID of the device to filter action attempts by.', + format: 'uuid', + type: 'string', + }, + limit: { + default: 500, + description: + 'Maximum number of records to return per page.', + exclusiveMinimum: true, + minimum: 0, + type: 'integer', + }, + page_cursor: { + description: + "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.", + nullable: true, + type: 'string', + }, }, - required: ['action_attempt_ids'], type: 'object', }, }, @@ -38837,8 +38886,9 @@ export default { type: 'array', }, ok: { type: 'boolean' }, + pagination: { $ref: '#/components/schemas/pagination' }, }, - required: ['action_attempts', 'ok'], + required: ['action_attempts', 'pagination', 'ok'], type: 'object', }, }, diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 61191094..953a3df4 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -28019,7 +28019,13 @@ export type Routes = { jsonBody: {} commonParams: { /** IDs of the action attempts that you want to retrieve. */ - action_attempt_ids: string[] + action_attempt_ids?: string[] | undefined + /** ID of the device to filter action attempts by. */ + device_id?: string | undefined + /** Maximum number of records to return per page. */ + limit?: number + /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */ + page_cursor?: ((string | undefined) | null) | undefined } formData: {} jsonResponse: { @@ -29465,6 +29471,15 @@ export type Routes = { } } )[] + /** Information about the current page of results. */ + pagination: { + /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */ + 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 + } } maxDuration: undefined }