@seamapi/types 1.555.0 → 1.557.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.
@@ -10393,6 +10393,8 @@ declare const batch: z.ZodObject<{
10393
10393
  }>;
10394
10394
  is_suspended: z.ZodBoolean;
10395
10395
  connect_partner_name: z.ZodNullable<z.ZodNullable<z.ZodString>>;
10396
+ publishable_key: z.ZodOptional<z.ZodString>;
10397
+ is_publishable_key_auth_enabled: z.ZodBoolean;
10396
10398
  }, "strip", z.ZodTypeAny, {
10397
10399
  name: string;
10398
10400
  workspace_id: string;
@@ -10407,6 +10409,8 @@ declare const batch: z.ZodObject<{
10407
10409
  inviter_logo_url?: string | undefined;
10408
10410
  };
10409
10411
  connect_partner_name: string | null;
10412
+ is_publishable_key_auth_enabled: boolean;
10413
+ publishable_key?: string | undefined;
10410
10414
  }, {
10411
10415
  name: string;
10412
10416
  workspace_id: string;
@@ -10421,6 +10425,8 @@ declare const batch: z.ZodObject<{
10421
10425
  inviter_logo_url?: string | undefined;
10422
10426
  };
10423
10427
  connect_partner_name: string | null;
10428
+ is_publishable_key_auth_enabled: boolean;
10429
+ publishable_key?: string | undefined;
10424
10430
  }>, "many">>;
10425
10431
  spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
10426
10432
  space_id: z.ZodString;
@@ -25666,14 +25672,13 @@ declare const batch: z.ZodObject<{
25666
25672
  workspace_id: z.ZodString;
25667
25673
  created_at: z.ZodString;
25668
25674
  occurred_at: z.ZodString;
25669
- } & {
25670
25675
  access_method_id: z.ZodString;
25671
25676
  access_grant_ids: z.ZodArray<z.ZodString, "many">;
25672
25677
  access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25673
- } & {
25674
- event_type: z.ZodLiteral<"access_method.reissued">;
25675
25678
  code: z.ZodOptional<z.ZodString>;
25676
25679
  is_backup_code: z.ZodOptional<z.ZodBoolean>;
25680
+ } & {
25681
+ event_type: z.ZodLiteral<"access_method.reissued">;
25677
25682
  }, "strip", z.ZodTypeAny, {
25678
25683
  workspace_id: string;
25679
25684
  created_at: string;
@@ -25701,38 +25706,6 @@ declare const batch: z.ZodObject<{
25701
25706
  workspace_id: z.ZodString;
25702
25707
  created_at: z.ZodString;
25703
25708
  occurred_at: z.ZodString;
25704
- } & {
25705
- access_method_id: z.ZodString;
25706
- access_grant_ids: z.ZodArray<z.ZodString, "many">;
25707
- access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25708
- } & {
25709
- event_type: z.ZodLiteral<"access_method.code_changed">;
25710
- code: z.ZodString;
25711
- }, "strip", z.ZodTypeAny, {
25712
- code: string;
25713
- workspace_id: string;
25714
- created_at: string;
25715
- access_method_id: string;
25716
- event_id: string;
25717
- occurred_at: string;
25718
- event_type: "access_method.code_changed";
25719
- access_grant_ids: string[];
25720
- access_grant_keys?: string[] | undefined;
25721
- }, {
25722
- code: string;
25723
- workspace_id: string;
25724
- created_at: string;
25725
- access_method_id: string;
25726
- event_id: string;
25727
- occurred_at: string;
25728
- event_type: "access_method.code_changed";
25729
- access_grant_ids: string[];
25730
- access_grant_keys?: string[] | undefined;
25731
- }>, z.ZodObject<{
25732
- event_id: z.ZodString;
25733
- workspace_id: z.ZodString;
25734
- created_at: z.ZodString;
25735
- occurred_at: z.ZodString;
25736
25709
  } & {
25737
25710
  connected_account_id: z.ZodOptional<z.ZodString>;
25738
25711
  acs_system_id: z.ZodString;
@@ -31948,6 +31921,8 @@ declare const batch: z.ZodObject<{
31948
31921
  inviter_logo_url?: string | undefined;
31949
31922
  };
31950
31923
  connect_partner_name: string | null;
31924
+ is_publishable_key_auth_enabled: boolean;
31925
+ publishable_key?: string | undefined;
31951
31926
  }[] | undefined;
31952
31927
  acs_users?: {
31953
31928
  display_name: string;
@@ -33650,16 +33625,6 @@ declare const batch: z.ZodObject<{
33650
33625
  code?: string | undefined;
33651
33626
  access_grant_keys?: string[] | undefined;
33652
33627
  is_backup_code?: boolean | undefined;
33653
- } | {
33654
- code: string;
33655
- workspace_id: string;
33656
- created_at: string;
33657
- access_method_id: string;
33658
- event_id: string;
33659
- occurred_at: string;
33660
- event_type: "access_method.code_changed";
33661
- access_grant_ids: string[];
33662
- access_grant_keys?: string[] | undefined;
33663
33628
  } | {
33664
33629
  workspace_id: string;
33665
33630
  created_at: string;
@@ -35861,6 +35826,8 @@ declare const batch: z.ZodObject<{
35861
35826
  inviter_logo_url?: string | undefined;
35862
35827
  };
35863
35828
  connect_partner_name: string | null;
35829
+ is_publishable_key_auth_enabled: boolean;
35830
+ publishable_key?: string | undefined;
35864
35831
  }[] | undefined;
35865
35832
  acs_users?: {
35866
35833
  display_name: string;
@@ -37563,16 +37530,6 @@ declare const batch: z.ZodObject<{
37563
37530
  code?: string | undefined;
37564
37531
  access_grant_keys?: string[] | undefined;
37565
37532
  is_backup_code?: boolean | undefined;
37566
- } | {
37567
- code: string;
37568
- workspace_id: string;
37569
- created_at: string;
37570
- access_method_id: string;
37571
- event_id: string;
37572
- occurred_at: string;
37573
- event_type: "access_method.code_changed";
37574
- access_grant_ids: string[];
37575
- access_grant_keys?: string[] | undefined;
37576
37533
  } | {
37577
37534
  workspace_id: string;
37578
37535
  created_at: string;
@@ -48825,14 +48782,13 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48825
48782
  workspace_id: z.ZodString;
48826
48783
  created_at: z.ZodString;
48827
48784
  occurred_at: z.ZodString;
48828
- } & {
48829
48785
  access_method_id: z.ZodString;
48830
48786
  access_grant_ids: z.ZodArray<z.ZodString, "many">;
48831
48787
  access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
48832
- } & {
48833
- event_type: z.ZodLiteral<"access_method.reissued">;
48834
48788
  code: z.ZodOptional<z.ZodString>;
48835
48789
  is_backup_code: z.ZodOptional<z.ZodBoolean>;
48790
+ } & {
48791
+ event_type: z.ZodLiteral<"access_method.reissued">;
48836
48792
  }, "strip", z.ZodTypeAny, {
48837
48793
  workspace_id: string;
48838
48794
  created_at: string;
@@ -48860,38 +48816,6 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48860
48816
  workspace_id: z.ZodString;
48861
48817
  created_at: z.ZodString;
48862
48818
  occurred_at: z.ZodString;
48863
- } & {
48864
- access_method_id: z.ZodString;
48865
- access_grant_ids: z.ZodArray<z.ZodString, "many">;
48866
- access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
48867
- } & {
48868
- event_type: z.ZodLiteral<"access_method.code_changed">;
48869
- code: z.ZodString;
48870
- }, "strip", z.ZodTypeAny, {
48871
- code: string;
48872
- workspace_id: string;
48873
- created_at: string;
48874
- access_method_id: string;
48875
- event_id: string;
48876
- occurred_at: string;
48877
- event_type: "access_method.code_changed";
48878
- access_grant_ids: string[];
48879
- access_grant_keys?: string[] | undefined;
48880
- }, {
48881
- code: string;
48882
- workspace_id: string;
48883
- created_at: string;
48884
- access_method_id: string;
48885
- event_id: string;
48886
- occurred_at: string;
48887
- event_type: "access_method.code_changed";
48888
- access_grant_ids: string[];
48889
- access_grant_keys?: string[] | undefined;
48890
- }>, z.ZodObject<{
48891
- event_id: z.ZodString;
48892
- workspace_id: z.ZodString;
48893
- created_at: z.ZodString;
48894
- occurred_at: z.ZodString;
48895
48819
  } & {
48896
48820
  connected_account_id: z.ZodOptional<z.ZodString>;
48897
48821
  acs_system_id: z.ZodString;
@@ -51455,6 +51379,8 @@ declare const workspace: z.ZodObject<{
51455
51379
  }>;
51456
51380
  is_suspended: z.ZodBoolean;
51457
51381
  connect_partner_name: z.ZodNullable<z.ZodNullable<z.ZodString>>;
51382
+ publishable_key: z.ZodOptional<z.ZodString>;
51383
+ is_publishable_key_auth_enabled: z.ZodBoolean;
51458
51384
  }, "strip", z.ZodTypeAny, {
51459
51385
  name: string;
51460
51386
  workspace_id: string;
@@ -51469,6 +51395,8 @@ declare const workspace: z.ZodObject<{
51469
51395
  inviter_logo_url?: string | undefined;
51470
51396
  };
51471
51397
  connect_partner_name: string | null;
51398
+ is_publishable_key_auth_enabled: boolean;
51399
+ publishable_key?: string | undefined;
51472
51400
  }, {
51473
51401
  name: string;
51474
51402
  workspace_id: string;
@@ -51483,6 +51411,8 @@ declare const workspace: z.ZodObject<{
51483
51411
  inviter_logo_url?: string | undefined;
51484
51412
  };
51485
51413
  connect_partner_name: string | null;
51414
+ is_publishable_key_auth_enabled: boolean;
51415
+ publishable_key?: string | undefined;
51486
51416
  }>;
51487
51417
  type Workspace = z.infer<typeof workspace>;
51488
51418
 
@@ -59597,116 +59527,6 @@ declare const _default: {
59597
59527
  'x-route-path': string;
59598
59528
  deprecated?: never;
59599
59529
  'x-deprecated'?: never;
59600
- } | {
59601
- description: string;
59602
- properties: {
59603
- access_grant_ids: {
59604
- description: string;
59605
- items: {
59606
- format: string;
59607
- type: string;
59608
- };
59609
- type: string;
59610
- };
59611
- access_grant_keys: {
59612
- description: string;
59613
- items: {
59614
- type: string;
59615
- };
59616
- type: string;
59617
- };
59618
- access_method_id: {
59619
- description: string;
59620
- format: string;
59621
- type: string;
59622
- };
59623
- code: {
59624
- description: string;
59625
- type: string;
59626
- nullable?: never;
59627
- };
59628
- created_at: {
59629
- description: string;
59630
- format: string;
59631
- type: string;
59632
- };
59633
- event_id: {
59634
- description: string;
59635
- format: string;
59636
- type: string;
59637
- };
59638
- event_type: {
59639
- enum: string[];
59640
- type: string;
59641
- };
59642
- occurred_at: {
59643
- description: string;
59644
- format: string;
59645
- type: string;
59646
- };
59647
- workspace_id: {
59648
- description: string;
59649
- format: string;
59650
- type: string;
59651
- };
59652
- access_code_id?: never;
59653
- connected_account_custom_metadata?: never;
59654
- connected_account_id?: never;
59655
- device_custom_metadata?: never;
59656
- device_id?: never;
59657
- backup_access_code_id?: never;
59658
- access_grant_id?: never;
59659
- acs_entrance_id?: never;
59660
- access_grant_key?: never;
59661
- ends_at?: never;
59662
- starts_at?: never;
59663
- is_backup_code?: never;
59664
- acs_system_id?: never;
59665
- acs_credential_id?: never;
59666
- acs_user_id?: never;
59667
- acs_encoder_id?: never;
59668
- acs_access_group_id?: never;
59669
- client_session_id?: never;
59670
- connect_webview_id?: never;
59671
- customer_key?: never;
59672
- action_attempt_id?: never;
59673
- action_type?: never;
59674
- status?: never;
59675
- error_code?: never;
59676
- battery_level?: never;
59677
- battery_status?: never;
59678
- minut_metadata?: never;
59679
- noise_level_decibels?: never;
59680
- noise_level_nrs?: never;
59681
- noise_threshold_id?: never;
59682
- noise_threshold_name?: never;
59683
- noiseaware_metadata?: never;
59684
- method?: never;
59685
- climate_preset_key?: never;
59686
- is_fallback_climate_preset?: never;
59687
- thermostat_schedule_id?: never;
59688
- cooling_set_point_celsius?: never;
59689
- cooling_set_point_fahrenheit?: never;
59690
- fan_mode_setting?: never;
59691
- heating_set_point_celsius?: never;
59692
- heating_set_point_fahrenheit?: never;
59693
- hvac_mode_setting?: never;
59694
- lower_limit_celsius?: never;
59695
- lower_limit_fahrenheit?: never;
59696
- temperature_celsius?: never;
59697
- temperature_fahrenheit?: never;
59698
- upper_limit_celsius?: never;
59699
- upper_limit_fahrenheit?: never;
59700
- desired_temperature_celsius?: never;
59701
- desired_temperature_fahrenheit?: never;
59702
- device_name?: never;
59703
- enrollment_automation_id?: never;
59704
- };
59705
- required: string[];
59706
- type: string;
59707
- 'x-route-path': string;
59708
- deprecated?: never;
59709
- 'x-deprecated'?: never;
59710
59530
  } | {
59711
59531
  description: string;
59712
59532
  properties: {
@@ -65825,6 +65645,10 @@ declare const _default: {
65825
65645
  };
65826
65646
  type: string;
65827
65647
  };
65648
+ is_publishable_key_auth_enabled: {
65649
+ description: string;
65650
+ type: string;
65651
+ };
65828
65652
  is_sandbox: {
65829
65653
  description: string;
65830
65654
  type: string;
@@ -65837,6 +65661,10 @@ declare const _default: {
65837
65661
  description: string;
65838
65662
  type: string;
65839
65663
  };
65664
+ publishable_key: {
65665
+ description: string;
65666
+ type: string;
65667
+ };
65840
65668
  workspace_id: {
65841
65669
  description: string;
65842
65670
  format: string;
@@ -103640,6 +103468,10 @@ declare const _default: {
103640
103468
  };
103641
103469
  type: string;
103642
103470
  };
103471
+ is_publishable_key_auth_enabled: {
103472
+ description: string;
103473
+ type: string;
103474
+ };
103643
103475
  is_suspended: {
103644
103476
  description: string;
103645
103477
  type: string;
@@ -103724,6 +103556,10 @@ declare const _default: {
103724
103556
  };
103725
103557
  type: string;
103726
103558
  };
103559
+ is_publishable_key_auth_enabled: {
103560
+ description: string;
103561
+ type: string;
103562
+ };
103727
103563
  is_suspended: {
103728
103564
  description: string;
103729
103565
  type: string;
@@ -117136,6 +116972,10 @@ type Routes = {
117136
116972
  /**
117137
116973
  * @deprecated Use `company_name` instead.*/
117138
116974
  connect_partner_name: (string | null) | null;
116975
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
116976
+ publishable_key?: string | undefined;
116977
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
116978
+ is_publishable_key_auth_enabled: boolean;
117139
116979
  }[] | undefined;
117140
116980
  spaces?: {
117141
116981
  /** ID of the space. */
@@ -121753,24 +121593,6 @@ type Routes = {
121753
121593
  code?: string | undefined;
121754
121594
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
121755
121595
  is_backup_code?: boolean | undefined;
121756
- } | {
121757
- /** ID of the event. */
121758
- event_id: string;
121759
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
121760
- workspace_id: string;
121761
- /** Date and time at which the event was created. */
121762
- created_at: string;
121763
- /** Date and time at which the event occurred. */
121764
- occurred_at: string;
121765
- /** ID of the affected access method. */
121766
- access_method_id: string;
121767
- /** IDs of the access grants associated with this access method. */
121768
- access_grant_ids: string[];
121769
- /** Keys of the access grants associated with this access method (if present). */
121770
- access_grant_keys?: string[] | undefined;
121771
- event_type: 'access_method.code_changed';
121772
- /** The new PIN code for code access methods (only present when mode is 'code'). */
121773
- code: string;
121774
121596
  } | {
121775
121597
  /** ID of the event. */
121776
121598
  event_id: string;
@@ -139758,24 +139580,6 @@ type Routes = {
139758
139580
  code?: string | undefined;
139759
139581
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
139760
139582
  is_backup_code?: boolean | undefined;
139761
- } | {
139762
- /** ID of the event. */
139763
- event_id: string;
139764
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
139765
- workspace_id: string;
139766
- /** Date and time at which the event was created. */
139767
- created_at: string;
139768
- /** Date and time at which the event occurred. */
139769
- occurred_at: string;
139770
- /** ID of the affected access method. */
139771
- access_method_id: string;
139772
- /** IDs of the access grants associated with this access method. */
139773
- access_grant_ids: string[];
139774
- /** Keys of the access grants associated with this access method (if present). */
139775
- access_grant_keys?: string[] | undefined;
139776
- event_type: 'access_method.code_changed';
139777
- /** The new PIN code for code access methods (only present when mode is 'code'). */
139778
- code: string;
139779
139583
  } | {
139780
139584
  /** ID of the event. */
139781
139585
  event_id: string;
@@ -141101,9 +140905,9 @@ type Routes = {
141101
140905
  /** IDs of the access codes for which you want to list events. */
141102
140906
  access_code_ids?: string[] | undefined;
141103
140907
  /** Type of the events that you want to list. */
141104
- event_type?: ('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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
140908
+ event_type?: ('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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
141105
140909
  /** Types of the events that you want to list. */
141106
- event_types?: ('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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
140910
+ event_types?: ('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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
141107
140911
  /** ID of the connected account for which you want to list events. */
141108
140912
  connected_account_id?: string | undefined;
141109
140913
  /** ID of the Connect Webview for which you want to list events. */
@@ -141700,24 +141504,6 @@ type Routes = {
141700
141504
  code?: string | undefined;
141701
141505
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
141702
141506
  is_backup_code?: boolean | undefined;
141703
- } | {
141704
- /** ID of the event. */
141705
- event_id: string;
141706
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
141707
- workspace_id: string;
141708
- /** Date and time at which the event was created. */
141709
- created_at: string;
141710
- /** Date and time at which the event occurred. */
141711
- occurred_at: string;
141712
- /** ID of the affected access method. */
141713
- access_method_id: string;
141714
- /** IDs of the access grants associated with this access method. */
141715
- access_grant_ids: string[];
141716
- /** Keys of the access grants associated with this access method (if present). */
141717
- access_grant_keys?: string[] | undefined;
141718
- event_type: 'access_method.code_changed';
141719
- /** The new PIN code for code access methods (only present when mode is 'code'). */
141720
- code: string;
141721
141507
  } | {
141722
141508
  /** ID of the event. */
141723
141509
  event_id: string;
@@ -160212,9 +159998,9 @@ type Routes = {
160212
159998
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
160213
159999
  between?: (string | Date)[] | undefined;
160214
160000
  /** Type of the events that you want to list. */
160215
- event_type?: ('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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
160001
+ event_type?: ('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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
160216
160002
  /** Types of the events that you want to list. */
160217
- event_types?: ('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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
160003
+ event_types?: ('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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
160218
160004
  /** Numerical limit on the number of events to return. */
160219
160005
  limit?: number;
160220
160006
  };
@@ -160805,24 +160591,6 @@ type Routes = {
160805
160591
  code?: string | undefined;
160806
160592
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
160807
160593
  is_backup_code?: boolean | undefined;
160808
- } | {
160809
- /** ID of the event. */
160810
- event_id: string;
160811
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
160812
- workspace_id: string;
160813
- /** Date and time at which the event was created. */
160814
- created_at: string;
160815
- /** Date and time at which the event occurred. */
160816
- occurred_at: string;
160817
- /** ID of the affected access method. */
160818
- access_method_id: string;
160819
- /** IDs of the access grants associated with this access method. */
160820
- access_grant_ids: string[];
160821
- /** Keys of the access grants associated with this access method (if present). */
160822
- access_grant_keys?: string[] | undefined;
160823
- event_type: 'access_method.code_changed';
160824
- /** The new PIN code for code access methods (only present when mode is 'code'). */
160825
- code: string;
160826
160594
  } | {
160827
160595
  /** ID of the event. */
160828
160596
  event_id: string;
@@ -183699,6 +183467,10 @@ type Routes = {
183699
183467
  /**
183700
183468
  * @deprecated Use `company_name` instead.*/
183701
183469
  connect_partner_name: (string | null) | null;
183470
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
183471
+ publishable_key?: string | undefined;
183472
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
183473
+ is_publishable_key_auth_enabled: boolean;
183702
183474
  };
183703
183475
  };
183704
183476
  };
@@ -183879,6 +183651,10 @@ type Routes = {
183879
183651
  /**
183880
183652
  * @deprecated Use `company_name` instead.*/
183881
183653
  connect_partner_name: (string | null) | null;
183654
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
183655
+ publishable_key?: string | undefined;
183656
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
183657
+ is_publishable_key_auth_enabled: boolean;
183882
183658
  }[] | undefined;
183883
183659
  spaces?: {
183884
183660
  /** ID of the space. */
@@ -188496,24 +188272,6 @@ type Routes = {
188496
188272
  code?: string | undefined;
188497
188273
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
188498
188274
  is_backup_code?: boolean | undefined;
188499
- } | {
188500
- /** ID of the event. */
188501
- event_id: string;
188502
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
188503
- workspace_id: string;
188504
- /** Date and time at which the event was created. */
188505
- created_at: string;
188506
- /** Date and time at which the event occurred. */
188507
- occurred_at: string;
188508
- /** ID of the affected access method. */
188509
- access_method_id: string;
188510
- /** IDs of the access grants associated with this access method. */
188511
- access_grant_ids: string[];
188512
- /** Keys of the access grants associated with this access method (if present). */
188513
- access_grant_keys?: string[] | undefined;
188514
- event_type: 'access_method.code_changed';
188515
- /** The new PIN code for code access methods (only present when mode is 'code'). */
188516
- code: string;
188517
188275
  } | {
188518
188276
  /** ID of the event. */
188519
188277
  event_id: string;
@@ -190943,6 +190701,10 @@ type Routes = {
190943
190701
  /**
190944
190702
  * @deprecated Use `company_name` instead.*/
190945
190703
  connect_partner_name: (string | null) | null;
190704
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
190705
+ publishable_key?: string | undefined;
190706
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
190707
+ is_publishable_key_auth_enabled: boolean;
190946
190708
  };
190947
190709
  };
190948
190710
  };
@@ -190980,6 +190742,10 @@ type Routes = {
190980
190742
  /**
190981
190743
  * @deprecated Use `company_name` instead.*/
190982
190744
  connect_partner_name: (string | null) | null;
190745
+ /** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
190746
+ publishable_key?: string | undefined;
190747
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
190748
+ is_publishable_key_auth_enabled: boolean;
190983
190749
  }[];
190984
190750
  };
190985
190751
  };
@@ -192258,6 +192024,8 @@ type Routes = {
192258
192024
  /** Logo shape for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
192259
192025
  logo_shape?: (('circle' | 'square') | null) | undefined;
192260
192026
  } | undefined;
192027
+ /** Indicates whether publishable key authentication is enabled for this workspace. */
192028
+ is_publishable_key_auth_enabled?: boolean | undefined;
192261
192029
  /** Indicates whether the workspace is suspended. */
192262
192030
  is_suspended?: boolean | undefined;
192263
192031
  };