@seamapi/types 1.419.0 → 1.420.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"access-methods.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,mBAAmB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC9C,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mCAAmC,CAAC;CACjD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACnE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,0CAA0C,GACrD,mBAAmB,CAAC,MAAM,CAAC;IACzB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;CAC9D,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACpE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACpE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,0BAA0B;IAC1B,2BAA2B;IAC3B,0CAA0C;IAC1C,2BAA2B;CACnB,CAAA"}
1
+ {"version":3,"file":"access-methods.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,mBAAmB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC9C,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mCAAmC,CAAC;CACjD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACnE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,0CAA0C,GACrD,mBAAmB,CAAC,MAAM,CAAC;IACzB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;CAC9D,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACpE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACpE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,4BAA4B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACrE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;CAChD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,0BAA0B;IAC1B,2BAA2B;IAC3B,0CAA0C;IAC1C,2BAA2B;IAC3B,4BAA4B;CACpB,CAAA"}
@@ -717,6 +717,29 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
717
717
  event_id: string;
718
718
  occurred_at: string;
719
719
  event_type: "access_method.deleted";
720
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
721
+ event_id: z.ZodString;
722
+ workspace_id: z.ZodString;
723
+ created_at: z.ZodString;
724
+ occurred_at: z.ZodString;
725
+ }, {
726
+ access_method_id: z.ZodString;
727
+ }>, {
728
+ event_type: z.ZodLiteral<"access_method.reissued">;
729
+ }>, "strip", z.ZodTypeAny, {
730
+ workspace_id: string;
731
+ created_at: string;
732
+ access_method_id: string;
733
+ event_id: string;
734
+ occurred_at: string;
735
+ event_type: "access_method.reissued";
736
+ }, {
737
+ workspace_id: string;
738
+ created_at: string;
739
+ access_method_id: string;
740
+ event_id: string;
741
+ occurred_at: string;
742
+ event_type: "access_method.reissued";
720
743
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
721
744
  event_id: z.ZodString;
722
745
  workspace_id: z.ZodString;
@@ -2538,5 +2561,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
2538
2561
  event_type: "phone.deactivated";
2539
2562
  }>]>;
2540
2563
  export type SeamEvent = z.infer<typeof seam_event>;
2541
- 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" | "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" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
2564
+ 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")[]]>;
2542
2565
  export type SeamEventType = SeamEvent['event_type'];
@@ -397,6 +397,11 @@ declare const _default: {
397
397
  description: string;
398
398
  type: string;
399
399
  };
400
+ ends_at: {
401
+ description: string;
402
+ format: string;
403
+ type: string;
404
+ };
400
405
  location_ids: {
401
406
  deprecated: boolean;
402
407
  items: {
@@ -446,6 +451,11 @@ declare const _default: {
446
451
  };
447
452
  type: string;
448
453
  };
454
+ starts_at: {
455
+ description: string;
456
+ format: string;
457
+ type: string;
458
+ };
449
459
  user_identity_id: {
450
460
  description: string;
451
461
  format: string;
@@ -15615,6 +15625,177 @@ declare const _default: {
15615
15625
  'x-title': string;
15616
15626
  };
15617
15627
  };
15628
+ '/access_grants/update': {
15629
+ patch: {
15630
+ description: string;
15631
+ operationId: string;
15632
+ requestBody: {
15633
+ content: {
15634
+ 'application/json': {
15635
+ schema: {
15636
+ properties: {
15637
+ access_grant_id: {
15638
+ description: string;
15639
+ format: string;
15640
+ type: string;
15641
+ };
15642
+ ends_at: {
15643
+ description: string;
15644
+ format: string;
15645
+ nullable: boolean;
15646
+ type: string;
15647
+ };
15648
+ starts_at: {
15649
+ description: string;
15650
+ format: string;
15651
+ nullable: boolean;
15652
+ type: string;
15653
+ };
15654
+ };
15655
+ required: string[];
15656
+ type: string;
15657
+ };
15658
+ };
15659
+ };
15660
+ };
15661
+ responses: {
15662
+ 200: {
15663
+ content: {
15664
+ 'application/json': {
15665
+ schema: {
15666
+ properties: {
15667
+ ok: {
15668
+ type: string;
15669
+ };
15670
+ };
15671
+ required: string[];
15672
+ type: string;
15673
+ };
15674
+ };
15675
+ };
15676
+ description: string;
15677
+ };
15678
+ 400: {
15679
+ description: string;
15680
+ };
15681
+ 401: {
15682
+ description: string;
15683
+ };
15684
+ };
15685
+ security: ({
15686
+ pat_with_workspace: never[];
15687
+ console_session_with_workspace?: never;
15688
+ api_key?: never;
15689
+ client_session_with_customer?: never;
15690
+ } | {
15691
+ console_session_with_workspace: never[];
15692
+ pat_with_workspace?: never;
15693
+ api_key?: never;
15694
+ client_session_with_customer?: never;
15695
+ } | {
15696
+ api_key: never[];
15697
+ pat_with_workspace?: never;
15698
+ console_session_with_workspace?: never;
15699
+ client_session_with_customer?: never;
15700
+ } | {
15701
+ client_session_with_customer: never[];
15702
+ pat_with_workspace?: never;
15703
+ console_session_with_workspace?: never;
15704
+ api_key?: never;
15705
+ })[];
15706
+ summary: string;
15707
+ tags: never[];
15708
+ 'x-draft': string;
15709
+ 'x-fern-ignore': boolean;
15710
+ 'x-response-key': null;
15711
+ 'x-title': string;
15712
+ };
15713
+ post: {
15714
+ description: string;
15715
+ operationId: string;
15716
+ requestBody: {
15717
+ content: {
15718
+ 'application/json': {
15719
+ schema: {
15720
+ properties: {
15721
+ access_grant_id: {
15722
+ description: string;
15723
+ format: string;
15724
+ type: string;
15725
+ };
15726
+ ends_at: {
15727
+ description: string;
15728
+ format: string;
15729
+ nullable: boolean;
15730
+ type: string;
15731
+ };
15732
+ starts_at: {
15733
+ description: string;
15734
+ format: string;
15735
+ nullable: boolean;
15736
+ type: string;
15737
+ };
15738
+ };
15739
+ required: string[];
15740
+ type: string;
15741
+ };
15742
+ };
15743
+ };
15744
+ };
15745
+ responses: {
15746
+ 200: {
15747
+ content: {
15748
+ 'application/json': {
15749
+ schema: {
15750
+ properties: {
15751
+ ok: {
15752
+ type: string;
15753
+ };
15754
+ };
15755
+ required: string[];
15756
+ type: string;
15757
+ };
15758
+ };
15759
+ };
15760
+ description: string;
15761
+ };
15762
+ 400: {
15763
+ description: string;
15764
+ };
15765
+ 401: {
15766
+ description: string;
15767
+ };
15768
+ };
15769
+ security: ({
15770
+ pat_with_workspace: never[];
15771
+ console_session_with_workspace?: never;
15772
+ api_key?: never;
15773
+ client_session_with_customer?: never;
15774
+ } | {
15775
+ console_session_with_workspace: never[];
15776
+ pat_with_workspace?: never;
15777
+ api_key?: never;
15778
+ client_session_with_customer?: never;
15779
+ } | {
15780
+ api_key: never[];
15781
+ pat_with_workspace?: never;
15782
+ console_session_with_workspace?: never;
15783
+ client_session_with_customer?: never;
15784
+ } | {
15785
+ client_session_with_customer: never[];
15786
+ pat_with_workspace?: never;
15787
+ console_session_with_workspace?: never;
15788
+ api_key?: never;
15789
+ })[];
15790
+ summary: string;
15791
+ tags: never[];
15792
+ 'x-draft': string;
15793
+ 'x-fern-sdk-group-name': string[];
15794
+ 'x-fern-sdk-method-name': string;
15795
+ 'x-response-key': null;
15796
+ 'x-title': string;
15797
+ };
15798
+ };
15618
15799
  '/access_methods/delete': {
15619
15800
  post: {
15620
15801
  description: string;
@@ -1052,7 +1052,7 @@ export default {
1052
1052
  type: 'object',
1053
1053
  },
1054
1054
  {
1055
- description: '\n Indicates that the auxiliary heat is running.\n ',
1055
+ description: 'Indicates that the auxiliary heat is running.',
1056
1056
  properties: {
1057
1057
  created_at: {
1058
1058
  description: 'Date and time at which Seam created the error.',
@@ -1081,6 +1081,7 @@ export default {
1081
1081
  'error_code',
1082
1082
  ],
1083
1083
  type: 'object',
1084
+ 'x-variant-group-key': 'thermostats',
1084
1085
  },
1085
1086
  {
1086
1087
  description: 'Indicates that a subscription is required to connect.',
@@ -1589,6 +1590,11 @@ export default {
1589
1590
  description: 'Display name of the access grant.',
1590
1591
  type: 'string',
1591
1592
  },
1593
+ ends_at: {
1594
+ description: 'Date and time at which the access grant ends.',
1595
+ format: 'date-time',
1596
+ type: 'string',
1597
+ },
1592
1598
  location_ids: {
1593
1599
  deprecated: true,
1594
1600
  items: { format: 'uuid', type: 'string' },
@@ -1634,6 +1640,11 @@ export default {
1634
1640
  items: { format: 'uuid', type: 'string' },
1635
1641
  type: 'array',
1636
1642
  },
1643
+ starts_at: {
1644
+ description: 'Date and time at which the access grant starts.',
1645
+ format: 'date-time',
1646
+ type: 'string',
1647
+ },
1637
1648
  user_identity_id: {
1638
1649
  description: 'ID of user identity to which the access grant gives access.',
1639
1650
  format: 'uuid',
@@ -8668,7 +8679,7 @@ export default {
8668
8679
  type: 'object',
8669
8680
  },
8670
8681
  {
8671
- description: '\n Indicates that the auxiliary heat is running.\n ',
8682
+ description: 'Indicates that the auxiliary heat is running.',
8672
8683
  properties: {
8673
8684
  created_at: {
8674
8685
  description: 'Date and time at which Seam created the error.',
@@ -8697,6 +8708,7 @@ export default {
8697
8708
  'error_code',
8698
8709
  ],
8699
8710
  type: 'object',
8711
+ 'x-variant-group-key': 'thermostats',
8700
8712
  },
8701
8713
  {
8702
8714
  description: 'Indicates that a subscription is required to connect.',
@@ -12788,6 +12800,47 @@ export default {
12788
12800
  type: 'object',
12789
12801
  'x-route-path': '/access_methods',
12790
12802
  },
12803
+ {
12804
+ description: 'An access method was reissued due to an access grant update.',
12805
+ properties: {
12806
+ access_method_id: {
12807
+ description: 'ID of the affected access method.',
12808
+ format: 'uuid',
12809
+ type: 'string',
12810
+ },
12811
+ created_at: {
12812
+ description: 'Date and time at which the event was created.',
12813
+ format: 'date-time',
12814
+ type: 'string',
12815
+ },
12816
+ event_id: {
12817
+ description: 'ID of the event.',
12818
+ format: 'uuid',
12819
+ type: 'string',
12820
+ },
12821
+ event_type: { enum: ['access_method.reissued'], type: 'string' },
12822
+ occurred_at: {
12823
+ description: 'Date and time at which the event occurred.',
12824
+ format: 'date-time',
12825
+ type: 'string',
12826
+ },
12827
+ workspace_id: {
12828
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
12829
+ format: 'uuid',
12830
+ type: 'string',
12831
+ },
12832
+ },
12833
+ required: [
12834
+ 'event_id',
12835
+ 'workspace_id',
12836
+ 'created_at',
12837
+ 'occurred_at',
12838
+ 'access_method_id',
12839
+ 'event_type',
12840
+ ],
12841
+ type: 'object',
12842
+ 'x-route-path': '/access_methods',
12843
+ },
12791
12844
  {
12792
12845
  description: 'An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.',
12793
12846
  properties: {
@@ -18463,7 +18516,7 @@ export default {
18463
18516
  type: 'object',
18464
18517
  },
18465
18518
  {
18466
- description: '\n Indicates that the auxiliary heat is running.\n ',
18519
+ description: 'Indicates that the auxiliary heat is running.',
18467
18520
  properties: {
18468
18521
  created_at: {
18469
18522
  description: 'Date and time at which Seam created the error.',
@@ -18492,6 +18545,7 @@ export default {
18492
18545
  'error_code',
18493
18546
  ],
18494
18547
  type: 'object',
18548
+ 'x-variant-group-key': 'thermostats',
18495
18549
  },
18496
18550
  {
18497
18551
  description: 'Indicates that a subscription is required to connect.',
@@ -20496,7 +20550,7 @@ export default {
20496
20550
  type: 'object',
20497
20551
  },
20498
20552
  {
20499
- description: '\n Indicates that the auxiliary heat is running.\n ',
20553
+ description: 'Indicates that the auxiliary heat is running.',
20500
20554
  properties: {
20501
20555
  created_at: {
20502
20556
  description: 'Date and time at which Seam created the error.',
@@ -20525,6 +20579,7 @@ export default {
20525
20579
  'error_code',
20526
20580
  ],
20527
20581
  type: 'object',
20582
+ 'x-variant-group-key': 'thermostats',
20528
20583
  },
20529
20584
  {
20530
20585
  description: 'Indicates that a subscription is required to connect.',
@@ -23686,6 +23741,131 @@ export default {
23686
23741
  'x-title': 'List Access Grants',
23687
23742
  },
23688
23743
  },
23744
+ '/access_grants/update': {
23745
+ patch: {
23746
+ description: "Updates an existing access grant's time window.",
23747
+ operationId: 'accessGrantsUpdatePatch',
23748
+ requestBody: {
23749
+ content: {
23750
+ 'application/json': {
23751
+ schema: {
23752
+ properties: {
23753
+ access_grant_id: {
23754
+ description: 'ID of the access grant to update.',
23755
+ format: 'uuid',
23756
+ type: 'string',
23757
+ },
23758
+ ends_at: {
23759
+ description: 'Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.',
23760
+ format: 'date-time',
23761
+ nullable: true,
23762
+ type: 'string',
23763
+ },
23764
+ starts_at: {
23765
+ description: 'Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
23766
+ format: 'date-time',
23767
+ nullable: true,
23768
+ type: 'string',
23769
+ },
23770
+ },
23771
+ required: ['access_grant_id'],
23772
+ type: 'object',
23773
+ },
23774
+ },
23775
+ },
23776
+ },
23777
+ responses: {
23778
+ 200: {
23779
+ content: {
23780
+ 'application/json': {
23781
+ schema: {
23782
+ properties: { ok: { type: 'boolean' } },
23783
+ required: ['ok'],
23784
+ type: 'object',
23785
+ },
23786
+ },
23787
+ },
23788
+ description: 'OK',
23789
+ },
23790
+ 400: { description: 'Bad Request' },
23791
+ 401: { description: 'Unauthorized' },
23792
+ },
23793
+ security: [
23794
+ { pat_with_workspace: [] },
23795
+ { console_session_with_workspace: [] },
23796
+ { api_key: [] },
23797
+ { client_session_with_customer: [] },
23798
+ ],
23799
+ summary: '/access_grants/update',
23800
+ tags: [],
23801
+ 'x-draft': 'Early access.',
23802
+ 'x-fern-ignore': true,
23803
+ 'x-response-key': null,
23804
+ 'x-title': 'Update an Access Grant',
23805
+ },
23806
+ post: {
23807
+ description: "Updates an existing access grant's time window.",
23808
+ operationId: 'accessGrantsUpdatePost',
23809
+ requestBody: {
23810
+ content: {
23811
+ 'application/json': {
23812
+ schema: {
23813
+ properties: {
23814
+ access_grant_id: {
23815
+ description: 'ID of the access grant to update.',
23816
+ format: 'uuid',
23817
+ type: 'string',
23818
+ },
23819
+ ends_at: {
23820
+ description: 'Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.',
23821
+ format: 'date-time',
23822
+ nullable: true,
23823
+ type: 'string',
23824
+ },
23825
+ starts_at: {
23826
+ description: 'Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
23827
+ format: 'date-time',
23828
+ nullable: true,
23829
+ type: 'string',
23830
+ },
23831
+ },
23832
+ required: ['access_grant_id'],
23833
+ type: 'object',
23834
+ },
23835
+ },
23836
+ },
23837
+ },
23838
+ responses: {
23839
+ 200: {
23840
+ content: {
23841
+ 'application/json': {
23842
+ schema: {
23843
+ properties: { ok: { type: 'boolean' } },
23844
+ required: ['ok'],
23845
+ type: 'object',
23846
+ },
23847
+ },
23848
+ },
23849
+ description: 'OK',
23850
+ },
23851
+ 400: { description: 'Bad Request' },
23852
+ 401: { description: 'Unauthorized' },
23853
+ },
23854
+ security: [
23855
+ { pat_with_workspace: [] },
23856
+ { console_session_with_workspace: [] },
23857
+ { api_key: [] },
23858
+ { client_session_with_customer: [] },
23859
+ ],
23860
+ summary: '/access_grants/update',
23861
+ tags: [],
23862
+ 'x-draft': 'Early access.',
23863
+ 'x-fern-sdk-group-name': ['access_grants'],
23864
+ 'x-fern-sdk-method-name': 'update',
23865
+ 'x-response-key': null,
23866
+ 'x-title': 'Update an Access Grant',
23867
+ },
23868
+ },
23689
23869
  '/access_methods/delete': {
23690
23870
  post: {
23691
23871
  description: 'Delete an access method.',
@@ -30810,6 +30990,7 @@ export default {
30810
30990
  'access_method.revoked',
30811
30991
  'access_method.card_encoding_required',
30812
30992
  'access_method.deleted',
30993
+ 'access_method.reissued',
30813
30994
  'acs_system.connected',
30814
30995
  'acs_system.added',
30815
30996
  'acs_system.disconnected',
@@ -30906,6 +31087,7 @@ export default {
30906
31087
  'access_method.revoked',
30907
31088
  'access_method.card_encoding_required',
30908
31089
  'access_method.deleted',
31090
+ 'access_method.reissued',
30909
31091
  'acs_system.connected',
30910
31092
  'acs_system.added',
30911
31093
  'acs_system.disconnected',