@seamapi/types 1.1148.0 → 1.1150.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.
@@ -57922,9 +57922,9 @@ export type Routes = {
57922
57922
  customer_key?: string | undefined;
57923
57923
  /** Offset for the events that you want to list. */
57924
57924
  unstable_offset?: number | undefined;
57925
- /** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. */
57925
+ /** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. Only events from the last 90 days are returned, so a `since` older than 90 days is treated as 90 days ago. */
57926
57926
  since?: string | undefined;
57927
- /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
57927
+ /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. Only events from the last 90 days are returned, so a lower timestamp older than 90 days is treated as 90 days ago. */
57928
57928
  between?: string[] | undefined;
57929
57929
  /** ID of the device for which you want to list events. */
57930
57930
  device_id?: string | undefined;
@@ -92435,6 +92435,137 @@ export type Routes = {
92435
92435
  };
92436
92436
  maxDuration: undefined;
92437
92437
  };
92438
+ '/seam/console/v1/workspace/list_access_codes_for_today': {
92439
+ route: '/seam/console/v1/workspace/list_access_codes_for_today';
92440
+ method: 'GET' | 'POST';
92441
+ queryParams: {};
92442
+ jsonBody: {};
92443
+ commonParams: {
92444
+ /** Customer key for which you want to list access codes. */
92445
+ customer_key?: string | undefined;
92446
+ /** Start of the viewer's day, inclusive. Pass with `ends_at`; defaults to the start of the current UTC day. */
92447
+ starts_at?: Date | undefined;
92448
+ /** End of the viewer's day, exclusive. Pass with `starts_at`; defaults to the end of the current UTC day. */
92449
+ ends_at?: Date | undefined;
92450
+ /** Maximum number of starting, and of ending, access codes to return. */
92451
+ limit?: number;
92452
+ };
92453
+ formData: {};
92454
+ jsonResponse: {
92455
+ access_codes_for_today: {
92456
+ starting_count: number;
92457
+ starting: {
92458
+ access_code_id: string;
92459
+ code: string | null;
92460
+ name: string | null;
92461
+ device_id: string;
92462
+ device_name: string;
92463
+ starts_at: string | null;
92464
+ ends_at: string | null;
92465
+ status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
92466
+ }[];
92467
+ ending_count: number;
92468
+ ending: {
92469
+ access_code_id: string;
92470
+ code: string | null;
92471
+ name: string | null;
92472
+ device_id: string;
92473
+ device_name: string;
92474
+ starts_at: string | null;
92475
+ ends_at: string | null;
92476
+ status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
92477
+ }[];
92478
+ };
92479
+ };
92480
+ maxDuration: undefined;
92481
+ };
92482
+ '/seam/console/v1/workspace/list_attention_items': {
92483
+ route: '/seam/console/v1/workspace/list_attention_items';
92484
+ method: 'GET' | 'POST';
92485
+ queryParams: {};
92486
+ jsonBody: {};
92487
+ commonParams: {
92488
+ /** Customer key for which you want to list attention items. */
92489
+ customer_key?: string | undefined;
92490
+ /** Maximum number of devices, and of access codes, to return. */
92491
+ limit?: number;
92492
+ };
92493
+ formData: {};
92494
+ jsonResponse: {
92495
+ attention_items: {
92496
+ device_count: number;
92497
+ devices: {
92498
+ device_id: string;
92499
+ display_name: string;
92500
+ error: {
92501
+ error_code: string;
92502
+ message: string;
92503
+ };
92504
+ }[];
92505
+ access_code_count: number;
92506
+ access_codes: {
92507
+ access_code_id: string;
92508
+ code: string | null;
92509
+ name: string | null;
92510
+ device_id: string;
92511
+ device_name: string;
92512
+ error: {
92513
+ error_code: string;
92514
+ message: string;
92515
+ };
92516
+ }[];
92517
+ };
92518
+ };
92519
+ maxDuration: undefined;
92520
+ };
92521
+ '/seam/console/v1/workspace/list_reservations_for_today': {
92522
+ route: '/seam/console/v1/workspace/list_reservations_for_today';
92523
+ method: 'GET' | 'POST';
92524
+ queryParams: {};
92525
+ jsonBody: {};
92526
+ commonParams: {
92527
+ /** Customer key for which you want to list reservations. */
92528
+ customer_key?: string | undefined;
92529
+ /** Start of the viewer's day, inclusive. Pass with `ends_at`; defaults to the start of the current UTC day. */
92530
+ starts_at?: Date | undefined;
92531
+ /** End of the viewer's day, exclusive. Pass with `starts_at`; defaults to the end of the current UTC day. */
92532
+ ends_at?: Date | undefined;
92533
+ /** Maximum number of check-ins, and of check-outs, to return. */
92534
+ limit?: number;
92535
+ };
92536
+ formData: {};
92537
+ jsonResponse: {
92538
+ reservations_for_today: {
92539
+ check_in_count: number;
92540
+ check_ins: {
92541
+ reservation_id: string;
92542
+ reservation_key: string;
92543
+ guest_name: string | null;
92544
+ name: string | null;
92545
+ starts_at: string | null;
92546
+ ends_at: string | null;
92547
+ space: {
92548
+ space_id: string | null;
92549
+ name: string | null;
92550
+ } | null;
92551
+ }[];
92552
+ check_out_count: number;
92553
+ check_outs: {
92554
+ reservation_id: string;
92555
+ reservation_key: string;
92556
+ guest_name: string | null;
92557
+ name: string | null;
92558
+ starts_at: string | null;
92559
+ ends_at: string | null;
92560
+ space: {
92561
+ space_id: string | null;
92562
+ name: string | null;
92563
+ } | null;
92564
+ }[];
92565
+ };
92566
+ };
92567
+ maxDuration: undefined;
92568
+ };
92438
92569
  '/seam/customer/v1/access_grants/list': {
92439
92570
  route: '/seam/customer/v1/access_grants/list';
92440
92571
  method: 'GET' | 'POST';
@@ -96085,9 +96216,9 @@ export type Routes = {
96085
96216
  commonParams: {
96086
96217
  /** ID of the space for which you want to list events. */
96087
96218
  space_id: string;
96088
- /** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. */
96219
+ /** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. Only events from the last 90 days are returned, so a `since` older than 90 days is treated as 90 days ago. */
96089
96220
  since?: string | undefined;
96090
- /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
96221
+ /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. Only events from the last 90 days are returned, so a lower timestamp older than 90 days is treated as 90 days ago. */
96091
96222
  between?: string[] | undefined;
96092
96223
  /** Type of the events that you want to list. */
96093
96224
  event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | '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' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1148.0",
3
+ "version": "1.1150.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",