@seamapi/types 1.497.0 → 1.498.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25249,6 +25249,10 @@ export type Routes = {
25249
25249
  acs_entrance_ids?: string[] | undefined;
25250
25250
  /** String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`. */
25251
25251
  search?: string | undefined;
25252
+ /** Maximum number of records to return per page. */
25253
+ limit?: number;
25254
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
25255
+ page_cursor?: (string | undefined) | null;
25252
25256
  };
25253
25257
  formData: {};
25254
25258
  jsonResponse: {
@@ -25360,6 +25364,15 @@ export type Routes = {
25360
25364
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
25361
25365
  can_unlock_with_code?: boolean | undefined;
25362
25366
  }[];
25367
+ /** Information about the current page of results. */
25368
+ pagination: {
25369
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
25370
+ next_page_cursor: string | null;
25371
+ /** Indicates whether there is another page of results after this one. */
25372
+ has_next_page: boolean;
25373
+ /** URL to get the next page of results. */
25374
+ next_page_url: string | null;
25375
+ };
25363
25376
  };
25364
25377
  };
25365
25378
  '/acs/entrances/list_credentials_with_access': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.497.0",
3
+ "version": "1.498.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -33333,6 +33333,27 @@ export default {
33333
33333
  type: 'string',
33334
33334
  },
33335
33335
  },
33336
+ {
33337
+ in: 'query',
33338
+ name: 'limit',
33339
+ schema: {
33340
+ default: 900,
33341
+ description: 'Maximum number of records to return per page.',
33342
+ exclusiveMinimum: true,
33343
+ minimum: 0,
33344
+ type: 'integer',
33345
+ },
33346
+ },
33347
+ {
33348
+ in: 'query',
33349
+ name: 'page_cursor',
33350
+ schema: {
33351
+ description:
33352
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
33353
+ nullable: true,
33354
+ type: 'string',
33355
+ },
33356
+ },
33336
33357
  ],
33337
33358
  responses: {
33338
33359
  200: {
@@ -33345,8 +33366,9 @@ export default {
33345
33366
  type: 'array',
33346
33367
  },
33347
33368
  ok: { type: 'boolean' },
33369
+ pagination: { $ref: '#/components/schemas/pagination' },
33348
33370
  },
33349
- required: ['acs_entrances', 'ok'],
33371
+ required: ['acs_entrances', 'pagination', 'ok'],
33350
33372
  type: 'object',
33351
33373
  },
33352
33374
  },
@@ -33416,6 +33438,14 @@ export default {
33416
33438
  format: 'uuid',
33417
33439
  type: 'string',
33418
33440
  },
33441
+ limit: {
33442
+ default: 900,
33443
+ description:
33444
+ 'Maximum number of records to return per page.',
33445
+ exclusiveMinimum: true,
33446
+ minimum: 0,
33447
+ type: 'integer',
33448
+ },
33419
33449
  location_id: {
33420
33450
  deprecated: true,
33421
33451
  format: 'uuid',
@@ -33423,6 +33453,12 @@ export default {
33423
33453
  type: 'string',
33424
33454
  'x-deprecated': 'Use `space_id`.',
33425
33455
  },
33456
+ page_cursor: {
33457
+ description:
33458
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
33459
+ nullable: true,
33460
+ type: 'string',
33461
+ },
33426
33462
  search: {
33427
33463
  description:
33428
33464
  'String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.',
@@ -33452,8 +33488,9 @@ export default {
33452
33488
  type: 'array',
33453
33489
  },
33454
33490
  ok: { type: 'boolean' },
33491
+ pagination: { $ref: '#/components/schemas/pagination' },
33455
33492
  },
33456
- required: ['acs_entrances', 'ok'],
33493
+ required: ['acs_entrances', 'pagination', 'ok'],
33457
33494
  type: 'object',
33458
33495
  },
33459
33496
  },
@@ -29258,6 +29258,10 @@ export type Routes = {
29258
29258
  acs_entrance_ids?: string[] | undefined
29259
29259
  /** String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`. */
29260
29260
  search?: string | undefined
29261
+ /** Maximum number of records to return per page. */
29262
+ limit?: number
29263
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
29264
+ page_cursor?: (string | undefined) | null
29261
29265
  }
29262
29266
  formData: {}
29263
29267
  jsonResponse: {
@@ -29394,6 +29398,15 @@ export type Routes = {
29394
29398
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
29395
29399
  can_unlock_with_code?: boolean | undefined
29396
29400
  }[]
29401
+ /** Information about the current page of results. */
29402
+ pagination: {
29403
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
29404
+ next_page_cursor: string | null
29405
+ /** Indicates whether there is another page of results after this one. */
29406
+ has_next_page: boolean
29407
+ /** URL to get the next page of results. */
29408
+ next_page_url: string | null
29409
+ }
29397
29410
  }
29398
29411
  }
29399
29412
  '/acs/entrances/list_credentials_with_access': {