@seamapi/types 1.756.0 → 1.757.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.
@@ -20583,6 +20583,11 @@ declare const _default: {
20583
20583
  };
20584
20584
  type: string;
20585
20585
  };
20586
+ access_method_id: {
20587
+ description: string;
20588
+ format: string;
20589
+ type: string;
20590
+ };
20586
20591
  customer_key: {
20587
20592
  description: string;
20588
20593
  type: string;
@@ -28675,7 +28675,7 @@ export default {
28675
28675
  },
28676
28676
  '/access_codes/list': {
28677
28677
  get: {
28678
- description: 'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify either `device_id` or `access_code_ids`.',
28678
+ description: 'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `access_method_id`.',
28679
28679
  operationId: 'accessCodesListGet',
28680
28680
  parameters: [
28681
28681
  {
@@ -28690,7 +28690,7 @@ export default {
28690
28690
  in: 'query',
28691
28691
  name: 'device_id',
28692
28692
  schema: {
28693
- description: 'ID of the device for which you want to list access codes. Specify either `device_id` or `access_code_ids`.',
28693
+ description: 'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
28694
28694
  format: 'uuid',
28695
28695
  type: 'string',
28696
28696
  },
@@ -28699,11 +28699,20 @@ export default {
28699
28699
  in: 'query',
28700
28700
  name: 'access_code_ids',
28701
28701
  schema: {
28702
- description: 'IDs of the access codes that you want to retrieve. Specify either `device_id` or `access_code_ids`.',
28702
+ description: 'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
28703
28703
  items: { format: 'uuid', type: 'string' },
28704
28704
  type: 'array',
28705
28705
  },
28706
28706
  },
28707
+ {
28708
+ in: 'query',
28709
+ name: 'access_method_id',
28710
+ schema: {
28711
+ description: 'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
28712
+ format: 'uuid',
28713
+ type: 'string',
28714
+ },
28715
+ },
28707
28716
  {
28708
28717
  in: 'query',
28709
28718
  name: 'user_identifier_key',
@@ -28780,7 +28789,7 @@ export default {
28780
28789
  'x-title': 'List Access Codes',
28781
28790
  },
28782
28791
  post: {
28783
- description: 'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify either `device_id` or `access_code_ids`.',
28792
+ description: 'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `access_method_id`.',
28784
28793
  operationId: 'accessCodesListPost',
28785
28794
  requestBody: {
28786
28795
  content: {
@@ -28788,16 +28797,21 @@ export default {
28788
28797
  schema: {
28789
28798
  properties: {
28790
28799
  access_code_ids: {
28791
- description: 'IDs of the access codes that you want to retrieve. Specify either `device_id` or `access_code_ids`.',
28800
+ description: 'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
28792
28801
  items: { format: 'uuid', type: 'string' },
28793
28802
  type: 'array',
28794
28803
  },
28804
+ access_method_id: {
28805
+ description: 'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
28806
+ format: 'uuid',
28807
+ type: 'string',
28808
+ },
28795
28809
  customer_key: {
28796
28810
  description: 'Customer key for which you want to list access codes.',
28797
28811
  type: 'string',
28798
28812
  },
28799
28813
  device_id: {
28800
- description: 'ID of the device for which you want to list access codes. Specify either `device_id` or `access_code_ids`.',
28814
+ description: 'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
28801
28815
  format: 'uuid',
28802
28816
  type: 'string',
28803
28817
  },