Skip to content

Commit 35196ce

Browse files
authored
feat: Sync with Seam API via d2777605fe3666e4913fd920b07d4f630e989e6c (#2361)
1 parent 66d72e5 commit 35196ce

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

src/lib/seam/connect/openapi.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31402,8 +31402,9 @@ export default {
3140231402
type: 'array',
3140331403
},
3140431404
ok: { type: 'boolean' },
31405+
pagination: { $ref: '#/components/schemas/pagination' },
3140531406
},
31406-
required: ['acs_credentials', 'ok'],
31407+
required: ['acs_credentials', 'pagination', 'ok'],
3140731408
type: 'object',
3140831409
},
3140931410
},
@@ -31514,6 +31515,12 @@ export default {
3151431515
format: 'float',
3151531516
type: 'number',
3151631517
},
31518+
page_cursor: {
31519+
description:
31520+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
31521+
nullable: true,
31522+
type: 'string',
31523+
},
3151731524
},
3151831525
type: 'object',
3151931526
},
@@ -31533,8 +31540,9 @@ export default {
3153331540
type: 'array',
3153431541
},
3153531542
ok: { type: 'boolean' },
31543+
pagination: { $ref: '#/components/schemas/pagination' },
3153631544
},
31537-
required: ['acs_credentials', 'ok'],
31545+
required: ['acs_credentials', 'pagination', 'ok'],
3153831546
type: 'object',
3153931547
},
3154031548
},

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21214,6 +21214,8 @@ export type Routes = {
2121421214
created_before?: Date | undefined
2121521215
/** Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials. */
2121621216
is_multi_phone_sync_credential?: boolean | undefined
21217+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
21218+
page_cursor?: (string | undefined) | null
2121721219
}
2121821220
formData: {}
2121921221
jsonResponse: {
@@ -21374,6 +21376,15 @@ export type Routes = {
2137421376
| undefined
2137521377
is_managed: true
2137621378
}[]
21379+
/** Information about the current page of results. */
21380+
pagination: {
21381+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
21382+
next_page_cursor: string | null
21383+
/** Indicates whether there is another page of results after this one. */
21384+
has_next_page: boolean
21385+
/** URL to get the next page of results. */
21386+
next_page_url: string | null
21387+
}
2137721388
}
2137821389
}
2137921390
'/acs/credentials/list_accessible_entrances': {

0 commit comments

Comments
 (0)