@seamapi/types 1.772.0 → 1.774.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 +508 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1506 -707
- package/dist/index.cjs +508 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +48 -34
- package/lib/seam/connect/models/devices/device.d.ts +14 -9
- package/lib/seam/connect/models/devices/device.js +8 -3
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +14 -9
- package/lib/seam/connect/openapi.d.ts +528 -2
- package/lib/seam/connect/openapi.js +500 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +289 -40
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +8 -3
- package/src/lib/seam/connect/openapi.ts +551 -6
- package/src/lib/seam/connect/route-types.ts +469 -160
|
@@ -13476,14 +13476,19 @@ export type Routes = {
|
|
|
13476
13476
|
| undefined
|
|
13477
13477
|
})
|
|
13478
13478
|
/** Location information for the device. */
|
|
13479
|
-
location
|
|
13480
|
-
|
|
13481
|
-
|
|
13482
|
-
|
|
13483
|
-
|
|
13484
|
-
|
|
13485
|
-
|
|
13486
|
-
|
|
13479
|
+
location?:
|
|
13480
|
+
| {
|
|
13481
|
+
/** Name of the device location.
|
|
13482
|
+
*/
|
|
13483
|
+
location_name?: string | undefined
|
|
13484
|
+
/** Time zone of the device location.
|
|
13485
|
+
*/
|
|
13486
|
+
time_zone?: string | undefined
|
|
13487
|
+
/** Time zone of the device location.
|
|
13488
|
+
* @deprecated Use `time_zone` instead.*/
|
|
13489
|
+
timezone?: string | undefined
|
|
13490
|
+
}
|
|
13491
|
+
| undefined
|
|
13487
13492
|
/** Unique identifier for the account associated with the device. */
|
|
13488
13493
|
connected_account_id: string
|
|
13489
13494
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -18567,14 +18572,19 @@ export type Routes = {
|
|
|
18567
18572
|
| undefined
|
|
18568
18573
|
})
|
|
18569
18574
|
/** Location information for the device. */
|
|
18570
|
-
location
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18575
|
+
location?:
|
|
18576
|
+
| {
|
|
18577
|
+
/** Name of the device location.
|
|
18578
|
+
*/
|
|
18579
|
+
location_name?: string | undefined
|
|
18580
|
+
/** Time zone of the device location.
|
|
18581
|
+
*/
|
|
18582
|
+
time_zone?: string | undefined
|
|
18583
|
+
/** Time zone of the device location.
|
|
18584
|
+
* @deprecated Use `time_zone` instead.*/
|
|
18585
|
+
timezone?: string | undefined
|
|
18586
|
+
}
|
|
18587
|
+
| undefined
|
|
18578
18588
|
/** Unique identifier for the account associated with the device. */
|
|
18579
18589
|
connected_account_id: string
|
|
18580
18590
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -37766,14 +37776,19 @@ export type Routes = {
|
|
|
37766
37776
|
| undefined
|
|
37767
37777
|
})
|
|
37768
37778
|
/** Location information for the device. */
|
|
37769
|
-
location
|
|
37770
|
-
|
|
37771
|
-
|
|
37772
|
-
|
|
37773
|
-
|
|
37774
|
-
|
|
37775
|
-
|
|
37776
|
-
|
|
37779
|
+
location?:
|
|
37780
|
+
| {
|
|
37781
|
+
/** Name of the device location.
|
|
37782
|
+
*/
|
|
37783
|
+
location_name?: string | undefined
|
|
37784
|
+
/** Time zone of the device location.
|
|
37785
|
+
*/
|
|
37786
|
+
time_zone?: string | undefined
|
|
37787
|
+
/** Time zone of the device location.
|
|
37788
|
+
* @deprecated Use `time_zone` instead.*/
|
|
37789
|
+
timezone?: string | undefined
|
|
37790
|
+
}
|
|
37791
|
+
| undefined
|
|
37777
37792
|
/** Unique identifier for the account associated with the device. */
|
|
37778
37793
|
connected_account_id: string
|
|
37779
37794
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -39640,14 +39655,19 @@ export type Routes = {
|
|
|
39640
39655
|
| undefined
|
|
39641
39656
|
})
|
|
39642
39657
|
/** Location information for the device. */
|
|
39643
|
-
location
|
|
39644
|
-
|
|
39645
|
-
|
|
39646
|
-
|
|
39647
|
-
|
|
39648
|
-
|
|
39649
|
-
|
|
39650
|
-
|
|
39658
|
+
location?:
|
|
39659
|
+
| {
|
|
39660
|
+
/** Name of the device location.
|
|
39661
|
+
*/
|
|
39662
|
+
location_name?: string | undefined
|
|
39663
|
+
/** Time zone of the device location.
|
|
39664
|
+
*/
|
|
39665
|
+
time_zone?: string | undefined
|
|
39666
|
+
/** Time zone of the device location.
|
|
39667
|
+
* @deprecated Use `time_zone` instead.*/
|
|
39668
|
+
timezone?: string | undefined
|
|
39669
|
+
}
|
|
39670
|
+
| undefined
|
|
39651
39671
|
/** Unique identifier for the account associated with the device. */
|
|
39652
39672
|
connected_account_id: string
|
|
39653
39673
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -40771,14 +40791,19 @@ export type Routes = {
|
|
|
40771
40791
|
/** Unique identifier for the account associated with the device. */
|
|
40772
40792
|
connected_account_id: string
|
|
40773
40793
|
/** Location information for the device. */
|
|
40774
|
-
location
|
|
40775
|
-
|
|
40776
|
-
|
|
40777
|
-
|
|
40778
|
-
|
|
40779
|
-
|
|
40780
|
-
|
|
40781
|
-
|
|
40794
|
+
location?:
|
|
40795
|
+
| {
|
|
40796
|
+
/** Name of the device location.
|
|
40797
|
+
*/
|
|
40798
|
+
location_name?: string | undefined
|
|
40799
|
+
/** Time zone of the device location.
|
|
40800
|
+
*/
|
|
40801
|
+
time_zone?: string | undefined
|
|
40802
|
+
/** Time zone of the device location.
|
|
40803
|
+
* @deprecated Use `time_zone` instead.*/
|
|
40804
|
+
timezone?: string | undefined
|
|
40805
|
+
}
|
|
40806
|
+
| undefined
|
|
40782
40807
|
/**
|
|
40783
40808
|
Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).
|
|
40784
40809
|
*/
|
|
@@ -41529,14 +41554,19 @@ export type Routes = {
|
|
|
41529
41554
|
/** Unique identifier for the account associated with the device. */
|
|
41530
41555
|
connected_account_id: string
|
|
41531
41556
|
/** Location information for the device. */
|
|
41532
|
-
location
|
|
41533
|
-
|
|
41534
|
-
|
|
41535
|
-
|
|
41536
|
-
|
|
41537
|
-
|
|
41538
|
-
|
|
41539
|
-
|
|
41557
|
+
location?:
|
|
41558
|
+
| {
|
|
41559
|
+
/** Name of the device location.
|
|
41560
|
+
*/
|
|
41561
|
+
location_name?: string | undefined
|
|
41562
|
+
/** Time zone of the device location.
|
|
41563
|
+
*/
|
|
41564
|
+
time_zone?: string | undefined
|
|
41565
|
+
/** Time zone of the device location.
|
|
41566
|
+
* @deprecated Use `time_zone` instead.*/
|
|
41567
|
+
timezone?: string | undefined
|
|
41568
|
+
}
|
|
41569
|
+
| undefined
|
|
41540
41570
|
/**
|
|
41541
41571
|
Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).
|
|
41542
41572
|
*/
|
|
@@ -51492,14 +51522,19 @@ export type Routes = {
|
|
|
51492
51522
|
| undefined
|
|
51493
51523
|
})
|
|
51494
51524
|
/** Location information for the device. */
|
|
51495
|
-
location
|
|
51496
|
-
|
|
51497
|
-
|
|
51498
|
-
|
|
51499
|
-
|
|
51500
|
-
|
|
51501
|
-
|
|
51502
|
-
|
|
51525
|
+
location?:
|
|
51526
|
+
| {
|
|
51527
|
+
/** Name of the device location.
|
|
51528
|
+
*/
|
|
51529
|
+
location_name?: string | undefined
|
|
51530
|
+
/** Time zone of the device location.
|
|
51531
|
+
*/
|
|
51532
|
+
time_zone?: string | undefined
|
|
51533
|
+
/** Time zone of the device location.
|
|
51534
|
+
* @deprecated Use `time_zone` instead.*/
|
|
51535
|
+
timezone?: string | undefined
|
|
51536
|
+
}
|
|
51537
|
+
| undefined
|
|
51503
51538
|
/** Unique identifier for the account associated with the device. */
|
|
51504
51539
|
connected_account_id: string
|
|
51505
51540
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -53135,14 +53170,19 @@ export type Routes = {
|
|
|
53135
53170
|
| undefined
|
|
53136
53171
|
})
|
|
53137
53172
|
/** Location information for the device. */
|
|
53138
|
-
location
|
|
53139
|
-
|
|
53140
|
-
|
|
53141
|
-
|
|
53142
|
-
|
|
53143
|
-
|
|
53144
|
-
|
|
53145
|
-
|
|
53173
|
+
location?:
|
|
53174
|
+
| {
|
|
53175
|
+
/** Name of the device location.
|
|
53176
|
+
*/
|
|
53177
|
+
location_name?: string | undefined
|
|
53178
|
+
/** Time zone of the device location.
|
|
53179
|
+
*/
|
|
53180
|
+
time_zone?: string | undefined
|
|
53181
|
+
/** Time zone of the device location.
|
|
53182
|
+
* @deprecated Use `time_zone` instead.*/
|
|
53183
|
+
timezone?: string | undefined
|
|
53184
|
+
}
|
|
53185
|
+
| undefined
|
|
53146
53186
|
/** Unique identifier for the account associated with the device. */
|
|
53147
53187
|
connected_account_id: string
|
|
53148
53188
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -54968,14 +55008,19 @@ export type Routes = {
|
|
|
54968
55008
|
| undefined
|
|
54969
55009
|
})
|
|
54970
55010
|
/** Location information for the device. */
|
|
54971
|
-
location
|
|
54972
|
-
|
|
54973
|
-
|
|
54974
|
-
|
|
54975
|
-
|
|
54976
|
-
|
|
54977
|
-
|
|
54978
|
-
|
|
55011
|
+
location?:
|
|
55012
|
+
| {
|
|
55013
|
+
/** Name of the device location.
|
|
55014
|
+
*/
|
|
55015
|
+
location_name?: string | undefined
|
|
55016
|
+
/** Time zone of the device location.
|
|
55017
|
+
*/
|
|
55018
|
+
time_zone?: string | undefined
|
|
55019
|
+
/** Time zone of the device location.
|
|
55020
|
+
* @deprecated Use `time_zone` instead.*/
|
|
55021
|
+
timezone?: string | undefined
|
|
55022
|
+
}
|
|
55023
|
+
| undefined
|
|
54979
55024
|
/** Unique identifier for the account associated with the device. */
|
|
54980
55025
|
connected_account_id: string
|
|
54981
55026
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -56610,14 +56655,19 @@ export type Routes = {
|
|
|
56610
56655
|
| undefined
|
|
56611
56656
|
})
|
|
56612
56657
|
/** Location information for the device. */
|
|
56613
|
-
location
|
|
56614
|
-
|
|
56615
|
-
|
|
56616
|
-
|
|
56617
|
-
|
|
56618
|
-
|
|
56619
|
-
|
|
56620
|
-
|
|
56658
|
+
location?:
|
|
56659
|
+
| {
|
|
56660
|
+
/** Name of the device location.
|
|
56661
|
+
*/
|
|
56662
|
+
location_name?: string | undefined
|
|
56663
|
+
/** Time zone of the device location.
|
|
56664
|
+
*/
|
|
56665
|
+
time_zone?: string | undefined
|
|
56666
|
+
/** Time zone of the device location.
|
|
56667
|
+
* @deprecated Use `time_zone` instead.*/
|
|
56668
|
+
timezone?: string | undefined
|
|
56669
|
+
}
|
|
56670
|
+
| undefined
|
|
56621
56671
|
/** Unique identifier for the account associated with the device. */
|
|
56622
56672
|
connected_account_id: string
|
|
56623
56673
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -64541,14 +64591,19 @@ export type Routes = {
|
|
|
64541
64591
|
| undefined
|
|
64542
64592
|
})
|
|
64543
64593
|
/** Location information for the device. */
|
|
64544
|
-
location
|
|
64545
|
-
|
|
64546
|
-
|
|
64547
|
-
|
|
64548
|
-
|
|
64549
|
-
|
|
64550
|
-
|
|
64551
|
-
|
|
64594
|
+
location?:
|
|
64595
|
+
| {
|
|
64596
|
+
/** Name of the device location.
|
|
64597
|
+
*/
|
|
64598
|
+
location_name?: string | undefined
|
|
64599
|
+
/** Time zone of the device location.
|
|
64600
|
+
*/
|
|
64601
|
+
time_zone?: string | undefined
|
|
64602
|
+
/** Time zone of the device location.
|
|
64603
|
+
* @deprecated Use `time_zone` instead.*/
|
|
64604
|
+
timezone?: string | undefined
|
|
64605
|
+
}
|
|
64606
|
+
| undefined
|
|
64552
64607
|
/** Unique identifier for the account associated with the device. */
|
|
64553
64608
|
connected_account_id: string
|
|
64554
64609
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -66183,14 +66238,19 @@ export type Routes = {
|
|
|
66183
66238
|
| undefined
|
|
66184
66239
|
})
|
|
66185
66240
|
/** Location information for the device. */
|
|
66186
|
-
location
|
|
66187
|
-
|
|
66188
|
-
|
|
66189
|
-
|
|
66190
|
-
|
|
66191
|
-
|
|
66192
|
-
|
|
66193
|
-
|
|
66241
|
+
location?:
|
|
66242
|
+
| {
|
|
66243
|
+
/** Name of the device location.
|
|
66244
|
+
*/
|
|
66245
|
+
location_name?: string | undefined
|
|
66246
|
+
/** Time zone of the device location.
|
|
66247
|
+
*/
|
|
66248
|
+
time_zone?: string | undefined
|
|
66249
|
+
/** Time zone of the device location.
|
|
66250
|
+
* @deprecated Use `time_zone` instead.*/
|
|
66251
|
+
timezone?: string | undefined
|
|
66252
|
+
}
|
|
66253
|
+
| undefined
|
|
66194
66254
|
/** Unique identifier for the account associated with the device. */
|
|
66195
66255
|
connected_account_id: string
|
|
66196
66256
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -74378,6 +74438,215 @@ export type Routes = {
|
|
|
74378
74438
|
}
|
|
74379
74439
|
maxDuration: undefined
|
|
74380
74440
|
}
|
|
74441
|
+
'/seam/customer/v1/connectors/ical/generate-config': {
|
|
74442
|
+
route: '/seam/customer/v1/connectors/ical/generate-config'
|
|
74443
|
+
method: 'POST'
|
|
74444
|
+
queryParams: {}
|
|
74445
|
+
jsonBody: {
|
|
74446
|
+
/** iCal feed URL to analyze */
|
|
74447
|
+
ical_url: string
|
|
74448
|
+
}
|
|
74449
|
+
commonParams: {}
|
|
74450
|
+
formData: {}
|
|
74451
|
+
jsonResponse: {
|
|
74452
|
+
generated_config: {
|
|
74453
|
+
ical_config: {
|
|
74454
|
+
/** Optional filter to skip non-matching events */
|
|
74455
|
+
filter?:
|
|
74456
|
+
| {
|
|
74457
|
+
/** iCal property name to match against */
|
|
74458
|
+
source: string
|
|
74459
|
+
/** Regex pattern — events not matching are skipped */
|
|
74460
|
+
pattern: string
|
|
74461
|
+
}
|
|
74462
|
+
| undefined
|
|
74463
|
+
fields: {
|
|
74464
|
+
/** How to extract the reservation key (falls back to UID) */
|
|
74465
|
+
reservation_key?:
|
|
74466
|
+
| {
|
|
74467
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74468
|
+
source: string
|
|
74469
|
+
/** Regex with capture group to extract value from the property */
|
|
74470
|
+
pattern?: string | undefined
|
|
74471
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74472
|
+
type?: 'date' | undefined
|
|
74473
|
+
}
|
|
74474
|
+
| undefined
|
|
74475
|
+
/** How to extract guest name */
|
|
74476
|
+
guest_name?:
|
|
74477
|
+
| {
|
|
74478
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74479
|
+
source: string
|
|
74480
|
+
/** Regex with capture group to extract value from the property */
|
|
74481
|
+
pattern?: string | undefined
|
|
74482
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74483
|
+
type?: 'date' | undefined
|
|
74484
|
+
}
|
|
74485
|
+
| undefined
|
|
74486
|
+
/** How to extract guest email */
|
|
74487
|
+
guest_email?:
|
|
74488
|
+
| {
|
|
74489
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74490
|
+
source: string
|
|
74491
|
+
/** Regex with capture group to extract value from the property */
|
|
74492
|
+
pattern?: string | undefined
|
|
74493
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74494
|
+
type?: 'date' | undefined
|
|
74495
|
+
}
|
|
74496
|
+
| undefined
|
|
74497
|
+
/** How to extract guest phone */
|
|
74498
|
+
guest_phone?:
|
|
74499
|
+
| {
|
|
74500
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74501
|
+
source: string
|
|
74502
|
+
/** Regex with capture group to extract value from the property */
|
|
74503
|
+
pattern?: string | undefined
|
|
74504
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74505
|
+
type?: 'date' | undefined
|
|
74506
|
+
}
|
|
74507
|
+
| undefined
|
|
74508
|
+
/** How to extract check-in date */
|
|
74509
|
+
starts_at: {
|
|
74510
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74511
|
+
source: string
|
|
74512
|
+
/** Regex with capture group to extract value from the property */
|
|
74513
|
+
pattern?: string | undefined
|
|
74514
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74515
|
+
type?: 'date' | undefined
|
|
74516
|
+
}
|
|
74517
|
+
/** How to extract check-out date */
|
|
74518
|
+
ends_at: {
|
|
74519
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74520
|
+
source: string
|
|
74521
|
+
/** Regex with capture group to extract value from the property */
|
|
74522
|
+
pattern?: string | undefined
|
|
74523
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74524
|
+
type?: 'date' | undefined
|
|
74525
|
+
}
|
|
74526
|
+
}
|
|
74527
|
+
/** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
|
|
74528
|
+
time_zone?: string | undefined
|
|
74529
|
+
/** Default check-in time (HH:MM) used when iCal gives date-only values */
|
|
74530
|
+
default_check_in_time?: string | undefined
|
|
74531
|
+
/** Default check-out time (HH:MM) used when iCal gives date-only values */
|
|
74532
|
+
default_check_out_time?: string | undefined
|
|
74533
|
+
}
|
|
74534
|
+
}
|
|
74535
|
+
}
|
|
74536
|
+
maxDuration: undefined
|
|
74537
|
+
}
|
|
74538
|
+
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
74539
|
+
route: '/seam/customer/v1/connectors/ical/validate-config'
|
|
74540
|
+
method: 'POST'
|
|
74541
|
+
queryParams: {}
|
|
74542
|
+
jsonBody: {
|
|
74543
|
+
/** iCal feed URL to validate against */
|
|
74544
|
+
ical_url: string
|
|
74545
|
+
/** Config to validate */
|
|
74546
|
+
ical_config: {
|
|
74547
|
+
/** Optional filter to skip non-matching events */
|
|
74548
|
+
filter?:
|
|
74549
|
+
| {
|
|
74550
|
+
/** iCal property name to match against */
|
|
74551
|
+
source: string
|
|
74552
|
+
/** Regex pattern — events not matching are skipped */
|
|
74553
|
+
pattern: string
|
|
74554
|
+
}
|
|
74555
|
+
| undefined
|
|
74556
|
+
fields: {
|
|
74557
|
+
/** How to extract the reservation key (falls back to UID) */
|
|
74558
|
+
reservation_key?:
|
|
74559
|
+
| {
|
|
74560
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74561
|
+
source: string
|
|
74562
|
+
/** Regex with capture group to extract value from the property */
|
|
74563
|
+
pattern?: string | undefined
|
|
74564
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74565
|
+
type?: 'date' | undefined
|
|
74566
|
+
}
|
|
74567
|
+
| undefined
|
|
74568
|
+
/** How to extract guest name */
|
|
74569
|
+
guest_name?:
|
|
74570
|
+
| {
|
|
74571
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74572
|
+
source: string
|
|
74573
|
+
/** Regex with capture group to extract value from the property */
|
|
74574
|
+
pattern?: string | undefined
|
|
74575
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74576
|
+
type?: 'date' | undefined
|
|
74577
|
+
}
|
|
74578
|
+
| undefined
|
|
74579
|
+
/** How to extract guest email */
|
|
74580
|
+
guest_email?:
|
|
74581
|
+
| {
|
|
74582
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74583
|
+
source: string
|
|
74584
|
+
/** Regex with capture group to extract value from the property */
|
|
74585
|
+
pattern?: string | undefined
|
|
74586
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74587
|
+
type?: 'date' | undefined
|
|
74588
|
+
}
|
|
74589
|
+
| undefined
|
|
74590
|
+
/** How to extract guest phone */
|
|
74591
|
+
guest_phone?:
|
|
74592
|
+
| {
|
|
74593
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74594
|
+
source: string
|
|
74595
|
+
/** Regex with capture group to extract value from the property */
|
|
74596
|
+
pattern?: string | undefined
|
|
74597
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74598
|
+
type?: 'date' | undefined
|
|
74599
|
+
}
|
|
74600
|
+
| undefined
|
|
74601
|
+
/** How to extract check-in date */
|
|
74602
|
+
starts_at: {
|
|
74603
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74604
|
+
source: string
|
|
74605
|
+
/** Regex with capture group to extract value from the property */
|
|
74606
|
+
pattern?: string | undefined
|
|
74607
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74608
|
+
type?: 'date' | undefined
|
|
74609
|
+
}
|
|
74610
|
+
/** How to extract check-out date */
|
|
74611
|
+
ends_at: {
|
|
74612
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
74613
|
+
source: string
|
|
74614
|
+
/** Regex with capture group to extract value from the property */
|
|
74615
|
+
pattern?: string | undefined
|
|
74616
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
74617
|
+
type?: 'date' | undefined
|
|
74618
|
+
}
|
|
74619
|
+
}
|
|
74620
|
+
/** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
|
|
74621
|
+
time_zone?: string | undefined
|
|
74622
|
+
/** Default check-in time (HH:MM) used when iCal gives date-only values */
|
|
74623
|
+
default_check_in_time?: string | undefined
|
|
74624
|
+
/** Default check-out time (HH:MM) used when iCal gives date-only values */
|
|
74625
|
+
default_check_out_time?: string | undefined
|
|
74626
|
+
}
|
|
74627
|
+
}
|
|
74628
|
+
commonParams: {}
|
|
74629
|
+
formData: {}
|
|
74630
|
+
jsonResponse: {
|
|
74631
|
+
validation_result: {
|
|
74632
|
+
is_valid: boolean
|
|
74633
|
+
total_events: number
|
|
74634
|
+
matched_events: number
|
|
74635
|
+
filtered_events: number
|
|
74636
|
+
reservations: {
|
|
74637
|
+
uid: string
|
|
74638
|
+
reservation_key: string | null
|
|
74639
|
+
guest_name: string | null
|
|
74640
|
+
guest_email: string | null
|
|
74641
|
+
guest_phone: string | null
|
|
74642
|
+
starts_at: string | null
|
|
74643
|
+
ends_at: string | null
|
|
74644
|
+
}[]
|
|
74645
|
+
errors: string[]
|
|
74646
|
+
}
|
|
74647
|
+
}
|
|
74648
|
+
maxDuration: undefined
|
|
74649
|
+
}
|
|
74381
74650
|
'/seam/customer/v1/connectors/list': {
|
|
74382
74651
|
route: '/seam/customer/v1/connectors/list'
|
|
74383
74652
|
method: 'GET' | 'POST'
|
|
@@ -81511,14 +81780,19 @@ export type Routes = {
|
|
|
81511
81780
|
| undefined
|
|
81512
81781
|
})
|
|
81513
81782
|
/** Location information for the device. */
|
|
81514
|
-
location
|
|
81515
|
-
|
|
81516
|
-
|
|
81517
|
-
|
|
81518
|
-
|
|
81519
|
-
|
|
81520
|
-
|
|
81521
|
-
|
|
81783
|
+
location?:
|
|
81784
|
+
| {
|
|
81785
|
+
/** Name of the device location.
|
|
81786
|
+
*/
|
|
81787
|
+
location_name?: string | undefined
|
|
81788
|
+
/** Time zone of the device location.
|
|
81789
|
+
*/
|
|
81790
|
+
time_zone?: string | undefined
|
|
81791
|
+
/** Time zone of the device location.
|
|
81792
|
+
* @deprecated Use `time_zone` instead.*/
|
|
81793
|
+
timezone?: string | undefined
|
|
81794
|
+
}
|
|
81795
|
+
| undefined
|
|
81522
81796
|
/** Unique identifier for the account associated with the device. */
|
|
81523
81797
|
connected_account_id: string
|
|
81524
81798
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -88688,14 +88962,19 @@ export type Routes = {
|
|
|
88688
88962
|
| undefined
|
|
88689
88963
|
})
|
|
88690
88964
|
/** Location information for the device. */
|
|
88691
|
-
location
|
|
88692
|
-
|
|
88693
|
-
|
|
88694
|
-
|
|
88695
|
-
|
|
88696
|
-
|
|
88697
|
-
|
|
88698
|
-
|
|
88965
|
+
location?:
|
|
88966
|
+
| {
|
|
88967
|
+
/** Name of the device location.
|
|
88968
|
+
*/
|
|
88969
|
+
location_name?: string | undefined
|
|
88970
|
+
/** Time zone of the device location.
|
|
88971
|
+
*/
|
|
88972
|
+
time_zone?: string | undefined
|
|
88973
|
+
/** Time zone of the device location.
|
|
88974
|
+
* @deprecated Use `time_zone` instead.*/
|
|
88975
|
+
timezone?: string | undefined
|
|
88976
|
+
}
|
|
88977
|
+
| undefined
|
|
88699
88978
|
/** Unique identifier for the account associated with the device. */
|
|
88700
88979
|
connected_account_id: string
|
|
88701
88980
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -93564,14 +93843,19 @@ export type Routes = {
|
|
|
93564
93843
|
| undefined
|
|
93565
93844
|
})
|
|
93566
93845
|
/** Location information for the device. */
|
|
93567
|
-
location
|
|
93568
|
-
|
|
93569
|
-
|
|
93570
|
-
|
|
93571
|
-
|
|
93572
|
-
|
|
93573
|
-
|
|
93574
|
-
|
|
93846
|
+
location?:
|
|
93847
|
+
| {
|
|
93848
|
+
/** Name of the device location.
|
|
93849
|
+
*/
|
|
93850
|
+
location_name?: string | undefined
|
|
93851
|
+
/** Time zone of the device location.
|
|
93852
|
+
*/
|
|
93853
|
+
time_zone?: string | undefined
|
|
93854
|
+
/** Time zone of the device location.
|
|
93855
|
+
* @deprecated Use `time_zone` instead.*/
|
|
93856
|
+
timezone?: string | undefined
|
|
93857
|
+
}
|
|
93858
|
+
| undefined
|
|
93575
93859
|
/** Unique identifier for the account associated with the device. */
|
|
93576
93860
|
connected_account_id: string
|
|
93577
93861
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -95206,14 +95490,19 @@ export type Routes = {
|
|
|
95206
95490
|
| undefined
|
|
95207
95491
|
})
|
|
95208
95492
|
/** Location information for the device. */
|
|
95209
|
-
location
|
|
95210
|
-
|
|
95211
|
-
|
|
95212
|
-
|
|
95213
|
-
|
|
95214
|
-
|
|
95215
|
-
|
|
95216
|
-
|
|
95493
|
+
location?:
|
|
95494
|
+
| {
|
|
95495
|
+
/** Name of the device location.
|
|
95496
|
+
*/
|
|
95497
|
+
location_name?: string | undefined
|
|
95498
|
+
/** Time zone of the device location.
|
|
95499
|
+
*/
|
|
95500
|
+
time_zone?: string | undefined
|
|
95501
|
+
/** Time zone of the device location.
|
|
95502
|
+
* @deprecated Use `time_zone` instead.*/
|
|
95503
|
+
timezone?: string | undefined
|
|
95504
|
+
}
|
|
95505
|
+
| undefined
|
|
95217
95506
|
/** Unique identifier for the account associated with the device. */
|
|
95218
95507
|
connected_account_id: string
|
|
95219
95508
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -104014,14 +104303,19 @@ export type Routes = {
|
|
|
104014
104303
|
| undefined
|
|
104015
104304
|
})
|
|
104016
104305
|
/** Location information for the device. */
|
|
104017
|
-
location
|
|
104018
|
-
|
|
104019
|
-
|
|
104020
|
-
|
|
104021
|
-
|
|
104022
|
-
|
|
104023
|
-
|
|
104024
|
-
|
|
104306
|
+
location?:
|
|
104307
|
+
| {
|
|
104308
|
+
/** Name of the device location.
|
|
104309
|
+
*/
|
|
104310
|
+
location_name?: string | undefined
|
|
104311
|
+
/** Time zone of the device location.
|
|
104312
|
+
*/
|
|
104313
|
+
time_zone?: string | undefined
|
|
104314
|
+
/** Time zone of the device location.
|
|
104315
|
+
* @deprecated Use `time_zone` instead.*/
|
|
104316
|
+
timezone?: string | undefined
|
|
104317
|
+
}
|
|
104318
|
+
| undefined
|
|
104025
104319
|
/** Unique identifier for the account associated with the device. */
|
|
104026
104320
|
connected_account_id: string
|
|
104027
104321
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -105658,14 +105952,19 @@ export type Routes = {
|
|
|
105658
105952
|
| undefined
|
|
105659
105953
|
})
|
|
105660
105954
|
/** Location information for the device. */
|
|
105661
|
-
location
|
|
105662
|
-
|
|
105663
|
-
|
|
105664
|
-
|
|
105665
|
-
|
|
105666
|
-
|
|
105667
|
-
|
|
105668
|
-
|
|
105955
|
+
location?:
|
|
105956
|
+
| {
|
|
105957
|
+
/** Name of the device location.
|
|
105958
|
+
*/
|
|
105959
|
+
location_name?: string | undefined
|
|
105960
|
+
/** Time zone of the device location.
|
|
105961
|
+
*/
|
|
105962
|
+
time_zone?: string | undefined
|
|
105963
|
+
/** Time zone of the device location.
|
|
105964
|
+
* @deprecated Use `time_zone` instead.*/
|
|
105965
|
+
timezone?: string | undefined
|
|
105966
|
+
}
|
|
105967
|
+
| undefined
|
|
105669
105968
|
/** Unique identifier for the account associated with the device. */
|
|
105670
105969
|
connected_account_id: string
|
|
105671
105970
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -108415,14 +108714,19 @@ export type Routes = {
|
|
|
108415
108714
|
| undefined
|
|
108416
108715
|
})
|
|
108417
108716
|
/** Location information for the device. */
|
|
108418
|
-
location
|
|
108419
|
-
|
|
108420
|
-
|
|
108421
|
-
|
|
108422
|
-
|
|
108423
|
-
|
|
108424
|
-
|
|
108425
|
-
|
|
108717
|
+
location?:
|
|
108718
|
+
| {
|
|
108719
|
+
/** Name of the device location.
|
|
108720
|
+
*/
|
|
108721
|
+
location_name?: string | undefined
|
|
108722
|
+
/** Time zone of the device location.
|
|
108723
|
+
*/
|
|
108724
|
+
time_zone?: string | undefined
|
|
108725
|
+
/** Time zone of the device location.
|
|
108726
|
+
* @deprecated Use `time_zone` instead.*/
|
|
108727
|
+
timezone?: string | undefined
|
|
108728
|
+
}
|
|
108729
|
+
| undefined
|
|
108426
108730
|
/** Unique identifier for the account associated with the device. */
|
|
108427
108731
|
connected_account_id: string
|
|
108428
108732
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -111761,14 +112065,19 @@ export type Routes = {
|
|
|
111761
112065
|
/** Unique identifier for the account associated with the device. */
|
|
111762
112066
|
connected_account_id: string
|
|
111763
112067
|
/** Location information for the device. */
|
|
111764
|
-
location
|
|
111765
|
-
|
|
111766
|
-
|
|
111767
|
-
|
|
111768
|
-
|
|
111769
|
-
|
|
111770
|
-
|
|
111771
|
-
|
|
112068
|
+
location?:
|
|
112069
|
+
| {
|
|
112070
|
+
/** Name of the device location.
|
|
112071
|
+
*/
|
|
112072
|
+
location_name?: string | undefined
|
|
112073
|
+
/** Time zone of the device location.
|
|
112074
|
+
*/
|
|
112075
|
+
time_zone?: string | undefined
|
|
112076
|
+
/** Time zone of the device location.
|
|
112077
|
+
* @deprecated Use `time_zone` instead.*/
|
|
112078
|
+
timezone?: string | undefined
|
|
112079
|
+
}
|
|
112080
|
+
| undefined
|
|
111772
112081
|
/**
|
|
111773
112082
|
Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).
|
|
111774
112083
|
*/
|