@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
package/dist/connect.d.cts
CHANGED
|
@@ -21754,6 +21754,7 @@ declare const _default: {
|
|
|
21754
21754
|
};
|
|
21755
21755
|
required: string[];
|
|
21756
21756
|
type: string;
|
|
21757
|
+
'x-variant-group-key'?: never;
|
|
21757
21758
|
} | {
|
|
21758
21759
|
description: string;
|
|
21759
21760
|
properties: {
|
|
@@ -21786,6 +21787,40 @@ declare const _default: {
|
|
|
21786
21787
|
};
|
|
21787
21788
|
required: string[];
|
|
21788
21789
|
type: string;
|
|
21790
|
+
'x-variant-group-key'?: never;
|
|
21791
|
+
} | {
|
|
21792
|
+
description: string;
|
|
21793
|
+
properties: {
|
|
21794
|
+
created_at: {
|
|
21795
|
+
description: string;
|
|
21796
|
+
format: string;
|
|
21797
|
+
type: string;
|
|
21798
|
+
};
|
|
21799
|
+
error_code: {
|
|
21800
|
+
description: string;
|
|
21801
|
+
enum: string[];
|
|
21802
|
+
type: string;
|
|
21803
|
+
};
|
|
21804
|
+
is_connected_account_error: {
|
|
21805
|
+
description: string;
|
|
21806
|
+
enum: boolean[];
|
|
21807
|
+
type: string;
|
|
21808
|
+
};
|
|
21809
|
+
is_device_error: {
|
|
21810
|
+
description: string;
|
|
21811
|
+
enum: boolean[];
|
|
21812
|
+
type: string;
|
|
21813
|
+
};
|
|
21814
|
+
message: {
|
|
21815
|
+
description: string;
|
|
21816
|
+
type: string;
|
|
21817
|
+
};
|
|
21818
|
+
is_access_code_error?: never;
|
|
21819
|
+
is_bridge_error?: never;
|
|
21820
|
+
};
|
|
21821
|
+
required: string[];
|
|
21822
|
+
type: string;
|
|
21823
|
+
'x-variant-group-key': string;
|
|
21789
21824
|
} | {
|
|
21790
21825
|
description: string;
|
|
21791
21826
|
properties: {
|
|
@@ -21814,6 +21849,36 @@ declare const _default: {
|
|
|
21814
21849
|
};
|
|
21815
21850
|
required: string[];
|
|
21816
21851
|
type: string;
|
|
21852
|
+
'x-variant-group-key'?: never;
|
|
21853
|
+
} | {
|
|
21854
|
+
description: string;
|
|
21855
|
+
properties: {
|
|
21856
|
+
created_at: {
|
|
21857
|
+
description: string;
|
|
21858
|
+
format: string;
|
|
21859
|
+
type: string;
|
|
21860
|
+
};
|
|
21861
|
+
error_code: {
|
|
21862
|
+
description: string;
|
|
21863
|
+
enum: string[];
|
|
21864
|
+
type: string;
|
|
21865
|
+
};
|
|
21866
|
+
is_device_error: {
|
|
21867
|
+
description: string;
|
|
21868
|
+
enum: boolean[];
|
|
21869
|
+
type: string;
|
|
21870
|
+
};
|
|
21871
|
+
message: {
|
|
21872
|
+
description: string;
|
|
21873
|
+
type: string;
|
|
21874
|
+
};
|
|
21875
|
+
is_access_code_error?: never;
|
|
21876
|
+
is_connected_account_error?: never;
|
|
21877
|
+
is_bridge_error?: never;
|
|
21878
|
+
};
|
|
21879
|
+
required: string[];
|
|
21880
|
+
type: string;
|
|
21881
|
+
'x-variant-group-key': string;
|
|
21817
21882
|
} | {
|
|
21818
21883
|
description: string;
|
|
21819
21884
|
properties: {
|
|
@@ -21845,6 +21910,7 @@ declare const _default: {
|
|
|
21845
21910
|
};
|
|
21846
21911
|
required: string[];
|
|
21847
21912
|
type: string;
|
|
21913
|
+
'x-variant-group-key'?: never;
|
|
21848
21914
|
})[];
|
|
21849
21915
|
};
|
|
21850
21916
|
type: string;
|
|
@@ -25927,6 +25993,67 @@ declare const _default: {
|
|
|
25927
25993
|
};
|
|
25928
25994
|
required: string[];
|
|
25929
25995
|
type: string;
|
|
25996
|
+
'x-variant-group-key'?: never;
|
|
25997
|
+
} | {
|
|
25998
|
+
description: string;
|
|
25999
|
+
properties: {
|
|
26000
|
+
created_at: {
|
|
26001
|
+
description: string;
|
|
26002
|
+
format: string;
|
|
26003
|
+
type: string;
|
|
26004
|
+
};
|
|
26005
|
+
error_code: {
|
|
26006
|
+
description: string;
|
|
26007
|
+
enum: string[];
|
|
26008
|
+
type: string;
|
|
26009
|
+
};
|
|
26010
|
+
is_connected_account_error: {
|
|
26011
|
+
description: string;
|
|
26012
|
+
enum: boolean[];
|
|
26013
|
+
type: string;
|
|
26014
|
+
};
|
|
26015
|
+
is_device_error: {
|
|
26016
|
+
description: string;
|
|
26017
|
+
enum: boolean[];
|
|
26018
|
+
type: string;
|
|
26019
|
+
};
|
|
26020
|
+
message: {
|
|
26021
|
+
description: string;
|
|
26022
|
+
type: string;
|
|
26023
|
+
};
|
|
26024
|
+
is_bridge_error?: never;
|
|
26025
|
+
};
|
|
26026
|
+
required: string[];
|
|
26027
|
+
type: string;
|
|
26028
|
+
'x-variant-group-key': string;
|
|
26029
|
+
} | {
|
|
26030
|
+
description: string;
|
|
26031
|
+
properties: {
|
|
26032
|
+
created_at: {
|
|
26033
|
+
description: string;
|
|
26034
|
+
format: string;
|
|
26035
|
+
type: string;
|
|
26036
|
+
};
|
|
26037
|
+
error_code: {
|
|
26038
|
+
description: string;
|
|
26039
|
+
enum: string[];
|
|
26040
|
+
type: string;
|
|
26041
|
+
};
|
|
26042
|
+
is_device_error: {
|
|
26043
|
+
description: string;
|
|
26044
|
+
enum: boolean[];
|
|
26045
|
+
type: string;
|
|
26046
|
+
};
|
|
26047
|
+
message: {
|
|
26048
|
+
description: string;
|
|
26049
|
+
type: string;
|
|
26050
|
+
};
|
|
26051
|
+
is_connected_account_error?: never;
|
|
26052
|
+
is_bridge_error?: never;
|
|
26053
|
+
};
|
|
26054
|
+
required: string[];
|
|
26055
|
+
type: string;
|
|
26056
|
+
'x-variant-group-key'?: never;
|
|
25930
26057
|
} | {
|
|
25931
26058
|
description: string;
|
|
25932
26059
|
properties: {
|
|
@@ -25954,6 +26081,7 @@ declare const _default: {
|
|
|
25954
26081
|
};
|
|
25955
26082
|
required: string[];
|
|
25956
26083
|
type: string;
|
|
26084
|
+
'x-variant-group-key': string;
|
|
25957
26085
|
} | {
|
|
25958
26086
|
description: string;
|
|
25959
26087
|
properties: {
|
|
@@ -25984,9 +26112,33 @@ declare const _default: {
|
|
|
25984
26112
|
};
|
|
25985
26113
|
required: string[];
|
|
25986
26114
|
type: string;
|
|
26115
|
+
'x-variant-group-key'?: never;
|
|
25987
26116
|
})[];
|
|
25988
26117
|
};
|
|
25989
26118
|
type: string;
|
|
26119
|
+
'x-variant-groups': {
|
|
26120
|
+
access_codes: {
|
|
26121
|
+
name: string;
|
|
26122
|
+
};
|
|
26123
|
+
hardware: {
|
|
26124
|
+
name: string;
|
|
26125
|
+
};
|
|
26126
|
+
locks: {
|
|
26127
|
+
name: string;
|
|
26128
|
+
};
|
|
26129
|
+
noise_sensors: {
|
|
26130
|
+
name: string;
|
|
26131
|
+
};
|
|
26132
|
+
phones: {
|
|
26133
|
+
name: string;
|
|
26134
|
+
};
|
|
26135
|
+
provider_metadata: {
|
|
26136
|
+
name: string;
|
|
26137
|
+
};
|
|
26138
|
+
thermostats: {
|
|
26139
|
+
name: string;
|
|
26140
|
+
};
|
|
26141
|
+
};
|
|
25990
26142
|
};
|
|
25991
26143
|
is_managed: {
|
|
25992
26144
|
description: string;
|
|
@@ -27953,7 +28105,7 @@ declare const _default: {
|
|
|
27953
28105
|
discriminator: {
|
|
27954
28106
|
propertyName: string;
|
|
27955
28107
|
};
|
|
27956
|
-
oneOf: {
|
|
28108
|
+
oneOf: ({
|
|
27957
28109
|
description: string;
|
|
27958
28110
|
properties: {
|
|
27959
28111
|
created_at: {
|
|
@@ -27973,9 +28125,54 @@ declare const _default: {
|
|
|
27973
28125
|
};
|
|
27974
28126
|
required: string[];
|
|
27975
28127
|
type: string;
|
|
27976
|
-
|
|
28128
|
+
'x-variant-group-key': string;
|
|
28129
|
+
} | {
|
|
28130
|
+
description: string;
|
|
28131
|
+
properties: {
|
|
28132
|
+
created_at: {
|
|
28133
|
+
description: string;
|
|
28134
|
+
format: string;
|
|
28135
|
+
type: string;
|
|
28136
|
+
};
|
|
28137
|
+
message: {
|
|
28138
|
+
description: string;
|
|
28139
|
+
type: string;
|
|
28140
|
+
};
|
|
28141
|
+
warning_code: {
|
|
28142
|
+
description: string;
|
|
28143
|
+
enum: string[];
|
|
28144
|
+
type: string;
|
|
28145
|
+
};
|
|
28146
|
+
};
|
|
28147
|
+
required: string[];
|
|
28148
|
+
type: string;
|
|
28149
|
+
'x-variant-group-key'?: never;
|
|
28150
|
+
})[];
|
|
27977
28151
|
};
|
|
27978
28152
|
type: string;
|
|
28153
|
+
'x-variant-groups': {
|
|
28154
|
+
access_codes: {
|
|
28155
|
+
name: string;
|
|
28156
|
+
};
|
|
28157
|
+
hardware: {
|
|
28158
|
+
name: string;
|
|
28159
|
+
};
|
|
28160
|
+
locks: {
|
|
28161
|
+
name: string;
|
|
28162
|
+
};
|
|
28163
|
+
noise_sensors: {
|
|
28164
|
+
name: string;
|
|
28165
|
+
};
|
|
28166
|
+
phones: {
|
|
28167
|
+
name: string;
|
|
28168
|
+
};
|
|
28169
|
+
provider_metadata: {
|
|
28170
|
+
name: string;
|
|
28171
|
+
};
|
|
28172
|
+
thermostats: {
|
|
28173
|
+
name: string;
|
|
28174
|
+
};
|
|
28175
|
+
};
|
|
27979
28176
|
};
|
|
27980
28177
|
workspace_id: {
|
|
27981
28178
|
description: string;
|
|
@@ -32318,6 +32515,7 @@ declare const _default: {
|
|
|
32318
32515
|
};
|
|
32319
32516
|
required: string[];
|
|
32320
32517
|
type: string;
|
|
32518
|
+
'x-variant-group-key'?: never;
|
|
32321
32519
|
} | {
|
|
32322
32520
|
description: string;
|
|
32323
32521
|
properties: {
|
|
@@ -32350,6 +32548,40 @@ declare const _default: {
|
|
|
32350
32548
|
};
|
|
32351
32549
|
required: string[];
|
|
32352
32550
|
type: string;
|
|
32551
|
+
'x-variant-group-key'?: never;
|
|
32552
|
+
} | {
|
|
32553
|
+
description: string;
|
|
32554
|
+
properties: {
|
|
32555
|
+
created_at: {
|
|
32556
|
+
description: string;
|
|
32557
|
+
format: string;
|
|
32558
|
+
type: string;
|
|
32559
|
+
};
|
|
32560
|
+
error_code: {
|
|
32561
|
+
description: string;
|
|
32562
|
+
enum: string[];
|
|
32563
|
+
type: string;
|
|
32564
|
+
};
|
|
32565
|
+
is_connected_account_error: {
|
|
32566
|
+
description: string;
|
|
32567
|
+
enum: boolean[];
|
|
32568
|
+
type: string;
|
|
32569
|
+
};
|
|
32570
|
+
is_device_error: {
|
|
32571
|
+
description: string;
|
|
32572
|
+
enum: boolean[];
|
|
32573
|
+
type: string;
|
|
32574
|
+
};
|
|
32575
|
+
message: {
|
|
32576
|
+
description: string;
|
|
32577
|
+
type: string;
|
|
32578
|
+
};
|
|
32579
|
+
is_access_code_error?: never;
|
|
32580
|
+
is_bridge_error?: never;
|
|
32581
|
+
};
|
|
32582
|
+
required: string[];
|
|
32583
|
+
type: string;
|
|
32584
|
+
'x-variant-group-key': string;
|
|
32353
32585
|
} | {
|
|
32354
32586
|
description: string;
|
|
32355
32587
|
properties: {
|
|
@@ -32378,6 +32610,36 @@ declare const _default: {
|
|
|
32378
32610
|
};
|
|
32379
32611
|
required: string[];
|
|
32380
32612
|
type: string;
|
|
32613
|
+
'x-variant-group-key'?: never;
|
|
32614
|
+
} | {
|
|
32615
|
+
description: string;
|
|
32616
|
+
properties: {
|
|
32617
|
+
created_at: {
|
|
32618
|
+
description: string;
|
|
32619
|
+
format: string;
|
|
32620
|
+
type: string;
|
|
32621
|
+
};
|
|
32622
|
+
error_code: {
|
|
32623
|
+
description: string;
|
|
32624
|
+
enum: string[];
|
|
32625
|
+
type: string;
|
|
32626
|
+
};
|
|
32627
|
+
is_device_error: {
|
|
32628
|
+
description: string;
|
|
32629
|
+
enum: boolean[];
|
|
32630
|
+
type: string;
|
|
32631
|
+
};
|
|
32632
|
+
message: {
|
|
32633
|
+
description: string;
|
|
32634
|
+
type: string;
|
|
32635
|
+
};
|
|
32636
|
+
is_access_code_error?: never;
|
|
32637
|
+
is_connected_account_error?: never;
|
|
32638
|
+
is_bridge_error?: never;
|
|
32639
|
+
};
|
|
32640
|
+
required: string[];
|
|
32641
|
+
type: string;
|
|
32642
|
+
'x-variant-group-key': string;
|
|
32381
32643
|
} | {
|
|
32382
32644
|
description: string;
|
|
32383
32645
|
properties: {
|
|
@@ -32409,6 +32671,7 @@ declare const _default: {
|
|
|
32409
32671
|
};
|
|
32410
32672
|
required: string[];
|
|
32411
32673
|
type: string;
|
|
32674
|
+
'x-variant-group-key'?: never;
|
|
32412
32675
|
})[];
|
|
32413
32676
|
};
|
|
32414
32677
|
type: string;
|
|
@@ -33384,6 +33647,67 @@ declare const _default: {
|
|
|
33384
33647
|
};
|
|
33385
33648
|
required: string[];
|
|
33386
33649
|
type: string;
|
|
33650
|
+
'x-variant-group-key'?: never;
|
|
33651
|
+
} | {
|
|
33652
|
+
description: string;
|
|
33653
|
+
properties: {
|
|
33654
|
+
created_at: {
|
|
33655
|
+
description: string;
|
|
33656
|
+
format: string;
|
|
33657
|
+
type: string;
|
|
33658
|
+
};
|
|
33659
|
+
error_code: {
|
|
33660
|
+
description: string;
|
|
33661
|
+
enum: string[];
|
|
33662
|
+
type: string;
|
|
33663
|
+
};
|
|
33664
|
+
is_connected_account_error: {
|
|
33665
|
+
description: string;
|
|
33666
|
+
enum: boolean[];
|
|
33667
|
+
type: string;
|
|
33668
|
+
};
|
|
33669
|
+
is_device_error: {
|
|
33670
|
+
description: string;
|
|
33671
|
+
enum: boolean[];
|
|
33672
|
+
type: string;
|
|
33673
|
+
};
|
|
33674
|
+
message: {
|
|
33675
|
+
description: string;
|
|
33676
|
+
type: string;
|
|
33677
|
+
};
|
|
33678
|
+
is_bridge_error?: never;
|
|
33679
|
+
};
|
|
33680
|
+
required: string[];
|
|
33681
|
+
type: string;
|
|
33682
|
+
'x-variant-group-key': string;
|
|
33683
|
+
} | {
|
|
33684
|
+
description: string;
|
|
33685
|
+
properties: {
|
|
33686
|
+
created_at: {
|
|
33687
|
+
description: string;
|
|
33688
|
+
format: string;
|
|
33689
|
+
type: string;
|
|
33690
|
+
};
|
|
33691
|
+
error_code: {
|
|
33692
|
+
description: string;
|
|
33693
|
+
enum: string[];
|
|
33694
|
+
type: string;
|
|
33695
|
+
};
|
|
33696
|
+
is_device_error: {
|
|
33697
|
+
description: string;
|
|
33698
|
+
enum: boolean[];
|
|
33699
|
+
type: string;
|
|
33700
|
+
};
|
|
33701
|
+
message: {
|
|
33702
|
+
description: string;
|
|
33703
|
+
type: string;
|
|
33704
|
+
};
|
|
33705
|
+
is_connected_account_error?: never;
|
|
33706
|
+
is_bridge_error?: never;
|
|
33707
|
+
};
|
|
33708
|
+
required: string[];
|
|
33709
|
+
type: string;
|
|
33710
|
+
'x-variant-group-key'?: never;
|
|
33387
33711
|
} | {
|
|
33388
33712
|
description: string;
|
|
33389
33713
|
properties: {
|
|
@@ -33411,6 +33735,7 @@ declare const _default: {
|
|
|
33411
33735
|
};
|
|
33412
33736
|
required: string[];
|
|
33413
33737
|
type: string;
|
|
33738
|
+
'x-variant-group-key': string;
|
|
33414
33739
|
} | {
|
|
33415
33740
|
description: string;
|
|
33416
33741
|
properties: {
|
|
@@ -33441,9 +33766,33 @@ declare const _default: {
|
|
|
33441
33766
|
};
|
|
33442
33767
|
required: string[];
|
|
33443
33768
|
type: string;
|
|
33769
|
+
'x-variant-group-key'?: never;
|
|
33444
33770
|
})[];
|
|
33445
33771
|
};
|
|
33446
33772
|
type: string;
|
|
33773
|
+
'x-variant-groups': {
|
|
33774
|
+
access_codes: {
|
|
33775
|
+
name: string;
|
|
33776
|
+
};
|
|
33777
|
+
hardware: {
|
|
33778
|
+
name: string;
|
|
33779
|
+
};
|
|
33780
|
+
locks: {
|
|
33781
|
+
name: string;
|
|
33782
|
+
};
|
|
33783
|
+
noise_sensors: {
|
|
33784
|
+
name: string;
|
|
33785
|
+
};
|
|
33786
|
+
phones: {
|
|
33787
|
+
name: string;
|
|
33788
|
+
};
|
|
33789
|
+
provider_metadata: {
|
|
33790
|
+
name: string;
|
|
33791
|
+
};
|
|
33792
|
+
thermostats: {
|
|
33793
|
+
name: string;
|
|
33794
|
+
};
|
|
33795
|
+
};
|
|
33447
33796
|
};
|
|
33448
33797
|
is_managed: {
|
|
33449
33798
|
enum: boolean[];
|
|
@@ -33628,7 +33977,7 @@ declare const _default: {
|
|
|
33628
33977
|
discriminator: {
|
|
33629
33978
|
propertyName: string;
|
|
33630
33979
|
};
|
|
33631
|
-
oneOf: {
|
|
33980
|
+
oneOf: ({
|
|
33632
33981
|
description: string;
|
|
33633
33982
|
properties: {
|
|
33634
33983
|
created_at: {
|
|
@@ -33648,9 +33997,54 @@ declare const _default: {
|
|
|
33648
33997
|
};
|
|
33649
33998
|
required: string[];
|
|
33650
33999
|
type: string;
|
|
33651
|
-
|
|
34000
|
+
'x-variant-group-key': string;
|
|
34001
|
+
} | {
|
|
34002
|
+
description: string;
|
|
34003
|
+
properties: {
|
|
34004
|
+
created_at: {
|
|
34005
|
+
description: string;
|
|
34006
|
+
format: string;
|
|
34007
|
+
type: string;
|
|
34008
|
+
};
|
|
34009
|
+
message: {
|
|
34010
|
+
description: string;
|
|
34011
|
+
type: string;
|
|
34012
|
+
};
|
|
34013
|
+
warning_code: {
|
|
34014
|
+
description: string;
|
|
34015
|
+
enum: string[];
|
|
34016
|
+
type: string;
|
|
34017
|
+
};
|
|
34018
|
+
};
|
|
34019
|
+
required: string[];
|
|
34020
|
+
type: string;
|
|
34021
|
+
'x-variant-group-key'?: never;
|
|
34022
|
+
})[];
|
|
33652
34023
|
};
|
|
33653
34024
|
type: string;
|
|
34025
|
+
'x-variant-groups': {
|
|
34026
|
+
access_codes: {
|
|
34027
|
+
name: string;
|
|
34028
|
+
};
|
|
34029
|
+
hardware: {
|
|
34030
|
+
name: string;
|
|
34031
|
+
};
|
|
34032
|
+
locks: {
|
|
34033
|
+
name: string;
|
|
34034
|
+
};
|
|
34035
|
+
noise_sensors: {
|
|
34036
|
+
name: string;
|
|
34037
|
+
};
|
|
34038
|
+
phones: {
|
|
34039
|
+
name: string;
|
|
34040
|
+
};
|
|
34041
|
+
provider_metadata: {
|
|
34042
|
+
name: string;
|
|
34043
|
+
};
|
|
34044
|
+
thermostats: {
|
|
34045
|
+
name: string;
|
|
34046
|
+
};
|
|
34047
|
+
};
|
|
33654
34048
|
};
|
|
33655
34049
|
workspace_id: {
|
|
33656
34050
|
description: string;
|