Skip to content
Merged
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
58 changes: 54 additions & 4 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38760,14 +38760,43 @@ export default {
{
in: 'query',
name: 'action_attempt_ids',
required: true,
schema: {
description:
'IDs of the action attempts that you want to retrieve.',
items: { format: 'uuid', type: 'string' },
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: {
Expand All @@ -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',
},
},
Expand Down Expand Up @@ -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',
},
},
Expand All @@ -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',
},
},
Expand Down
17 changes: 16 additions & 1 deletion src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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
}
Expand Down