@seamapi/types 1.975.0 → 1.977.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.
@@ -48019,6 +48019,8 @@ export type Routes = {
48019
48019
  }
48020
48020
  /** Whether the portal is embedded in another application. */
48021
48021
  is_embedded?: boolean
48022
+ /** Whether the portal is read-only. When true, the customer can browse the portal but cannot perform any mutating action; write requests made with the portal's client session are rejected. */
48023
+ read_only?: boolean
48022
48024
  /** Configuration for the landing page when the portal loads. */
48023
48025
  landing_page?:
48024
48026
  | {
@@ -48105,10 +48107,20 @@ export type Routes = {
48105
48107
  navigation_mode?: 'full' | 'restricted'
48106
48108
  /** Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource. */
48107
48109
  deep_link?:
48108
- | {
48109
- resource_type: 'reservation' | 'space'
48110
- resource_key: string
48111
- }
48110
+ | (
48111
+ | {
48112
+ resource_type: 'reservation'
48113
+ resource_key: string
48114
+ }
48115
+ | {
48116
+ resource_type: 'space'
48117
+ resource_key: string
48118
+ }
48119
+ | {
48120
+ resource_type: 'device'
48121
+ resource_id: string
48122
+ }
48123
+ )
48112
48124
  | undefined
48113
48125
  /** Whether the portal is in developer mode. Only available for Seam employees. */
48114
48126
  _dev?: boolean
@@ -100479,6 +100491,8 @@ export type Routes = {
100479
100491
  }
100480
100492
  /** Whether the portal is embedded in another application. */
100481
100493
  is_embedded?: boolean
100494
+ /** Whether the portal is read-only. When true, the customer can browse the portal but cannot perform any mutating action; write requests made with the portal's client session are rejected. */
100495
+ read_only?: boolean
100482
100496
  /** Configuration for the landing page when the portal loads. */
100483
100497
  landing_page?:
100484
100498
  | {
@@ -100565,10 +100579,20 @@ export type Routes = {
100565
100579
  navigation_mode?: 'full' | 'restricted'
100566
100580
  /** Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource. */
100567
100581
  deep_link?:
100568
- | {
100569
- resource_type: 'reservation' | 'space'
100570
- resource_key: string
100571
- }
100582
+ | (
100583
+ | {
100584
+ resource_type: 'reservation'
100585
+ resource_key: string
100586
+ }
100587
+ | {
100588
+ resource_type: 'space'
100589
+ resource_key: string
100590
+ }
100591
+ | {
100592
+ resource_type: 'device'
100593
+ resource_id: string
100594
+ }
100595
+ )
100572
100596
  | undefined
100573
100597
  /** Business vertical of the customer portal. */
100574
100598
  business_vertical?:
@@ -100675,6 +100699,8 @@ export type Routes = {
100675
100699
  | undefined
100676
100700
  /** Whether the portal is embedded in another application. */
100677
100701
  is_embedded?: boolean | undefined
100702
+ /** Whether the portal is read-only. When true, the customer can browse the portal but cannot perform any mutating action; write requests made with the portal's client session are rejected. */
100703
+ read_only?: boolean | undefined
100678
100704
  /** Configuration for the landing page when the portal loads. */
100679
100705
  landing_page?:
100680
100706
  | (
@@ -100771,10 +100797,20 @@ export type Routes = {
100771
100797
  /** Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource. */
100772
100798
  deep_link?:
100773
100799
  | (
100774
- | {
100775
- resource_type: 'reservation' | 'space'
100776
- resource_key: string
100777
- }
100800
+ | (
100801
+ | {
100802
+ resource_type: 'reservation'
100803
+ resource_key: string
100804
+ }
100805
+ | {
100806
+ resource_type: 'space'
100807
+ resource_key: string
100808
+ }
100809
+ | {
100810
+ resource_type: 'device'
100811
+ resource_id: string
100812
+ }
100813
+ )
100778
100814
  | undefined
100779
100815
  )
100780
100816
  | undefined