@seamapi/types 1.126.0 → 1.128.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.
@@ -2903,7 +2903,7 @@ export interface Routes {
2903
2903
  formData: {};
2904
2904
  jsonResponse: {
2905
2905
  device_providers: Array<{
2906
- device_provider_name: string;
2906
+ device_provider_name: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell';
2907
2907
  display_name: string;
2908
2908
  image_url: string;
2909
2909
  provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems'>;
@@ -3137,18 +3137,18 @@ export interface Routes {
3137
3137
  event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted') | undefined;
3138
3138
  event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted'> | undefined;
3139
3139
  connected_account_id?: string | undefined;
3140
+ limit?: number;
3140
3141
  };
3141
3142
  formData: {};
3142
3143
  jsonResponse: {
3143
- events?: Array<{
3144
+ events: Array<{
3144
3145
  event_id: string;
3145
3146
  device_id?: string | undefined;
3146
3147
  event_type: string;
3147
3148
  workspace_id: string;
3148
3149
  created_at: string;
3149
3150
  occurred_at: string;
3150
- }> | undefined;
3151
- message?: string | undefined;
3151
+ }>;
3152
3152
  };
3153
3153
  };
3154
3154
  '/health': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.126.0",
3
+ "version": "1.128.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1724,7 +1724,47 @@ export default {
1724
1724
  },
1725
1725
  device_provider: {
1726
1726
  properties: {
1727
- device_provider_name: { type: 'string' },
1727
+ device_provider_name: {
1728
+ enum: [
1729
+ 'akuvox',
1730
+ 'august',
1731
+ 'avigilon_alta',
1732
+ 'brivo',
1733
+ 'butterflymx',
1734
+ 'schlage',
1735
+ 'smartthings',
1736
+ 'yale',
1737
+ 'genie',
1738
+ 'doorking',
1739
+ 'salto',
1740
+ 'lockly',
1741
+ 'ttlock',
1742
+ 'linear',
1743
+ 'noiseaware',
1744
+ 'nuki',
1745
+ 'seam_relay_admin',
1746
+ 'igloo',
1747
+ 'kwikset',
1748
+ 'minut',
1749
+ 'my_2n',
1750
+ 'controlbyweb',
1751
+ 'nest',
1752
+ 'igloohome',
1753
+ 'ecobee',
1754
+ 'hubitat',
1755
+ 'four_suites',
1756
+ 'dormakaba_oracode',
1757
+ 'pti',
1758
+ 'wyze',
1759
+ 'seam_passport',
1760
+ 'visionline',
1761
+ 'assa_abloy_credential_service',
1762
+ 'seam_bridge',
1763
+ 'tedee',
1764
+ 'honeywell',
1765
+ ],
1766
+ type: 'string',
1767
+ },
1728
1768
  display_name: { type: 'string' },
1729
1769
  image_url: { type: 'string' },
1730
1770
  provider_categories: {
@@ -8533,6 +8573,7 @@ export default {
8533
8573
  },
8534
8574
  type: 'array',
8535
8575
  },
8576
+ limit: { default: 500, nullable: true, type: 'number' },
8536
8577
  since: { type: 'string' },
8537
8578
  },
8538
8579
  type: 'object',
@@ -8550,10 +8591,9 @@ export default {
8550
8591
  items: { $ref: '#/components/schemas/event' },
8551
8592
  type: 'array',
8552
8593
  },
8553
- message: { type: 'string' },
8554
8594
  ok: { type: 'boolean' },
8555
8595
  },
8556
- required: ['ok'],
8596
+ required: ['events', 'ok'],
8557
8597
  type: 'object',
8558
8598
  },
8559
8599
  },
@@ -3693,7 +3693,43 @@ export interface Routes {
3693
3693
  formData: {}
3694
3694
  jsonResponse: {
3695
3695
  device_providers: Array<{
3696
- device_provider_name: string
3696
+ device_provider_name:
3697
+ | 'akuvox'
3698
+ | 'august'
3699
+ | 'avigilon_alta'
3700
+ | 'brivo'
3701
+ | 'butterflymx'
3702
+ | 'schlage'
3703
+ | 'smartthings'
3704
+ | 'yale'
3705
+ | 'genie'
3706
+ | 'doorking'
3707
+ | 'salto'
3708
+ | 'lockly'
3709
+ | 'ttlock'
3710
+ | 'linear'
3711
+ | 'noiseaware'
3712
+ | 'nuki'
3713
+ | 'seam_relay_admin'
3714
+ | 'igloo'
3715
+ | 'kwikset'
3716
+ | 'minut'
3717
+ | 'my_2n'
3718
+ | 'controlbyweb'
3719
+ | 'nest'
3720
+ | 'igloohome'
3721
+ | 'ecobee'
3722
+ | 'hubitat'
3723
+ | 'four_suites'
3724
+ | 'dormakaba_oracode'
3725
+ | 'pti'
3726
+ | 'wyze'
3727
+ | 'seam_passport'
3728
+ | 'visionline'
3729
+ | 'assa_abloy_credential_service'
3730
+ | 'seam_bridge'
3731
+ | 'tedee'
3732
+ | 'honeywell'
3697
3733
  display_name: string
3698
3734
  image_url: string
3699
3735
  provider_categories: Array<
@@ -4228,20 +4264,18 @@ export interface Routes {
4228
4264
  >
4229
4265
  | undefined
4230
4266
  connected_account_id?: string | undefined
4267
+ limit?: number
4231
4268
  }
4232
4269
  formData: {}
4233
4270
  jsonResponse: {
4234
- events?:
4235
- | Array<{
4236
- event_id: string
4237
- device_id?: string | undefined
4238
- event_type: string
4239
- workspace_id: string
4240
- created_at: string
4241
- occurred_at: string
4242
- }>
4243
- | undefined
4244
- message?: string | undefined
4271
+ events: Array<{
4272
+ event_id: string
4273
+ device_id?: string | undefined
4274
+ event_type: string
4275
+ workspace_id: string
4276
+ created_at: string
4277
+ occurred_at: string
4278
+ }>
4245
4279
  }
4246
4280
  }
4247
4281
  '/health': {