@seamapi/http 2.44.0 → 2.46.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.
@@ -1604,13 +1604,41 @@ export type Device = {
1604
1604
  */
1605
1605
  tado_metadata?: {
1606
1606
  /**
1607
- * Device type for a tado° device.
1607
+ * Serial numbers of all tado° devices in the zone.
1608
+ */
1609
+ device_serial_numbers?: Array<string> | undefined;
1610
+ /**
1611
+ * Device type of the main tado° device in the zone, such as `RU02`, `VA02` or `WR02`.
1608
1612
  */
1609
1613
  device_type?: string | undefined;
1610
1614
  /**
1611
- * Serial number for a tado° device.
1615
+ * Generation of the tado° home, such as `PRE_LINE_X`.
1616
+ */
1617
+ home_generation?: string | undefined;
1618
+ /**
1619
+ * ID of the tado° home.
1620
+ */
1621
+ home_id?: string | undefined;
1622
+ /**
1623
+ * Name of the tado° home.
1624
+ */
1625
+ home_name?: string | undefined;
1626
+ /**
1627
+ * Serial number of the main tado° device in the zone, such as its wall thermostat or Smart AC Control.
1612
1628
  */
1613
1629
  serial_no?: string | undefined;
1630
+ /**
1631
+ * ID of the tado° zone within its home.
1632
+ */
1633
+ zone_id?: string | undefined;
1634
+ /**
1635
+ * Name of the tado° zone.
1636
+ */
1637
+ zone_name?: string | undefined;
1638
+ /**
1639
+ * Type of the tado° zone: `HEATING` or `AIR_CONDITIONING`.
1640
+ */
1641
+ zone_type?: string | undefined;
1614
1642
  } | undefined;
1615
1643
  /**
1616
1644
  * Metadata for a Tapo camera.
@@ -88,6 +88,25 @@ export type Space = {
88
88
  * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
89
89
  */
90
90
  warning_code: 'being_deleted';
91
+ } /**
92
+ * Indicates that Seam could not apply the noise sensor automation to one or more noise sensors in the space, for example because their settings keep changing back after Seam re-applies it, Seam does not know the sensor's time zone yet, or the sensor is shared with spaces that configure it differently.
93
+ */ | {
94
+ /**
95
+ * Date and time at which Seam created the warning.
96
+ */
97
+ created_at: string;
98
+ /**
99
+ * IDs of the noise sensors in the space that Seam could not bring in line with the noise sensor automation.
100
+ */
101
+ device_ids: Array<string>;
102
+ /**
103
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
104
+ */
105
+ message: string;
106
+ /**
107
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
108
+ */
109
+ warning_code: 'noise_sensor_configuration_mismatch';
91
110
  }>;
92
111
  /**
93
112
  * ID of the workspace associated with the space.
@@ -691,6 +691,10 @@ export type CustomersCreatePortalParameters = {
691
691
  * Indicates whether the customer can customize their notification settings, such as the low-battery alert threshold.
692
692
  */
693
693
  allow_notification_customization?: boolean | undefined;
694
+ /**
695
+ * Indicates whether the customer can customize the sensor automation rules for their properties.
696
+ */
697
+ allow_sensor_automation_rule_customization?: boolean | undefined;
694
698
  /**
695
699
  * Indicates whether the customer can customize the sound automation rules for their properties.
696
700
  */
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const seamapiJavascriptHttpVersion = "2.44.0";
1
+ declare const seamapiJavascriptHttpVersion = "2.46.0";
2
2
  export default seamapiJavascriptHttpVersion;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '2.44.0';
1
+ const seamapiJavascriptHttpVersion = '2.46.0';
2
2
  export default seamapiJavascriptHttpVersion;
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/http",
3
- "version": "2.44.0",
3
+ "version": "2.46.0",
4
4
  "description": "JavaScript HTTP client for the Seam API written in TypeScript.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -88,7 +88,7 @@
88
88
  "@seamapi/blueprint": "^1.10.0",
89
89
  "@seamapi/fake-seam-connect": "^2.0.4",
90
90
  "@seamapi/smith": "^1.1.0",
91
- "@seamapi/types": "1.1136.0",
91
+ "@seamapi/types": "1.1142.0",
92
92
  "@types/jsonwebtoken": "^9.0.6",
93
93
  "@types/node": "^24.10.9",
94
94
  "ava": "^8.0.1",
@@ -1853,13 +1853,41 @@ export type Device = {
1853
1853
  tado_metadata?:
1854
1854
  | {
1855
1855
  /**
1856
- * Device type for a tado° device.
1856
+ * Serial numbers of all tado° devices in the zone.
1857
+ */
1858
+ device_serial_numbers?: Array<string> | undefined
1859
+ /**
1860
+ * Device type of the main tado° device in the zone, such as `RU02`, `VA02` or `WR02`.
1857
1861
  */
1858
1862
  device_type?: string | undefined
1859
1863
  /**
1860
- * Serial number for a tado° device.
1864
+ * Generation of the tado° home, such as `PRE_LINE_X`.
1865
+ */
1866
+ home_generation?: string | undefined
1867
+ /**
1868
+ * ID of the tado° home.
1869
+ */
1870
+ home_id?: string | undefined
1871
+ /**
1872
+ * Name of the tado° home.
1873
+ */
1874
+ home_name?: string | undefined
1875
+ /**
1876
+ * Serial number of the main tado° device in the zone, such as its wall thermostat or Smart AC Control.
1861
1877
  */
1862
1878
  serial_no?: string | undefined
1879
+ /**
1880
+ * ID of the tado° zone within its home.
1881
+ */
1882
+ zone_id?: string | undefined
1883
+ /**
1884
+ * Name of the tado° zone.
1885
+ */
1886
+ zone_name?: string | undefined
1887
+ /**
1888
+ * Type of the tado° zone: `HEATING` or `AIR_CONDITIONING`.
1889
+ */
1890
+ zone_type?: string | undefined
1863
1891
  }
1864
1892
  | undefined
1865
1893
  /**
@@ -92,22 +92,45 @@ export type Space = {
92
92
  /**
93
93
  * Indicates that the space is being deleted. Seam removes it, revokes its access grants, and detaches its devices and entrances shortly.
94
94
  */
95
- {
96
- /**
97
- * Date and time at which Seam created the warning.
98
- */
99
- created_at: string
95
+ | {
96
+ /**
97
+ * Date and time at which Seam created the warning.
98
+ */
99
+ created_at: string
100
100
 
101
- /**
102
- * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
103
- */
104
- message: string
101
+ /**
102
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
103
+ */
104
+ message: string
105
105
 
106
- /**
107
- * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
108
- */
109
- warning_code: 'being_deleted'
110
- }
106
+ /**
107
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
108
+ */
109
+ warning_code: 'being_deleted'
110
+ } /**
111
+ * Indicates that Seam could not apply the noise sensor automation to one or more noise sensors in the space, for example because their settings keep changing back after Seam re-applies it, Seam does not know the sensor's time zone yet, or the sensor is shared with spaces that configure it differently.
112
+ */
113
+ | {
114
+ /**
115
+ * Date and time at which Seam created the warning.
116
+ */
117
+ created_at: string
118
+
119
+ /**
120
+ * IDs of the noise sensors in the space that Seam could not bring in line with the noise sensor automation.
121
+ */
122
+ device_ids: Array<string>
123
+
124
+ /**
125
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
126
+ */
127
+ message: string
128
+
129
+ /**
130
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
131
+ */
132
+ warning_code: 'noise_sensor_configuration_mismatch'
133
+ }
111
134
  >
112
135
 
113
136
  /**
@@ -938,6 +938,10 @@ export type CustomersCreatePortalParameters = {
938
938
  * Indicates whether the customer can customize their notification settings, such as the low-battery alert threshold.
939
939
  */
940
940
  allow_notification_customization?: boolean | undefined
941
+ /**
942
+ * Indicates whether the customer can customize the sensor automation rules for their properties.
943
+ */
944
+ allow_sensor_automation_rule_customization?: boolean | undefined
941
945
  /**
942
946
  * Indicates whether the customer can customize the sound automation rules for their properties.
943
947
  */
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '2.44.0'
1
+ const seamapiJavascriptHttpVersion = '2.46.0'
2
2
 
3
3
  export default seamapiJavascriptHttpVersion