@seamapi/types 1.1190.0 → 1.1191.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.d.ts +6 -0
- package/lib/seam/connect/models/devices/device.js +12 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2 -0
- package/lib/seam/connect/openapi.js +33 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +76 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +38 -1
- package/src/lib/seam/connect/route-types.ts +76 -0
|
@@ -15834,6 +15834,10 @@ export type Routes = {
|
|
|
15834
15834
|
custom_metadata: {
|
|
15835
15835
|
[x: string]: string | boolean;
|
|
15836
15836
|
};
|
|
15837
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
15838
|
+
parent_device_id?: string | undefined;
|
|
15839
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
15840
|
+
child_device_ids?: string[] | undefined;
|
|
15837
15841
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
15838
15842
|
device_provider?: {
|
|
15839
15843
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -24240,6 +24244,10 @@ export type Routes = {
|
|
|
24240
24244
|
custom_metadata: {
|
|
24241
24245
|
[x: string]: string | boolean;
|
|
24242
24246
|
};
|
|
24247
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
24248
|
+
parent_device_id?: string | undefined;
|
|
24249
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
24250
|
+
child_device_ids?: string[] | undefined;
|
|
24243
24251
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
24244
24252
|
device_provider?: {
|
|
24245
24253
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -52075,6 +52083,10 @@ export type Routes = {
|
|
|
52075
52083
|
custom_metadata: {
|
|
52076
52084
|
[x: string]: string | boolean;
|
|
52077
52085
|
};
|
|
52086
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
52087
|
+
parent_device_id?: string | undefined;
|
|
52088
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
52089
|
+
child_device_ids?: string[] | undefined;
|
|
52078
52090
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
52079
52091
|
device_provider?: {
|
|
52080
52092
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -52276,6 +52288,8 @@ export type Routes = {
|
|
|
52276
52288
|
space_id?: string | undefined;
|
|
52277
52289
|
/** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id` (full or partial UUID prefix, minimum 4 characters), `connected_account_id`, `display_name`, `custom_metadata` or `location.location_name`. */
|
|
52278
52290
|
search?: string | undefined;
|
|
52291
|
+
/** ID of the parent device whose child devices you want to list. */
|
|
52292
|
+
parent_device_id?: string | undefined;
|
|
52279
52293
|
};
|
|
52280
52294
|
formData: {};
|
|
52281
52295
|
jsonResponse: {
|
|
@@ -53887,6 +53901,10 @@ export type Routes = {
|
|
|
53887
53901
|
custom_metadata: {
|
|
53888
53902
|
[x: string]: string | boolean;
|
|
53889
53903
|
};
|
|
53904
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
53905
|
+
parent_device_id?: string | undefined;
|
|
53906
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
53907
|
+
child_device_ids?: string[] | undefined;
|
|
53890
53908
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
53891
53909
|
device_provider?: {
|
|
53892
53910
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -54823,6 +54841,8 @@ export type Routes = {
|
|
|
54823
54841
|
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_activate_weekly_program' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock' | 'can_stream_live_video' | 'can_set_speaker_volume' | 'can_mute_speaker' | 'can_unmute_speaker' | 'can_pause_speaker_playback' | 'can_resume_speaker_playback' | 'can_play_speaker_chime' | 'can_play_speaker_favorite' | 'can_play_speaker_audio_clip' | 'can_control_temperature')[] | undefined;
|
|
54824
54842
|
/** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id` (full or partial UUID prefix, minimum 4 characters), `connected_account_id`, `display_name`, `custom_metadata` or `location.location_name`. */
|
|
54825
54843
|
search?: string | undefined;
|
|
54844
|
+
/** ID of the parent device whose child devices you want to list. */
|
|
54845
|
+
parent_device_id?: string | undefined;
|
|
54826
54846
|
/** Numerical limit on the number of devices to return. */
|
|
54827
54847
|
limit?: number;
|
|
54828
54848
|
};
|
|
@@ -66999,6 +67019,10 @@ export type Routes = {
|
|
|
66999
67019
|
custom_metadata: {
|
|
67000
67020
|
[x: string]: string | boolean;
|
|
67001
67021
|
};
|
|
67022
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
67023
|
+
parent_device_id?: string | undefined;
|
|
67024
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
67025
|
+
child_device_ids?: string[] | undefined;
|
|
67002
67026
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
67003
67027
|
device_provider?: {
|
|
67004
67028
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -68761,6 +68785,10 @@ export type Routes = {
|
|
|
68761
68785
|
custom_metadata: {
|
|
68762
68786
|
[x: string]: string | boolean;
|
|
68763
68787
|
};
|
|
68788
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
68789
|
+
parent_device_id?: string | undefined;
|
|
68790
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
68791
|
+
child_device_ids?: string[] | undefined;
|
|
68764
68792
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
68765
68793
|
device_provider?: {
|
|
68766
68794
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -70546,6 +70574,10 @@ export type Routes = {
|
|
|
70546
70574
|
custom_metadata: {
|
|
70547
70575
|
[x: string]: string | boolean;
|
|
70548
70576
|
};
|
|
70577
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
70578
|
+
parent_device_id?: string | undefined;
|
|
70579
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
70580
|
+
child_device_ids?: string[] | undefined;
|
|
70549
70581
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
70550
70582
|
device_provider?: {
|
|
70551
70583
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -72307,6 +72339,10 @@ export type Routes = {
|
|
|
72307
72339
|
custom_metadata: {
|
|
72308
72340
|
[x: string]: string | boolean;
|
|
72309
72341
|
};
|
|
72342
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
72343
|
+
parent_device_id?: string | undefined;
|
|
72344
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
72345
|
+
child_device_ids?: string[] | undefined;
|
|
72310
72346
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
72311
72347
|
device_provider?: {
|
|
72312
72348
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -83083,6 +83119,10 @@ export type Routes = {
|
|
|
83083
83119
|
custom_metadata: {
|
|
83084
83120
|
[x: string]: string | boolean;
|
|
83085
83121
|
};
|
|
83122
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
83123
|
+
parent_device_id?: string | undefined;
|
|
83124
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
83125
|
+
child_device_ids?: string[] | undefined;
|
|
83086
83126
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
83087
83127
|
device_provider?: {
|
|
83088
83128
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -84844,6 +84884,10 @@ export type Routes = {
|
|
|
84844
84884
|
custom_metadata: {
|
|
84845
84885
|
[x: string]: string | boolean;
|
|
84846
84886
|
};
|
|
84887
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
84888
|
+
parent_device_id?: string | undefined;
|
|
84889
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
84890
|
+
child_device_ids?: string[] | undefined;
|
|
84847
84891
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
84848
84892
|
device_provider?: {
|
|
84849
84893
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -96979,6 +97023,10 @@ export type Routes = {
|
|
|
96979
97023
|
custom_metadata: {
|
|
96980
97024
|
[x: string]: string | boolean;
|
|
96981
97025
|
};
|
|
97026
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
97027
|
+
parent_device_id?: string | undefined;
|
|
97028
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
97029
|
+
child_device_ids?: string[] | undefined;
|
|
96982
97030
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
96983
97031
|
device_provider?: {
|
|
96984
97032
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -116907,6 +116955,10 @@ export type Routes = {
|
|
|
116907
116955
|
custom_metadata: {
|
|
116908
116956
|
[x: string]: string | boolean;
|
|
116909
116957
|
};
|
|
116958
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
116959
|
+
parent_device_id?: string | undefined;
|
|
116960
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
116961
|
+
child_device_ids?: string[] | undefined;
|
|
116910
116962
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
116911
116963
|
device_provider?: {
|
|
116912
116964
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -146654,6 +146706,10 @@ export type Routes = {
|
|
|
146654
146706
|
custom_metadata: {
|
|
146655
146707
|
[x: string]: string | boolean;
|
|
146656
146708
|
};
|
|
146709
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
146710
|
+
parent_device_id?: string | undefined;
|
|
146711
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
146712
|
+
child_device_ids?: string[] | undefined;
|
|
146657
146713
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
146658
146714
|
device_provider?: {
|
|
146659
146715
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -152927,6 +152983,10 @@ export type Routes = {
|
|
|
152927
152983
|
custom_metadata: {
|
|
152928
152984
|
[x: string]: string | boolean;
|
|
152929
152985
|
};
|
|
152986
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
152987
|
+
parent_device_id?: string | undefined;
|
|
152988
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
152989
|
+
child_device_ids?: string[] | undefined;
|
|
152930
152990
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
152931
152991
|
device_provider?: {
|
|
152932
152992
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -154688,6 +154748,10 @@ export type Routes = {
|
|
|
154688
154748
|
custom_metadata: {
|
|
154689
154749
|
[x: string]: string | boolean;
|
|
154690
154750
|
};
|
|
154751
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
154752
|
+
parent_device_id?: string | undefined;
|
|
154753
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
154754
|
+
child_device_ids?: string[] | undefined;
|
|
154691
154755
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
154692
154756
|
device_provider?: {
|
|
154693
154757
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -166534,6 +166598,10 @@ export type Routes = {
|
|
|
166534
166598
|
custom_metadata: {
|
|
166535
166599
|
[x: string]: string | boolean;
|
|
166536
166600
|
};
|
|
166601
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
166602
|
+
parent_device_id?: string | undefined;
|
|
166603
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
166604
|
+
child_device_ids?: string[] | undefined;
|
|
166537
166605
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
166538
166606
|
device_provider?: {
|
|
166539
166607
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -168297,6 +168365,10 @@ export type Routes = {
|
|
|
168297
168365
|
custom_metadata: {
|
|
168298
168366
|
[x: string]: string | boolean;
|
|
168299
168367
|
};
|
|
168368
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
168369
|
+
parent_device_id?: string | undefined;
|
|
168370
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
168371
|
+
child_device_ids?: string[] | undefined;
|
|
168300
168372
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
168301
168373
|
device_provider?: {
|
|
168302
168374
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
@@ -172416,6 +172488,10 @@ export type Routes = {
|
|
|
172416
172488
|
custom_metadata: {
|
|
172417
172489
|
[x: string]: string | boolean;
|
|
172418
172490
|
};
|
|
172491
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
172492
|
+
parent_device_id?: string | undefined;
|
|
172493
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
172494
|
+
child_device_ids?: string[] | undefined;
|
|
172419
172495
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
172420
172496
|
device_provider?: {
|
|
172421
172497
|
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
package/package.json
CHANGED
|
@@ -1400,6 +1400,18 @@ export const device = z
|
|
|
1400
1400
|
'Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://www.seam.co/docs/core-concepts/devices/managed-and-unmanaged-devices).',
|
|
1401
1401
|
),
|
|
1402
1402
|
custom_metadata,
|
|
1403
|
+
parent_device_id: z.string().uuid().optional().describe(`
|
|
1404
|
+
---
|
|
1405
|
+
undocumented: Unreleased.
|
|
1406
|
+
---
|
|
1407
|
+
ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent.
|
|
1408
|
+
`),
|
|
1409
|
+
child_device_ids: z.array(z.string().uuid()).optional().describe(`
|
|
1410
|
+
---
|
|
1411
|
+
undocumented: Unreleased.
|
|
1412
|
+
---
|
|
1413
|
+
IDs of the child devices that belong to this device. Only present when the device has at least one child.
|
|
1414
|
+
`),
|
|
1403
1415
|
device_provider: device_provider_info.optional().describe(`
|
|
1404
1416
|
---
|
|
1405
1417
|
property_group_key: hardware
|
|
@@ -16014,6 +16014,13 @@ const openapi: OpenAPISpec = {
|
|
|
16014
16014
|
},
|
|
16015
16015
|
type: 'array',
|
|
16016
16016
|
},
|
|
16017
|
+
child_device_ids: {
|
|
16018
|
+
description:
|
|
16019
|
+
'IDs of the child devices that belong to this device. Only present when the device has at least one child.',
|
|
16020
|
+
items: { format: 'uuid', type: 'string' },
|
|
16021
|
+
type: 'array',
|
|
16022
|
+
'x-undocumented': 'Unreleased.',
|
|
16023
|
+
},
|
|
16017
16024
|
co2_ppm: {
|
|
16018
16025
|
description:
|
|
16019
16026
|
'Carbon dioxide concentration in parts per million, if the device measures it.',
|
|
@@ -16992,6 +16999,13 @@ const openapi: OpenAPISpec = {
|
|
|
16992
16999
|
type: 'number',
|
|
16993
17000
|
'x-property-group-key': 'sensors',
|
|
16994
17001
|
},
|
|
17002
|
+
parent_device_id: {
|
|
17003
|
+
description:
|
|
17004
|
+
'ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent.',
|
|
17005
|
+
format: 'uuid',
|
|
17006
|
+
type: 'string',
|
|
17007
|
+
'x-undocumented': 'Unreleased.',
|
|
17008
|
+
},
|
|
16995
17009
|
properties: {
|
|
16996
17010
|
allOf: [
|
|
16997
17011
|
{
|
|
@@ -57199,6 +57213,17 @@ const openapi: OpenAPISpec = {
|
|
|
57199
57213
|
type: 'string',
|
|
57200
57214
|
},
|
|
57201
57215
|
},
|
|
57216
|
+
{
|
|
57217
|
+
in: 'query',
|
|
57218
|
+
name: 'parent_device_id',
|
|
57219
|
+
schema: {
|
|
57220
|
+
description:
|
|
57221
|
+
'ID of the parent device whose child devices you want to list.',
|
|
57222
|
+
format: 'uuid',
|
|
57223
|
+
type: 'string',
|
|
57224
|
+
'x-undocumented': 'Unreleased.',
|
|
57225
|
+
},
|
|
57226
|
+
},
|
|
57202
57227
|
],
|
|
57203
57228
|
responses: {
|
|
57204
57229
|
'200': {
|
|
@@ -59529,6 +59554,17 @@ const openapi: OpenAPISpec = {
|
|
|
59529
59554
|
type: 'string',
|
|
59530
59555
|
},
|
|
59531
59556
|
},
|
|
59557
|
+
{
|
|
59558
|
+
in: 'query',
|
|
59559
|
+
name: 'parent_device_id',
|
|
59560
|
+
schema: {
|
|
59561
|
+
description:
|
|
59562
|
+
'ID of the parent device whose child devices you want to list.',
|
|
59563
|
+
format: 'uuid',
|
|
59564
|
+
type: 'string',
|
|
59565
|
+
'x-undocumented': 'Unreleased.',
|
|
59566
|
+
},
|
|
59567
|
+
},
|
|
59532
59568
|
{
|
|
59533
59569
|
in: 'query',
|
|
59534
59570
|
name: 'limit',
|
|
@@ -62139,7 +62175,8 @@ const openapi: OpenAPISpec = {
|
|
|
62139
62175
|
},
|
|
62140
62176
|
'/pools/list': {
|
|
62141
62177
|
get: {
|
|
62142
|
-
description:
|
|
62178
|
+
description:
|
|
62179
|
+
'Returns a list of all pool controllers, pools, and spas. Each controller lists its pools and spas in `child_device_ids`, and each pool or spa carries its controller in `parent_device_id`.',
|
|
62143
62180
|
operationId: 'poolsListGet',
|
|
62144
62181
|
parameters: [
|
|
62145
62182
|
{
|
|
@@ -18356,6 +18356,10 @@ export type Routes = {
|
|
|
18356
18356
|
custom_metadata: {
|
|
18357
18357
|
[x: string]: string | boolean
|
|
18358
18358
|
}
|
|
18359
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
18360
|
+
parent_device_id?: string | undefined
|
|
18361
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
18362
|
+
child_device_ids?: string[] | undefined
|
|
18359
18363
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
18360
18364
|
device_provider?:
|
|
18361
18365
|
| {
|
|
@@ -28361,6 +28365,10 @@ export type Routes = {
|
|
|
28361
28365
|
custom_metadata: {
|
|
28362
28366
|
[x: string]: string | boolean
|
|
28363
28367
|
}
|
|
28368
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
28369
|
+
parent_device_id?: string | undefined
|
|
28370
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
28371
|
+
child_device_ids?: string[] | undefined
|
|
28364
28372
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
28365
28373
|
device_provider?:
|
|
28366
28374
|
| {
|
|
@@ -60971,6 +60979,10 @@ export type Routes = {
|
|
|
60971
60979
|
custom_metadata: {
|
|
60972
60980
|
[x: string]: string | boolean
|
|
60973
60981
|
}
|
|
60982
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
60983
|
+
parent_device_id?: string | undefined
|
|
60984
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
60985
|
+
child_device_ids?: string[] | undefined
|
|
60974
60986
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
60975
60987
|
device_provider?:
|
|
60976
60988
|
| {
|
|
@@ -61438,6 +61450,8 @@ export type Routes = {
|
|
|
61438
61450
|
space_id?: string | undefined
|
|
61439
61451
|
/** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id` (full or partial UUID prefix, minimum 4 characters), `connected_account_id`, `display_name`, `custom_metadata` or `location.location_name`. */
|
|
61440
61452
|
search?: string | undefined
|
|
61453
|
+
/** ID of the parent device whose child devices you want to list. */
|
|
61454
|
+
parent_device_id?: string | undefined
|
|
61441
61455
|
}
|
|
61442
61456
|
formData: {}
|
|
61443
61457
|
jsonResponse: {
|
|
@@ -63510,6 +63524,10 @@ export type Routes = {
|
|
|
63510
63524
|
custom_metadata: {
|
|
63511
63525
|
[x: string]: string | boolean
|
|
63512
63526
|
}
|
|
63527
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
63528
|
+
parent_device_id?: string | undefined
|
|
63529
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
63530
|
+
child_device_ids?: string[] | undefined
|
|
63513
63531
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
63514
63532
|
device_provider?:
|
|
63515
63533
|
| {
|
|
@@ -66222,6 +66240,8 @@ export type Routes = {
|
|
|
66222
66240
|
| undefined
|
|
66223
66241
|
/** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id` (full or partial UUID prefix, minimum 4 characters), `connected_account_id`, `display_name`, `custom_metadata` or `location.location_name`. */
|
|
66224
66242
|
search?: string | undefined
|
|
66243
|
+
/** ID of the parent device whose child devices you want to list. */
|
|
66244
|
+
parent_device_id?: string | undefined
|
|
66225
66245
|
/** Numerical limit on the number of devices to return. */
|
|
66226
66246
|
limit?: number
|
|
66227
66247
|
}
|
|
@@ -80482,6 +80502,10 @@ export type Routes = {
|
|
|
80482
80502
|
custom_metadata: {
|
|
80483
80503
|
[x: string]: string | boolean
|
|
80484
80504
|
}
|
|
80505
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
80506
|
+
parent_device_id?: string | undefined
|
|
80507
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
80508
|
+
child_device_ids?: string[] | undefined
|
|
80485
80509
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
80486
80510
|
device_provider?:
|
|
80487
80511
|
| {
|
|
@@ -82714,6 +82738,10 @@ export type Routes = {
|
|
|
82714
82738
|
custom_metadata: {
|
|
82715
82739
|
[x: string]: string | boolean
|
|
82716
82740
|
}
|
|
82741
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
82742
|
+
parent_device_id?: string | undefined
|
|
82743
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
82744
|
+
child_device_ids?: string[] | undefined
|
|
82717
82745
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
82718
82746
|
device_provider?:
|
|
82719
82747
|
| {
|
|
@@ -85084,6 +85112,10 @@ export type Routes = {
|
|
|
85084
85112
|
custom_metadata: {
|
|
85085
85113
|
[x: string]: string | boolean
|
|
85086
85114
|
}
|
|
85115
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
85116
|
+
parent_device_id?: string | undefined
|
|
85117
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
85118
|
+
child_device_ids?: string[] | undefined
|
|
85087
85119
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
85088
85120
|
device_provider?:
|
|
85089
85121
|
| {
|
|
@@ -87315,6 +87347,10 @@ export type Routes = {
|
|
|
87315
87347
|
custom_metadata: {
|
|
87316
87348
|
[x: string]: string | boolean
|
|
87317
87349
|
}
|
|
87350
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
87351
|
+
parent_device_id?: string | undefined
|
|
87352
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
87353
|
+
child_device_ids?: string[] | undefined
|
|
87318
87354
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
87319
87355
|
device_provider?:
|
|
87320
87356
|
| {
|
|
@@ -99949,6 +99985,10 @@ export type Routes = {
|
|
|
99949
99985
|
custom_metadata: {
|
|
99950
99986
|
[x: string]: string | boolean
|
|
99951
99987
|
}
|
|
99988
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
99989
|
+
parent_device_id?: string | undefined
|
|
99990
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
99991
|
+
child_device_ids?: string[] | undefined
|
|
99952
99992
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
99953
99993
|
device_provider?:
|
|
99954
99994
|
| {
|
|
@@ -102180,6 +102220,10 @@ export type Routes = {
|
|
|
102180
102220
|
custom_metadata: {
|
|
102181
102221
|
[x: string]: string | boolean
|
|
102182
102222
|
}
|
|
102223
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
102224
|
+
parent_device_id?: string | undefined
|
|
102225
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
102226
|
+
child_device_ids?: string[] | undefined
|
|
102183
102227
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
102184
102228
|
device_provider?:
|
|
102185
102229
|
| {
|
|
@@ -116338,6 +116382,10 @@ export type Routes = {
|
|
|
116338
116382
|
custom_metadata: {
|
|
116339
116383
|
[x: string]: string | boolean
|
|
116340
116384
|
}
|
|
116385
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
116386
|
+
parent_device_id?: string | undefined
|
|
116387
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
116388
|
+
child_device_ids?: string[] | undefined
|
|
116341
116389
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
116342
116390
|
device_provider?:
|
|
116343
116391
|
| {
|
|
@@ -139726,6 +139774,10 @@ export type Routes = {
|
|
|
139726
139774
|
custom_metadata: {
|
|
139727
139775
|
[x: string]: string | boolean
|
|
139728
139776
|
}
|
|
139777
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
139778
|
+
parent_device_id?: string | undefined
|
|
139779
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
139780
|
+
child_device_ids?: string[] | undefined
|
|
139729
139781
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
139730
139782
|
device_provider?:
|
|
139731
139783
|
| {
|
|
@@ -174315,6 +174367,10 @@ export type Routes = {
|
|
|
174315
174367
|
custom_metadata: {
|
|
174316
174368
|
[x: string]: string | boolean
|
|
174317
174369
|
}
|
|
174370
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
174371
|
+
parent_device_id?: string | undefined
|
|
174372
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
174373
|
+
child_device_ids?: string[] | undefined
|
|
174318
174374
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
174319
174375
|
device_provider?:
|
|
174320
174376
|
| {
|
|
@@ -181779,6 +181835,10 @@ export type Routes = {
|
|
|
181779
181835
|
custom_metadata: {
|
|
181780
181836
|
[x: string]: string | boolean
|
|
181781
181837
|
}
|
|
181838
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
181839
|
+
parent_device_id?: string | undefined
|
|
181840
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
181841
|
+
child_device_ids?: string[] | undefined
|
|
181782
181842
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
181783
181843
|
device_provider?:
|
|
181784
181844
|
| {
|
|
@@ -184010,6 +184070,10 @@ export type Routes = {
|
|
|
184010
184070
|
custom_metadata: {
|
|
184011
184071
|
[x: string]: string | boolean
|
|
184012
184072
|
}
|
|
184073
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
184074
|
+
parent_device_id?: string | undefined
|
|
184075
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
184076
|
+
child_device_ids?: string[] | undefined
|
|
184013
184077
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
184014
184078
|
device_provider?:
|
|
184015
184079
|
| {
|
|
@@ -197760,6 +197824,10 @@ export type Routes = {
|
|
|
197760
197824
|
custom_metadata: {
|
|
197761
197825
|
[x: string]: string | boolean
|
|
197762
197826
|
}
|
|
197827
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
197828
|
+
parent_device_id?: string | undefined
|
|
197829
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
197830
|
+
child_device_ids?: string[] | undefined
|
|
197763
197831
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
197764
197832
|
device_provider?:
|
|
197765
197833
|
| {
|
|
@@ -199993,6 +200061,10 @@ export type Routes = {
|
|
|
199993
200061
|
custom_metadata: {
|
|
199994
200062
|
[x: string]: string | boolean
|
|
199995
200063
|
}
|
|
200064
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
200065
|
+
parent_device_id?: string | undefined
|
|
200066
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
200067
|
+
child_device_ids?: string[] | undefined
|
|
199996
200068
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
199997
200069
|
device_provider?:
|
|
199998
200070
|
| {
|
|
@@ -205026,6 +205098,10 @@ export type Routes = {
|
|
|
205026
205098
|
custom_metadata: {
|
|
205027
205099
|
[x: string]: string | boolean
|
|
205028
205100
|
}
|
|
205101
|
+
/** ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent. */
|
|
205102
|
+
parent_device_id?: string | undefined
|
|
205103
|
+
/** IDs of the child devices that belong to this device. Only present when the device has at least one child. */
|
|
205104
|
+
child_device_ids?: string[] | undefined
|
|
205029
205105
|
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
205030
205106
|
device_provider?:
|
|
205031
205107
|
| {
|