@seamapi/types 1.127.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.
@@ -11358,6 +11358,11 @@ declare const _default: {
11358
11358
  };
11359
11359
  type: string;
11360
11360
  };
11361
+ limit: {
11362
+ default: number;
11363
+ nullable: boolean;
11364
+ type: string;
11365
+ };
11361
11366
  since: {
11362
11367
  type: string;
11363
11368
  };
@@ -11379,9 +11384,6 @@ declare const _default: {
11379
11384
  };
11380
11385
  type: string;
11381
11386
  };
11382
- message: {
11383
- type: string;
11384
- };
11385
11387
  ok: {
11386
11388
  type: string;
11387
11389
  };
@@ -20046,18 +20048,18 @@ interface Routes {
20046
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;
20047
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;
20048
20050
  connected_account_id?: string | undefined;
20051
+ limit?: number;
20049
20052
  };
20050
20053
  formData: {};
20051
20054
  jsonResponse: {
20052
- events?: Array<{
20055
+ events: Array<{
20053
20056
  event_id: string;
20054
20057
  device_id?: string | undefined;
20055
20058
  event_type: string;
20056
20059
  workspace_id: string;
20057
20060
  created_at: string;
20058
20061
  occurred_at: string;
20059
- }> | undefined;
20060
- message?: string | undefined;
20062
+ }>;
20061
20063
  };
20062
20064
  };
20063
20065
  '/health': {
@@ -11284,6 +11284,11 @@ declare const _default: {
11284
11284
  };
11285
11285
  type: string;
11286
11286
  };
11287
+ limit: {
11288
+ default: number;
11289
+ nullable: boolean;
11290
+ type: string;
11291
+ };
11287
11292
  since: {
11288
11293
  type: string;
11289
11294
  };
@@ -11305,9 +11310,6 @@ declare const _default: {
11305
11310
  };
11306
11311
  type: string;
11307
11312
  };
11308
- message: {
11309
- type: string;
11310
- };
11311
11313
  ok: {
11312
11314
  type: string;
11313
11315
  };
@@ -8500,6 +8500,7 @@ export default {
8500
8500
  },
8501
8501
  type: 'array',
8502
8502
  },
8503
+ limit: { default: 500, nullable: true, type: 'number' },
8503
8504
  since: { type: 'string' },
8504
8505
  },
8505
8506
  type: 'object',
@@ -8517,10 +8518,9 @@ export default {
8517
8518
  items: { $ref: '#/components/schemas/event' },
8518
8519
  type: 'array',
8519
8520
  },
8520
- message: { type: 'string' },
8521
8521
  ok: { type: 'boolean' },
8522
8522
  },
8523
- required: ['ok'],
8523
+ required: ['events', 'ok'],
8524
8524
  type: 'object',
8525
8525
  },
8526
8526
  },