@seamapi/types 1.485.0 → 1.486.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.
@@ -11,6 +11,7 @@ import { connect_webview } from './connect-webviews/connect-webview.js';
11
11
  import { connected_account } from './connected-accounts/index.js';
12
12
  import { device } from './devices/index.js';
13
13
  import { unmanaged_device } from './devices/unmanaged-device.js';
14
+ import { seam_event } from './events/seam-event.js';
14
15
  import { space } from './spaces/index.js';
15
16
  import { user_identity } from './user-identities/index.js';
16
17
  import { workspace } from './workspaces/index.js';
@@ -60,6 +61,7 @@ export const workspaces_batch = z
60
61
  connect_webviews: connect_webview.array().optional(),
61
62
  access_methods: access_method.array().optional(),
62
63
  access_grants: access_grant.array().optional(),
64
+ events: seam_event.array().optional(),
63
65
  })
64
66
  .describe('A batch of workspace resources.');
65
67
  export const batch = z
@@ -87,6 +89,7 @@ export const batch = z
87
89
  connect_webviews: connect_webview.array().optional(),
88
90
  access_methods: access_method.array().optional(),
89
91
  access_grants: access_grant.array().optional(),
92
+ events: seam_event.array().optional(),
90
93
  })
91
94
  .describe('A batch of workspace resources.');
92
95
  //# sourceMappingURL=batch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"batch.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/batch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EACL,gBAAgB,EAChB,0BAA0B,GAC3B,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;A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AE,CAAC,QAAQ,EAAE;IACtC,iBAAiB,EAAE,gBAAgB,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACtD,YAAY,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,eAAe,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAClD,eAAe,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAClD,mBAAmB,EAAE,kBAAkB,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC1D,2BAA2B,EAAE,0BAA0B,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC1E,iBAAiB,EAAE,gBAAgB,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACtD,gBAAgB,EAAE,eAAe,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACpD,cAAc,EAAE,aAAa,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAChD,aAAa,EAAE,YAAY,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC9C,MAAM,EAAE,UAAU,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC;KACD,QAAQ,CAAC,iCAAiC,CAAC,CAAA"}
@@ -2902,5 +2902,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
2902
2902
  device_custom_metadata?: Record<string, string | boolean> | undefined;
2903
2903
  }>]>;
2904
2904
  export type SeamEvent = z.infer<typeof seam_event>;
2905
- export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "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" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "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" | "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" | "enrollment_automation.deleted" | "phone.deactivated" | "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_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "connect_webview.login_succeeded" | "connect_webview.login_failed", ...("access_code.created" | "access_code.changed" | "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" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "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" | "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" | "enrollment_automation.deleted" | "phone.deactivated" | "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_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
2905
+ export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "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_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "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" | "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" | "enrollment_automation.deleted" | "phone.deactivated", ...("access_code.created" | "access_code.changed" | "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_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "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" | "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" | "enrollment_automation.deleted" | "phone.deactivated")[]]>;
2906
2906
  export type SeamEventType = SeamEvent['event_type'];
@@ -18173,6 +18173,12 @@ declare const _default: {
18173
18173
  };
18174
18174
  type: string;
18175
18175
  };
18176
+ events: {
18177
+ items: {
18178
+ $ref: string;
18179
+ };
18180
+ type: string;
18181
+ };
18176
18182
  spaces: {
18177
18183
  items: {
18178
18184
  $ref: string;
@@ -18370,6 +18376,12 @@ declare const _default: {
18370
18376
  };
18371
18377
  type: string;
18372
18378
  };
18379
+ events: {
18380
+ items: {
18381
+ $ref: string;
18382
+ };
18383
+ type: string;
18384
+ };
18373
18385
  spaces: {
18374
18386
  items: {
18375
18387
  $ref: string;
@@ -48606,6 +48618,12 @@ declare const _default: {
48606
48618
  };
48607
48619
  type: string;
48608
48620
  };
48621
+ events: {
48622
+ items: {
48623
+ $ref: string;
48624
+ };
48625
+ type: string;
48626
+ };
48609
48627
  spaces: {
48610
48628
  items: {
48611
48629
  $ref: string;
@@ -48778,6 +48796,12 @@ declare const _default: {
48778
48796
  };
48779
48797
  type: string;
48780
48798
  };
48799
+ events: {
48800
+ items: {
48801
+ $ref: string;
48802
+ };
48803
+ type: string;
48804
+ };
48781
48805
  spaces: {
48782
48806
  items: {
48783
48807
  $ref: string;
@@ -26328,6 +26328,10 @@ export default {
26328
26328
  items: { $ref: '#/components/schemas/device' },
26329
26329
  type: 'array',
26330
26330
  },
26331
+ events: {
26332
+ items: { $ref: '#/components/schemas/event' },
26333
+ type: 'array',
26334
+ },
26331
26335
  spaces: {
26332
26336
  items: { $ref: '#/components/schemas/space' },
26333
26337
  type: 'array',
@@ -26493,6 +26497,10 @@ export default {
26493
26497
  items: { $ref: '#/components/schemas/device' },
26494
26498
  type: 'array',
26495
26499
  },
26500
+ events: {
26501
+ items: { $ref: '#/components/schemas/event' },
26502
+ type: 'array',
26503
+ },
26496
26504
  spaces: {
26497
26505
  items: { $ref: '#/components/schemas/space' },
26498
26506
  type: 'array',
@@ -52388,6 +52396,10 @@ export default {
52388
52396
  items: { $ref: '#/components/schemas/device' },
52389
52397
  type: 'array',
52390
52398
  },
52399
+ events: {
52400
+ items: { $ref: '#/components/schemas/event' },
52401
+ type: 'array',
52402
+ },
52391
52403
  spaces: {
52392
52404
  items: { $ref: '#/components/schemas/space' },
52393
52405
  type: 'array',
@@ -52530,6 +52542,10 @@ export default {
52530
52542
  items: { $ref: '#/components/schemas/device' },
52531
52543
  type: 'array',
52532
52544
  },
52545
+ events: {
52546
+ items: { $ref: '#/components/schemas/event' },
52547
+ type: 'array',
52548
+ },
52533
52549
  spaces: {
52534
52550
  items: { $ref: '#/components/schemas/space' },
52535
52551
  type: 'array',