@seamapi/types 1.527.0 → 1.529.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 +53 -22
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +185 -10
- package/dist/index.cjs +53 -22
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +47 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
- package/lib/seam/connect/models/devices/device.d.ts +6 -0
- package/lib/seam/connect/models/devices/device.js +1 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +4 -0
- package/lib/seam/connect/models/events/access-methods.d.ts +6 -0
- package/lib/seam/connect/models/events/access-methods.js +4 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- package/lib/seam/connect/openapi.d.ts +114 -0
- package/lib/seam/connect/openapi.js +27 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +42 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +1 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +28 -0
- package/src/lib/seam/connect/route-types.ts +42 -0
|
@@ -12918,6 +12918,7 @@ export type Routes = {
|
|
|
12918
12918
|
can_run_thermostat_programs?: boolean | undefined
|
|
12919
12919
|
can_simulate_hub_connection?: boolean | undefined
|
|
12920
12920
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
12921
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
12921
12922
|
}[]
|
|
12922
12923
|
| undefined
|
|
12923
12924
|
acs_entrances?:
|
|
@@ -16675,6 +16676,7 @@ export type Routes = {
|
|
|
16675
16676
|
can_run_thermostat_programs?: boolean | undefined
|
|
16676
16677
|
can_simulate_hub_connection?: boolean | undefined
|
|
16677
16678
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
16679
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
16678
16680
|
}[]
|
|
16679
16681
|
| undefined
|
|
16680
16682
|
acs_entrances?:
|
|
@@ -19875,6 +19877,7 @@ export type Routes = {
|
|
|
19875
19877
|
can_run_thermostat_programs?: boolean | undefined
|
|
19876
19878
|
can_simulate_hub_connection?: boolean | undefined
|
|
19877
19879
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
19880
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
19878
19881
|
}[]
|
|
19879
19882
|
| undefined
|
|
19880
19883
|
connect_webviews?:
|
|
@@ -20594,6 +20597,8 @@ export type Routes = {
|
|
|
20594
20597
|
/** Keys of the access grants associated with this access method (if present). */
|
|
20595
20598
|
access_grant_keys?: string[] | undefined
|
|
20596
20599
|
event_type: 'access_method.issued'
|
|
20600
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
20601
|
+
code?: string | undefined
|
|
20597
20602
|
}
|
|
20598
20603
|
| {
|
|
20599
20604
|
/** ID of the event. */
|
|
@@ -38098,6 +38103,7 @@ export type Routes = {
|
|
|
38098
38103
|
can_run_thermostat_programs?: boolean | undefined
|
|
38099
38104
|
can_simulate_hub_connection?: boolean | undefined
|
|
38100
38105
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
38106
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
38101
38107
|
}
|
|
38102
38108
|
}
|
|
38103
38109
|
}
|
|
@@ -38282,6 +38288,7 @@ export type Routes = {
|
|
|
38282
38288
|
| 'can_run_thermostat_programs'
|
|
38283
38289
|
| 'can_simulate_hub_connection'
|
|
38284
38290
|
| 'can_simulate_hub_disconnection'
|
|
38291
|
+
| 'can_simulate_paid_subscription'
|
|
38285
38292
|
)[]
|
|
38286
38293
|
| undefined
|
|
38287
38294
|
/** */
|
|
@@ -38302,6 +38309,7 @@ export type Routes = {
|
|
|
38302
38309
|
| 'can_run_thermostat_programs'
|
|
38303
38310
|
| 'can_simulate_hub_connection'
|
|
38304
38311
|
| 'can_simulate_hub_disconnection'
|
|
38312
|
+
| 'can_simulate_paid_subscription'
|
|
38305
38313
|
)[]
|
|
38306
38314
|
| undefined
|
|
38307
38315
|
/**
|
|
@@ -39789,6 +39797,7 @@ export type Routes = {
|
|
|
39789
39797
|
can_run_thermostat_programs?: boolean | undefined
|
|
39790
39798
|
can_simulate_hub_connection?: boolean | undefined
|
|
39791
39799
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
39800
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
39792
39801
|
}[]
|
|
39793
39802
|
/** Information about the current page of results. */
|
|
39794
39803
|
pagination: {
|
|
@@ -39894,6 +39903,7 @@ export type Routes = {
|
|
|
39894
39903
|
can_run_thermostat_programs?: boolean | undefined
|
|
39895
39904
|
can_simulate_hub_connection?: boolean | undefined
|
|
39896
39905
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
39906
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
39897
39907
|
}[]
|
|
39898
39908
|
}
|
|
39899
39909
|
}
|
|
@@ -40443,6 +40453,7 @@ export type Routes = {
|
|
|
40443
40453
|
can_run_thermostat_programs?: boolean | undefined
|
|
40444
40454
|
can_simulate_hub_connection?: boolean | undefined
|
|
40445
40455
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
40456
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
40446
40457
|
}
|
|
40447
40458
|
}
|
|
40448
40459
|
}
|
|
@@ -40627,6 +40638,7 @@ export type Routes = {
|
|
|
40627
40638
|
| 'can_run_thermostat_programs'
|
|
40628
40639
|
| 'can_simulate_hub_connection'
|
|
40629
40640
|
| 'can_simulate_hub_disconnection'
|
|
40641
|
+
| 'can_simulate_paid_subscription'
|
|
40630
40642
|
)[]
|
|
40631
40643
|
| undefined
|
|
40632
40644
|
/** */
|
|
@@ -40647,6 +40659,7 @@ export type Routes = {
|
|
|
40647
40659
|
| 'can_run_thermostat_programs'
|
|
40648
40660
|
| 'can_simulate_hub_connection'
|
|
40649
40661
|
| 'can_simulate_hub_disconnection'
|
|
40662
|
+
| 'can_simulate_paid_subscription'
|
|
40650
40663
|
)[]
|
|
40651
40664
|
| undefined
|
|
40652
40665
|
/**
|
|
@@ -41133,6 +41146,7 @@ export type Routes = {
|
|
|
41133
41146
|
can_run_thermostat_programs?: boolean | undefined
|
|
41134
41147
|
can_simulate_hub_connection?: boolean | undefined
|
|
41135
41148
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
41149
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
41136
41150
|
}[]
|
|
41137
41151
|
}
|
|
41138
41152
|
}
|
|
@@ -41783,6 +41797,8 @@ export type Routes = {
|
|
|
41783
41797
|
/** Keys of the access grants associated with this access method (if present). */
|
|
41784
41798
|
access_grant_keys?: string[] | undefined
|
|
41785
41799
|
event_type: 'access_method.issued'
|
|
41800
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
41801
|
+
code?: string | undefined
|
|
41786
41802
|
}
|
|
41787
41803
|
| {
|
|
41788
41804
|
/** ID of the event. */
|
|
@@ -44200,6 +44216,8 @@ export type Routes = {
|
|
|
44200
44216
|
/** Keys of the access grants associated with this access method (if present). */
|
|
44201
44217
|
access_grant_keys?: string[] | undefined
|
|
44202
44218
|
event_type: 'access_method.issued'
|
|
44219
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
44220
|
+
code?: string | undefined
|
|
44203
44221
|
}
|
|
44204
44222
|
| {
|
|
44205
44223
|
/** ID of the event. */
|
|
@@ -47377,6 +47395,7 @@ export type Routes = {
|
|
|
47377
47395
|
can_run_thermostat_programs?: boolean | undefined
|
|
47378
47396
|
can_simulate_hub_connection?: boolean | undefined
|
|
47379
47397
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
47398
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
47380
47399
|
}
|
|
47381
47400
|
/** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
|
|
47382
47401
|
device: {
|
|
@@ -48852,6 +48871,7 @@ export type Routes = {
|
|
|
48852
48871
|
can_run_thermostat_programs?: boolean | undefined
|
|
48853
48872
|
can_simulate_hub_connection?: boolean | undefined
|
|
48854
48873
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
48874
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
48855
48875
|
}
|
|
48856
48876
|
}
|
|
48857
48877
|
}
|
|
@@ -49000,6 +49020,7 @@ export type Routes = {
|
|
|
49000
49020
|
| 'can_run_thermostat_programs'
|
|
49001
49021
|
| 'can_simulate_hub_connection'
|
|
49002
49022
|
| 'can_simulate_hub_disconnection'
|
|
49023
|
+
| 'can_simulate_paid_subscription'
|
|
49003
49024
|
)[]
|
|
49004
49025
|
| undefined
|
|
49005
49026
|
/** */
|
|
@@ -49020,6 +49041,7 @@ export type Routes = {
|
|
|
49020
49041
|
| 'can_run_thermostat_programs'
|
|
49021
49042
|
| 'can_simulate_hub_connection'
|
|
49022
49043
|
| 'can_simulate_hub_disconnection'
|
|
49044
|
+
| 'can_simulate_paid_subscription'
|
|
49023
49045
|
)[]
|
|
49024
49046
|
| undefined
|
|
49025
49047
|
/**
|
|
@@ -50507,6 +50529,7 @@ export type Routes = {
|
|
|
50507
50529
|
can_run_thermostat_programs?: boolean | undefined
|
|
50508
50530
|
can_simulate_hub_connection?: boolean | undefined
|
|
50509
50531
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
50532
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
50510
50533
|
}[]
|
|
50511
50534
|
devices: {
|
|
50512
50535
|
/** ID of the device. */
|
|
@@ -51981,6 +52004,7 @@ export type Routes = {
|
|
|
51981
52004
|
can_run_thermostat_programs?: boolean | undefined
|
|
51982
52005
|
can_simulate_hub_connection?: boolean | undefined
|
|
51983
52006
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
52007
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
51984
52008
|
}[]
|
|
51985
52009
|
}
|
|
51986
52010
|
}
|
|
@@ -57816,6 +57840,7 @@ export type Routes = {
|
|
|
57816
57840
|
| 'can_run_thermostat_programs'
|
|
57817
57841
|
| 'can_simulate_hub_connection'
|
|
57818
57842
|
| 'can_simulate_hub_disconnection'
|
|
57843
|
+
| 'can_simulate_paid_subscription'
|
|
57819
57844
|
)[]
|
|
57820
57845
|
| undefined
|
|
57821
57846
|
/** */
|
|
@@ -57836,6 +57861,7 @@ export type Routes = {
|
|
|
57836
57861
|
| 'can_run_thermostat_programs'
|
|
57837
57862
|
| 'can_simulate_hub_connection'
|
|
57838
57863
|
| 'can_simulate_hub_disconnection'
|
|
57864
|
+
| 'can_simulate_paid_subscription'
|
|
57839
57865
|
)[]
|
|
57840
57866
|
| undefined
|
|
57841
57867
|
/**
|
|
@@ -59323,6 +59349,7 @@ export type Routes = {
|
|
|
59323
59349
|
can_run_thermostat_programs?: boolean | undefined
|
|
59324
59350
|
can_simulate_hub_connection?: boolean | undefined
|
|
59325
59351
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
59352
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
59326
59353
|
}[]
|
|
59327
59354
|
devices: {
|
|
59328
59355
|
/** ID of the device. */
|
|
@@ -60797,6 +60824,7 @@ export type Routes = {
|
|
|
60797
60824
|
can_run_thermostat_programs?: boolean | undefined
|
|
60798
60825
|
can_simulate_hub_connection?: boolean | undefined
|
|
60799
60826
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
60827
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
60800
60828
|
}[]
|
|
60801
60829
|
}
|
|
60802
60830
|
}
|
|
@@ -66881,6 +66909,8 @@ export type Routes = {
|
|
|
66881
66909
|
/** Keys of the access grants associated with this access method (if present). */
|
|
66882
66910
|
access_grant_keys?: string[] | undefined
|
|
66883
66911
|
event_type: 'access_method.issued'
|
|
66912
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
66913
|
+
code?: string | undefined
|
|
66884
66914
|
}
|
|
66885
66915
|
| {
|
|
66886
66916
|
/** ID of the event. */
|
|
@@ -70855,6 +70885,7 @@ export type Routes = {
|
|
|
70855
70885
|
can_run_thermostat_programs?: boolean | undefined
|
|
70856
70886
|
can_simulate_hub_connection?: boolean | undefined
|
|
70857
70887
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
70888
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
70858
70889
|
}[]
|
|
70859
70890
|
| undefined
|
|
70860
70891
|
acs_entrances?:
|
|
@@ -77373,6 +77404,7 @@ export type Routes = {
|
|
|
77373
77404
|
can_run_thermostat_programs?: boolean | undefined
|
|
77374
77405
|
can_simulate_hub_connection?: boolean | undefined
|
|
77375
77406
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
77407
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
77376
77408
|
}
|
|
77377
77409
|
}
|
|
77378
77410
|
}
|
|
@@ -80359,6 +80391,7 @@ export type Routes = {
|
|
|
80359
80391
|
| 'can_run_thermostat_programs'
|
|
80360
80392
|
| 'can_simulate_hub_connection'
|
|
80361
80393
|
| 'can_simulate_hub_disconnection'
|
|
80394
|
+
| 'can_simulate_paid_subscription'
|
|
80362
80395
|
)[]
|
|
80363
80396
|
| undefined
|
|
80364
80397
|
/** */
|
|
@@ -80379,6 +80412,7 @@ export type Routes = {
|
|
|
80379
80412
|
| 'can_run_thermostat_programs'
|
|
80380
80413
|
| 'can_simulate_hub_connection'
|
|
80381
80414
|
| 'can_simulate_hub_disconnection'
|
|
80415
|
+
| 'can_simulate_paid_subscription'
|
|
80382
80416
|
)[]
|
|
80383
80417
|
| undefined
|
|
80384
80418
|
/**
|
|
@@ -81866,6 +81900,7 @@ export type Routes = {
|
|
|
81866
81900
|
can_run_thermostat_programs?: boolean | undefined
|
|
81867
81901
|
can_simulate_hub_connection?: boolean | undefined
|
|
81868
81902
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
81903
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
81869
81904
|
}[]
|
|
81870
81905
|
devices: {
|
|
81871
81906
|
/** ID of the device. */
|
|
@@ -83340,6 +83375,7 @@ export type Routes = {
|
|
|
83340
83375
|
can_run_thermostat_programs?: boolean | undefined
|
|
83341
83376
|
can_simulate_hub_connection?: boolean | undefined
|
|
83342
83377
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
83378
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
83343
83379
|
}[]
|
|
83344
83380
|
}
|
|
83345
83381
|
}
|
|
@@ -91547,6 +91583,7 @@ export type Routes = {
|
|
|
91547
91583
|
can_run_thermostat_programs?: boolean | undefined
|
|
91548
91584
|
can_simulate_hub_connection?: boolean | undefined
|
|
91549
91585
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
91586
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
91550
91587
|
}[]
|
|
91551
91588
|
/**
|
|
91552
91589
|
* @deprecated Use devices.*/
|
|
@@ -93023,6 +93060,7 @@ export type Routes = {
|
|
|
93023
93060
|
can_run_thermostat_programs?: boolean | undefined
|
|
93024
93061
|
can_simulate_hub_connection?: boolean | undefined
|
|
93025
93062
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
93063
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
93026
93064
|
}[]
|
|
93027
93065
|
}
|
|
93028
93066
|
}
|
|
@@ -95369,6 +95407,7 @@ export type Routes = {
|
|
|
95369
95407
|
can_run_thermostat_programs?: boolean | undefined
|
|
95370
95408
|
can_simulate_hub_connection?: boolean | undefined
|
|
95371
95409
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
95410
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
95372
95411
|
}[]
|
|
95373
95412
|
| undefined
|
|
95374
95413
|
acs_entrances?:
|
|
@@ -98569,6 +98608,7 @@ export type Routes = {
|
|
|
98569
98608
|
can_run_thermostat_programs?: boolean | undefined
|
|
98570
98609
|
can_simulate_hub_connection?: boolean | undefined
|
|
98571
98610
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
98611
|
+
can_simulate_paid_subscription?: boolean | undefined
|
|
98572
98612
|
}[]
|
|
98573
98613
|
| undefined
|
|
98574
98614
|
connect_webviews?:
|
|
@@ -99288,6 +99328,8 @@ export type Routes = {
|
|
|
99288
99328
|
/** Keys of the access grants associated with this access method (if present). */
|
|
99289
99329
|
access_grant_keys?: string[] | undefined
|
|
99290
99330
|
event_type: 'access_method.issued'
|
|
99331
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
99332
|
+
code?: string | undefined
|
|
99291
99333
|
}
|
|
99292
99334
|
| {
|
|
99293
99335
|
/** ID of the event. */
|