@seamapi/types 1.1191.0 → 1.1192.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.
- package/lib/seam/connect/models/devices/device-metadata.d.ts +43 -0
- package/lib/seam/connect/models/devices/device-metadata.js +38 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +71 -10
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +53 -10
- package/lib/seam/connect/models/events/devices.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +2 -2
- package/lib/seam/connect/openapi.js +40 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +310 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +50 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +48 -0
- package/src/lib/seam/connect/route-types.ts +434 -0
|
@@ -4715,7 +4715,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
4715
4715
|
event_id: string;
|
|
4716
4716
|
occurred_at: string;
|
|
4717
4717
|
event_type: "device.battery_status_changed";
|
|
4718
|
-
battery_status: "
|
|
4718
|
+
battery_status: "low" | "critical" | "good" | "full";
|
|
4719
4719
|
customer_key?: string | undefined;
|
|
4720
4720
|
event_description?: string | undefined;
|
|
4721
4721
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -4729,7 +4729,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
4729
4729
|
event_id: string;
|
|
4730
4730
|
occurred_at: string;
|
|
4731
4731
|
event_type: "device.battery_status_changed";
|
|
4732
|
-
battery_status: "
|
|
4732
|
+
battery_status: "low" | "critical" | "good" | "full";
|
|
4733
4733
|
customer_key?: string | undefined;
|
|
4734
4734
|
event_description?: string | undefined;
|
|
4735
4735
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -15743,6 +15743,42 @@ const openapi = {
|
|
|
15743
15743
|
},
|
|
15744
15744
|
type: 'object',
|
|
15745
15745
|
},
|
|
15746
|
+
hayward_omnilogic_metadata: {
|
|
15747
|
+
description: 'Metadata for a Hayward OmniLogic pool controller or body of water.',
|
|
15748
|
+
properties: {
|
|
15749
|
+
backyard_name: {
|
|
15750
|
+
description: 'Name of the system, as set in the Hayward OmniLogic app.',
|
|
15751
|
+
type: 'string',
|
|
15752
|
+
},
|
|
15753
|
+
body_of_water_id: {
|
|
15754
|
+
description: 'ID of the body of water within its system. Only present on a pool or spa body.',
|
|
15755
|
+
type: 'string',
|
|
15756
|
+
},
|
|
15757
|
+
body_of_water_name: {
|
|
15758
|
+
description: 'Name of the body of water, as set in the Hayward OmniLogic app. Only present on a pool or spa body.',
|
|
15759
|
+
type: 'string',
|
|
15760
|
+
},
|
|
15761
|
+
is_shared_equipment: {
|
|
15762
|
+
description: 'Indicates whether the body of water shares its pump and heater with another body of water in the same system.',
|
|
15763
|
+
type: 'boolean',
|
|
15764
|
+
},
|
|
15765
|
+
msp_system_id: {
|
|
15766
|
+
description: 'ID of the Hayward OmniLogic system (the controller, called an MSP by Hayward) that the device belongs to.',
|
|
15767
|
+
type: 'string',
|
|
15768
|
+
},
|
|
15769
|
+
shared_equipment_priority: {
|
|
15770
|
+
description: 'Priority of the body of water when it shares equipment. The `high` priority body, usually the spa, takes the shared heater when both request heat.',
|
|
15771
|
+
enum: ['high', 'low'],
|
|
15772
|
+
type: 'string',
|
|
15773
|
+
},
|
|
15774
|
+
virtual_heater_id: {
|
|
15775
|
+
description: 'ID of the virtual heater that carries the set point and heating request for the body of water. Only present on a pool or spa body.',
|
|
15776
|
+
type: 'string',
|
|
15777
|
+
},
|
|
15778
|
+
},
|
|
15779
|
+
type: 'object',
|
|
15780
|
+
'x-undocumented': 'Unreleased.',
|
|
15781
|
+
},
|
|
15746
15782
|
honeywell_resideo_metadata: {
|
|
15747
15783
|
description: 'Metadata for a Honeywell Resideo device.',
|
|
15748
15784
|
properties: {
|
|
@@ -18930,6 +18966,7 @@ const openapi = {
|
|
|
18930
18966
|
'aqara',
|
|
18931
18967
|
'eufy',
|
|
18932
18968
|
'sonos',
|
|
18969
|
+
'hayward_omnilogic',
|
|
18933
18970
|
],
|
|
18934
18971
|
type: 'string',
|
|
18935
18972
|
},
|
|
@@ -47648,6 +47685,7 @@ const openapi = {
|
|
|
47648
47685
|
'aqara',
|
|
47649
47686
|
'eufy',
|
|
47650
47687
|
'sonos',
|
|
47688
|
+
'hayward_omnilogic',
|
|
47651
47689
|
'hid_cm',
|
|
47652
47690
|
'google_nest',
|
|
47653
47691
|
'slack',
|
|
@@ -51432,6 +51470,7 @@ const openapi = {
|
|
|
51432
51470
|
'slack',
|
|
51433
51471
|
'yacan',
|
|
51434
51472
|
'sonos',
|
|
51473
|
+
'hayward_omnilogic',
|
|
51435
51474
|
],
|
|
51436
51475
|
type: 'string',
|
|
51437
51476
|
},
|
|
@@ -53795,6 +53834,7 @@ const openapi = {
|
|
|
53795
53834
|
'slack',
|
|
53796
53835
|
'yacan',
|
|
53797
53836
|
'sonos',
|
|
53837
|
+
'hayward_omnilogic',
|
|
53798
53838
|
],
|
|
53799
53839
|
type: 'string',
|
|
53800
53840
|
},
|