@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.
@@ -2228,6 +2228,7 @@ declare const _default: {
2228
2228
  device_provider: {
2229
2229
  properties: {
2230
2230
  device_provider_name: {
2231
+ enum: string[];
2231
2232
  type: string;
2232
2233
  };
2233
2234
  display_name: {
@@ -11357,6 +11358,11 @@ declare const _default: {
11357
11358
  };
11358
11359
  type: string;
11359
11360
  };
11361
+ limit: {
11362
+ default: number;
11363
+ nullable: boolean;
11364
+ type: string;
11365
+ };
11360
11366
  since: {
11361
11367
  type: string;
11362
11368
  };
@@ -11378,9 +11384,6 @@ declare const _default: {
11378
11384
  };
11379
11385
  type: string;
11380
11386
  };
11381
- message: {
11382
- type: string;
11383
- };
11384
11387
  ok: {
11385
11388
  type: string;
11386
11389
  };
@@ -19811,7 +19814,7 @@ interface Routes {
19811
19814
  formData: {};
19812
19815
  jsonResponse: {
19813
19816
  device_providers: Array<{
19814
- device_provider_name: string;
19817
+ 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';
19815
19818
  display_name: string;
19816
19819
  image_url: string;
19817
19820
  provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems'>;
@@ -20045,18 +20048,18 @@ interface Routes {
20045
20048
  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;
20046
20049
  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;
20047
20050
  connected_account_id?: string | undefined;
20051
+ limit?: number;
20048
20052
  };
20049
20053
  formData: {};
20050
20054
  jsonResponse: {
20051
- events?: Array<{
20055
+ events: Array<{
20052
20056
  event_id: string;
20053
20057
  device_id?: string | undefined;
20054
20058
  event_type: string;
20055
20059
  workspace_id: string;
20056
20060
  created_at: string;
20057
20061
  occurred_at: string;
20058
- }> | undefined;
20059
- message?: string | undefined;
20062
+ }>;
20060
20063
  };
20061
20064
  };
20062
20065
  '/health': {
@@ -2154,6 +2154,7 @@ declare const _default: {
2154
2154
  device_provider: {
2155
2155
  properties: {
2156
2156
  device_provider_name: {
2157
+ enum: string[];
2157
2158
  type: string;
2158
2159
  };
2159
2160
  display_name: {
@@ -11283,6 +11284,11 @@ declare const _default: {
11283
11284
  };
11284
11285
  type: string;
11285
11286
  };
11287
+ limit: {
11288
+ default: number;
11289
+ nullable: boolean;
11290
+ type: string;
11291
+ };
11286
11292
  since: {
11287
11293
  type: string;
11288
11294
  };
@@ -11304,9 +11310,6 @@ declare const _default: {
11304
11310
  };
11305
11311
  type: string;
11306
11312
  };
11307
- message: {
11308
- type: string;
11309
- };
11310
11313
  ok: {
11311
11314
  type: string;
11312
11315
  };
@@ -1683,7 +1683,47 @@ export default {
1683
1683
  },
1684
1684
  device_provider: {
1685
1685
  properties: {
1686
- device_provider_name: { type: 'string' },
1686
+ device_provider_name: {
1687
+ enum: [
1688
+ 'akuvox',
1689
+ 'august',
1690
+ 'avigilon_alta',
1691
+ 'brivo',
1692
+ 'butterflymx',
1693
+ 'schlage',
1694
+ 'smartthings',
1695
+ 'yale',
1696
+ 'genie',
1697
+ 'doorking',
1698
+ 'salto',
1699
+ 'lockly',
1700
+ 'ttlock',
1701
+ 'linear',
1702
+ 'noiseaware',
1703
+ 'nuki',
1704
+ 'seam_relay_admin',
1705
+ 'igloo',
1706
+ 'kwikset',
1707
+ 'minut',
1708
+ 'my_2n',
1709
+ 'controlbyweb',
1710
+ 'nest',
1711
+ 'igloohome',
1712
+ 'ecobee',
1713
+ 'hubitat',
1714
+ 'four_suites',
1715
+ 'dormakaba_oracode',
1716
+ 'pti',
1717
+ 'wyze',
1718
+ 'seam_passport',
1719
+ 'visionline',
1720
+ 'assa_abloy_credential_service',
1721
+ 'seam_bridge',
1722
+ 'tedee',
1723
+ 'honeywell',
1724
+ ],
1725
+ type: 'string',
1726
+ },
1687
1727
  display_name: { type: 'string' },
1688
1728
  image_url: { type: 'string' },
1689
1729
  provider_categories: {
@@ -8460,6 +8500,7 @@ export default {
8460
8500
  },
8461
8501
  type: 'array',
8462
8502
  },
8503
+ limit: { default: 500, nullable: true, type: 'number' },
8463
8504
  since: { type: 'string' },
8464
8505
  },
8465
8506
  type: 'object',
@@ -8477,10 +8518,9 @@ export default {
8477
8518
  items: { $ref: '#/components/schemas/event' },
8478
8519
  type: 'array',
8479
8520
  },
8480
- message: { type: 'string' },
8481
8521
  ok: { type: 'boolean' },
8482
8522
  },
8483
- required: ['ok'],
8523
+ required: ['events', 'ok'],
8484
8524
  type: 'object',
8485
8525
  },
8486
8526
  },