@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.
@@ -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.127.0",
3
+ "version": "1.128.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -8573,6 +8573,7 @@ export default {
8573
8573
  },
8574
8574
  type: 'array',
8575
8575
  },
8576
+ limit: { default: 500, nullable: true, type: 'number' },
8576
8577
  since: { type: 'string' },
8577
8578
  },
8578
8579
  type: 'object',
@@ -8590,10 +8591,9 @@ export default {
8590
8591
  items: { $ref: '#/components/schemas/event' },
8591
8592
  type: 'array',
8592
8593
  },
8593
- message: { type: 'string' },
8594
8594
  ok: { type: 'boolean' },
8595
8595
  },
8596
- required: ['ok'],
8596
+ required: ['events', 'ok'],
8597
8597
  type: 'object',
8598
8598
  },
8599
8599
  },
@@ -4264,20 +4264,18 @@ export interface Routes {
4264
4264
  >
4265
4265
  | undefined
4266
4266
  connected_account_id?: string | undefined
4267
+ limit?: number
4267
4268
  }
4268
4269
  formData: {}
4269
4270
  jsonResponse: {
4270
- events?:
4271
- | 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
- }>
4279
- | undefined
4280
- 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
+ }>
4281
4279
  }
4282
4280
  }
4283
4281
  '/health': {