@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
|
@@ -4290,6 +4290,12 @@ declare const _default: {
|
|
|
4290
4290
|
can_simulate_disconnection: {
|
|
4291
4291
|
type: string;
|
|
4292
4292
|
};
|
|
4293
|
+
can_simulate_hub_connection: {
|
|
4294
|
+
type: string;
|
|
4295
|
+
};
|
|
4296
|
+
can_simulate_hub_disconnection: {
|
|
4297
|
+
type: string;
|
|
4298
|
+
};
|
|
4293
4299
|
can_simulate_removal: {
|
|
4294
4300
|
type: string;
|
|
4295
4301
|
};
|
|
@@ -6840,6 +6846,12 @@ declare const _default: {
|
|
|
6840
6846
|
can_simulate_disconnection: {
|
|
6841
6847
|
type: string;
|
|
6842
6848
|
};
|
|
6849
|
+
can_simulate_hub_connection: {
|
|
6850
|
+
type: string;
|
|
6851
|
+
};
|
|
6852
|
+
can_simulate_hub_disconnection: {
|
|
6853
|
+
type: string;
|
|
6854
|
+
};
|
|
6843
6855
|
can_simulate_removal: {
|
|
6844
6856
|
type: string;
|
|
6845
6857
|
};
|
|
@@ -12694,6 +12706,12 @@ declare const _default: {
|
|
|
12694
12706
|
can_simulate_disconnection: {
|
|
12695
12707
|
type: string;
|
|
12696
12708
|
};
|
|
12709
|
+
can_simulate_hub_connection: {
|
|
12710
|
+
type: string;
|
|
12711
|
+
};
|
|
12712
|
+
can_simulate_hub_disconnection: {
|
|
12713
|
+
type: string;
|
|
12714
|
+
};
|
|
12697
12715
|
can_simulate_removal: {
|
|
12698
12716
|
type: string;
|
|
12699
12717
|
};
|
|
@@ -22848,6 +22866,9 @@ declare const _default: {
|
|
|
22848
22866
|
'x-deprecated'?: never;
|
|
22849
22867
|
items?: never;
|
|
22850
22868
|
minLength?: never;
|
|
22869
|
+
default?: never;
|
|
22870
|
+
exclusiveMinimum?: never;
|
|
22871
|
+
minimum?: never;
|
|
22851
22872
|
};
|
|
22852
22873
|
} | {
|
|
22853
22874
|
in: string;
|
|
@@ -22861,6 +22882,9 @@ declare const _default: {
|
|
|
22861
22882
|
description?: never;
|
|
22862
22883
|
items?: never;
|
|
22863
22884
|
minLength?: never;
|
|
22885
|
+
default?: never;
|
|
22886
|
+
exclusiveMinimum?: never;
|
|
22887
|
+
minimum?: never;
|
|
22864
22888
|
};
|
|
22865
22889
|
} | {
|
|
22866
22890
|
in: string;
|
|
@@ -22877,6 +22901,9 @@ declare const _default: {
|
|
|
22877
22901
|
nullable?: never;
|
|
22878
22902
|
'x-deprecated'?: never;
|
|
22879
22903
|
minLength?: never;
|
|
22904
|
+
default?: never;
|
|
22905
|
+
exclusiveMinimum?: never;
|
|
22906
|
+
minimum?: never;
|
|
22880
22907
|
};
|
|
22881
22908
|
} | {
|
|
22882
22909
|
in: string;
|
|
@@ -22890,6 +22917,41 @@ declare const _default: {
|
|
|
22890
22917
|
nullable?: never;
|
|
22891
22918
|
'x-deprecated'?: never;
|
|
22892
22919
|
items?: never;
|
|
22920
|
+
default?: never;
|
|
22921
|
+
exclusiveMinimum?: never;
|
|
22922
|
+
minimum?: never;
|
|
22923
|
+
};
|
|
22924
|
+
} | {
|
|
22925
|
+
in: string;
|
|
22926
|
+
name: string;
|
|
22927
|
+
schema: {
|
|
22928
|
+
default: number;
|
|
22929
|
+
description: string;
|
|
22930
|
+
exclusiveMinimum: boolean;
|
|
22931
|
+
minimum: number;
|
|
22932
|
+
type: string;
|
|
22933
|
+
format?: never;
|
|
22934
|
+
deprecated?: never;
|
|
22935
|
+
nullable?: never;
|
|
22936
|
+
'x-deprecated'?: never;
|
|
22937
|
+
items?: never;
|
|
22938
|
+
minLength?: never;
|
|
22939
|
+
};
|
|
22940
|
+
} | {
|
|
22941
|
+
in: string;
|
|
22942
|
+
name: string;
|
|
22943
|
+
schema: {
|
|
22944
|
+
description: string;
|
|
22945
|
+
nullable: boolean;
|
|
22946
|
+
type: string;
|
|
22947
|
+
format?: never;
|
|
22948
|
+
deprecated?: never;
|
|
22949
|
+
'x-deprecated'?: never;
|
|
22950
|
+
items?: never;
|
|
22951
|
+
minLength?: never;
|
|
22952
|
+
default?: never;
|
|
22953
|
+
exclusiveMinimum?: never;
|
|
22954
|
+
minimum?: never;
|
|
22893
22955
|
};
|
|
22894
22956
|
})[];
|
|
22895
22957
|
responses: {
|
|
@@ -22907,6 +22969,9 @@ declare const _default: {
|
|
|
22907
22969
|
ok: {
|
|
22908
22970
|
type: string;
|
|
22909
22971
|
};
|
|
22972
|
+
pagination: {
|
|
22973
|
+
$ref: string;
|
|
22974
|
+
};
|
|
22910
22975
|
};
|
|
22911
22976
|
required: string[];
|
|
22912
22977
|
type: string;
|
|
@@ -23002,6 +23067,13 @@ declare const _default: {
|
|
|
23002
23067
|
format: string;
|
|
23003
23068
|
type: string;
|
|
23004
23069
|
};
|
|
23070
|
+
limit: {
|
|
23071
|
+
default: number;
|
|
23072
|
+
description: string;
|
|
23073
|
+
exclusiveMinimum: boolean;
|
|
23074
|
+
minimum: number;
|
|
23075
|
+
type: string;
|
|
23076
|
+
};
|
|
23005
23077
|
location_id: {
|
|
23006
23078
|
deprecated: boolean;
|
|
23007
23079
|
format: string;
|
|
@@ -23009,6 +23081,11 @@ declare const _default: {
|
|
|
23009
23081
|
type: string;
|
|
23010
23082
|
'x-deprecated': string;
|
|
23011
23083
|
};
|
|
23084
|
+
page_cursor: {
|
|
23085
|
+
description: string;
|
|
23086
|
+
nullable: boolean;
|
|
23087
|
+
type: string;
|
|
23088
|
+
};
|
|
23012
23089
|
search: {
|
|
23013
23090
|
description: string;
|
|
23014
23091
|
minLength: number;
|
|
@@ -23040,6 +23117,9 @@ declare const _default: {
|
|
|
23040
23117
|
ok: {
|
|
23041
23118
|
type: string;
|
|
23042
23119
|
};
|
|
23120
|
+
pagination: {
|
|
23121
|
+
$ref: string;
|
|
23122
|
+
};
|
|
23043
23123
|
};
|
|
23044
23124
|
required: string[];
|
|
23045
23125
|
type: string;
|
|
@@ -8137,6 +8137,8 @@ export default {
|
|
|
8137
8137
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
8138
8138
|
can_simulate_connection: { type: 'boolean' },
|
|
8139
8139
|
can_simulate_disconnection: { type: 'boolean' },
|
|
8140
|
+
can_simulate_hub_connection: { type: 'boolean' },
|
|
8141
|
+
can_simulate_hub_disconnection: { type: 'boolean' },
|
|
8140
8142
|
can_simulate_removal: { type: 'boolean' },
|
|
8141
8143
|
can_turn_off_hvac: { type: 'boolean' },
|
|
8142
8144
|
can_unlock_with_code: { type: 'boolean' },
|
|
@@ -11494,6 +11496,8 @@ export default {
|
|
|
11494
11496
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
11495
11497
|
can_simulate_connection: { type: 'boolean' },
|
|
11496
11498
|
can_simulate_disconnection: { type: 'boolean' },
|
|
11499
|
+
can_simulate_hub_connection: { type: 'boolean' },
|
|
11500
|
+
can_simulate_hub_disconnection: { type: 'boolean' },
|
|
11497
11501
|
can_simulate_removal: { type: 'boolean' },
|
|
11498
11502
|
can_turn_off_hvac: { type: 'boolean' },
|
|
11499
11503
|
can_unlock_with_code: { type: 'boolean' },
|
|
@@ -21179,6 +21183,8 @@ export default {
|
|
|
21179
21183
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
21180
21184
|
can_simulate_connection: { type: 'boolean' },
|
|
21181
21185
|
can_simulate_disconnection: { type: 'boolean' },
|
|
21186
|
+
can_simulate_hub_connection: { type: 'boolean' },
|
|
21187
|
+
can_simulate_hub_disconnection: { type: 'boolean' },
|
|
21182
21188
|
can_simulate_removal: { type: 'boolean' },
|
|
21183
21189
|
can_turn_off_hvac: { type: 'boolean' },
|
|
21184
21190
|
can_unlock_with_code: { type: 'boolean' },
|
|
@@ -30250,6 +30256,26 @@ export default {
|
|
|
30250
30256
|
type: 'string',
|
|
30251
30257
|
},
|
|
30252
30258
|
},
|
|
30259
|
+
{
|
|
30260
|
+
in: 'query',
|
|
30261
|
+
name: 'limit',
|
|
30262
|
+
schema: {
|
|
30263
|
+
default: 900,
|
|
30264
|
+
description: 'Maximum number of records to return per page.',
|
|
30265
|
+
exclusiveMinimum: true,
|
|
30266
|
+
minimum: 0,
|
|
30267
|
+
type: 'integer',
|
|
30268
|
+
},
|
|
30269
|
+
},
|
|
30270
|
+
{
|
|
30271
|
+
in: 'query',
|
|
30272
|
+
name: 'page_cursor',
|
|
30273
|
+
schema: {
|
|
30274
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
30275
|
+
nullable: true,
|
|
30276
|
+
type: 'string',
|
|
30277
|
+
},
|
|
30278
|
+
},
|
|
30253
30279
|
],
|
|
30254
30280
|
responses: {
|
|
30255
30281
|
200: {
|
|
@@ -30262,8 +30288,9 @@ export default {
|
|
|
30262
30288
|
type: 'array',
|
|
30263
30289
|
},
|
|
30264
30290
|
ok: { type: 'boolean' },
|
|
30291
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
30265
30292
|
},
|
|
30266
|
-
required: ['acs_entrances', 'ok'],
|
|
30293
|
+
required: ['acs_entrances', 'pagination', 'ok'],
|
|
30267
30294
|
type: 'object',
|
|
30268
30295
|
},
|
|
30269
30296
|
},
|
|
@@ -30326,6 +30353,13 @@ export default {
|
|
|
30326
30353
|
format: 'uuid',
|
|
30327
30354
|
type: 'string',
|
|
30328
30355
|
},
|
|
30356
|
+
limit: {
|
|
30357
|
+
default: 900,
|
|
30358
|
+
description: 'Maximum number of records to return per page.',
|
|
30359
|
+
exclusiveMinimum: true,
|
|
30360
|
+
minimum: 0,
|
|
30361
|
+
type: 'integer',
|
|
30362
|
+
},
|
|
30329
30363
|
location_id: {
|
|
30330
30364
|
deprecated: true,
|
|
30331
30365
|
format: 'uuid',
|
|
@@ -30333,6 +30367,11 @@ export default {
|
|
|
30333
30367
|
type: 'string',
|
|
30334
30368
|
'x-deprecated': 'Use `space_id`.',
|
|
30335
30369
|
},
|
|
30370
|
+
page_cursor: {
|
|
30371
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
30372
|
+
nullable: true,
|
|
30373
|
+
type: 'string',
|
|
30374
|
+
},
|
|
30336
30375
|
search: {
|
|
30337
30376
|
description: 'String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.',
|
|
30338
30377
|
minLength: 1,
|
|
@@ -30360,8 +30399,9 @@ export default {
|
|
|
30360
30399
|
type: 'array',
|
|
30361
30400
|
},
|
|
30362
30401
|
ok: { type: 'boolean' },
|
|
30402
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
30363
30403
|
},
|
|
30364
|
-
required: ['acs_entrances', 'ok'],
|
|
30404
|
+
required: ['acs_entrances', 'pagination', 'ok'],
|
|
30365
30405
|
type: 'object',
|
|
30366
30406
|
},
|
|
30367
30407
|
},
|
|
@@ -36611,6 +36651,8 @@ export default {
|
|
|
36611
36651
|
'can_simulate_disconnection',
|
|
36612
36652
|
'can_unlock_with_code',
|
|
36613
36653
|
'can_run_thermostat_programs',
|
|
36654
|
+
'can_simulate_hub_connection',
|
|
36655
|
+
'can_simulate_hub_disconnection',
|
|
36614
36656
|
],
|
|
36615
36657
|
type: 'string',
|
|
36616
36658
|
},
|
|
@@ -36637,6 +36679,8 @@ export default {
|
|
|
36637
36679
|
'can_simulate_disconnection',
|
|
36638
36680
|
'can_unlock_with_code',
|
|
36639
36681
|
'can_run_thermostat_programs',
|
|
36682
|
+
'can_simulate_hub_connection',
|
|
36683
|
+
'can_simulate_hub_disconnection',
|
|
36640
36684
|
],
|
|
36641
36685
|
type: 'string',
|
|
36642
36686
|
},
|
|
@@ -36909,6 +36953,8 @@ export default {
|
|
|
36909
36953
|
'can_simulate_disconnection',
|
|
36910
36954
|
'can_unlock_with_code',
|
|
36911
36955
|
'can_run_thermostat_programs',
|
|
36956
|
+
'can_simulate_hub_connection',
|
|
36957
|
+
'can_simulate_hub_disconnection',
|
|
36912
36958
|
],
|
|
36913
36959
|
type: 'string',
|
|
36914
36960
|
},
|
|
@@ -36931,6 +36977,8 @@ export default {
|
|
|
36931
36977
|
'can_simulate_disconnection',
|
|
36932
36978
|
'can_unlock_with_code',
|
|
36933
36979
|
'can_run_thermostat_programs',
|
|
36980
|
+
'can_simulate_hub_connection',
|
|
36981
|
+
'can_simulate_hub_disconnection',
|
|
36934
36982
|
],
|
|
36935
36983
|
type: 'string',
|
|
36936
36984
|
},
|
|
@@ -37843,6 +37891,8 @@ export default {
|
|
|
37843
37891
|
'can_simulate_disconnection',
|
|
37844
37892
|
'can_unlock_with_code',
|
|
37845
37893
|
'can_run_thermostat_programs',
|
|
37894
|
+
'can_simulate_hub_connection',
|
|
37895
|
+
'can_simulate_hub_disconnection',
|
|
37846
37896
|
],
|
|
37847
37897
|
type: 'string',
|
|
37848
37898
|
},
|
|
@@ -37869,6 +37919,8 @@ export default {
|
|
|
37869
37919
|
'can_simulate_disconnection',
|
|
37870
37920
|
'can_unlock_with_code',
|
|
37871
37921
|
'can_run_thermostat_programs',
|
|
37922
|
+
'can_simulate_hub_connection',
|
|
37923
|
+
'can_simulate_hub_disconnection',
|
|
37872
37924
|
],
|
|
37873
37925
|
type: 'string',
|
|
37874
37926
|
},
|
|
@@ -38138,6 +38190,8 @@ export default {
|
|
|
38138
38190
|
'can_simulate_disconnection',
|
|
38139
38191
|
'can_unlock_with_code',
|
|
38140
38192
|
'can_run_thermostat_programs',
|
|
38193
|
+
'can_simulate_hub_connection',
|
|
38194
|
+
'can_simulate_hub_disconnection',
|
|
38141
38195
|
],
|
|
38142
38196
|
type: 'string',
|
|
38143
38197
|
},
|
|
@@ -38160,6 +38214,8 @@ export default {
|
|
|
38160
38214
|
'can_simulate_disconnection',
|
|
38161
38215
|
'can_unlock_with_code',
|
|
38162
38216
|
'can_run_thermostat_programs',
|
|
38217
|
+
'can_simulate_hub_connection',
|
|
38218
|
+
'can_simulate_hub_disconnection',
|
|
38163
38219
|
],
|
|
38164
38220
|
type: 'string',
|
|
38165
38221
|
},
|
|
@@ -40039,6 +40095,8 @@ export default {
|
|
|
40039
40095
|
'can_simulate_disconnection',
|
|
40040
40096
|
'can_unlock_with_code',
|
|
40041
40097
|
'can_run_thermostat_programs',
|
|
40098
|
+
'can_simulate_hub_connection',
|
|
40099
|
+
'can_simulate_hub_disconnection',
|
|
40042
40100
|
],
|
|
40043
40101
|
type: 'string',
|
|
40044
40102
|
},
|
|
@@ -40065,6 +40123,8 @@ export default {
|
|
|
40065
40123
|
'can_simulate_disconnection',
|
|
40066
40124
|
'can_unlock_with_code',
|
|
40067
40125
|
'can_run_thermostat_programs',
|
|
40126
|
+
'can_simulate_hub_connection',
|
|
40127
|
+
'can_simulate_hub_disconnection',
|
|
40068
40128
|
],
|
|
40069
40129
|
type: 'string',
|
|
40070
40130
|
},
|
|
@@ -40286,6 +40346,8 @@ export default {
|
|
|
40286
40346
|
'can_simulate_disconnection',
|
|
40287
40347
|
'can_unlock_with_code',
|
|
40288
40348
|
'can_run_thermostat_programs',
|
|
40349
|
+
'can_simulate_hub_connection',
|
|
40350
|
+
'can_simulate_hub_disconnection',
|
|
40289
40351
|
],
|
|
40290
40352
|
type: 'string',
|
|
40291
40353
|
},
|
|
@@ -40308,6 +40370,8 @@ export default {
|
|
|
40308
40370
|
'can_simulate_disconnection',
|
|
40309
40371
|
'can_unlock_with_code',
|
|
40310
40372
|
'can_run_thermostat_programs',
|
|
40373
|
+
'can_simulate_hub_connection',
|
|
40374
|
+
'can_simulate_hub_disconnection',
|
|
40311
40375
|
],
|
|
40312
40376
|
type: 'string',
|
|
40313
40377
|
},
|
|
@@ -40819,6 +40883,8 @@ export default {
|
|
|
40819
40883
|
'can_simulate_disconnection',
|
|
40820
40884
|
'can_unlock_with_code',
|
|
40821
40885
|
'can_run_thermostat_programs',
|
|
40886
|
+
'can_simulate_hub_connection',
|
|
40887
|
+
'can_simulate_hub_disconnection',
|
|
40822
40888
|
],
|
|
40823
40889
|
type: 'string',
|
|
40824
40890
|
},
|
|
@@ -40845,6 +40911,8 @@ export default {
|
|
|
40845
40911
|
'can_simulate_disconnection',
|
|
40846
40912
|
'can_unlock_with_code',
|
|
40847
40913
|
'can_run_thermostat_programs',
|
|
40914
|
+
'can_simulate_hub_connection',
|
|
40915
|
+
'can_simulate_hub_disconnection',
|
|
40848
40916
|
],
|
|
40849
40917
|
type: 'string',
|
|
40850
40918
|
},
|
|
@@ -41010,6 +41078,8 @@ export default {
|
|
|
41010
41078
|
'can_simulate_disconnection',
|
|
41011
41079
|
'can_unlock_with_code',
|
|
41012
41080
|
'can_run_thermostat_programs',
|
|
41081
|
+
'can_simulate_hub_connection',
|
|
41082
|
+
'can_simulate_hub_disconnection',
|
|
41013
41083
|
],
|
|
41014
41084
|
type: 'string',
|
|
41015
41085
|
},
|
|
@@ -41032,6 +41102,8 @@ export default {
|
|
|
41032
41102
|
'can_simulate_disconnection',
|
|
41033
41103
|
'can_unlock_with_code',
|
|
41034
41104
|
'can_run_thermostat_programs',
|
|
41105
|
+
'can_simulate_hub_connection',
|
|
41106
|
+
'can_simulate_hub_disconnection',
|
|
41035
41107
|
],
|
|
41036
41108
|
type: 'string',
|
|
41037
41109
|
},
|
|
@@ -47329,6 +47401,8 @@ export default {
|
|
|
47329
47401
|
'can_simulate_disconnection',
|
|
47330
47402
|
'can_unlock_with_code',
|
|
47331
47403
|
'can_run_thermostat_programs',
|
|
47404
|
+
'can_simulate_hub_connection',
|
|
47405
|
+
'can_simulate_hub_disconnection',
|
|
47332
47406
|
],
|
|
47333
47407
|
type: 'string',
|
|
47334
47408
|
},
|
|
@@ -47355,6 +47429,8 @@ export default {
|
|
|
47355
47429
|
'can_simulate_disconnection',
|
|
47356
47430
|
'can_unlock_with_code',
|
|
47357
47431
|
'can_run_thermostat_programs',
|
|
47432
|
+
'can_simulate_hub_connection',
|
|
47433
|
+
'can_simulate_hub_disconnection',
|
|
47358
47434
|
],
|
|
47359
47435
|
type: 'string',
|
|
47360
47436
|
},
|
|
@@ -47534,6 +47610,8 @@ export default {
|
|
|
47534
47610
|
'can_simulate_disconnection',
|
|
47535
47611
|
'can_unlock_with_code',
|
|
47536
47612
|
'can_run_thermostat_programs',
|
|
47613
|
+
'can_simulate_hub_connection',
|
|
47614
|
+
'can_simulate_hub_disconnection',
|
|
47537
47615
|
],
|
|
47538
47616
|
type: 'string',
|
|
47539
47617
|
},
|
|
@@ -47556,6 +47634,8 @@ export default {
|
|
|
47556
47634
|
'can_simulate_disconnection',
|
|
47557
47635
|
'can_unlock_with_code',
|
|
47558
47636
|
'can_run_thermostat_programs',
|
|
47637
|
+
'can_simulate_hub_connection',
|
|
47638
|
+
'can_simulate_hub_disconnection',
|
|
47559
47639
|
],
|
|
47560
47640
|
type: 'string',
|
|
47561
47641
|
},
|