@seamapi/types 1.366.0 → 1.367.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.
@@ -34621,6 +34621,30 @@ export interface Routes {
34621
34621
  bridge_client_name: string
34622
34622
  bridge_client_time_zone: string
34623
34623
  bridge_client_machine_identifier_key: string
34624
+ errors: Array<
34625
+ | {
34626
+ message: string
34627
+ created_at: string
34628
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34629
+ error_code: 'bridge_lan_unreachable'
34630
+ /** Seam cannot reach the tailscale proxy */
34631
+ is_tailscale_proxy_reachable: boolean
34632
+ /** Tailscale proxy's SOCKS server is unhealthy */
34633
+ is_tailscale_proxy_socks_server_healthy: boolean
34634
+ /** Tailscale proxy cannot reach the Tailscale network */
34635
+ can_tailscale_proxy_reach_tailscale_network: boolean
34636
+ /** Tailscale proxy cannot reach the bridge */
34637
+ can_tailscale_proxy_reach_bridge: boolean
34638
+ /** Bridge's SOCKS server is unhealthy */
34639
+ is_bridge_socks_server_healthy: boolean
34640
+ }
34641
+ | {
34642
+ message: string
34643
+ created_at: string
34644
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34645
+ error_code: 'no_communication_from_bridge'
34646
+ }
34647
+ >
34624
34648
  }
34625
34649
  }
34626
34650
  }
@@ -34644,6 +34668,30 @@ export interface Routes {
34644
34668
  bridge_client_name: string
34645
34669
  bridge_client_time_zone: string
34646
34670
  bridge_client_machine_identifier_key: string
34671
+ errors: Array<
34672
+ | {
34673
+ message: string
34674
+ created_at: string
34675
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34676
+ error_code: 'bridge_lan_unreachable'
34677
+ /** Seam cannot reach the tailscale proxy */
34678
+ is_tailscale_proxy_reachable: boolean
34679
+ /** Tailscale proxy's SOCKS server is unhealthy */
34680
+ is_tailscale_proxy_socks_server_healthy: boolean
34681
+ /** Tailscale proxy cannot reach the Tailscale network */
34682
+ can_tailscale_proxy_reach_tailscale_network: boolean
34683
+ /** Tailscale proxy cannot reach the bridge */
34684
+ can_tailscale_proxy_reach_bridge: boolean
34685
+ /** Bridge's SOCKS server is unhealthy */
34686
+ is_bridge_socks_server_healthy: boolean
34687
+ }
34688
+ | {
34689
+ message: string
34690
+ created_at: string
34691
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34692
+ error_code: 'no_communication_from_bridge'
34693
+ }
34694
+ >
34647
34695
  }
34648
34696
  }
34649
34697
  }
@@ -34667,6 +34715,30 @@ export interface Routes {
34667
34715
  bridge_client_name: string
34668
34716
  bridge_client_time_zone: string
34669
34717
  bridge_client_machine_identifier_key: string
34718
+ errors: Array<
34719
+ | {
34720
+ message: string
34721
+ created_at: string
34722
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34723
+ error_code: 'bridge_lan_unreachable'
34724
+ /** Seam cannot reach the tailscale proxy */
34725
+ is_tailscale_proxy_reachable: boolean
34726
+ /** Tailscale proxy's SOCKS server is unhealthy */
34727
+ is_tailscale_proxy_socks_server_healthy: boolean
34728
+ /** Tailscale proxy cannot reach the Tailscale network */
34729
+ can_tailscale_proxy_reach_tailscale_network: boolean
34730
+ /** Tailscale proxy cannot reach the bridge */
34731
+ can_tailscale_proxy_reach_bridge: boolean
34732
+ /** Bridge's SOCKS server is unhealthy */
34733
+ is_bridge_socks_server_healthy: boolean
34734
+ }
34735
+ | {
34736
+ message: string
34737
+ created_at: string
34738
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34739
+ error_code: 'no_communication_from_bridge'
34740
+ }
34741
+ >
34670
34742
  }
34671
34743
  }
34672
34744
  }
@@ -45427,7 +45499,7 @@ export interface Routes {
45427
45499
  }
45428
45500
  '/unstable_locations/add_devices': {
45429
45501
  route: '/unstable_locations/add_devices'
45430
- method: 'POST'
45502
+ method: 'POST' | 'PUT'
45431
45503
  queryParams: {}
45432
45504
  jsonBody: {
45433
45505
  location_id: string
@@ -45459,6 +45531,8 @@ export interface Routes {
45459
45531
  location_id: string
45460
45532
  /** Unique identifier for the Seam workspace associated with the location. */
45461
45533
  workspace_id: string
45534
+ /** Name of the location. */
45535
+ name: string
45462
45536
  /** Display name of the location. */
45463
45537
  display_name: string
45464
45538
  /** Geographical location of the location. */
@@ -45501,6 +45575,8 @@ export interface Routes {
45501
45575
  location_id: string
45502
45576
  /** Unique identifier for the Seam workspace associated with the location. */
45503
45577
  workspace_id: string
45578
+ /** Name of the location. */
45579
+ name: string
45504
45580
  /** Display name of the location. */
45505
45581
  display_name: string
45506
45582
  /** Geographical location of the location. */
@@ -45530,6 +45606,8 @@ export interface Routes {
45530
45606
  location_id: string
45531
45607
  /** Unique identifier for the Seam workspace associated with the location. */
45532
45608
  workspace_id: string
45609
+ /** Name of the location. */
45610
+ name: string
45533
45611
  /** Display name of the location. */
45534
45612
  display_name: string
45535
45613
  /** Geographical location of the location. */
@@ -45548,19 +45626,19 @@ export interface Routes {
45548
45626
  }
45549
45627
  '/unstable_locations/remove_devices': {
45550
45628
  route: '/unstable_locations/remove_devices'
45551
- method: 'POST'
45629
+ method: 'POST' | 'DELETE'
45552
45630
  queryParams: {}
45553
- jsonBody: {
45631
+ jsonBody: {}
45632
+ commonParams: {
45554
45633
  location_id: string
45555
45634
  device_ids: string[]
45556
45635
  }
45557
- commonParams: {}
45558
45636
  formData: {}
45559
45637
  jsonResponse: {}
45560
45638
  }
45561
45639
  '/unstable_locations/update': {
45562
45640
  route: '/unstable_locations/update'
45563
- method: 'POST'
45641
+ method: 'POST' | 'PATCH'
45564
45642
  queryParams: {}
45565
45643
  jsonBody: {
45566
45644
  location_id: string
@@ -45581,6 +45659,8 @@ export interface Routes {
45581
45659
  location_id: string
45582
45660
  /** Unique identifier for the Seam workspace associated with the location. */
45583
45661
  workspace_id: string
45662
+ /** Name of the location. */
45663
+ name: string
45584
45664
  /** Display name of the location. */
45585
45665
  display_name: string
45586
45666
  /** Geographical location of the location. */