@seamapi/types 1.496.0 → 1.498.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/dist/connect.cjs +107 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +189 -10
- package/dist/index.cjs +107 -25
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +74 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +6 -0
- package/lib/seam/connect/models/devices/device.d.ts +12 -0
- package/lib/seam/connect/models/devices/device.js +2 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +8 -0
- package/lib/seam/connect/openapi.d.ts +80 -0
- package/lib/seam/connect/openapi.js +82 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +67 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +85 -2
- package/src/lib/seam/connect/route-types.ts +77 -0
|
@@ -11336,6 +11336,8 @@ export type Routes = {
|
|
|
11336
11336
|
can_simulate_disconnection?: boolean | undefined;
|
|
11337
11337
|
can_unlock_with_code?: boolean | undefined;
|
|
11338
11338
|
can_run_thermostat_programs?: boolean | undefined;
|
|
11339
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
11340
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
11339
11341
|
}[] | undefined;
|
|
11340
11342
|
acs_entrances?: {
|
|
11341
11343
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -14482,6 +14484,8 @@ export type Routes = {
|
|
|
14482
14484
|
can_simulate_disconnection?: boolean | undefined;
|
|
14483
14485
|
can_unlock_with_code?: boolean | undefined;
|
|
14484
14486
|
can_run_thermostat_programs?: boolean | undefined;
|
|
14487
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
14488
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
14485
14489
|
}[] | undefined;
|
|
14486
14490
|
acs_entrances?: {
|
|
14487
14491
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -17128,6 +17132,8 @@ export type Routes = {
|
|
|
17128
17132
|
can_simulate_disconnection?: boolean | undefined;
|
|
17129
17133
|
can_unlock_with_code?: boolean | undefined;
|
|
17130
17134
|
can_run_thermostat_programs?: boolean | undefined;
|
|
17135
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
17136
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
17131
17137
|
}[] | undefined;
|
|
17132
17138
|
connect_webviews?: {
|
|
17133
17139
|
/** ID of the Connect Webview. */
|
|
@@ -25243,6 +25249,10 @@ export type Routes = {
|
|
|
25243
25249
|
acs_entrance_ids?: string[] | undefined;
|
|
25244
25250
|
/** String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`. */
|
|
25245
25251
|
search?: string | undefined;
|
|
25252
|
+
/** Maximum number of records to return per page. */
|
|
25253
|
+
limit?: number;
|
|
25254
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
25255
|
+
page_cursor?: (string | undefined) | null;
|
|
25246
25256
|
};
|
|
25247
25257
|
formData: {};
|
|
25248
25258
|
jsonResponse: {
|
|
@@ -25354,6 +25364,15 @@ export type Routes = {
|
|
|
25354
25364
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
25355
25365
|
can_unlock_with_code?: boolean | undefined;
|
|
25356
25366
|
}[];
|
|
25367
|
+
/** Information about the current page of results. */
|
|
25368
|
+
pagination: {
|
|
25369
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
25370
|
+
next_page_cursor: string | null;
|
|
25371
|
+
/** Indicates whether there is another page of results after this one. */
|
|
25372
|
+
has_next_page: boolean;
|
|
25373
|
+
/** URL to get the next page of results. */
|
|
25374
|
+
next_page_url: string | null;
|
|
25375
|
+
};
|
|
25357
25376
|
};
|
|
25358
25377
|
};
|
|
25359
25378
|
'/acs/entrances/list_credentials_with_access': {
|
|
@@ -32680,6 +32699,8 @@ export type Routes = {
|
|
|
32680
32699
|
can_simulate_disconnection?: boolean | undefined;
|
|
32681
32700
|
can_unlock_with_code?: boolean | undefined;
|
|
32682
32701
|
can_run_thermostat_programs?: boolean | undefined;
|
|
32702
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
32703
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
32683
32704
|
};
|
|
32684
32705
|
};
|
|
32685
32706
|
};
|
|
@@ -32717,9 +32738,9 @@ export type Routes = {
|
|
|
32717
32738
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
32718
32739
|
page_cursor?: (string | undefined) | null;
|
|
32719
32740
|
/** */
|
|
32720
|
-
include_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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
32741
|
+
include_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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
32721
32742
|
/** */
|
|
32722
|
-
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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
32743
|
+
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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
32723
32744
|
/**
|
|
32724
32745
|
* @deprecated Use `space_id`.*/
|
|
32725
32746
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -33934,6 +33955,8 @@ export type Routes = {
|
|
|
33934
33955
|
can_simulate_disconnection?: boolean | undefined;
|
|
33935
33956
|
can_unlock_with_code?: boolean | undefined;
|
|
33936
33957
|
can_run_thermostat_programs?: boolean | undefined;
|
|
33958
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
33959
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
33937
33960
|
}[];
|
|
33938
33961
|
/** Information about the current page of results. */
|
|
33939
33962
|
pagination: {
|
|
@@ -33975,6 +33998,8 @@ export type Routes = {
|
|
|
33975
33998
|
can_simulate_disconnection?: boolean | undefined;
|
|
33976
33999
|
can_unlock_with_code?: boolean | undefined;
|
|
33977
34000
|
can_run_thermostat_programs?: boolean | undefined;
|
|
34001
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
34002
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
33978
34003
|
}[];
|
|
33979
34004
|
};
|
|
33980
34005
|
};
|
|
@@ -34433,6 +34458,8 @@ export type Routes = {
|
|
|
34433
34458
|
can_simulate_disconnection?: boolean | undefined;
|
|
34434
34459
|
can_unlock_with_code?: boolean | undefined;
|
|
34435
34460
|
can_run_thermostat_programs?: boolean | undefined;
|
|
34461
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
34462
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
34436
34463
|
};
|
|
34437
34464
|
};
|
|
34438
34465
|
};
|
|
@@ -34470,9 +34497,9 @@ export type Routes = {
|
|
|
34470
34497
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
34471
34498
|
page_cursor?: (string | undefined) | null;
|
|
34472
34499
|
/** */
|
|
34473
|
-
include_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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
34500
|
+
include_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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
34474
34501
|
/** */
|
|
34475
|
-
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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
34502
|
+
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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
34476
34503
|
/**
|
|
34477
34504
|
* @deprecated Use `space_id`.*/
|
|
34478
34505
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -34866,6 +34893,8 @@ export type Routes = {
|
|
|
34866
34893
|
can_simulate_disconnection?: boolean | undefined;
|
|
34867
34894
|
can_unlock_with_code?: boolean | undefined;
|
|
34868
34895
|
can_run_thermostat_programs?: boolean | undefined;
|
|
34896
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
34897
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
34869
34898
|
}[];
|
|
34870
34899
|
};
|
|
34871
34900
|
};
|
|
@@ -39942,6 +39971,8 @@ export type Routes = {
|
|
|
39942
39971
|
can_simulate_disconnection?: boolean | undefined;
|
|
39943
39972
|
can_unlock_with_code?: boolean | undefined;
|
|
39944
39973
|
can_run_thermostat_programs?: boolean | undefined;
|
|
39974
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
39975
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
39945
39976
|
};
|
|
39946
39977
|
/** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
|
|
39947
39978
|
device: {
|
|
@@ -41146,6 +41177,8 @@ export type Routes = {
|
|
|
41146
41177
|
can_simulate_disconnection?: boolean | undefined;
|
|
41147
41178
|
can_unlock_with_code?: boolean | undefined;
|
|
41148
41179
|
can_run_thermostat_programs?: boolean | undefined;
|
|
41180
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
41181
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
41149
41182
|
};
|
|
41150
41183
|
};
|
|
41151
41184
|
};
|
|
@@ -41183,9 +41216,9 @@ export type Routes = {
|
|
|
41183
41216
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
41184
41217
|
page_cursor?: (string | undefined) | null;
|
|
41185
41218
|
/** */
|
|
41186
|
-
include_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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
41219
|
+
include_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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
41187
41220
|
/** */
|
|
41188
|
-
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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
41221
|
+
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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
41189
41222
|
/**
|
|
41190
41223
|
* @deprecated Use `space_id`.*/
|
|
41191
41224
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -42400,6 +42433,8 @@ export type Routes = {
|
|
|
42400
42433
|
can_simulate_disconnection?: boolean | undefined;
|
|
42401
42434
|
can_unlock_with_code?: boolean | undefined;
|
|
42402
42435
|
can_run_thermostat_programs?: boolean | undefined;
|
|
42436
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
42437
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
42403
42438
|
}[];
|
|
42404
42439
|
devices: {
|
|
42405
42440
|
/** ID of the device. */
|
|
@@ -43603,6 +43638,8 @@ export type Routes = {
|
|
|
43603
43638
|
can_simulate_disconnection?: boolean | undefined;
|
|
43604
43639
|
can_unlock_with_code?: boolean | undefined;
|
|
43605
43640
|
can_run_thermostat_programs?: boolean | undefined;
|
|
43641
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
43642
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
43606
43643
|
}[];
|
|
43607
43644
|
};
|
|
43608
43645
|
};
|
|
@@ -48678,9 +48715,9 @@ export type Routes = {
|
|
|
48678
48715
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
48679
48716
|
page_cursor?: (string | undefined) | null;
|
|
48680
48717
|
/** */
|
|
48681
|
-
include_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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
48718
|
+
include_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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
48682
48719
|
/** */
|
|
48683
|
-
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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
48720
|
+
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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
48684
48721
|
/**
|
|
48685
48722
|
* @deprecated Use `space_id`.*/
|
|
48686
48723
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -49895,6 +49932,8 @@ export type Routes = {
|
|
|
49895
49932
|
can_simulate_disconnection?: boolean | undefined;
|
|
49896
49933
|
can_unlock_with_code?: boolean | undefined;
|
|
49897
49934
|
can_run_thermostat_programs?: boolean | undefined;
|
|
49935
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
49936
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
49898
49937
|
}[];
|
|
49899
49938
|
devices: {
|
|
49900
49939
|
/** ID of the device. */
|
|
@@ -51098,6 +51137,8 @@ export type Routes = {
|
|
|
51098
51137
|
can_simulate_disconnection?: boolean | undefined;
|
|
51099
51138
|
can_unlock_with_code?: boolean | undefined;
|
|
51100
51139
|
can_run_thermostat_programs?: boolean | undefined;
|
|
51140
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
51141
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
51101
51142
|
}[];
|
|
51102
51143
|
};
|
|
51103
51144
|
};
|
|
@@ -59495,6 +59536,8 @@ export type Routes = {
|
|
|
59495
59536
|
can_simulate_disconnection?: boolean | undefined;
|
|
59496
59537
|
can_unlock_with_code?: boolean | undefined;
|
|
59497
59538
|
can_run_thermostat_programs?: boolean | undefined;
|
|
59539
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
59540
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
59498
59541
|
}[] | undefined;
|
|
59499
59542
|
acs_entrances?: {
|
|
59500
59543
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -65079,6 +65122,8 @@ export type Routes = {
|
|
|
65079
65122
|
can_simulate_disconnection?: boolean | undefined;
|
|
65080
65123
|
can_unlock_with_code?: boolean | undefined;
|
|
65081
65124
|
can_run_thermostat_programs?: boolean | undefined;
|
|
65125
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
65126
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
65082
65127
|
};
|
|
65083
65128
|
};
|
|
65084
65129
|
};
|
|
@@ -67648,9 +67693,9 @@ export type Routes = {
|
|
|
67648
67693
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
67649
67694
|
page_cursor?: (string | undefined) | null;
|
|
67650
67695
|
/** */
|
|
67651
|
-
include_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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
67696
|
+
include_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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
67652
67697
|
/** */
|
|
67653
|
-
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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
67698
|
+
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_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
67654
67699
|
/**
|
|
67655
67700
|
* @deprecated Use `space_id`.*/
|
|
67656
67701
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -68865,6 +68910,8 @@ export type Routes = {
|
|
|
68865
68910
|
can_simulate_disconnection?: boolean | undefined;
|
|
68866
68911
|
can_unlock_with_code?: boolean | undefined;
|
|
68867
68912
|
can_run_thermostat_programs?: boolean | undefined;
|
|
68913
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
68914
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
68868
68915
|
}[];
|
|
68869
68916
|
devices: {
|
|
68870
68917
|
/** ID of the device. */
|
|
@@ -70068,6 +70115,8 @@ export type Routes = {
|
|
|
70068
70115
|
can_simulate_disconnection?: boolean | undefined;
|
|
70069
70116
|
can_unlock_with_code?: boolean | undefined;
|
|
70070
70117
|
can_run_thermostat_programs?: boolean | undefined;
|
|
70118
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
70119
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
70071
70120
|
}[];
|
|
70072
70121
|
};
|
|
70073
70122
|
};
|
|
@@ -77212,6 +77261,8 @@ export type Routes = {
|
|
|
77212
77261
|
can_simulate_disconnection?: boolean | undefined;
|
|
77213
77262
|
can_unlock_with_code?: boolean | undefined;
|
|
77214
77263
|
can_run_thermostat_programs?: boolean | undefined;
|
|
77264
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
77265
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
77215
77266
|
}[];
|
|
77216
77267
|
/**
|
|
77217
77268
|
* @deprecated Use devices.*/
|
|
@@ -78417,6 +78468,8 @@ export type Routes = {
|
|
|
78417
78468
|
can_simulate_disconnection?: boolean | undefined;
|
|
78418
78469
|
can_unlock_with_code?: boolean | undefined;
|
|
78419
78470
|
can_run_thermostat_programs?: boolean | undefined;
|
|
78471
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
78472
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
78420
78473
|
}[];
|
|
78421
78474
|
};
|
|
78422
78475
|
};
|
|
@@ -80381,6 +80434,8 @@ export type Routes = {
|
|
|
80381
80434
|
can_simulate_disconnection?: boolean | undefined;
|
|
80382
80435
|
can_unlock_with_code?: boolean | undefined;
|
|
80383
80436
|
can_run_thermostat_programs?: boolean | undefined;
|
|
80437
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
80438
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
80384
80439
|
}[] | undefined;
|
|
80385
80440
|
acs_entrances?: {
|
|
80386
80441
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -83027,6 +83082,8 @@ export type Routes = {
|
|
|
83027
83082
|
can_simulate_disconnection?: boolean | undefined;
|
|
83028
83083
|
can_unlock_with_code?: boolean | undefined;
|
|
83029
83084
|
can_run_thermostat_programs?: boolean | undefined;
|
|
83085
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
83086
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
83030
83087
|
}[] | undefined;
|
|
83031
83088
|
connect_webviews?: {
|
|
83032
83089
|
/** ID of the Connect Webview. */
|
package/package.json
CHANGED
|
@@ -23,6 +23,8 @@ export const device_capability_flags = z
|
|
|
23
23
|
can_simulate_disconnection: z.boolean(),
|
|
24
24
|
can_unlock_with_code: z.boolean(),
|
|
25
25
|
can_run_thermostat_programs: z.boolean(),
|
|
26
|
+
can_simulate_hub_connection: z.boolean(),
|
|
27
|
+
can_simulate_hub_disconnection: z.boolean(),
|
|
26
28
|
})
|
|
27
29
|
.partial()
|
|
28
30
|
|
|
@@ -9214,6 +9214,8 @@ export default {
|
|
|
9214
9214
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
9215
9215
|
can_simulate_connection: { type: 'boolean' },
|
|
9216
9216
|
can_simulate_disconnection: { type: 'boolean' },
|
|
9217
|
+
can_simulate_hub_connection: { type: 'boolean' },
|
|
9218
|
+
can_simulate_hub_disconnection: { type: 'boolean' },
|
|
9217
9219
|
can_simulate_removal: { type: 'boolean' },
|
|
9218
9220
|
can_turn_off_hvac: { type: 'boolean' },
|
|
9219
9221
|
can_unlock_with_code: { type: 'boolean' },
|
|
@@ -12981,6 +12983,8 @@ export default {
|
|
|
12981
12983
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
12982
12984
|
can_simulate_connection: { type: 'boolean' },
|
|
12983
12985
|
can_simulate_disconnection: { type: 'boolean' },
|
|
12986
|
+
can_simulate_hub_connection: { type: 'boolean' },
|
|
12987
|
+
can_simulate_hub_disconnection: { type: 'boolean' },
|
|
12984
12988
|
can_simulate_removal: { type: 'boolean' },
|
|
12985
12989
|
can_turn_off_hvac: { type: 'boolean' },
|
|
12986
12990
|
can_unlock_with_code: { type: 'boolean' },
|
|
@@ -23643,6 +23647,8 @@ export default {
|
|
|
23643
23647
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
23644
23648
|
can_simulate_connection: { type: 'boolean' },
|
|
23645
23649
|
can_simulate_disconnection: { type: 'boolean' },
|
|
23650
|
+
can_simulate_hub_connection: { type: 'boolean' },
|
|
23651
|
+
can_simulate_hub_disconnection: { type: 'boolean' },
|
|
23646
23652
|
can_simulate_removal: { type: 'boolean' },
|
|
23647
23653
|
can_turn_off_hvac: { type: 'boolean' },
|
|
23648
23654
|
can_unlock_with_code: { type: 'boolean' },
|
|
@@ -33327,6 +33333,27 @@ export default {
|
|
|
33327
33333
|
type: 'string',
|
|
33328
33334
|
},
|
|
33329
33335
|
},
|
|
33336
|
+
{
|
|
33337
|
+
in: 'query',
|
|
33338
|
+
name: 'limit',
|
|
33339
|
+
schema: {
|
|
33340
|
+
default: 900,
|
|
33341
|
+
description: 'Maximum number of records to return per page.',
|
|
33342
|
+
exclusiveMinimum: true,
|
|
33343
|
+
minimum: 0,
|
|
33344
|
+
type: 'integer',
|
|
33345
|
+
},
|
|
33346
|
+
},
|
|
33347
|
+
{
|
|
33348
|
+
in: 'query',
|
|
33349
|
+
name: 'page_cursor',
|
|
33350
|
+
schema: {
|
|
33351
|
+
description:
|
|
33352
|
+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
33353
|
+
nullable: true,
|
|
33354
|
+
type: 'string',
|
|
33355
|
+
},
|
|
33356
|
+
},
|
|
33330
33357
|
],
|
|
33331
33358
|
responses: {
|
|
33332
33359
|
200: {
|
|
@@ -33339,8 +33366,9 @@ export default {
|
|
|
33339
33366
|
type: 'array',
|
|
33340
33367
|
},
|
|
33341
33368
|
ok: { type: 'boolean' },
|
|
33369
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
33342
33370
|
},
|
|
33343
|
-
required: ['acs_entrances', 'ok'],
|
|
33371
|
+
required: ['acs_entrances', 'pagination', 'ok'],
|
|
33344
33372
|
type: 'object',
|
|
33345
33373
|
},
|
|
33346
33374
|
},
|
|
@@ -33410,6 +33438,14 @@ export default {
|
|
|
33410
33438
|
format: 'uuid',
|
|
33411
33439
|
type: 'string',
|
|
33412
33440
|
},
|
|
33441
|
+
limit: {
|
|
33442
|
+
default: 900,
|
|
33443
|
+
description:
|
|
33444
|
+
'Maximum number of records to return per page.',
|
|
33445
|
+
exclusiveMinimum: true,
|
|
33446
|
+
minimum: 0,
|
|
33447
|
+
type: 'integer',
|
|
33448
|
+
},
|
|
33413
33449
|
location_id: {
|
|
33414
33450
|
deprecated: true,
|
|
33415
33451
|
format: 'uuid',
|
|
@@ -33417,6 +33453,12 @@ export default {
|
|
|
33417
33453
|
type: 'string',
|
|
33418
33454
|
'x-deprecated': 'Use `space_id`.',
|
|
33419
33455
|
},
|
|
33456
|
+
page_cursor: {
|
|
33457
|
+
description:
|
|
33458
|
+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
33459
|
+
nullable: true,
|
|
33460
|
+
type: 'string',
|
|
33461
|
+
},
|
|
33420
33462
|
search: {
|
|
33421
33463
|
description:
|
|
33422
33464
|
'String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.',
|
|
@@ -33446,8 +33488,9 @@ export default {
|
|
|
33446
33488
|
type: 'array',
|
|
33447
33489
|
},
|
|
33448
33490
|
ok: { type: 'boolean' },
|
|
33491
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
33449
33492
|
},
|
|
33450
|
-
required: ['acs_entrances', 'ok'],
|
|
33493
|
+
required: ['acs_entrances', 'pagination', 'ok'],
|
|
33451
33494
|
type: 'object',
|
|
33452
33495
|
},
|
|
33453
33496
|
},
|
|
@@ -40174,6 +40217,8 @@ export default {
|
|
|
40174
40217
|
'can_simulate_disconnection',
|
|
40175
40218
|
'can_unlock_with_code',
|
|
40176
40219
|
'can_run_thermostat_programs',
|
|
40220
|
+
'can_simulate_hub_connection',
|
|
40221
|
+
'can_simulate_hub_disconnection',
|
|
40177
40222
|
],
|
|
40178
40223
|
type: 'string',
|
|
40179
40224
|
},
|
|
@@ -40200,6 +40245,8 @@ export default {
|
|
|
40200
40245
|
'can_simulate_disconnection',
|
|
40201
40246
|
'can_unlock_with_code',
|
|
40202
40247
|
'can_run_thermostat_programs',
|
|
40248
|
+
'can_simulate_hub_connection',
|
|
40249
|
+
'can_simulate_hub_disconnection',
|
|
40203
40250
|
],
|
|
40204
40251
|
type: 'string',
|
|
40205
40252
|
},
|
|
@@ -40489,6 +40536,8 @@ export default {
|
|
|
40489
40536
|
'can_simulate_disconnection',
|
|
40490
40537
|
'can_unlock_with_code',
|
|
40491
40538
|
'can_run_thermostat_programs',
|
|
40539
|
+
'can_simulate_hub_connection',
|
|
40540
|
+
'can_simulate_hub_disconnection',
|
|
40492
40541
|
],
|
|
40493
40542
|
type: 'string',
|
|
40494
40543
|
},
|
|
@@ -40511,6 +40560,8 @@ export default {
|
|
|
40511
40560
|
'can_simulate_disconnection',
|
|
40512
40561
|
'can_unlock_with_code',
|
|
40513
40562
|
'can_run_thermostat_programs',
|
|
40563
|
+
'can_simulate_hub_connection',
|
|
40564
|
+
'can_simulate_hub_disconnection',
|
|
40514
40565
|
],
|
|
40515
40566
|
type: 'string',
|
|
40516
40567
|
},
|
|
@@ -41457,6 +41508,8 @@ export default {
|
|
|
41457
41508
|
'can_simulate_disconnection',
|
|
41458
41509
|
'can_unlock_with_code',
|
|
41459
41510
|
'can_run_thermostat_programs',
|
|
41511
|
+
'can_simulate_hub_connection',
|
|
41512
|
+
'can_simulate_hub_disconnection',
|
|
41460
41513
|
],
|
|
41461
41514
|
type: 'string',
|
|
41462
41515
|
},
|
|
@@ -41483,6 +41536,8 @@ export default {
|
|
|
41483
41536
|
'can_simulate_disconnection',
|
|
41484
41537
|
'can_unlock_with_code',
|
|
41485
41538
|
'can_run_thermostat_programs',
|
|
41539
|
+
'can_simulate_hub_connection',
|
|
41540
|
+
'can_simulate_hub_disconnection',
|
|
41486
41541
|
],
|
|
41487
41542
|
type: 'string',
|
|
41488
41543
|
},
|
|
@@ -41769,6 +41824,8 @@ export default {
|
|
|
41769
41824
|
'can_simulate_disconnection',
|
|
41770
41825
|
'can_unlock_with_code',
|
|
41771
41826
|
'can_run_thermostat_programs',
|
|
41827
|
+
'can_simulate_hub_connection',
|
|
41828
|
+
'can_simulate_hub_disconnection',
|
|
41772
41829
|
],
|
|
41773
41830
|
type: 'string',
|
|
41774
41831
|
},
|
|
@@ -41791,6 +41848,8 @@ export default {
|
|
|
41791
41848
|
'can_simulate_disconnection',
|
|
41792
41849
|
'can_unlock_with_code',
|
|
41793
41850
|
'can_run_thermostat_programs',
|
|
41851
|
+
'can_simulate_hub_connection',
|
|
41852
|
+
'can_simulate_hub_disconnection',
|
|
41794
41853
|
],
|
|
41795
41854
|
type: 'string',
|
|
41796
41855
|
},
|
|
@@ -43740,6 +43799,8 @@ export default {
|
|
|
43740
43799
|
'can_simulate_disconnection',
|
|
43741
43800
|
'can_unlock_with_code',
|
|
43742
43801
|
'can_run_thermostat_programs',
|
|
43802
|
+
'can_simulate_hub_connection',
|
|
43803
|
+
'can_simulate_hub_disconnection',
|
|
43743
43804
|
],
|
|
43744
43805
|
type: 'string',
|
|
43745
43806
|
},
|
|
@@ -43766,6 +43827,8 @@ export default {
|
|
|
43766
43827
|
'can_simulate_disconnection',
|
|
43767
43828
|
'can_unlock_with_code',
|
|
43768
43829
|
'can_run_thermostat_programs',
|
|
43830
|
+
'can_simulate_hub_connection',
|
|
43831
|
+
'can_simulate_hub_disconnection',
|
|
43769
43832
|
],
|
|
43770
43833
|
type: 'string',
|
|
43771
43834
|
},
|
|
@@ -44000,6 +44063,8 @@ export default {
|
|
|
44000
44063
|
'can_simulate_disconnection',
|
|
44001
44064
|
'can_unlock_with_code',
|
|
44002
44065
|
'can_run_thermostat_programs',
|
|
44066
|
+
'can_simulate_hub_connection',
|
|
44067
|
+
'can_simulate_hub_disconnection',
|
|
44003
44068
|
],
|
|
44004
44069
|
type: 'string',
|
|
44005
44070
|
},
|
|
@@ -44022,6 +44087,8 @@ export default {
|
|
|
44022
44087
|
'can_simulate_disconnection',
|
|
44023
44088
|
'can_unlock_with_code',
|
|
44024
44089
|
'can_run_thermostat_programs',
|
|
44090
|
+
'can_simulate_hub_connection',
|
|
44091
|
+
'can_simulate_hub_disconnection',
|
|
44025
44092
|
],
|
|
44026
44093
|
type: 'string',
|
|
44027
44094
|
},
|
|
@@ -44559,6 +44626,8 @@ export default {
|
|
|
44559
44626
|
'can_simulate_disconnection',
|
|
44560
44627
|
'can_unlock_with_code',
|
|
44561
44628
|
'can_run_thermostat_programs',
|
|
44629
|
+
'can_simulate_hub_connection',
|
|
44630
|
+
'can_simulate_hub_disconnection',
|
|
44562
44631
|
],
|
|
44563
44632
|
type: 'string',
|
|
44564
44633
|
},
|
|
@@ -44585,6 +44654,8 @@ export default {
|
|
|
44585
44654
|
'can_simulate_disconnection',
|
|
44586
44655
|
'can_unlock_with_code',
|
|
44587
44656
|
'can_run_thermostat_programs',
|
|
44657
|
+
'can_simulate_hub_connection',
|
|
44658
|
+
'can_simulate_hub_disconnection',
|
|
44588
44659
|
],
|
|
44589
44660
|
type: 'string',
|
|
44590
44661
|
},
|
|
@@ -44763,6 +44834,8 @@ export default {
|
|
|
44763
44834
|
'can_simulate_disconnection',
|
|
44764
44835
|
'can_unlock_with_code',
|
|
44765
44836
|
'can_run_thermostat_programs',
|
|
44837
|
+
'can_simulate_hub_connection',
|
|
44838
|
+
'can_simulate_hub_disconnection',
|
|
44766
44839
|
],
|
|
44767
44840
|
type: 'string',
|
|
44768
44841
|
},
|
|
@@ -44785,6 +44858,8 @@ export default {
|
|
|
44785
44858
|
'can_simulate_disconnection',
|
|
44786
44859
|
'can_unlock_with_code',
|
|
44787
44860
|
'can_run_thermostat_programs',
|
|
44861
|
+
'can_simulate_hub_connection',
|
|
44862
|
+
'can_simulate_hub_disconnection',
|
|
44788
44863
|
],
|
|
44789
44864
|
type: 'string',
|
|
44790
44865
|
},
|
|
@@ -51337,6 +51412,8 @@ export default {
|
|
|
51337
51412
|
'can_simulate_disconnection',
|
|
51338
51413
|
'can_unlock_with_code',
|
|
51339
51414
|
'can_run_thermostat_programs',
|
|
51415
|
+
'can_simulate_hub_connection',
|
|
51416
|
+
'can_simulate_hub_disconnection',
|
|
51340
51417
|
],
|
|
51341
51418
|
type: 'string',
|
|
51342
51419
|
},
|
|
@@ -51363,6 +51440,8 @@ export default {
|
|
|
51363
51440
|
'can_simulate_disconnection',
|
|
51364
51441
|
'can_unlock_with_code',
|
|
51365
51442
|
'can_run_thermostat_programs',
|
|
51443
|
+
'can_simulate_hub_connection',
|
|
51444
|
+
'can_simulate_hub_disconnection',
|
|
51366
51445
|
],
|
|
51367
51446
|
type: 'string',
|
|
51368
51447
|
},
|
|
@@ -51555,6 +51634,8 @@ export default {
|
|
|
51555
51634
|
'can_simulate_disconnection',
|
|
51556
51635
|
'can_unlock_with_code',
|
|
51557
51636
|
'can_run_thermostat_programs',
|
|
51637
|
+
'can_simulate_hub_connection',
|
|
51638
|
+
'can_simulate_hub_disconnection',
|
|
51558
51639
|
],
|
|
51559
51640
|
type: 'string',
|
|
51560
51641
|
},
|
|
@@ -51577,6 +51658,8 @@ export default {
|
|
|
51577
51658
|
'can_simulate_disconnection',
|
|
51578
51659
|
'can_unlock_with_code',
|
|
51579
51660
|
'can_run_thermostat_programs',
|
|
51661
|
+
'can_simulate_hub_connection',
|
|
51662
|
+
'can_simulate_hub_disconnection',
|
|
51580
51663
|
],
|
|
51581
51664
|
type: 'string',
|
|
51582
51665
|
},
|