@seamapi/types 1.981.0 → 1.982.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.
@@ -20569,14 +20569,18 @@ export type Routes = {
20569
20569
  access_grant_id?: string | undefined;
20570
20570
  /** Key of Access Grant to list access methods for. */
20571
20571
  access_grant_key?: string | undefined;
20572
- /** ID of the device for which you want to retrieve all access methods. */
20572
+ /** ID of the device by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`. */
20573
20573
  device_id?: string | undefined;
20574
- /** ID of the entrance for which you want to retrieve all access methods. */
20574
+ /** ID of the entrance for which you want to retrieve all access methods that grant access to it. */
20575
20575
  acs_entrance_id?: string | undefined;
20576
- /** ID of the space for which you want to retrieve all access methods. */
20576
+ /** ID of the space by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`. */
20577
20577
  space_id?: string | undefined;
20578
- /** ID of the access code for which you want to retrieve all access methods. */
20578
+ /** ID of the access code by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`. */
20579
20579
  access_code_id?: string | undefined;
20580
+ /** Maximum number of records to return per page. */
20581
+ limit?: number;
20582
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
20583
+ page_cursor?: (string | undefined) | null;
20580
20584
  };
20581
20585
  formData: {};
20582
20586
  jsonResponse: {
@@ -20710,6 +20714,15 @@ export type Routes = {
20710
20714
  /** ID of the customization profile associated with the access method. */
20711
20715
  customization_profile_id?: string | undefined;
20712
20716
  }[];
20717
+ /** Information about the current page of results. */
20718
+ pagination: {
20719
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
20720
+ next_page_cursor: string | null;
20721
+ /** Indicates whether there is another page of results after this one. */
20722
+ has_next_page: boolean;
20723
+ /** URL to get the next page of results. */
20724
+ next_page_url: string | null;
20725
+ };
20713
20726
  };
20714
20727
  maxDuration: undefined;
20715
20728
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.981.0",
3
+ "version": "1.982.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -42928,7 +42928,7 @@ const openapi: OpenAPISpec = {
42928
42928
  name: 'device_id',
42929
42929
  schema: {
42930
42930
  description:
42931
- 'ID of the device for which you want to retrieve all access methods.',
42931
+ 'ID of the device by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.',
42932
42932
  format: 'uuid',
42933
42933
  type: 'string',
42934
42934
  },
@@ -42938,7 +42938,7 @@ const openapi: OpenAPISpec = {
42938
42938
  name: 'acs_entrance_id',
42939
42939
  schema: {
42940
42940
  description:
42941
- 'ID of the entrance for which you want to retrieve all access methods.',
42941
+ 'ID of the entrance for which you want to retrieve all access methods that grant access to it.',
42942
42942
  format: 'uuid',
42943
42943
  type: 'string',
42944
42944
  },
@@ -42948,7 +42948,7 @@ const openapi: OpenAPISpec = {
42948
42948
  name: 'space_id',
42949
42949
  schema: {
42950
42950
  description:
42951
- 'ID of the space for which you want to retrieve all access methods.',
42951
+ 'ID of the space by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.',
42952
42952
  format: 'uuid',
42953
42953
  type: 'string',
42954
42954
  },
@@ -42958,11 +42958,32 @@ const openapi: OpenAPISpec = {
42958
42958
  name: 'access_code_id',
42959
42959
  schema: {
42960
42960
  description:
42961
- 'ID of the access code for which you want to retrieve all access methods.',
42961
+ 'ID of the access code by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.',
42962
42962
  format: 'uuid',
42963
42963
  type: 'string',
42964
42964
  },
42965
42965
  },
42966
+ {
42967
+ in: 'query',
42968
+ name: 'limit',
42969
+ schema: {
42970
+ default: 500,
42971
+ description: 'Maximum number of records to return per page.',
42972
+ exclusiveMinimum: true,
42973
+ minimum: 0,
42974
+ type: 'integer',
42975
+ },
42976
+ },
42977
+ {
42978
+ in: 'query',
42979
+ name: 'page_cursor',
42980
+ schema: {
42981
+ description:
42982
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
42983
+ nullable: true,
42984
+ type: 'string',
42985
+ },
42986
+ },
42966
42987
  ],
42967
42988
  responses: {
42968
42989
  200: {
@@ -42975,8 +42996,9 @@ const openapi: OpenAPISpec = {
42975
42996
  type: 'array',
42976
42997
  },
42977
42998
  ok: { type: 'boolean' },
42999
+ pagination: { $ref: '#/components/schemas/pagination' },
42978
43000
  },
42979
- required: ['access_methods', 'ok'],
43001
+ required: ['access_methods', 'pagination', 'ok'],
42980
43002
  type: 'object',
42981
43003
  },
42982
43004
  },
@@ -43013,7 +43035,7 @@ const openapi: OpenAPISpec = {
43013
43035
  properties: {
43014
43036
  access_code_id: {
43015
43037
  description:
43016
- 'ID of the access code for which you want to retrieve all access methods.',
43038
+ 'ID of the access code by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.',
43017
43039
  format: 'uuid',
43018
43040
  type: 'string',
43019
43041
  },
@@ -43031,19 +43053,33 @@ const openapi: OpenAPISpec = {
43031
43053
  },
43032
43054
  acs_entrance_id: {
43033
43055
  description:
43034
- 'ID of the entrance for which you want to retrieve all access methods.',
43056
+ 'ID of the entrance for which you want to retrieve all access methods that grant access to it.',
43035
43057
  format: 'uuid',
43036
43058
  type: 'string',
43037
43059
  },
43038
43060
  device_id: {
43039
43061
  description:
43040
- 'ID of the device for which you want to retrieve all access methods.',
43062
+ 'ID of the device by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.',
43041
43063
  format: 'uuid',
43042
43064
  type: 'string',
43043
43065
  },
43066
+ limit: {
43067
+ default: 500,
43068
+ description:
43069
+ 'Maximum number of records to return per page.',
43070
+ exclusiveMinimum: true,
43071
+ minimum: 0,
43072
+ type: 'integer',
43073
+ },
43074
+ page_cursor: {
43075
+ description:
43076
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
43077
+ nullable: true,
43078
+ type: 'string',
43079
+ },
43044
43080
  space_id: {
43045
43081
  description:
43046
- 'ID of the space for which you want to retrieve all access methods.',
43082
+ 'ID of the space by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.',
43047
43083
  format: 'uuid',
43048
43084
  type: 'string',
43049
43085
  },
@@ -43064,8 +43100,9 @@ const openapi: OpenAPISpec = {
43064
43100
  type: 'array',
43065
43101
  },
43066
43102
  ok: { type: 'boolean' },
43103
+ pagination: { $ref: '#/components/schemas/pagination' },
43067
43104
  },
43068
- required: ['access_methods', 'ok'],
43105
+ required: ['access_methods', 'pagination', 'ok'],
43069
43106
  type: 'object',
43070
43107
  },
43071
43108
  },
@@ -24482,14 +24482,18 @@ export type Routes = {
24482
24482
  access_grant_id?: string | undefined
24483
24483
  /** Key of Access Grant to list access methods for. */
24484
24484
  access_grant_key?: string | undefined
24485
- /** ID of the device for which you want to retrieve all access methods. */
24485
+ /** ID of the device by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`. */
24486
24486
  device_id?: string | undefined
24487
- /** ID of the entrance for which you want to retrieve all access methods. */
24487
+ /** ID of the entrance for which you want to retrieve all access methods that grant access to it. */
24488
24488
  acs_entrance_id?: string | undefined
24489
- /** ID of the space for which you want to retrieve all access methods. */
24489
+ /** ID of the space by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`. */
24490
24490
  space_id?: string | undefined
24491
- /** ID of the access code for which you want to retrieve all access methods. */
24491
+ /** ID of the access code by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`. */
24492
24492
  access_code_id?: string | undefined
24493
+ /** Maximum number of records to return per page. */
24494
+ limit?: number
24495
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
24496
+ page_cursor?: (string | undefined) | null
24493
24497
  }
24494
24498
  formData: {}
24495
24499
  jsonResponse: {
@@ -24632,6 +24636,15 @@ export type Routes = {
24632
24636
  /** ID of the customization profile associated with the access method. */
24633
24637
  customization_profile_id?: string | undefined
24634
24638
  }[]
24639
+ /** Information about the current page of results. */
24640
+ pagination: {
24641
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
24642
+ next_page_cursor: string | null
24643
+ /** Indicates whether there is another page of results after this one. */
24644
+ has_next_page: boolean
24645
+ /** URL to get the next page of results. */
24646
+ next_page_url: string | null
24647
+ }
24635
24648
  }
24636
24649
  maxDuration: undefined
24637
24650
  }