@seamapi/types 1.417.0 → 1.418.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 +229 -79
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +398 -4
- package/lib/seam/connect/models/devices/device.js +131 -67
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +398 -4
- package/lib/seam/connect/openapi.js +82 -18
- package/lib/seam/connect/openapi.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +202 -150
- package/src/lib/seam/connect/openapi.ts +88 -18
|
@@ -69,6 +69,7 @@ declare const _default: {
|
|
|
69
69
|
};
|
|
70
70
|
required: string[];
|
|
71
71
|
type: string;
|
|
72
|
+
'x-variant-group-key'?: never;
|
|
72
73
|
} | {
|
|
73
74
|
description: string;
|
|
74
75
|
properties: {
|
|
@@ -101,6 +102,40 @@ declare const _default: {
|
|
|
101
102
|
};
|
|
102
103
|
required: string[];
|
|
103
104
|
type: string;
|
|
105
|
+
'x-variant-group-key'?: never;
|
|
106
|
+
} | {
|
|
107
|
+
description: string;
|
|
108
|
+
properties: {
|
|
109
|
+
created_at: {
|
|
110
|
+
description: string;
|
|
111
|
+
format: string;
|
|
112
|
+
type: string;
|
|
113
|
+
};
|
|
114
|
+
error_code: {
|
|
115
|
+
description: string;
|
|
116
|
+
enum: string[];
|
|
117
|
+
type: string;
|
|
118
|
+
};
|
|
119
|
+
is_connected_account_error: {
|
|
120
|
+
description: string;
|
|
121
|
+
enum: boolean[];
|
|
122
|
+
type: string;
|
|
123
|
+
};
|
|
124
|
+
is_device_error: {
|
|
125
|
+
description: string;
|
|
126
|
+
enum: boolean[];
|
|
127
|
+
type: string;
|
|
128
|
+
};
|
|
129
|
+
message: {
|
|
130
|
+
description: string;
|
|
131
|
+
type: string;
|
|
132
|
+
};
|
|
133
|
+
is_access_code_error?: never;
|
|
134
|
+
is_bridge_error?: never;
|
|
135
|
+
};
|
|
136
|
+
required: string[];
|
|
137
|
+
type: string;
|
|
138
|
+
'x-variant-group-key': string;
|
|
104
139
|
} | {
|
|
105
140
|
description: string;
|
|
106
141
|
properties: {
|
|
@@ -129,6 +164,36 @@ declare const _default: {
|
|
|
129
164
|
};
|
|
130
165
|
required: string[];
|
|
131
166
|
type: string;
|
|
167
|
+
'x-variant-group-key'?: never;
|
|
168
|
+
} | {
|
|
169
|
+
description: string;
|
|
170
|
+
properties: {
|
|
171
|
+
created_at: {
|
|
172
|
+
description: string;
|
|
173
|
+
format: string;
|
|
174
|
+
type: string;
|
|
175
|
+
};
|
|
176
|
+
error_code: {
|
|
177
|
+
description: string;
|
|
178
|
+
enum: string[];
|
|
179
|
+
type: string;
|
|
180
|
+
};
|
|
181
|
+
is_device_error: {
|
|
182
|
+
description: string;
|
|
183
|
+
enum: boolean[];
|
|
184
|
+
type: string;
|
|
185
|
+
};
|
|
186
|
+
message: {
|
|
187
|
+
description: string;
|
|
188
|
+
type: string;
|
|
189
|
+
};
|
|
190
|
+
is_access_code_error?: never;
|
|
191
|
+
is_connected_account_error?: never;
|
|
192
|
+
is_bridge_error?: never;
|
|
193
|
+
};
|
|
194
|
+
required: string[];
|
|
195
|
+
type: string;
|
|
196
|
+
'x-variant-group-key': string;
|
|
132
197
|
} | {
|
|
133
198
|
description: string;
|
|
134
199
|
properties: {
|
|
@@ -160,6 +225,7 @@ declare const _default: {
|
|
|
160
225
|
};
|
|
161
226
|
required: string[];
|
|
162
227
|
type: string;
|
|
228
|
+
'x-variant-group-key'?: never;
|
|
163
229
|
})[];
|
|
164
230
|
};
|
|
165
231
|
type: string;
|
|
@@ -4242,6 +4308,67 @@ declare const _default: {
|
|
|
4242
4308
|
};
|
|
4243
4309
|
required: string[];
|
|
4244
4310
|
type: string;
|
|
4311
|
+
'x-variant-group-key'?: never;
|
|
4312
|
+
} | {
|
|
4313
|
+
description: string;
|
|
4314
|
+
properties: {
|
|
4315
|
+
created_at: {
|
|
4316
|
+
description: string;
|
|
4317
|
+
format: string;
|
|
4318
|
+
type: string;
|
|
4319
|
+
};
|
|
4320
|
+
error_code: {
|
|
4321
|
+
description: string;
|
|
4322
|
+
enum: string[];
|
|
4323
|
+
type: string;
|
|
4324
|
+
};
|
|
4325
|
+
is_connected_account_error: {
|
|
4326
|
+
description: string;
|
|
4327
|
+
enum: boolean[];
|
|
4328
|
+
type: string;
|
|
4329
|
+
};
|
|
4330
|
+
is_device_error: {
|
|
4331
|
+
description: string;
|
|
4332
|
+
enum: boolean[];
|
|
4333
|
+
type: string;
|
|
4334
|
+
};
|
|
4335
|
+
message: {
|
|
4336
|
+
description: string;
|
|
4337
|
+
type: string;
|
|
4338
|
+
};
|
|
4339
|
+
is_bridge_error?: never;
|
|
4340
|
+
};
|
|
4341
|
+
required: string[];
|
|
4342
|
+
type: string;
|
|
4343
|
+
'x-variant-group-key': string;
|
|
4344
|
+
} | {
|
|
4345
|
+
description: string;
|
|
4346
|
+
properties: {
|
|
4347
|
+
created_at: {
|
|
4348
|
+
description: string;
|
|
4349
|
+
format: string;
|
|
4350
|
+
type: string;
|
|
4351
|
+
};
|
|
4352
|
+
error_code: {
|
|
4353
|
+
description: string;
|
|
4354
|
+
enum: string[];
|
|
4355
|
+
type: string;
|
|
4356
|
+
};
|
|
4357
|
+
is_device_error: {
|
|
4358
|
+
description: string;
|
|
4359
|
+
enum: boolean[];
|
|
4360
|
+
type: string;
|
|
4361
|
+
};
|
|
4362
|
+
message: {
|
|
4363
|
+
description: string;
|
|
4364
|
+
type: string;
|
|
4365
|
+
};
|
|
4366
|
+
is_connected_account_error?: never;
|
|
4367
|
+
is_bridge_error?: never;
|
|
4368
|
+
};
|
|
4369
|
+
required: string[];
|
|
4370
|
+
type: string;
|
|
4371
|
+
'x-variant-group-key'?: never;
|
|
4245
4372
|
} | {
|
|
4246
4373
|
description: string;
|
|
4247
4374
|
properties: {
|
|
@@ -4269,6 +4396,7 @@ declare const _default: {
|
|
|
4269
4396
|
};
|
|
4270
4397
|
required: string[];
|
|
4271
4398
|
type: string;
|
|
4399
|
+
'x-variant-group-key': string;
|
|
4272
4400
|
} | {
|
|
4273
4401
|
description: string;
|
|
4274
4402
|
properties: {
|
|
@@ -4299,9 +4427,33 @@ declare const _default: {
|
|
|
4299
4427
|
};
|
|
4300
4428
|
required: string[];
|
|
4301
4429
|
type: string;
|
|
4430
|
+
'x-variant-group-key'?: never;
|
|
4302
4431
|
})[];
|
|
4303
4432
|
};
|
|
4304
4433
|
type: string;
|
|
4434
|
+
'x-variant-groups': {
|
|
4435
|
+
access_codes: {
|
|
4436
|
+
name: string;
|
|
4437
|
+
};
|
|
4438
|
+
hardware: {
|
|
4439
|
+
name: string;
|
|
4440
|
+
};
|
|
4441
|
+
locks: {
|
|
4442
|
+
name: string;
|
|
4443
|
+
};
|
|
4444
|
+
noise_sensors: {
|
|
4445
|
+
name: string;
|
|
4446
|
+
};
|
|
4447
|
+
phones: {
|
|
4448
|
+
name: string;
|
|
4449
|
+
};
|
|
4450
|
+
provider_metadata: {
|
|
4451
|
+
name: string;
|
|
4452
|
+
};
|
|
4453
|
+
thermostats: {
|
|
4454
|
+
name: string;
|
|
4455
|
+
};
|
|
4456
|
+
};
|
|
4305
4457
|
};
|
|
4306
4458
|
is_managed: {
|
|
4307
4459
|
description: string;
|
|
@@ -6268,7 +6420,7 @@ declare const _default: {
|
|
|
6268
6420
|
discriminator: {
|
|
6269
6421
|
propertyName: string;
|
|
6270
6422
|
};
|
|
6271
|
-
oneOf: {
|
|
6423
|
+
oneOf: ({
|
|
6272
6424
|
description: string;
|
|
6273
6425
|
properties: {
|
|
6274
6426
|
created_at: {
|
|
@@ -6288,9 +6440,54 @@ declare const _default: {
|
|
|
6288
6440
|
};
|
|
6289
6441
|
required: string[];
|
|
6290
6442
|
type: string;
|
|
6291
|
-
|
|
6443
|
+
'x-variant-group-key': string;
|
|
6444
|
+
} | {
|
|
6445
|
+
description: string;
|
|
6446
|
+
properties: {
|
|
6447
|
+
created_at: {
|
|
6448
|
+
description: string;
|
|
6449
|
+
format: string;
|
|
6450
|
+
type: string;
|
|
6451
|
+
};
|
|
6452
|
+
message: {
|
|
6453
|
+
description: string;
|
|
6454
|
+
type: string;
|
|
6455
|
+
};
|
|
6456
|
+
warning_code: {
|
|
6457
|
+
description: string;
|
|
6458
|
+
enum: string[];
|
|
6459
|
+
type: string;
|
|
6460
|
+
};
|
|
6461
|
+
};
|
|
6462
|
+
required: string[];
|
|
6463
|
+
type: string;
|
|
6464
|
+
'x-variant-group-key'?: never;
|
|
6465
|
+
})[];
|
|
6292
6466
|
};
|
|
6293
6467
|
type: string;
|
|
6468
|
+
'x-variant-groups': {
|
|
6469
|
+
access_codes: {
|
|
6470
|
+
name: string;
|
|
6471
|
+
};
|
|
6472
|
+
hardware: {
|
|
6473
|
+
name: string;
|
|
6474
|
+
};
|
|
6475
|
+
locks: {
|
|
6476
|
+
name: string;
|
|
6477
|
+
};
|
|
6478
|
+
noise_sensors: {
|
|
6479
|
+
name: string;
|
|
6480
|
+
};
|
|
6481
|
+
phones: {
|
|
6482
|
+
name: string;
|
|
6483
|
+
};
|
|
6484
|
+
provider_metadata: {
|
|
6485
|
+
name: string;
|
|
6486
|
+
};
|
|
6487
|
+
thermostats: {
|
|
6488
|
+
name: string;
|
|
6489
|
+
};
|
|
6490
|
+
};
|
|
6294
6491
|
};
|
|
6295
6492
|
workspace_id: {
|
|
6296
6493
|
description: string;
|
|
@@ -10633,6 +10830,7 @@ declare const _default: {
|
|
|
10633
10830
|
};
|
|
10634
10831
|
required: string[];
|
|
10635
10832
|
type: string;
|
|
10833
|
+
'x-variant-group-key'?: never;
|
|
10636
10834
|
} | {
|
|
10637
10835
|
description: string;
|
|
10638
10836
|
properties: {
|
|
@@ -10665,6 +10863,40 @@ declare const _default: {
|
|
|
10665
10863
|
};
|
|
10666
10864
|
required: string[];
|
|
10667
10865
|
type: string;
|
|
10866
|
+
'x-variant-group-key'?: never;
|
|
10867
|
+
} | {
|
|
10868
|
+
description: string;
|
|
10869
|
+
properties: {
|
|
10870
|
+
created_at: {
|
|
10871
|
+
description: string;
|
|
10872
|
+
format: string;
|
|
10873
|
+
type: string;
|
|
10874
|
+
};
|
|
10875
|
+
error_code: {
|
|
10876
|
+
description: string;
|
|
10877
|
+
enum: string[];
|
|
10878
|
+
type: string;
|
|
10879
|
+
};
|
|
10880
|
+
is_connected_account_error: {
|
|
10881
|
+
description: string;
|
|
10882
|
+
enum: boolean[];
|
|
10883
|
+
type: string;
|
|
10884
|
+
};
|
|
10885
|
+
is_device_error: {
|
|
10886
|
+
description: string;
|
|
10887
|
+
enum: boolean[];
|
|
10888
|
+
type: string;
|
|
10889
|
+
};
|
|
10890
|
+
message: {
|
|
10891
|
+
description: string;
|
|
10892
|
+
type: string;
|
|
10893
|
+
};
|
|
10894
|
+
is_access_code_error?: never;
|
|
10895
|
+
is_bridge_error?: never;
|
|
10896
|
+
};
|
|
10897
|
+
required: string[];
|
|
10898
|
+
type: string;
|
|
10899
|
+
'x-variant-group-key': string;
|
|
10668
10900
|
} | {
|
|
10669
10901
|
description: string;
|
|
10670
10902
|
properties: {
|
|
@@ -10693,6 +10925,36 @@ declare const _default: {
|
|
|
10693
10925
|
};
|
|
10694
10926
|
required: string[];
|
|
10695
10927
|
type: string;
|
|
10928
|
+
'x-variant-group-key'?: never;
|
|
10929
|
+
} | {
|
|
10930
|
+
description: string;
|
|
10931
|
+
properties: {
|
|
10932
|
+
created_at: {
|
|
10933
|
+
description: string;
|
|
10934
|
+
format: string;
|
|
10935
|
+
type: string;
|
|
10936
|
+
};
|
|
10937
|
+
error_code: {
|
|
10938
|
+
description: string;
|
|
10939
|
+
enum: string[];
|
|
10940
|
+
type: string;
|
|
10941
|
+
};
|
|
10942
|
+
is_device_error: {
|
|
10943
|
+
description: string;
|
|
10944
|
+
enum: boolean[];
|
|
10945
|
+
type: string;
|
|
10946
|
+
};
|
|
10947
|
+
message: {
|
|
10948
|
+
description: string;
|
|
10949
|
+
type: string;
|
|
10950
|
+
};
|
|
10951
|
+
is_access_code_error?: never;
|
|
10952
|
+
is_connected_account_error?: never;
|
|
10953
|
+
is_bridge_error?: never;
|
|
10954
|
+
};
|
|
10955
|
+
required: string[];
|
|
10956
|
+
type: string;
|
|
10957
|
+
'x-variant-group-key': string;
|
|
10696
10958
|
} | {
|
|
10697
10959
|
description: string;
|
|
10698
10960
|
properties: {
|
|
@@ -10724,6 +10986,7 @@ declare const _default: {
|
|
|
10724
10986
|
};
|
|
10725
10987
|
required: string[];
|
|
10726
10988
|
type: string;
|
|
10989
|
+
'x-variant-group-key'?: never;
|
|
10727
10990
|
})[];
|
|
10728
10991
|
};
|
|
10729
10992
|
type: string;
|
|
@@ -11699,6 +11962,67 @@ declare const _default: {
|
|
|
11699
11962
|
};
|
|
11700
11963
|
required: string[];
|
|
11701
11964
|
type: string;
|
|
11965
|
+
'x-variant-group-key'?: never;
|
|
11966
|
+
} | {
|
|
11967
|
+
description: string;
|
|
11968
|
+
properties: {
|
|
11969
|
+
created_at: {
|
|
11970
|
+
description: string;
|
|
11971
|
+
format: string;
|
|
11972
|
+
type: string;
|
|
11973
|
+
};
|
|
11974
|
+
error_code: {
|
|
11975
|
+
description: string;
|
|
11976
|
+
enum: string[];
|
|
11977
|
+
type: string;
|
|
11978
|
+
};
|
|
11979
|
+
is_connected_account_error: {
|
|
11980
|
+
description: string;
|
|
11981
|
+
enum: boolean[];
|
|
11982
|
+
type: string;
|
|
11983
|
+
};
|
|
11984
|
+
is_device_error: {
|
|
11985
|
+
description: string;
|
|
11986
|
+
enum: boolean[];
|
|
11987
|
+
type: string;
|
|
11988
|
+
};
|
|
11989
|
+
message: {
|
|
11990
|
+
description: string;
|
|
11991
|
+
type: string;
|
|
11992
|
+
};
|
|
11993
|
+
is_bridge_error?: never;
|
|
11994
|
+
};
|
|
11995
|
+
required: string[];
|
|
11996
|
+
type: string;
|
|
11997
|
+
'x-variant-group-key': string;
|
|
11998
|
+
} | {
|
|
11999
|
+
description: string;
|
|
12000
|
+
properties: {
|
|
12001
|
+
created_at: {
|
|
12002
|
+
description: string;
|
|
12003
|
+
format: string;
|
|
12004
|
+
type: string;
|
|
12005
|
+
};
|
|
12006
|
+
error_code: {
|
|
12007
|
+
description: string;
|
|
12008
|
+
enum: string[];
|
|
12009
|
+
type: string;
|
|
12010
|
+
};
|
|
12011
|
+
is_device_error: {
|
|
12012
|
+
description: string;
|
|
12013
|
+
enum: boolean[];
|
|
12014
|
+
type: string;
|
|
12015
|
+
};
|
|
12016
|
+
message: {
|
|
12017
|
+
description: string;
|
|
12018
|
+
type: string;
|
|
12019
|
+
};
|
|
12020
|
+
is_connected_account_error?: never;
|
|
12021
|
+
is_bridge_error?: never;
|
|
12022
|
+
};
|
|
12023
|
+
required: string[];
|
|
12024
|
+
type: string;
|
|
12025
|
+
'x-variant-group-key'?: never;
|
|
11702
12026
|
} | {
|
|
11703
12027
|
description: string;
|
|
11704
12028
|
properties: {
|
|
@@ -11726,6 +12050,7 @@ declare const _default: {
|
|
|
11726
12050
|
};
|
|
11727
12051
|
required: string[];
|
|
11728
12052
|
type: string;
|
|
12053
|
+
'x-variant-group-key': string;
|
|
11729
12054
|
} | {
|
|
11730
12055
|
description: string;
|
|
11731
12056
|
properties: {
|
|
@@ -11756,9 +12081,33 @@ declare const _default: {
|
|
|
11756
12081
|
};
|
|
11757
12082
|
required: string[];
|
|
11758
12083
|
type: string;
|
|
12084
|
+
'x-variant-group-key'?: never;
|
|
11759
12085
|
})[];
|
|
11760
12086
|
};
|
|
11761
12087
|
type: string;
|
|
12088
|
+
'x-variant-groups': {
|
|
12089
|
+
access_codes: {
|
|
12090
|
+
name: string;
|
|
12091
|
+
};
|
|
12092
|
+
hardware: {
|
|
12093
|
+
name: string;
|
|
12094
|
+
};
|
|
12095
|
+
locks: {
|
|
12096
|
+
name: string;
|
|
12097
|
+
};
|
|
12098
|
+
noise_sensors: {
|
|
12099
|
+
name: string;
|
|
12100
|
+
};
|
|
12101
|
+
phones: {
|
|
12102
|
+
name: string;
|
|
12103
|
+
};
|
|
12104
|
+
provider_metadata: {
|
|
12105
|
+
name: string;
|
|
12106
|
+
};
|
|
12107
|
+
thermostats: {
|
|
12108
|
+
name: string;
|
|
12109
|
+
};
|
|
12110
|
+
};
|
|
11762
12111
|
};
|
|
11763
12112
|
is_managed: {
|
|
11764
12113
|
enum: boolean[];
|
|
@@ -11943,7 +12292,7 @@ declare const _default: {
|
|
|
11943
12292
|
discriminator: {
|
|
11944
12293
|
propertyName: string;
|
|
11945
12294
|
};
|
|
11946
|
-
oneOf: {
|
|
12295
|
+
oneOf: ({
|
|
11947
12296
|
description: string;
|
|
11948
12297
|
properties: {
|
|
11949
12298
|
created_at: {
|
|
@@ -11963,9 +12312,54 @@ declare const _default: {
|
|
|
11963
12312
|
};
|
|
11964
12313
|
required: string[];
|
|
11965
12314
|
type: string;
|
|
11966
|
-
|
|
12315
|
+
'x-variant-group-key': string;
|
|
12316
|
+
} | {
|
|
12317
|
+
description: string;
|
|
12318
|
+
properties: {
|
|
12319
|
+
created_at: {
|
|
12320
|
+
description: string;
|
|
12321
|
+
format: string;
|
|
12322
|
+
type: string;
|
|
12323
|
+
};
|
|
12324
|
+
message: {
|
|
12325
|
+
description: string;
|
|
12326
|
+
type: string;
|
|
12327
|
+
};
|
|
12328
|
+
warning_code: {
|
|
12329
|
+
description: string;
|
|
12330
|
+
enum: string[];
|
|
12331
|
+
type: string;
|
|
12332
|
+
};
|
|
12333
|
+
};
|
|
12334
|
+
required: string[];
|
|
12335
|
+
type: string;
|
|
12336
|
+
'x-variant-group-key'?: never;
|
|
12337
|
+
})[];
|
|
11967
12338
|
};
|
|
11968
12339
|
type: string;
|
|
12340
|
+
'x-variant-groups': {
|
|
12341
|
+
access_codes: {
|
|
12342
|
+
name: string;
|
|
12343
|
+
};
|
|
12344
|
+
hardware: {
|
|
12345
|
+
name: string;
|
|
12346
|
+
};
|
|
12347
|
+
locks: {
|
|
12348
|
+
name: string;
|
|
12349
|
+
};
|
|
12350
|
+
noise_sensors: {
|
|
12351
|
+
name: string;
|
|
12352
|
+
};
|
|
12353
|
+
phones: {
|
|
12354
|
+
name: string;
|
|
12355
|
+
};
|
|
12356
|
+
provider_metadata: {
|
|
12357
|
+
name: string;
|
|
12358
|
+
};
|
|
12359
|
+
thermostats: {
|
|
12360
|
+
name: string;
|
|
12361
|
+
};
|
|
12362
|
+
};
|
|
11969
12363
|
};
|
|
11970
12364
|
workspace_id: {
|
|
11971
12365
|
description: string;
|