@seamapi/types 1.1143.0 → 1.1145.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.
@@ -57159,6 +57159,53 @@ export type Routes = {
57159
57159
  [x: string]: string | boolean | null
57160
57160
  }
57161
57161
  | undefined
57162
+ /** Parts of the reservation that each get their own access, for example one per room. Each sub-reservation inherits the reservation's name, times, preferred code, guest and custom metadata unless it sets its own, and must set its own location keys. A reservation with sub-reservations must not set location keys itself. Sending this list replaces the reservation's sub-reservations: any not included are removed, and an empty list removes all of them. Omitting it leaves existing sub-reservations unchanged. */
57163
+ sub_reservations?:
57164
+ | {
57165
+ /** Your name for this access grant resource. */
57166
+ name?: string | undefined
57167
+ /** Starting date and time for the access grant. */
57168
+ starts_at?: string | undefined
57169
+ /** Ending date and time for the access grant. */
57170
+ ends_at?: string | undefined
57171
+ /** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
57172
+ preferred_code?: (string | null) | undefined
57173
+ /** Your identifier for the sub-reservation. Must be unique within its reservation. */
57174
+ sub_reservation_key: string
57175
+ /** Set key:value pairs for filtering sub-reservations by custom criteria. Merged over the reservation's custom metadata. Set a key to `null` or to an empty string to remove that key from the custom metadata. */
57176
+ custom_metadata?:
57177
+ | {
57178
+ [x: string]: string | boolean | null
57179
+ }
57180
+ | undefined
57181
+ /** Guest key associated with the access grant. */
57182
+ guest_key?: string | undefined
57183
+ /** Tenant key associated with the access grant. */
57184
+ tenant_key?: string | undefined
57185
+ /** Resident key associated with the access grant. */
57186
+ resident_key?: string | undefined
57187
+ /** User key associated with the access grant. */
57188
+ user_key?: string | undefined
57189
+ /** User identity key associated with the access grant. */
57190
+ user_identity_key?: string | undefined
57191
+ /** Space keys associated with the access grant. */
57192
+ space_keys?: string[] | undefined
57193
+ /** Property keys associated with the access grant. */
57194
+ property_keys?: string[] | undefined
57195
+ /** Room keys associated with the access grant. */
57196
+ room_keys?: string[] | undefined
57197
+ /** Common area keys associated with the access grant. */
57198
+ common_area_keys?: string[] | undefined
57199
+ /** Unit keys associated with the access grant. */
57200
+ unit_keys?: string[] | undefined
57201
+ /** Facility keys associated with the access grant. */
57202
+ facility_keys?: string[] | undefined
57203
+ /** Building keys associated with the access grant. */
57204
+ building_keys?: string[] | undefined
57205
+ /** Listing keys associated with the access grant. */
57206
+ listing_keys?: string[] | undefined
57207
+ }[]
57208
+ | undefined
57162
57209
  /** Guest key associated with the access grant. */
57163
57210
  guest_key?: string | undefined
57164
57211
  /** Tenant key associated with the access grant. */
@@ -57617,6 +57664,53 @@ export type Routes = {
57617
57664
  [x: string]: string | boolean | null
57618
57665
  }
57619
57666
  | undefined
57667
+ /** Parts of the reservation that each get their own access, for example one per room. Each sub-reservation inherits the reservation's name, times, preferred code, guest and custom metadata unless it sets its own, and must set its own location keys. A reservation with sub-reservations must not set location keys itself. Sending this list replaces the reservation's sub-reservations: any not included are removed, and an empty list removes all of them. Omitting it leaves existing sub-reservations unchanged. */
57668
+ sub_reservations?:
57669
+ | {
57670
+ /** Your name for this access grant resource. */
57671
+ name?: string | undefined
57672
+ /** Starting date and time for the access grant. */
57673
+ starts_at?: string | undefined
57674
+ /** Ending date and time for the access grant. */
57675
+ ends_at?: string | undefined
57676
+ /** Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */
57677
+ preferred_code?: (string | null) | undefined
57678
+ /** Your identifier for the sub-reservation. Must be unique within its reservation. */
57679
+ sub_reservation_key: string
57680
+ /** Set key:value pairs for filtering sub-reservations by custom criteria. Merged over the reservation's custom metadata. Set a key to `null` or to an empty string to remove that key from the custom metadata. */
57681
+ custom_metadata?:
57682
+ | {
57683
+ [x: string]: string | boolean | null
57684
+ }
57685
+ | undefined
57686
+ /** Guest key associated with the access grant. */
57687
+ guest_key?: string | undefined
57688
+ /** Tenant key associated with the access grant. */
57689
+ tenant_key?: string | undefined
57690
+ /** Resident key associated with the access grant. */
57691
+ resident_key?: string | undefined
57692
+ /** User key associated with the access grant. */
57693
+ user_key?: string | undefined
57694
+ /** User identity key associated with the access grant. */
57695
+ user_identity_key?: string | undefined
57696
+ /** Space keys associated with the access grant. */
57697
+ space_keys?: string[] | undefined
57698
+ /** Property keys associated with the access grant. */
57699
+ property_keys?: string[] | undefined
57700
+ /** Room keys associated with the access grant. */
57701
+ room_keys?: string[] | undefined
57702
+ /** Common area keys associated with the access grant. */
57703
+ common_area_keys?: string[] | undefined
57704
+ /** Unit keys associated with the access grant. */
57705
+ unit_keys?: string[] | undefined
57706
+ /** Facility keys associated with the access grant. */
57707
+ facility_keys?: string[] | undefined
57708
+ /** Building keys associated with the access grant. */
57709
+ building_keys?: string[] | undefined
57710
+ /** Listing keys associated with the access grant. */
57711
+ listing_keys?: string[] | undefined
57712
+ }[]
57713
+ | undefined
57620
57714
  /** Guest key associated with the access grant. */
57621
57715
  guest_key?: string | undefined
57622
57716
  /** Tenant key associated with the access grant. */
@@ -113096,7 +113190,10 @@ export type Routes = {
113096
113190
  staff_member_created?:
113097
113191
  | {
113098
113192
  rule: 'staff_member_created'
113099
- config: {}
113193
+ config: {
113194
+ allow_shared_email_and_phone_across_user_identities?:
113195
+ boolean | undefined
113196
+ }
113100
113197
  }
113101
113198
  | undefined
113102
113199
  }
@@ -113323,7 +113420,10 @@ export type Routes = {
113323
113420
  staff_member_created?:
113324
113421
  | ({
113325
113422
  rule: 'staff_member_created'
113326
- config: {}
113423
+ config: {
113424
+ allow_shared_email_and_phone_across_user_identities?:
113425
+ boolean | undefined
113426
+ }
113327
113427
  } | null)
113328
113428
  | undefined
113329
113429
  }
@@ -113884,7 +113984,10 @@ export type Routes = {
113884
113984
  staff_member_created?:
113885
113985
  | {
113886
113986
  rule: 'staff_member_created'
113887
- config: {}
113987
+ config: {
113988
+ allow_shared_email_and_phone_across_user_identities?:
113989
+ boolean | undefined
113990
+ }
113888
113991
  }
113889
113992
  | undefined
113890
113993
  }
@@ -114083,7 +114186,10 @@ export type Routes = {
114083
114186
  staff_member_created?:
114084
114187
  | ({
114085
114188
  rule: 'staff_member_created'
114086
- config: {}
114189
+ config: {
114190
+ allow_shared_email_and_phone_across_user_identities?:
114191
+ boolean | undefined
114192
+ }
114087
114193
  } | null)
114088
114194
  | undefined
114089
114195
  }