Skip to content

Commit dd0b5a9

Browse files
authored
feat: Sync with Seam API via 275a6781ddf5e393342fd7966dd74b71a71c028a (#2725)
1 parent f82ed7e commit dd0b5a9

File tree

2 files changed

+51
-2
lines changed

2 files changed

+51
-2
lines changed

src/lib/seam/connect/openapi.ts

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36106,6 +36106,27 @@ export default {
3610636106
type: 'string',
3610736107
},
3610836108
},
36109+
{
36110+
in: 'query',
36111+
name: 'limit',
36112+
schema: {
36113+
default: 500,
36114+
description:
36115+
'Numerical limit on the number of unmanaged access grants to return.',
36116+
format: 'float',
36117+
type: 'number',
36118+
},
36119+
},
36120+
{
36121+
in: 'query',
36122+
name: 'page_cursor',
36123+
schema: {
36124+
description:
36125+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
36126+
nullable: true,
36127+
type: 'string',
36128+
},
36129+
},
3610936130
],
3611036131
responses: {
3611136132
200: {
@@ -36687,8 +36708,9 @@ export default {
3668736708
type: 'array',
3668836709
},
3668936710
ok: { type: 'boolean' },
36711+
pagination: { $ref: '#/components/schemas/pagination' },
3669036712
},
36691-
required: ['access_grants', 'ok'],
36713+
required: ['access_grants', 'pagination', 'ok'],
3669236714
type: 'object',
3669336715
},
3669436716
},
@@ -36733,6 +36755,19 @@ export default {
3673336755
format: 'uuid',
3673436756
type: 'string',
3673536757
},
36758+
limit: {
36759+
default: 500,
36760+
description:
36761+
'Numerical limit on the number of unmanaged access grants to return.',
36762+
format: 'float',
36763+
type: 'number',
36764+
},
36765+
page_cursor: {
36766+
description:
36767+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
36768+
nullable: true,
36769+
type: 'string',
36770+
},
3673636771
reservation_key: {
3673736772
description:
3673836773
'Filter unmanaged Access Grants by reservation_key.',
@@ -37330,8 +37365,9 @@ export default {
3733037365
type: 'array',
3733137366
},
3733237367
ok: { type: 'boolean' },
37368+
pagination: { $ref: '#/components/schemas/pagination' },
3733337369
},
37334-
required: ['access_grants', 'ok'],
37370+
required: ['access_grants', 'pagination', 'ok'],
3733537371
type: 'object',
3733637372
},
3733737373
},

src/lib/seam/connect/route-types.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14984,6 +14984,10 @@ export type Routes = {
1498414984
acs_entrance_id?: string | undefined
1498514985
/** Filter unmanaged Access Grants by reservation_key. */
1498614986
reservation_key?: string | undefined
14987+
/** Numerical limit on the number of unmanaged access grants to return. */
14988+
limit?: number
14989+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
14990+
page_cursor?: (string | undefined) | null
1498714991
}
1498814992
formData: {}
1498914993
jsonResponse: {
@@ -15146,6 +15150,15 @@ export type Routes = {
1514615150
/** ID of user identity to which the Access Grant gives access. */
1514715151
user_identity_id?: string | undefined
1514815152
}[]
15153+
/** Information about the current page of results. */
15154+
pagination: {
15155+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
15156+
next_page_cursor: string | null
15157+
/** Indicates whether there is another page of results after this one. */
15158+
has_next_page: boolean
15159+
/** URL to get the next page of results. */
15160+
next_page_url: string | null
15161+
}
1514915162
}
1515015163
maxDuration: undefined
1515115164
}

0 commit comments

Comments
 (0)