@seamapi/types 1.1000.1 → 1.1002.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.
@@ -25512,21 +25512,13 @@ export type Routes = {
25512
25512
  method: 'GET' | 'POST';
25513
25513
  queryParams: {};
25514
25514
  jsonBody: {};
25515
- commonParams: ({
25516
- /** ID of the access system user for which you want to retrieve all credentials. */
25517
- acs_user_id: string;
25518
- } | {
25519
- /** ID of the access system for which you want to retrieve all credentials. */
25520
- acs_system_id: string;
25521
- } | {
25515
+ commonParams: {
25522
25516
  /** ID of the access system user for which you want to retrieve all credentials. */
25523
- acs_user_id: string;
25517
+ acs_user_id?: string | undefined;
25524
25518
  /** ID of the access system for which you want to retrieve all credentials. */
25525
- acs_system_id: string;
25526
- } | {
25519
+ acs_system_id?: string | undefined;
25527
25520
  /** ID of the user identity for which you want to retrieve all credentials. */
25528
- user_identity_id: string;
25529
- } | {}) & {
25521
+ user_identity_id?: string | undefined;
25530
25522
  /** Number of credentials to return. */
25531
25523
  limit?: number;
25532
25524
  /** Date and time, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format, before which events to return were created. */
@@ -26268,21 +26260,13 @@ export type Routes = {
26268
26260
  method: 'GET' | 'POST';
26269
26261
  queryParams: {};
26270
26262
  jsonBody: {};
26271
- commonParams: ({
26272
- /** ID of the access system user for which you want to retrieve all credentials. */
26273
- acs_user_id: string;
26274
- } | {
26275
- /** ID of the access system for which you want to retrieve all credentials. */
26276
- acs_system_id: string;
26277
- } | {
26263
+ commonParams: {
26278
26264
  /** ID of the access system user for which you want to retrieve all credentials. */
26279
- acs_user_id: string;
26265
+ acs_user_id?: string | undefined;
26280
26266
  /** ID of the access system for which you want to retrieve all credentials. */
26281
- acs_system_id: string;
26282
- } | {
26267
+ acs_system_id?: string | undefined;
26283
26268
  /** ID of the user identity for which you want to retrieve all credentials. */
26284
- user_identity_id: string;
26285
- }) & {
26269
+ user_identity_id?: string | undefined;
26286
26270
  /** String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`. */
26287
26271
  search?: string | undefined;
26288
26272
  };
@@ -28471,16 +28455,13 @@ export type Routes = {
28471
28455
  method: 'GET' | 'POST';
28472
28456
  queryParams: {};
28473
28457
  jsonBody: {};
28474
- commonParams: ({
28458
+ commonParams: {
28475
28459
  /** ID of the access system for which you want to retrieve all encoders. */
28476
- acs_system_id: string;
28477
- } | {
28460
+ acs_system_id?: string | undefined;
28478
28461
  /** IDs of the access systems for which you want to retrieve all encoders. */
28479
- acs_system_ids: string[];
28480
- } | {
28462
+ acs_system_ids?: string[] | undefined;
28481
28463
  /** IDs of the encoders that you want to retrieve. */
28482
- acs_encoder_ids: string[];
28483
- }) & {
28464
+ acs_encoder_ids?: string[] | undefined;
28484
28465
  /** Number of encoders to return. */
28485
28466
  limit?: number;
28486
28467
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
@@ -50343,7 +50324,7 @@ export type Routes = {
50343
50324
  /** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. */
50344
50325
  since?: string | undefined;
50345
50326
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
50346
- between?: (string | Date)[] | undefined;
50327
+ between?: string[] | undefined;
50347
50328
  /** ID of the device for which you want to list events. */
50348
50329
  device_id?: string | undefined;
50349
50330
  /** IDs of the devices for which you want to list events. */
@@ -81681,7 +81662,7 @@ export type Routes = {
81681
81662
  /** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. */
81682
81663
  since?: string | undefined;
81683
81664
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
81684
- between?: (string | Date)[] | undefined;
81665
+ between?: string[] | undefined;
81685
81666
  /** Type of the events that you want to list. */
81686
81667
  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.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;
81687
81668
  /** Types of the events that you want to list. */
@@ -85287,7 +85268,7 @@ export type Routes = {
85287
85268
  /** Timestamp by which to limit returned reservations. Returns reservations created after this timestamp. */
85288
85269
  created_after?: Date | undefined;
85289
85270
  /** Lower and upper timestamps to filter reservations whose time range overlaps with the given interval. */
85290
- between?: (string | Date)[] | undefined;
85271
+ between?: string[] | undefined;
85291
85272
  /** String for which to search. Filters returned reservations to include all records that satisfy a partial match using `reservation_id`, `reservation_key`, `name`, `guest_name`, or space names. */
85292
85273
  search?: string | undefined;
85293
85274
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1000.1",
3
+ "version": "1.1002.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -84,7 +84,7 @@
84
84
  }
85
85
  },
86
86
  "devDependencies": {
87
- "@seamapi/blueprint": "^1.3.0",
87
+ "@seamapi/blueprint": "^1.5.1",
88
88
  "@types/node": "^24.10.9",
89
89
  "concurrently": "^9.2.0",
90
90
  "del-cli": "^7.0.0",
@@ -123,6 +123,7 @@ export const PROVIDER_CATEGORY_MAP = {
123
123
  'omnitec',
124
124
  'dusaw',
125
125
  'thirty_three_lock',
126
+ 'yacan',
126
127
  ],
127
128
 
128
129
  consumer_smartlocks: [
@@ -145,9 +146,10 @@ export const PROVIDER_CATEGORY_MAP = {
145
146
  'keyincode',
146
147
  'sifely',
147
148
  'thirty_three_lock',
149
+ 'yacan',
148
150
  ],
149
151
 
150
- beta: ['salto_ks_accept', 'aqara', 'yacan'],
152
+ beta: ['salto_ks_accept', 'aqara'],
151
153
 
152
154
  thermostats: ['ecobee', 'nest', 'sensi', 'honeywell_resideo', 'first_alert'],
153
155
  noise_sensors: ['minut', 'noiseaware'],