@seamapi/types 1.1107.0 → 1.1109.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/lib/seam/connect/models/customer/customer-portal.d.ts +14 -0
- package/lib/seam/connect/models/customer/customer-portal.js +5 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.js +584 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +202 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +592 -0
- package/src/lib/seam/connect/route-types.ts +270 -0
|
@@ -54389,6 +54389,8 @@ export type Routes = {
|
|
|
54389
54389
|
allow_climate_automation_rule_customization?: boolean
|
|
54390
54390
|
/** Indicates whether the customer can customize the Instant Key profile for their properties. */
|
|
54391
54391
|
allow_instant_key_customization?: boolean
|
|
54392
|
+
/** Indicates whether the customer can customize their notification settings, such as the low-battery alert threshold. */
|
|
54393
|
+
allow_notification_customization?: boolean
|
|
54392
54394
|
}
|
|
54393
54395
|
}
|
|
54394
54396
|
/** Whether the portal is embedded in another application. */
|
|
@@ -108526,6 +108528,63 @@ export type Routes = {
|
|
|
108526
108528
|
}
|
|
108527
108529
|
}
|
|
108528
108530
|
| undefined
|
|
108531
|
+
sound_rules?:
|
|
108532
|
+
| {
|
|
108533
|
+
rules: {
|
|
108534
|
+
reservation_created?:
|
|
108535
|
+
| {
|
|
108536
|
+
on_check_in?:
|
|
108537
|
+
| {
|
|
108538
|
+
minutes_before_check_in?: number | undefined
|
|
108539
|
+
speakers?:
|
|
108540
|
+
| {
|
|
108541
|
+
set_volume_to?: number | undefined
|
|
108542
|
+
unmute?: boolean | undefined
|
|
108543
|
+
play_chime?: boolean | undefined
|
|
108544
|
+
}
|
|
108545
|
+
| undefined
|
|
108546
|
+
noise_sensors?:
|
|
108547
|
+
| {
|
|
108548
|
+
noise_thresholds: {
|
|
108549
|
+
name?: string | undefined
|
|
108550
|
+
starts_daily_at: string
|
|
108551
|
+
ends_daily_at: string
|
|
108552
|
+
noise_threshold_decibels: number
|
|
108553
|
+
}[]
|
|
108554
|
+
}
|
|
108555
|
+
| undefined
|
|
108556
|
+
}
|
|
108557
|
+
| undefined
|
|
108558
|
+
on_check_out?:
|
|
108559
|
+
| {
|
|
108560
|
+
minutes_after_check_out?: number | undefined
|
|
108561
|
+
speakers?:
|
|
108562
|
+
| {
|
|
108563
|
+
pause_playback?: boolean | undefined
|
|
108564
|
+
unmute?: boolean | undefined
|
|
108565
|
+
reset_volume_to?: number | undefined
|
|
108566
|
+
}
|
|
108567
|
+
| undefined
|
|
108568
|
+
noise_sensors?:
|
|
108569
|
+
| {
|
|
108570
|
+
noise_thresholds: {
|
|
108571
|
+
name?: string | undefined
|
|
108572
|
+
starts_daily_at: string
|
|
108573
|
+
ends_daily_at: string
|
|
108574
|
+
noise_threshold_decibels: number
|
|
108575
|
+
}[]
|
|
108576
|
+
}
|
|
108577
|
+
| undefined
|
|
108578
|
+
}
|
|
108579
|
+
| undefined
|
|
108580
|
+
}
|
|
108581
|
+
| undefined
|
|
108582
|
+
reservation_time_updated?: {} | undefined
|
|
108583
|
+
reservation_spaces_updated?: {} | undefined
|
|
108584
|
+
reservation_deleted?: {} | undefined
|
|
108585
|
+
}
|
|
108586
|
+
}
|
|
108587
|
+
| undefined
|
|
108529
108588
|
}
|
|
108530
108589
|
maxDuration: undefined
|
|
108531
108590
|
}
|
|
@@ -108646,6 +108705,66 @@ export type Routes = {
|
|
|
108646
108705
|
| undefined
|
|
108647
108706
|
}
|
|
108648
108707
|
| undefined
|
|
108708
|
+
/** Sound automation rules configuration. */
|
|
108709
|
+
sound_rules?:
|
|
108710
|
+
| {
|
|
108711
|
+
rules?:
|
|
108712
|
+
| {
|
|
108713
|
+
reservation_created?:
|
|
108714
|
+
| ({
|
|
108715
|
+
on_check_in?:
|
|
108716
|
+
| {
|
|
108717
|
+
minutes_before_check_in?: number | undefined
|
|
108718
|
+
speakers?:
|
|
108719
|
+
| {
|
|
108720
|
+
set_volume_to?: number | undefined
|
|
108721
|
+
unmute?: boolean | undefined
|
|
108722
|
+
play_chime?: boolean | undefined
|
|
108723
|
+
}
|
|
108724
|
+
| undefined
|
|
108725
|
+
noise_sensors?:
|
|
108726
|
+
| {
|
|
108727
|
+
noise_thresholds: {
|
|
108728
|
+
name?: string | undefined
|
|
108729
|
+
starts_daily_at: string
|
|
108730
|
+
ends_daily_at: string
|
|
108731
|
+
noise_threshold_decibels: number
|
|
108732
|
+
}[]
|
|
108733
|
+
}
|
|
108734
|
+
| undefined
|
|
108735
|
+
}
|
|
108736
|
+
| undefined
|
|
108737
|
+
on_check_out?:
|
|
108738
|
+
| {
|
|
108739
|
+
minutes_after_check_out?: number | undefined
|
|
108740
|
+
speakers?:
|
|
108741
|
+
| {
|
|
108742
|
+
pause_playback?: boolean | undefined
|
|
108743
|
+
unmute?: boolean | undefined
|
|
108744
|
+
reset_volume_to?: number | undefined
|
|
108745
|
+
}
|
|
108746
|
+
| undefined
|
|
108747
|
+
noise_sensors?:
|
|
108748
|
+
| {
|
|
108749
|
+
noise_thresholds: {
|
|
108750
|
+
name?: string | undefined
|
|
108751
|
+
starts_daily_at: string
|
|
108752
|
+
ends_daily_at: string
|
|
108753
|
+
noise_threshold_decibels: number
|
|
108754
|
+
}[]
|
|
108755
|
+
}
|
|
108756
|
+
| undefined
|
|
108757
|
+
}
|
|
108758
|
+
| undefined
|
|
108759
|
+
} | null)
|
|
108760
|
+
| undefined
|
|
108761
|
+
reservation_time_updated?: ({} | null) | undefined
|
|
108762
|
+
reservation_spaces_updated?: ({} | null) | undefined
|
|
108763
|
+
reservation_deleted?: ({} | null) | undefined
|
|
108764
|
+
}
|
|
108765
|
+
| undefined
|
|
108766
|
+
}
|
|
108767
|
+
| undefined
|
|
108649
108768
|
}
|
|
108650
108769
|
commonParams: {}
|
|
108651
108770
|
formData: {}
|
|
@@ -109114,6 +109233,63 @@ export type Routes = {
|
|
|
109114
109233
|
}
|
|
109115
109234
|
}
|
|
109116
109235
|
| undefined
|
|
109236
|
+
sound_rules?:
|
|
109237
|
+
| {
|
|
109238
|
+
rules: {
|
|
109239
|
+
reservation_created?:
|
|
109240
|
+
| {
|
|
109241
|
+
on_check_in?:
|
|
109242
|
+
| {
|
|
109243
|
+
minutes_before_check_in?: number | undefined
|
|
109244
|
+
speakers?:
|
|
109245
|
+
| {
|
|
109246
|
+
set_volume_to?: number | undefined
|
|
109247
|
+
unmute?: boolean | undefined
|
|
109248
|
+
play_chime?: boolean | undefined
|
|
109249
|
+
}
|
|
109250
|
+
| undefined
|
|
109251
|
+
noise_sensors?:
|
|
109252
|
+
| {
|
|
109253
|
+
noise_thresholds: {
|
|
109254
|
+
name?: string | undefined
|
|
109255
|
+
starts_daily_at: string
|
|
109256
|
+
ends_daily_at: string
|
|
109257
|
+
noise_threshold_decibels: number
|
|
109258
|
+
}[]
|
|
109259
|
+
}
|
|
109260
|
+
| undefined
|
|
109261
|
+
}
|
|
109262
|
+
| undefined
|
|
109263
|
+
on_check_out?:
|
|
109264
|
+
| {
|
|
109265
|
+
minutes_after_check_out?: number | undefined
|
|
109266
|
+
speakers?:
|
|
109267
|
+
| {
|
|
109268
|
+
pause_playback?: boolean | undefined
|
|
109269
|
+
unmute?: boolean | undefined
|
|
109270
|
+
reset_volume_to?: number | undefined
|
|
109271
|
+
}
|
|
109272
|
+
| undefined
|
|
109273
|
+
noise_sensors?:
|
|
109274
|
+
| {
|
|
109275
|
+
noise_thresholds: {
|
|
109276
|
+
name?: string | undefined
|
|
109277
|
+
starts_daily_at: string
|
|
109278
|
+
ends_daily_at: string
|
|
109279
|
+
noise_threshold_decibels: number
|
|
109280
|
+
}[]
|
|
109281
|
+
}
|
|
109282
|
+
| undefined
|
|
109283
|
+
}
|
|
109284
|
+
| undefined
|
|
109285
|
+
}
|
|
109286
|
+
| undefined
|
|
109287
|
+
reservation_time_updated?: {} | undefined
|
|
109288
|
+
reservation_spaces_updated?: {} | undefined
|
|
109289
|
+
reservation_deleted?: {} | undefined
|
|
109290
|
+
}
|
|
109291
|
+
}
|
|
109292
|
+
| undefined
|
|
109117
109293
|
}
|
|
109118
109294
|
}
|
|
109119
109295
|
maxDuration: undefined
|
|
@@ -109233,6 +109409,66 @@ export type Routes = {
|
|
|
109233
109409
|
| undefined
|
|
109234
109410
|
}
|
|
109235
109411
|
| undefined
|
|
109412
|
+
/** Sound automation rules configuration. */
|
|
109413
|
+
sound_rules?:
|
|
109414
|
+
| {
|
|
109415
|
+
rules?:
|
|
109416
|
+
| {
|
|
109417
|
+
reservation_created?:
|
|
109418
|
+
| ({
|
|
109419
|
+
on_check_in?:
|
|
109420
|
+
| {
|
|
109421
|
+
minutes_before_check_in?: number | undefined
|
|
109422
|
+
speakers?:
|
|
109423
|
+
| {
|
|
109424
|
+
set_volume_to?: number | undefined
|
|
109425
|
+
unmute?: boolean | undefined
|
|
109426
|
+
play_chime?: boolean | undefined
|
|
109427
|
+
}
|
|
109428
|
+
| undefined
|
|
109429
|
+
noise_sensors?:
|
|
109430
|
+
| {
|
|
109431
|
+
noise_thresholds: {
|
|
109432
|
+
name?: string | undefined
|
|
109433
|
+
starts_daily_at: string
|
|
109434
|
+
ends_daily_at: string
|
|
109435
|
+
noise_threshold_decibels: number
|
|
109436
|
+
}[]
|
|
109437
|
+
}
|
|
109438
|
+
| undefined
|
|
109439
|
+
}
|
|
109440
|
+
| undefined
|
|
109441
|
+
on_check_out?:
|
|
109442
|
+
| {
|
|
109443
|
+
minutes_after_check_out?: number | undefined
|
|
109444
|
+
speakers?:
|
|
109445
|
+
| {
|
|
109446
|
+
pause_playback?: boolean | undefined
|
|
109447
|
+
unmute?: boolean | undefined
|
|
109448
|
+
reset_volume_to?: number | undefined
|
|
109449
|
+
}
|
|
109450
|
+
| undefined
|
|
109451
|
+
noise_sensors?:
|
|
109452
|
+
| {
|
|
109453
|
+
noise_thresholds: {
|
|
109454
|
+
name?: string | undefined
|
|
109455
|
+
starts_daily_at: string
|
|
109456
|
+
ends_daily_at: string
|
|
109457
|
+
noise_threshold_decibels: number
|
|
109458
|
+
}[]
|
|
109459
|
+
}
|
|
109460
|
+
| undefined
|
|
109461
|
+
}
|
|
109462
|
+
| undefined
|
|
109463
|
+
} | null)
|
|
109464
|
+
| undefined
|
|
109465
|
+
reservation_time_updated?: ({} | null) | undefined
|
|
109466
|
+
reservation_spaces_updated?: ({} | null) | undefined
|
|
109467
|
+
reservation_deleted?: ({} | null) | undefined
|
|
109468
|
+
}
|
|
109469
|
+
| undefined
|
|
109470
|
+
}
|
|
109471
|
+
| undefined
|
|
109236
109472
|
}
|
|
109237
109473
|
commonParams: {}
|
|
109238
109474
|
formData: {}
|
|
@@ -109330,6 +109566,36 @@ export type Routes = {
|
|
|
109330
109566
|
}
|
|
109331
109567
|
maxDuration: undefined
|
|
109332
109568
|
}
|
|
109569
|
+
'/seam/customer/v1/customers/notifications/get': {
|
|
109570
|
+
route: '/seam/customer/v1/customers/notifications/get'
|
|
109571
|
+
method: 'GET' | 'POST'
|
|
109572
|
+
queryParams: {}
|
|
109573
|
+
jsonBody: {}
|
|
109574
|
+
commonParams: {}
|
|
109575
|
+
formData: {}
|
|
109576
|
+
jsonResponse: {
|
|
109577
|
+
notification_settings: {
|
|
109578
|
+
/** Battery level, from 0 to 1, at or below which `device.low_battery` events fire for this customer's devices. `null` means the workspace or device default applies. */
|
|
109579
|
+
low_battery_alert_threshold: number | null
|
|
109580
|
+
/** Workspace-level low-battery alert threshold that applies when the customer has not set one. `null` means the device default applies. */
|
|
109581
|
+
workspace_default_low_battery_alert_threshold: number | null
|
|
109582
|
+
}
|
|
109583
|
+
}
|
|
109584
|
+
maxDuration: undefined
|
|
109585
|
+
}
|
|
109586
|
+
'/seam/customer/v1/customers/notifications/update': {
|
|
109587
|
+
route: '/seam/customer/v1/customers/notifications/update'
|
|
109588
|
+
method: 'PATCH' | 'POST'
|
|
109589
|
+
queryParams: {}
|
|
109590
|
+
jsonBody: {
|
|
109591
|
+
/** Battery level, from 0 to 1, at or below which `device.low_battery` events fire for this customer's devices. Pass `null` to fall back to the workspace default. */
|
|
109592
|
+
low_battery_alert_threshold?: (number | null) | undefined
|
|
109593
|
+
}
|
|
109594
|
+
commonParams: {}
|
|
109595
|
+
formData: {}
|
|
109596
|
+
jsonResponse: {}
|
|
109597
|
+
maxDuration: undefined
|
|
109598
|
+
}
|
|
109333
109599
|
'/seam/customer/v1/customers/open_portal': {
|
|
109334
109600
|
route: '/seam/customer/v1/customers/open_portal'
|
|
109335
109601
|
method: 'POST'
|
|
@@ -113711,6 +113977,8 @@ export type Routes = {
|
|
|
113711
113977
|
allow_climate_automation_rule_customization?: boolean
|
|
113712
113978
|
/** Indicates whether the customer can customize the Instant Key profile for their properties. */
|
|
113713
113979
|
allow_instant_key_customization?: boolean
|
|
113980
|
+
/** Indicates whether the customer can customize their notification settings, such as the low-battery alert threshold. */
|
|
113981
|
+
allow_notification_customization?: boolean
|
|
113714
113982
|
}
|
|
113715
113983
|
}
|
|
113716
113984
|
/** Whether the portal is embedded in another application. */
|
|
@@ -113922,6 +114190,8 @@ export type Routes = {
|
|
|
113922
114190
|
allow_climate_automation_rule_customization?: boolean
|
|
113923
114191
|
/** Indicates whether the customer can customize the Instant Key profile for their properties. */
|
|
113924
114192
|
allow_instant_key_customization?: boolean
|
|
114193
|
+
/** Indicates whether the customer can customize their notification settings, such as the low-battery alert threshold. */
|
|
114194
|
+
allow_notification_customization?: boolean
|
|
113925
114195
|
}
|
|
113926
114196
|
}
|
|
113927
114197
|
| undefined
|