@seamapi/types 1.360.0 → 1.361.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.
Files changed (61) hide show
  1. package/dist/connect.cjs +1645 -1159
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +5946 -4573
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +192 -126
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -4
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +193 -127
  8. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  9. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  10. package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
  11. package/lib/seam/connect/models/acs/acs-credential.js +94 -51
  12. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  14. package/lib/seam/connect/models/acs/acs-encoder.js +12 -7
  15. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  16. package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
  17. package/lib/seam/connect/models/acs/acs-entrance.js +37 -14
  18. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  19. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  20. package/lib/seam/connect/models/acs/acs-system.js +48 -41
  21. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  22. package/lib/seam/connect/models/acs/acs-user.d.ts +4 -4
  23. package/lib/seam/connect/models/acs/acs-user.js +45 -32
  24. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  25. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +26 -26
  26. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  27. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
  28. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +42 -42
  29. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
  30. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
  31. package/lib/seam/connect/models/devices/device.d.ts +1760 -389
  32. package/lib/seam/connect/models/devices/device.js +82 -4
  33. package/lib/seam/connect/models/devices/device.js.map +1 -1
  34. package/lib/seam/connect/models/devices/phone.d.ts +4 -4
  35. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +236 -58
  36. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  37. package/lib/seam/connect/models/events/devices.d.ts +152 -152
  38. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  39. package/lib/seam/connect/models/events/seam-event.d.ts +112 -112
  40. package/lib/seam/connect/models/thermostats/climate-preset.js +12 -10
  41. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  42. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +8 -8
  43. package/lib/seam/connect/models/thermostats/thermostat-schedule.js +19 -12
  44. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
  45. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  46. package/lib/seam/connect/openapi.d.ts +103 -171
  47. package/lib/seam/connect/openapi.js +1120 -864
  48. package/lib/seam/connect/openapi.js.map +1 -1
  49. package/lib/seam/connect/route-types.d.ts +4421 -3576
  50. package/package.json +1 -1
  51. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -4
  52. package/src/lib/seam/connect/models/acs/acs-credential.ts +162 -51
  53. package/src/lib/seam/connect/models/acs/acs-encoder.ts +22 -7
  54. package/src/lib/seam/connect/models/acs/acs-entrance.ts +65 -18
  55. package/src/lib/seam/connect/models/acs/acs-system.ts +81 -52
  56. package/src/lib/seam/connect/models/acs/acs-user.ts +69 -32
  57. package/src/lib/seam/connect/models/devices/device.ts +103 -4
  58. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +28 -10
  59. package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +31 -12
  60. package/src/lib/seam/connect/openapi.ts +1259 -878
  61. package/src/lib/seam/connect/route-types.ts +4469 -3648
@@ -1618,31 +1618,31 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1618
1618
  error_code: string;
1619
1619
  }>, "many">;
1620
1620
  }, "strip", z.ZodTypeAny, {
1621
- created_at: string;
1622
- errors: {
1623
- message: string;
1624
- error_code: string;
1625
- }[];
1626
1621
  climate_preset_key: string;
1627
1622
  thermostat_schedule_id: string;
1628
1623
  device_id: string;
1629
1624
  max_override_period_minutes: number;
1630
1625
  starts_at: string;
1631
1626
  ends_at: string;
1632
- name?: string | undefined;
1633
- unstable_is_override_allowed?: boolean | undefined;
1634
- }, {
1635
1627
  created_at: string;
1636
1628
  errors: {
1637
1629
  message: string;
1638
1630
  error_code: string;
1639
1631
  }[];
1632
+ name?: string | undefined;
1633
+ unstable_is_override_allowed?: boolean | undefined;
1634
+ }, {
1640
1635
  climate_preset_key: string;
1641
1636
  thermostat_schedule_id: string;
1642
1637
  device_id: string;
1643
1638
  max_override_period_minutes: number;
1644
1639
  starts_at: string;
1645
1640
  ends_at: string;
1641
+ created_at: string;
1642
+ errors: {
1643
+ message: string;
1644
+ error_code: string;
1645
+ }[];
1646
1646
  name?: string | undefined;
1647
1647
  unstable_is_override_allowed?: boolean | undefined;
1648
1648
  }>>>>;
@@ -1727,17 +1727,17 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1727
1727
  }[] | undefined;
1728
1728
  fallback_climate_preset_key?: string | null | undefined;
1729
1729
  active_thermostat_schedule?: {
1730
- created_at: string;
1731
- errors: {
1732
- message: string;
1733
- error_code: string;
1734
- }[];
1735
1730
  climate_preset_key: string;
1736
1731
  thermostat_schedule_id: string;
1737
1732
  device_id: string;
1738
1733
  max_override_period_minutes: number;
1739
1734
  starts_at: string;
1740
1735
  ends_at: string;
1736
+ created_at: string;
1737
+ errors: {
1738
+ message: string;
1739
+ error_code: string;
1740
+ }[];
1741
1741
  name?: string | undefined;
1742
1742
  unstable_is_override_allowed?: boolean | undefined;
1743
1743
  } | null | undefined;
@@ -1812,17 +1812,17 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1812
1812
  }[] | undefined;
1813
1813
  fallback_climate_preset_key?: string | null | undefined;
1814
1814
  active_thermostat_schedule?: {
1815
- created_at: string;
1816
- errors: {
1817
- message: string;
1818
- error_code: string;
1819
- }[];
1820
1815
  climate_preset_key: string;
1821
1816
  thermostat_schedule_id: string;
1822
1817
  device_id: string;
1823
1818
  max_override_period_minutes: number;
1824
1819
  starts_at: string;
1825
1820
  ends_at: string;
1821
+ created_at: string;
1822
+ errors: {
1823
+ message: string;
1824
+ error_code: string;
1825
+ }[];
1826
1826
  name?: string | undefined;
1827
1827
  unstable_is_override_allowed?: boolean | undefined;
1828
1828
  } | null | undefined;
@@ -1858,160 +1858,220 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1858
1858
  errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
1859
1859
  message: z.ZodString;
1860
1860
  is_device_error: z.ZodLiteral<true>;
1861
+ created_at: z.ZodString;
1862
+ }, {
1863
+ error_code: z.ZodLiteral<"account_disconnected">;
1864
+ is_connected_account_error: z.ZodLiteral<true>;
1865
+ is_device_error: z.ZodLiteral<false>;
1866
+ }>, "strip", z.ZodTypeAny, {
1867
+ message: string;
1868
+ created_at: string;
1869
+ error_code: "account_disconnected";
1870
+ is_connected_account_error: true;
1871
+ is_device_error: false;
1872
+ }, {
1873
+ message: string;
1874
+ created_at: string;
1875
+ error_code: "account_disconnected";
1876
+ is_connected_account_error: true;
1877
+ is_device_error: false;
1878
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1879
+ message: z.ZodString;
1880
+ is_device_error: z.ZodLiteral<true>;
1881
+ created_at: z.ZodString;
1882
+ }, {
1883
+ error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
1884
+ is_connected_account_error: z.ZodLiteral<true>;
1885
+ is_device_error: z.ZodLiteral<false>;
1886
+ }>, "strip", z.ZodTypeAny, {
1887
+ message: string;
1888
+ created_at: string;
1889
+ error_code: "salto_ks_subscription_limit_exceeded";
1890
+ is_connected_account_error: true;
1891
+ is_device_error: false;
1892
+ }, {
1893
+ message: string;
1894
+ created_at: string;
1895
+ error_code: "salto_ks_subscription_limit_exceeded";
1896
+ is_connected_account_error: true;
1897
+ is_device_error: false;
1898
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1899
+ message: z.ZodString;
1900
+ is_device_error: z.ZodLiteral<true>;
1901
+ created_at: z.ZodString;
1861
1902
  }, {
1862
1903
  error_code: z.ZodLiteral<"device_offline">;
1863
1904
  }>, "strip", z.ZodTypeAny, {
1864
1905
  message: string;
1906
+ created_at: string;
1865
1907
  error_code: "device_offline";
1866
1908
  is_device_error: true;
1867
1909
  }, {
1868
1910
  message: string;
1911
+ created_at: string;
1869
1912
  error_code: "device_offline";
1870
1913
  is_device_error: true;
1871
1914
  }>, z.ZodObject<z.objectUtil.extendShape<{
1872
1915
  message: z.ZodString;
1873
1916
  is_device_error: z.ZodLiteral<true>;
1917
+ created_at: z.ZodString;
1874
1918
  }, {
1875
1919
  error_code: z.ZodLiteral<"device_removed">;
1876
1920
  }>, "strip", z.ZodTypeAny, {
1877
1921
  message: string;
1922
+ created_at: string;
1878
1923
  error_code: "device_removed";
1879
1924
  is_device_error: true;
1880
1925
  }, {
1881
1926
  message: string;
1927
+ created_at: string;
1882
1928
  error_code: "device_removed";
1883
1929
  is_device_error: true;
1884
1930
  }>, z.ZodObject<z.objectUtil.extendShape<{
1885
1931
  message: z.ZodString;
1886
1932
  is_device_error: z.ZodLiteral<true>;
1933
+ created_at: z.ZodString;
1887
1934
  }, {
1888
1935
  error_code: z.ZodLiteral<"hub_disconnected">;
1889
1936
  }>, "strip", z.ZodTypeAny, {
1890
1937
  message: string;
1938
+ created_at: string;
1891
1939
  error_code: "hub_disconnected";
1892
1940
  is_device_error: true;
1893
1941
  }, {
1894
1942
  message: string;
1943
+ created_at: string;
1895
1944
  error_code: "hub_disconnected";
1896
1945
  is_device_error: true;
1897
1946
  }>, z.ZodObject<z.objectUtil.extendShape<{
1898
1947
  message: z.ZodString;
1899
1948
  is_device_error: z.ZodLiteral<true>;
1949
+ created_at: z.ZodString;
1900
1950
  }, {
1901
1951
  error_code: z.ZodLiteral<"device_disconnected">;
1902
1952
  }>, "strip", z.ZodTypeAny, {
1903
1953
  message: string;
1954
+ created_at: string;
1904
1955
  error_code: "device_disconnected";
1905
1956
  is_device_error: true;
1906
1957
  }, {
1907
1958
  message: string;
1959
+ created_at: string;
1908
1960
  error_code: "device_disconnected";
1909
1961
  is_device_error: true;
1910
1962
  }>, z.ZodObject<z.objectUtil.extendShape<{
1911
1963
  message: z.ZodString;
1912
1964
  is_device_error: z.ZodLiteral<true>;
1965
+ created_at: z.ZodString;
1913
1966
  }, {
1914
1967
  error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
1915
1968
  }>, "strip", z.ZodTypeAny, {
1916
1969
  message: string;
1970
+ created_at: string;
1917
1971
  error_code: "empty_backup_access_code_pool";
1918
1972
  is_device_error: true;
1919
1973
  }, {
1920
1974
  message: string;
1975
+ created_at: string;
1921
1976
  error_code: "empty_backup_access_code_pool";
1922
1977
  is_device_error: true;
1923
1978
  }>, z.ZodObject<z.objectUtil.extendShape<{
1924
1979
  message: z.ZodString;
1925
1980
  is_device_error: z.ZodLiteral<true>;
1981
+ created_at: z.ZodString;
1926
1982
  }, {
1927
1983
  error_code: z.ZodLiteral<"august_lock_not_authorized">;
1928
1984
  }>, "strip", z.ZodTypeAny, {
1929
1985
  message: string;
1986
+ created_at: string;
1930
1987
  error_code: "august_lock_not_authorized";
1931
1988
  is_device_error: true;
1932
1989
  }, {
1933
1990
  message: string;
1991
+ created_at: string;
1934
1992
  error_code: "august_lock_not_authorized";
1935
1993
  is_device_error: true;
1936
1994
  }>, z.ZodObject<z.objectUtil.extendShape<{
1937
1995
  message: z.ZodString;
1938
1996
  is_device_error: z.ZodLiteral<true>;
1997
+ created_at: z.ZodString;
1939
1998
  }, {
1940
1999
  error_code: z.ZodLiteral<"august_lock_missing_bridge">;
1941
2000
  }>, "strip", z.ZodTypeAny, {
1942
2001
  message: string;
2002
+ created_at: string;
1943
2003
  error_code: "august_lock_missing_bridge";
1944
2004
  is_device_error: true;
1945
2005
  }, {
1946
2006
  message: string;
2007
+ created_at: string;
1947
2008
  error_code: "august_lock_missing_bridge";
1948
2009
  is_device_error: true;
1949
2010
  }>, z.ZodObject<z.objectUtil.extendShape<{
1950
2011
  message: z.ZodString;
1951
2012
  is_device_error: z.ZodLiteral<true>;
1952
- }, {
1953
- error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
1954
- }>, "strip", z.ZodTypeAny, {
1955
- message: string;
1956
- error_code: "salto_site_user_limit_reached";
1957
- is_device_error: true;
1958
- }, {
1959
- message: string;
1960
- error_code: "salto_site_user_limit_reached";
1961
- is_device_error: true;
1962
- }>, z.ZodObject<z.objectUtil.extendShape<{
1963
- message: z.ZodString;
1964
- is_device_error: z.ZodLiteral<true>;
2013
+ created_at: z.ZodString;
1965
2014
  }, {
1966
2015
  error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
1967
2016
  }>, "strip", z.ZodTypeAny, {
1968
2017
  message: string;
2018
+ created_at: string;
1969
2019
  error_code: "ttlock_lock_not_paired_to_gateway";
1970
2020
  is_device_error: true;
1971
2021
  }, {
1972
2022
  message: string;
2023
+ created_at: string;
1973
2024
  error_code: "ttlock_lock_not_paired_to_gateway";
1974
2025
  is_device_error: true;
1975
2026
  }>, z.ZodObject<z.objectUtil.extendShape<{
1976
2027
  message: z.ZodString;
1977
2028
  is_device_error: z.ZodLiteral<true>;
2029
+ created_at: z.ZodString;
1978
2030
  }, {
1979
2031
  error_code: z.ZodLiteral<"missing_device_credentials">;
1980
2032
  }>, "strip", z.ZodTypeAny, {
1981
2033
  message: string;
2034
+ created_at: string;
1982
2035
  error_code: "missing_device_credentials";
1983
2036
  is_device_error: true;
1984
2037
  }, {
1985
2038
  message: string;
2039
+ created_at: string;
1986
2040
  error_code: "missing_device_credentials";
1987
2041
  is_device_error: true;
1988
2042
  }>, z.ZodObject<z.objectUtil.extendShape<{
1989
2043
  message: z.ZodString;
1990
2044
  is_device_error: z.ZodLiteral<true>;
2045
+ created_at: z.ZodString;
1991
2046
  }, {
1992
2047
  error_code: z.ZodLiteral<"auxiliary_heat_running">;
1993
2048
  }>, "strip", z.ZodTypeAny, {
1994
2049
  message: string;
2050
+ created_at: string;
1995
2051
  error_code: "auxiliary_heat_running";
1996
2052
  is_device_error: true;
1997
2053
  }, {
1998
2054
  message: string;
2055
+ created_at: string;
1999
2056
  error_code: "auxiliary_heat_running";
2000
2057
  is_device_error: true;
2001
2058
  }>, z.ZodObject<z.objectUtil.extendShape<{
2002
2059
  message: z.ZodString;
2003
2060
  is_device_error: z.ZodLiteral<true>;
2061
+ created_at: z.ZodString;
2004
2062
  }, {
2005
2063
  error_code: z.ZodLiteral<"subscription_required">;
2006
2064
  }>, "strip", z.ZodTypeAny, {
2007
2065
  message: string;
2066
+ created_at: string;
2008
2067
  error_code: "subscription_required";
2009
2068
  is_device_error: true;
2010
2069
  }, {
2011
2070
  message: string;
2071
+ created_at: string;
2012
2072
  error_code: "subscription_required";
2013
2073
  is_device_error: true;
2014
- }>, z.ZodObject<z.objectUtil.extendShape<{
2074
+ }>, ...(z.ZodObject<z.objectUtil.extendShape<{
2015
2075
  created_at: z.ZodString;
2016
2076
  message: z.ZodString;
2017
2077
  is_connected_account_error: z.ZodLiteral<true>;
@@ -2020,14 +2080,14 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2020
2080
  }>, "strip", z.ZodTypeAny, {
2021
2081
  message: string;
2022
2082
  created_at: string;
2023
- is_connected_account_error: true;
2024
2083
  error_code: "account_disconnected";
2084
+ is_connected_account_error: true;
2025
2085
  }, {
2026
2086
  message: string;
2027
2087
  created_at: string;
2028
- is_connected_account_error: true;
2029
2088
  error_code: "account_disconnected";
2030
- }>, z.ZodObject<z.objectUtil.extendShape<{
2089
+ is_connected_account_error: true;
2090
+ }> | z.ZodObject<z.objectUtil.extendShape<{
2031
2091
  created_at: z.ZodString;
2032
2092
  message: z.ZodString;
2033
2093
  is_connected_account_error: z.ZodLiteral<true>;
@@ -2036,14 +2096,14 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2036
2096
  }>, "strip", z.ZodTypeAny, {
2037
2097
  message: string;
2038
2098
  created_at: string;
2039
- is_connected_account_error: true;
2040
2099
  error_code: "invalid_credentials";
2100
+ is_connected_account_error: true;
2041
2101
  }, {
2042
2102
  message: string;
2043
2103
  created_at: string;
2044
- is_connected_account_error: true;
2045
2104
  error_code: "invalid_credentials";
2046
- }>, z.ZodObject<z.objectUtil.extendShape<{
2105
+ is_connected_account_error: true;
2106
+ }> | z.ZodObject<z.objectUtil.extendShape<{
2047
2107
  created_at: z.ZodString;
2048
2108
  message: z.ZodString;
2049
2109
  is_connected_account_error: z.ZodLiteral<true>;
@@ -2084,8 +2144,8 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2084
2144
  }>, "strip", z.ZodTypeAny, {
2085
2145
  message: string;
2086
2146
  created_at: string;
2087
- is_connected_account_error: true;
2088
2147
  error_code: "salto_ks_subscription_limit_exceeded";
2148
+ is_connected_account_error: true;
2089
2149
  salto_ks_metadata: {
2090
2150
  sites: {
2091
2151
  site_id: string;
@@ -2097,8 +2157,8 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2097
2157
  }, {
2098
2158
  message: string;
2099
2159
  created_at: string;
2100
- is_connected_account_error: true;
2101
2160
  error_code: "salto_ks_subscription_limit_exceeded";
2161
+ is_connected_account_error: true;
2102
2162
  salto_ks_metadata: {
2103
2163
  sites: {
2104
2164
  site_id: string;
@@ -2107,166 +2167,214 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2107
2167
  site_user_subscription_limit: number;
2108
2168
  }[];
2109
2169
  };
2110
- }>]>, "many">;
2170
+ }>)[]]>, "many">;
2111
2171
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
2112
2172
  message: z.ZodString;
2173
+ created_at: z.ZodString;
2113
2174
  }, {
2114
2175
  warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
2115
2176
  }>, "strip", z.ZodTypeAny, {
2116
2177
  message: string;
2178
+ created_at: string;
2117
2179
  warning_code: "partial_backup_access_code_pool";
2118
2180
  }, {
2119
2181
  message: string;
2182
+ created_at: string;
2120
2183
  warning_code: "partial_backup_access_code_pool";
2121
2184
  }>, z.ZodObject<z.objectUtil.extendShape<{
2122
2185
  message: z.ZodString;
2186
+ created_at: z.ZodString;
2123
2187
  }, {
2124
2188
  warning_code: z.ZodLiteral<"many_active_backup_codes">;
2125
2189
  }>, "strip", z.ZodTypeAny, {
2126
2190
  message: string;
2191
+ created_at: string;
2127
2192
  warning_code: "many_active_backup_codes";
2128
2193
  }, {
2129
2194
  message: string;
2195
+ created_at: string;
2130
2196
  warning_code: "many_active_backup_codes";
2131
2197
  }>, z.ZodObject<z.objectUtil.extendShape<{
2132
2198
  message: z.ZodString;
2199
+ created_at: z.ZodString;
2133
2200
  }, {
2134
2201
  warning_code: z.ZodLiteral<"salto_unknown_device_type">;
2135
2202
  }>, "strip", z.ZodTypeAny, {
2136
2203
  message: string;
2204
+ created_at: string;
2137
2205
  warning_code: "salto_unknown_device_type";
2138
2206
  }, {
2139
2207
  message: string;
2208
+ created_at: string;
2140
2209
  warning_code: "salto_unknown_device_type";
2141
2210
  }>, z.ZodObject<z.objectUtil.extendShape<{
2142
2211
  message: z.ZodString;
2212
+ created_at: z.ZodString;
2143
2213
  }, {
2144
2214
  warning_code: z.ZodLiteral<"wyze_device_missing_gateway">;
2145
2215
  }>, "strip", z.ZodTypeAny, {
2146
2216
  message: string;
2217
+ created_at: string;
2147
2218
  warning_code: "wyze_device_missing_gateway";
2148
2219
  }, {
2149
2220
  message: string;
2221
+ created_at: string;
2150
2222
  warning_code: "wyze_device_missing_gateway";
2151
2223
  }>, z.ZodObject<z.objectUtil.extendShape<{
2152
2224
  message: z.ZodString;
2225
+ created_at: z.ZodString;
2153
2226
  }, {
2154
2227
  warning_code: z.ZodLiteral<"functional_offline_device">;
2155
2228
  }>, "strip", z.ZodTypeAny, {
2156
2229
  message: string;
2230
+ created_at: string;
2157
2231
  warning_code: "functional_offline_device";
2158
2232
  }, {
2159
2233
  message: string;
2234
+ created_at: string;
2160
2235
  warning_code: "functional_offline_device";
2161
2236
  }>, z.ZodObject<z.objectUtil.extendShape<{
2162
2237
  message: z.ZodString;
2238
+ created_at: z.ZodString;
2163
2239
  }, {
2164
2240
  warning_code: z.ZodLiteral<"third_party_integration_detected">;
2165
2241
  }>, "strip", z.ZodTypeAny, {
2166
2242
  message: string;
2243
+ created_at: string;
2167
2244
  warning_code: "third_party_integration_detected";
2168
2245
  }, {
2169
2246
  message: string;
2247
+ created_at: string;
2170
2248
  warning_code: "third_party_integration_detected";
2171
2249
  }>, z.ZodObject<z.objectUtil.extendShape<{
2172
2250
  message: z.ZodString;
2251
+ created_at: z.ZodString;
2173
2252
  }, {
2174
2253
  warning_code: z.ZodLiteral<"nest_thermostat_in_manual_eco_mode">;
2175
2254
  }>, "strip", z.ZodTypeAny, {
2176
2255
  message: string;
2256
+ created_at: string;
2177
2257
  warning_code: "nest_thermostat_in_manual_eco_mode";
2178
2258
  }, {
2179
2259
  message: string;
2260
+ created_at: string;
2180
2261
  warning_code: "nest_thermostat_in_manual_eco_mode";
2181
2262
  }>, z.ZodObject<z.objectUtil.extendShape<{
2182
2263
  message: z.ZodString;
2264
+ created_at: z.ZodString;
2183
2265
  }, {
2184
2266
  warning_code: z.ZodLiteral<"ttlock_lock_gateway_unlocking_not_enabled">;
2185
2267
  }>, "strip", z.ZodTypeAny, {
2186
2268
  message: string;
2269
+ created_at: string;
2187
2270
  warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
2188
2271
  }, {
2189
2272
  message: string;
2273
+ created_at: string;
2190
2274
  warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
2191
2275
  }>, z.ZodObject<z.objectUtil.extendShape<{
2192
2276
  message: z.ZodString;
2277
+ created_at: z.ZodString;
2193
2278
  }, {
2194
2279
  warning_code: z.ZodLiteral<"ttlock_weak_gateway_signal">;
2195
2280
  }>, "strip", z.ZodTypeAny, {
2196
2281
  message: string;
2282
+ created_at: string;
2197
2283
  warning_code: "ttlock_weak_gateway_signal";
2198
2284
  }, {
2199
2285
  message: string;
2286
+ created_at: string;
2200
2287
  warning_code: "ttlock_weak_gateway_signal";
2201
2288
  }>, z.ZodObject<z.objectUtil.extendShape<{
2202
2289
  message: z.ZodString;
2290
+ created_at: z.ZodString;
2203
2291
  }, {
2204
2292
  warning_code: z.ZodLiteral<"temperature_threshold_exceeded">;
2205
2293
  }>, "strip", z.ZodTypeAny, {
2206
2294
  message: string;
2295
+ created_at: string;
2207
2296
  warning_code: "temperature_threshold_exceeded";
2208
2297
  }, {
2209
2298
  message: string;
2299
+ created_at: string;
2210
2300
  warning_code: "temperature_threshold_exceeded";
2211
2301
  }>, z.ZodObject<z.objectUtil.extendShape<{
2212
2302
  message: z.ZodString;
2303
+ created_at: z.ZodString;
2213
2304
  }, {
2214
2305
  warning_code: z.ZodLiteral<"device_communication_degraded">;
2215
2306
  }>, "strip", z.ZodTypeAny, {
2216
2307
  message: string;
2308
+ created_at: string;
2217
2309
  warning_code: "device_communication_degraded";
2218
2310
  }, {
2219
2311
  message: string;
2312
+ created_at: string;
2220
2313
  warning_code: "device_communication_degraded";
2221
2314
  }>, z.ZodObject<z.objectUtil.extendShape<{
2222
2315
  message: z.ZodString;
2316
+ created_at: z.ZodString;
2223
2317
  }, {
2224
2318
  warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
2225
2319
  }>, "strip", z.ZodTypeAny, {
2226
2320
  message: string;
2321
+ created_at: string;
2227
2322
  warning_code: "scheduled_maintenance_window";
2228
2323
  }, {
2229
2324
  message: string;
2325
+ created_at: string;
2230
2326
  warning_code: "scheduled_maintenance_window";
2231
2327
  }>, z.ZodObject<z.objectUtil.extendShape<{
2232
2328
  message: z.ZodString;
2329
+ created_at: z.ZodString;
2233
2330
  }, {
2234
2331
  warning_code: z.ZodLiteral<"device_has_flaky_connection">;
2235
2332
  }>, "strip", z.ZodTypeAny, {
2236
2333
  message: string;
2334
+ created_at: string;
2237
2335
  warning_code: "device_has_flaky_connection";
2238
2336
  }, {
2239
2337
  message: string;
2338
+ created_at: string;
2240
2339
  warning_code: "device_has_flaky_connection";
2241
2340
  }>, z.ZodObject<z.objectUtil.extendShape<{
2242
2341
  message: z.ZodString;
2342
+ created_at: z.ZodString;
2243
2343
  }, {
2244
2344
  warning_code: z.ZodLiteral<"salto_office_mode">;
2245
2345
  }>, "strip", z.ZodTypeAny, {
2246
2346
  message: string;
2347
+ created_at: string;
2247
2348
  warning_code: "salto_office_mode";
2248
2349
  }, {
2249
2350
  message: string;
2351
+ created_at: string;
2250
2352
  warning_code: "salto_office_mode";
2251
2353
  }>, z.ZodObject<z.objectUtil.extendShape<{
2252
2354
  message: z.ZodString;
2355
+ created_at: z.ZodString;
2253
2356
  }, {
2254
2357
  warning_code: z.ZodLiteral<"salto_privacy_mode">;
2255
2358
  }>, "strip", z.ZodTypeAny, {
2256
2359
  message: string;
2360
+ created_at: string;
2257
2361
  warning_code: "salto_privacy_mode";
2258
2362
  }, {
2259
2363
  message: string;
2364
+ created_at: string;
2260
2365
  warning_code: "salto_privacy_mode";
2261
2366
  }>, z.ZodObject<z.objectUtil.extendShape<{
2262
2367
  message: z.ZodString;
2368
+ created_at: z.ZodString;
2263
2369
  }, {
2264
2370
  warning_code: z.ZodLiteral<"unknown_issue_with_phone">;
2265
2371
  }>, "strip", z.ZodTypeAny, {
2266
2372
  message: string;
2373
+ created_at: string;
2267
2374
  warning_code: "unknown_issue_with_phone";
2268
2375
  }, {
2269
2376
  message: string;
2377
+ created_at: string;
2270
2378
  warning_code: "unknown_issue_with_phone";
2271
2379
  }>]>, "many">;
2272
2380
  created_at: z.ZodString;
@@ -2285,7 +2393,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2285
2393
  can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
2286
2394
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
2287
2395
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
2288
- }>>, "location" | "created_at" | "connected_account_id" | "errors" | "warnings" | "device_id" | "device_type" | "capabilities_supported" | "workspace_id">, {
2396
+ }>>, "location" | "device_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "workspace_id">, {
2289
2397
  is_managed: z.ZodLiteral<false>;
2290
2398
  properties: z.ZodObject<Pick<{
2291
2399
  online: z.ZodBoolean;
@@ -2439,23 +2547,23 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2439
2547
  location_name?: string | undefined;
2440
2548
  timezone?: string | undefined;
2441
2549
  } | null;
2550
+ device_id: string;
2442
2551
  created_at: string;
2443
- connected_account_id: string;
2444
2552
  errors: ({
2445
2553
  message: string;
2446
2554
  created_at: string;
2447
- is_connected_account_error: true;
2448
2555
  error_code: "account_disconnected";
2556
+ is_connected_account_error: true;
2449
2557
  } | {
2450
2558
  message: string;
2451
2559
  created_at: string;
2452
- is_connected_account_error: true;
2453
2560
  error_code: "invalid_credentials";
2561
+ is_connected_account_error: true;
2454
2562
  } | {
2455
2563
  message: string;
2456
2564
  created_at: string;
2457
- is_connected_account_error: true;
2458
2565
  error_code: "salto_ks_subscription_limit_exceeded";
2566
+ is_connected_account_error: true;
2459
2567
  salto_ks_metadata: {
2460
2568
  sites: {
2461
2569
  site_id: string;
@@ -2466,105 +2574,140 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2466
2574
  };
2467
2575
  } | {
2468
2576
  message: string;
2577
+ created_at: string;
2469
2578
  error_code: "device_offline";
2470
2579
  is_device_error: true;
2471
2580
  } | {
2472
2581
  message: string;
2582
+ created_at: string;
2473
2583
  error_code: "device_removed";
2474
2584
  is_device_error: true;
2475
2585
  } | {
2476
2586
  message: string;
2587
+ created_at: string;
2477
2588
  error_code: "hub_disconnected";
2478
2589
  is_device_error: true;
2479
2590
  } | {
2480
2591
  message: string;
2592
+ created_at: string;
2481
2593
  error_code: "device_disconnected";
2482
2594
  is_device_error: true;
2483
2595
  } | {
2484
2596
  message: string;
2597
+ created_at: string;
2598
+ error_code: "account_disconnected";
2599
+ is_connected_account_error: true;
2600
+ is_device_error: false;
2601
+ } | {
2602
+ message: string;
2603
+ created_at: string;
2485
2604
  error_code: "empty_backup_access_code_pool";
2486
2605
  is_device_error: true;
2487
2606
  } | {
2488
2607
  message: string;
2608
+ created_at: string;
2489
2609
  error_code: "august_lock_not_authorized";
2490
2610
  is_device_error: true;
2491
2611
  } | {
2492
2612
  message: string;
2613
+ created_at: string;
2493
2614
  error_code: "august_lock_missing_bridge";
2494
2615
  is_device_error: true;
2495
2616
  } | {
2496
2617
  message: string;
2497
- error_code: "salto_site_user_limit_reached";
2498
- is_device_error: true;
2618
+ created_at: string;
2619
+ error_code: "salto_ks_subscription_limit_exceeded";
2620
+ is_connected_account_error: true;
2621
+ is_device_error: false;
2499
2622
  } | {
2500
2623
  message: string;
2624
+ created_at: string;
2501
2625
  error_code: "ttlock_lock_not_paired_to_gateway";
2502
2626
  is_device_error: true;
2503
2627
  } | {
2504
2628
  message: string;
2629
+ created_at: string;
2505
2630
  error_code: "missing_device_credentials";
2506
2631
  is_device_error: true;
2507
2632
  } | {
2508
2633
  message: string;
2634
+ created_at: string;
2509
2635
  error_code: "auxiliary_heat_running";
2510
2636
  is_device_error: true;
2511
2637
  } | {
2512
2638
  message: string;
2639
+ created_at: string;
2513
2640
  error_code: "subscription_required";
2514
2641
  is_device_error: true;
2515
2642
  })[];
2643
+ connected_account_id: string;
2516
2644
  warnings: ({
2517
2645
  message: string;
2646
+ created_at: string;
2518
2647
  warning_code: "partial_backup_access_code_pool";
2519
2648
  } | {
2520
2649
  message: string;
2650
+ created_at: string;
2521
2651
  warning_code: "many_active_backup_codes";
2522
2652
  } | {
2523
2653
  message: string;
2654
+ created_at: string;
2524
2655
  warning_code: "salto_unknown_device_type";
2525
2656
  } | {
2526
2657
  message: string;
2658
+ created_at: string;
2527
2659
  warning_code: "salto_office_mode";
2528
2660
  } | {
2529
2661
  message: string;
2662
+ created_at: string;
2530
2663
  warning_code: "salto_privacy_mode";
2531
2664
  } | {
2532
2665
  message: string;
2666
+ created_at: string;
2533
2667
  warning_code: "wyze_device_missing_gateway";
2534
2668
  } | {
2535
2669
  message: string;
2670
+ created_at: string;
2536
2671
  warning_code: "functional_offline_device";
2537
2672
  } | {
2538
2673
  message: string;
2674
+ created_at: string;
2539
2675
  warning_code: "third_party_integration_detected";
2540
2676
  } | {
2541
2677
  message: string;
2678
+ created_at: string;
2542
2679
  warning_code: "nest_thermostat_in_manual_eco_mode";
2543
2680
  } | {
2544
2681
  message: string;
2682
+ created_at: string;
2545
2683
  warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
2546
2684
  } | {
2547
2685
  message: string;
2686
+ created_at: string;
2548
2687
  warning_code: "ttlock_weak_gateway_signal";
2549
2688
  } | {
2550
2689
  message: string;
2690
+ created_at: string;
2551
2691
  warning_code: "temperature_threshold_exceeded";
2552
2692
  } | {
2553
2693
  message: string;
2694
+ created_at: string;
2554
2695
  warning_code: "device_communication_degraded";
2555
2696
  } | {
2556
2697
  message: string;
2698
+ created_at: string;
2557
2699
  warning_code: "scheduled_maintenance_window";
2558
2700
  } | {
2559
2701
  message: string;
2702
+ created_at: string;
2560
2703
  warning_code: "device_has_flaky_connection";
2561
2704
  } | {
2562
2705
  message: string;
2706
+ created_at: string;
2563
2707
  warning_code: "unknown_issue_with_phone";
2564
2708
  })[];
2565
- device_id: string;
2566
2709
  device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat") | ("ios_phone" | "android_phone");
2567
- capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2710
+ capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
2568
2711
  properties: {
2569
2712
  name: string;
2570
2713
  online: boolean;
@@ -2612,23 +2755,23 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2612
2755
  location_name?: string | undefined;
2613
2756
  timezone?: string | undefined;
2614
2757
  } | null;
2758
+ device_id: string;
2615
2759
  created_at: string;
2616
- connected_account_id: string;
2617
2760
  errors: ({
2618
2761
  message: string;
2619
2762
  created_at: string;
2620
- is_connected_account_error: true;
2621
2763
  error_code: "account_disconnected";
2764
+ is_connected_account_error: true;
2622
2765
  } | {
2623
2766
  message: string;
2624
2767
  created_at: string;
2625
- is_connected_account_error: true;
2626
2768
  error_code: "invalid_credentials";
2769
+ is_connected_account_error: true;
2627
2770
  } | {
2628
2771
  message: string;
2629
2772
  created_at: string;
2630
- is_connected_account_error: true;
2631
2773
  error_code: "salto_ks_subscription_limit_exceeded";
2774
+ is_connected_account_error: true;
2632
2775
  salto_ks_metadata: {
2633
2776
  sites: {
2634
2777
  site_id: string;
@@ -2639,105 +2782,140 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2639
2782
  };
2640
2783
  } | {
2641
2784
  message: string;
2785
+ created_at: string;
2642
2786
  error_code: "device_offline";
2643
2787
  is_device_error: true;
2644
2788
  } | {
2645
2789
  message: string;
2790
+ created_at: string;
2646
2791
  error_code: "device_removed";
2647
2792
  is_device_error: true;
2648
2793
  } | {
2649
2794
  message: string;
2795
+ created_at: string;
2650
2796
  error_code: "hub_disconnected";
2651
2797
  is_device_error: true;
2652
2798
  } | {
2653
2799
  message: string;
2800
+ created_at: string;
2654
2801
  error_code: "device_disconnected";
2655
2802
  is_device_error: true;
2656
2803
  } | {
2657
2804
  message: string;
2805
+ created_at: string;
2806
+ error_code: "account_disconnected";
2807
+ is_connected_account_error: true;
2808
+ is_device_error: false;
2809
+ } | {
2810
+ message: string;
2811
+ created_at: string;
2658
2812
  error_code: "empty_backup_access_code_pool";
2659
2813
  is_device_error: true;
2660
2814
  } | {
2661
2815
  message: string;
2816
+ created_at: string;
2662
2817
  error_code: "august_lock_not_authorized";
2663
2818
  is_device_error: true;
2664
2819
  } | {
2665
2820
  message: string;
2821
+ created_at: string;
2666
2822
  error_code: "august_lock_missing_bridge";
2667
2823
  is_device_error: true;
2668
2824
  } | {
2669
2825
  message: string;
2670
- error_code: "salto_site_user_limit_reached";
2671
- is_device_error: true;
2826
+ created_at: string;
2827
+ error_code: "salto_ks_subscription_limit_exceeded";
2828
+ is_connected_account_error: true;
2829
+ is_device_error: false;
2672
2830
  } | {
2673
2831
  message: string;
2832
+ created_at: string;
2674
2833
  error_code: "ttlock_lock_not_paired_to_gateway";
2675
2834
  is_device_error: true;
2676
2835
  } | {
2677
2836
  message: string;
2837
+ created_at: string;
2678
2838
  error_code: "missing_device_credentials";
2679
2839
  is_device_error: true;
2680
2840
  } | {
2681
2841
  message: string;
2842
+ created_at: string;
2682
2843
  error_code: "auxiliary_heat_running";
2683
2844
  is_device_error: true;
2684
2845
  } | {
2685
2846
  message: string;
2847
+ created_at: string;
2686
2848
  error_code: "subscription_required";
2687
2849
  is_device_error: true;
2688
2850
  })[];
2851
+ connected_account_id: string;
2689
2852
  warnings: ({
2690
2853
  message: string;
2854
+ created_at: string;
2691
2855
  warning_code: "partial_backup_access_code_pool";
2692
2856
  } | {
2693
2857
  message: string;
2858
+ created_at: string;
2694
2859
  warning_code: "many_active_backup_codes";
2695
2860
  } | {
2696
2861
  message: string;
2862
+ created_at: string;
2697
2863
  warning_code: "salto_unknown_device_type";
2698
2864
  } | {
2699
2865
  message: string;
2866
+ created_at: string;
2700
2867
  warning_code: "salto_office_mode";
2701
2868
  } | {
2702
2869
  message: string;
2870
+ created_at: string;
2703
2871
  warning_code: "salto_privacy_mode";
2704
2872
  } | {
2705
2873
  message: string;
2874
+ created_at: string;
2706
2875
  warning_code: "wyze_device_missing_gateway";
2707
2876
  } | {
2708
2877
  message: string;
2878
+ created_at: string;
2709
2879
  warning_code: "functional_offline_device";
2710
2880
  } | {
2711
2881
  message: string;
2882
+ created_at: string;
2712
2883
  warning_code: "third_party_integration_detected";
2713
2884
  } | {
2714
2885
  message: string;
2886
+ created_at: string;
2715
2887
  warning_code: "nest_thermostat_in_manual_eco_mode";
2716
2888
  } | {
2717
2889
  message: string;
2890
+ created_at: string;
2718
2891
  warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
2719
2892
  } | {
2720
2893
  message: string;
2894
+ created_at: string;
2721
2895
  warning_code: "ttlock_weak_gateway_signal";
2722
2896
  } | {
2723
2897
  message: string;
2898
+ created_at: string;
2724
2899
  warning_code: "temperature_threshold_exceeded";
2725
2900
  } | {
2726
2901
  message: string;
2902
+ created_at: string;
2727
2903
  warning_code: "device_communication_degraded";
2728
2904
  } | {
2729
2905
  message: string;
2906
+ created_at: string;
2730
2907
  warning_code: "scheduled_maintenance_window";
2731
2908
  } | {
2732
2909
  message: string;
2910
+ created_at: string;
2733
2911
  warning_code: "device_has_flaky_connection";
2734
2912
  } | {
2735
2913
  message: string;
2914
+ created_at: string;
2736
2915
  warning_code: "unknown_issue_with_phone";
2737
2916
  })[];
2738
- device_id: string;
2739
2917
  device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat") | ("ios_phone" | "android_phone");
2740
- capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2918
+ capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
2741
2919
  properties: {
2742
2920
  name: string;
2743
2921
  online: boolean;