@seamapi/types 1.755.0 → 1.756.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.
@@ -16601,7 +16601,9 @@ export type Routes = {
16601
16601
  jsonBody: {};
16602
16602
  commonParams: {
16603
16603
  /** ID of Access Grant to list access methods for. */
16604
- access_grant_id: string;
16604
+ access_grant_id?: string | undefined;
16605
+ /** Key of Access Grant to list access methods for. */
16606
+ access_grant_key?: string | undefined;
16605
16607
  /** ID of the device for which you want to retrieve all access methods. */
16606
16608
  device_id?: string | undefined;
16607
16609
  /** ID of the entrance for which you want to retrieve all access methods. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.755.0",
3
+ "version": "1.756.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -38185,17 +38185,24 @@ export default {
38185
38185
  {
38186
38186
  in: 'query',
38187
38187
  name: 'access_grant_id',
38188
- required: true,
38189
38188
  schema: {
38190
38189
  description: 'ID of Access Grant to list access methods for.',
38191
38190
  format: 'uuid',
38192
38191
  type: 'string',
38193
38192
  },
38194
38193
  },
38194
+ {
38195
+ in: 'query',
38196
+ name: 'access_grant_key',
38197
+ schema: {
38198
+ description: 'Key of Access Grant to list access methods for.',
38199
+ minLength: 1,
38200
+ type: 'string',
38201
+ },
38202
+ },
38195
38203
  {
38196
38204
  in: 'query',
38197
38205
  name: 'device_id',
38198
- required: false,
38199
38206
  schema: {
38200
38207
  description:
38201
38208
  'ID of the device for which you want to retrieve all access methods.',
@@ -38206,7 +38213,6 @@ export default {
38206
38213
  {
38207
38214
  in: 'query',
38208
38215
  name: 'acs_entrance_id',
38209
- required: false,
38210
38216
  schema: {
38211
38217
  description:
38212
38218
  'ID of the entrance for which you want to retrieve all access methods.',
@@ -38217,7 +38223,6 @@ export default {
38217
38223
  {
38218
38224
  in: 'query',
38219
38225
  name: 'space_id',
38220
- required: false,
38221
38226
  schema: {
38222
38227
  description:
38223
38228
  'ID of the space for which you want to retrieve all access methods.',
@@ -38278,6 +38283,12 @@ export default {
38278
38283
  format: 'uuid',
38279
38284
  type: 'string',
38280
38285
  },
38286
+ access_grant_key: {
38287
+ description:
38288
+ 'Key of Access Grant to list access methods for.',
38289
+ minLength: 1,
38290
+ type: 'string',
38291
+ },
38281
38292
  acs_entrance_id: {
38282
38293
  description:
38283
38294
  'ID of the entrance for which you want to retrieve all access methods.',
@@ -38297,7 +38308,6 @@ export default {
38297
38308
  type: 'string',
38298
38309
  },
38299
38310
  },
38300
- required: ['access_grant_id'],
38301
38311
  type: 'object',
38302
38312
  },
38303
38313
  },
@@ -19219,7 +19219,9 @@ export type Routes = {
19219
19219
  jsonBody: {}
19220
19220
  commonParams: {
19221
19221
  /** ID of Access Grant to list access methods for. */
19222
- access_grant_id: string
19222
+ access_grant_id?: string | undefined
19223
+ /** Key of Access Grant to list access methods for. */
19224
+ access_grant_key?: string | undefined
19223
19225
  /** ID of the device for which you want to retrieve all access methods. */
19224
19226
  device_id?: string | undefined
19225
19227
  /** ID of the entrance for which you want to retrieve all access methods. */