@seamapi/types 1.421.0 → 1.422.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.
Files changed (55) hide show
  1. package/dist/connect.cjs +1633 -583
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2630 -1024
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +420 -0
  8. package/lib/seam/connect/models/customer/access-grant-resources.js +111 -0
  9. package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -0
  10. package/lib/seam/connect/models/customer/business-vertical.d.ts +3 -0
  11. package/lib/seam/connect/models/customer/business-vertical.js +11 -0
  12. package/lib/seam/connect/models/customer/business-vertical.js.map +1 -0
  13. package/lib/seam/connect/models/customer/customer-data.d.ts +597 -0
  14. package/lib/seam/connect/models/customer/customer-data.js +67 -0
  15. package/lib/seam/connect/models/customer/customer-data.js.map +1 -0
  16. package/lib/seam/connect/models/customer/customer-portal.d.ts +71 -0
  17. package/lib/seam/connect/models/customer/customer-portal.js +34 -0
  18. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -0
  19. package/lib/seam/connect/models/customer/index.d.ts +3 -0
  20. package/lib/seam/connect/models/customer/index.js +4 -0
  21. package/lib/seam/connect/models/customer/index.js.map +1 -0
  22. package/lib/seam/connect/models/customer/location-resources.d.ts +229 -0
  23. package/lib/seam/connect/models/customer/location-resources.js +55 -0
  24. package/lib/seam/connect/models/customer/location-resources.js.map +1 -0
  25. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +205 -0
  26. package/lib/seam/connect/models/customer/user-identity-resources.js +50 -0
  27. package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -0
  28. package/lib/seam/connect/models/index.d.ts +4 -0
  29. package/lib/seam/connect/models/index.js +4 -0
  30. package/lib/seam/connect/models/index.js.map +1 -1
  31. package/lib/seam/connect/models/partner/index.d.ts +0 -1
  32. package/lib/seam/connect/models/partner/index.js +0 -1
  33. package/lib/seam/connect/models/partner/index.js.map +1 -1
  34. package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
  35. package/lib/seam/connect/openapi.d.ts +2246 -1080
  36. package/lib/seam/connect/openapi.js +1650 -600
  37. package/lib/seam/connect/openapi.js.map +1 -1
  38. package/lib/seam/connect/route-types.d.ts +552 -112
  39. package/package.json +1 -1
  40. package/src/lib/seam/connect/internal/schemas.ts +21 -3
  41. package/src/lib/seam/connect/models/customer/access-grant-resources.ts +129 -0
  42. package/src/lib/seam/connect/models/customer/business-vertical.ts +13 -0
  43. package/src/lib/seam/connect/models/customer/customer-data.ts +93 -0
  44. package/src/lib/seam/connect/models/customer/customer-portal.ts +39 -0
  45. package/src/lib/seam/connect/models/customer/index.ts +3 -0
  46. package/src/lib/seam/connect/models/customer/location-resources.ts +77 -0
  47. package/src/lib/seam/connect/models/customer/user-identity-resources.ts +68 -0
  48. package/src/lib/seam/connect/models/index.ts +4 -0
  49. package/src/lib/seam/connect/models/partner/index.ts +0 -1
  50. package/src/lib/seam/connect/openapi.ts +1790 -591
  51. package/src/lib/seam/connect/route-types.ts +642 -114
  52. package/lib/seam/connect/models/partner/resources.d.ts +0 -76
  53. package/lib/seam/connect/models/partner/resources.js +0 -87
  54. package/lib/seam/connect/models/partner/resources.js.map +0 -1
  55. package/src/lib/seam/connect/models/partner/resources.ts +0 -112
@@ -25583,6 +25583,578 @@ export interface Routes {
25583
25583
  }
25584
25584
  }
25585
25585
  }
25586
+ '/customers/create_portal': {
25587
+ route: '/customers/create_portal'
25588
+ method: 'POST'
25589
+ queryParams: {}
25590
+ jsonBody: {}
25591
+ commonParams: {
25592
+ features?: {
25593
+ /** Configuration for the connect accounts feature. */
25594
+ connect?: {
25595
+ /** Whether to exclude this feature from the portal. */
25596
+ exclude?: boolean
25597
+ }
25598
+ /** Configuration for the manage devices feature. */
25599
+ manage_devices?: {
25600
+ /** Whether to exclude this feature from the portal. */
25601
+ exclude?: boolean
25602
+ }
25603
+ /** Configuration for the organize feature. */
25604
+ organize?: {
25605
+ /** Whether to exclude this feature from the portal. */
25606
+ exclude?: boolean
25607
+ }
25608
+ }
25609
+ } & {
25610
+ customer_data?:
25611
+ | {
25612
+ /** Your unique identifier for the customer. */
25613
+ customer_key: string
25614
+ /** List of general spaces or areas. */
25615
+ spaces?:
25616
+ | Array<{
25617
+ /** Your display name for this location resource. */
25618
+ name: string
25619
+ /** Your unique identifier for the space. */
25620
+ space_key: string
25621
+ }>
25622
+ | undefined
25623
+ /** List of short-term rental properties. */
25624
+ properties?:
25625
+ | Array<{
25626
+ /** Your display name for this location resource. */
25627
+ name: string
25628
+ /** Your unique identifier for the property. */
25629
+ property_key: string
25630
+ }>
25631
+ | undefined
25632
+ /** List of hotel or hospitality rooms. */
25633
+ rooms?:
25634
+ | Array<{
25635
+ /** Your display name for this location resource. */
25636
+ name: string
25637
+ /** Your unique identifier for the room. */
25638
+ room_key: string
25639
+ }>
25640
+ | undefined
25641
+ /** List of shared common areas. */
25642
+ common_areas?:
25643
+ | Array<{
25644
+ /** Your display name for this location resource. */
25645
+ name: string
25646
+ /** Your unique identifier for the common area. */
25647
+ common_area_key: string
25648
+ }>
25649
+ | undefined
25650
+ /** List of multi-family residential units. */
25651
+ units?:
25652
+ | Array<{
25653
+ /** Your display name for this location resource. */
25654
+ name: string
25655
+ /** Your unique identifier for the unit. */
25656
+ unit_key: string
25657
+ }>
25658
+ | undefined
25659
+ /** List of gym or fitness facilities. */
25660
+ facilities?:
25661
+ | Array<{
25662
+ /** Your display name for this location resource. */
25663
+ name: string
25664
+ /** Your unique identifier for the facility. */
25665
+ facility_key: string
25666
+ }>
25667
+ | undefined
25668
+ /** List of buildings. */
25669
+ buildings?:
25670
+ | Array<{
25671
+ /** Your display name for this location resource. */
25672
+ name: string
25673
+ /** Your unique identifier for the building. */
25674
+ building_key: string
25675
+ }>
25676
+ | undefined
25677
+ /** List of property listings. */
25678
+ listings?:
25679
+ | Array<{
25680
+ /** Your display name for this location resource. */
25681
+ name: string
25682
+ /** Your unique identifier for the listing. */
25683
+ listing_key: string
25684
+ }>
25685
+ | undefined
25686
+ /** List of guests. */
25687
+ guests?:
25688
+ | Array<{
25689
+ /** Your display name for this user identity resource. */
25690
+ name: string
25691
+ /** Email address associated with the user identity. */
25692
+ email_address?: string | undefined
25693
+ /** Phone number associated with the user identity. */
25694
+ phone_number?: string | undefined
25695
+ /** Your unique identifier for the guest. */
25696
+ guest_key: string
25697
+ }>
25698
+ | undefined
25699
+ /** List of tenants. */
25700
+ tenants?:
25701
+ | Array<{
25702
+ /** Your display name for this user identity resource. */
25703
+ name: string
25704
+ /** Email address associated with the user identity. */
25705
+ email_address?: string | undefined
25706
+ /** Phone number associated with the user identity. */
25707
+ phone_number?: string | undefined
25708
+ /** Your unique identifier for the tenant. */
25709
+ tenant_key: string
25710
+ }>
25711
+ | undefined
25712
+ /** List of residents. */
25713
+ residents?:
25714
+ | Array<{
25715
+ /** Your display name for this user identity resource. */
25716
+ name: string
25717
+ /** Email address associated with the user identity. */
25718
+ email_address?: string | undefined
25719
+ /** Phone number associated with the user identity. */
25720
+ phone_number?: string | undefined
25721
+ /** Your unique identifier for the resident. */
25722
+ resident_key: string
25723
+ }>
25724
+ | undefined
25725
+ /** List of users. */
25726
+ users?:
25727
+ | Array<{
25728
+ /** Your display name for this user identity resource. */
25729
+ name: string
25730
+ /** Email address associated with the user identity. */
25731
+ email_address?: string | undefined
25732
+ /** Phone number associated with the user identity. */
25733
+ phone_number?: string | undefined
25734
+ /** Your unique identifier for the user. */
25735
+ user_key: string
25736
+ }>
25737
+ | undefined
25738
+ /** List of user identities. */
25739
+ user_identities?:
25740
+ | Array<{
25741
+ /** Your display name for this user identity resource. */
25742
+ name: string
25743
+ /** Email address associated with the user identity. */
25744
+ email_address?: string | undefined
25745
+ /** Phone number associated with the user identity. */
25746
+ phone_number?: string | undefined
25747
+ /** Your unique identifier for the user identity. */
25748
+ user_identity_key: string
25749
+ }>
25750
+ | undefined
25751
+ /** List of reservations. */
25752
+ reservations?:
25753
+ | Array<{
25754
+ /** Your display name for this access grant resource. */
25755
+ name: string
25756
+ /** Starting date and time for the access grant. */
25757
+ starts_at?: string | undefined
25758
+ /** Ending date and time for the access grant. */
25759
+ ends_at?: string | undefined
25760
+ /** Your unique identifier for the reservation. */
25761
+ reservation_key: string
25762
+ /** Guest key associated with the access grant. */
25763
+ guest_key?: string | undefined
25764
+ /** Tenant key associated with the access grant. */
25765
+ tenant_key?: string | undefined
25766
+ /** Resident key associated with the access grant. */
25767
+ resident_key?: string | undefined
25768
+ /** User key associated with the access grant. */
25769
+ user_key?: string | undefined
25770
+ /** User identity key associated with the access grant. */
25771
+ user_identity_key?: string | undefined
25772
+ /** Space keys associated with the access grant. */
25773
+ space_keys?: string[] | undefined
25774
+ /** Property keys associated with the access grant. */
25775
+ property_keys?: string[] | undefined
25776
+ /** Room keys associated with the access grant. */
25777
+ room_keys?: string[] | undefined
25778
+ /** Common area keys associated with the access grant. */
25779
+ common_area_keys?: string[] | undefined
25780
+ /** Unit keys associated with the access grant. */
25781
+ unit_keys?: string[] | undefined
25782
+ /** Facility keys associated with the access grant. */
25783
+ facility_keys?: string[] | undefined
25784
+ /** Building keys associated with the access grant. */
25785
+ building_keys?: string[] | undefined
25786
+ /** Listing keys associated with the access grant. */
25787
+ listing_keys?: string[] | undefined
25788
+ }>
25789
+ | undefined
25790
+ /** List of bookings. */
25791
+ bookings?:
25792
+ | Array<{
25793
+ /** Your display name for this access grant resource. */
25794
+ name: string
25795
+ /** Starting date and time for the access grant. */
25796
+ starts_at?: string | undefined
25797
+ /** Ending date and time for the access grant. */
25798
+ ends_at?: string | undefined
25799
+ /** Your unique identifier for the booking. */
25800
+ booking_key: string
25801
+ /** Guest key associated with the access grant. */
25802
+ guest_key?: string | undefined
25803
+ /** Tenant key associated with the access grant. */
25804
+ tenant_key?: string | undefined
25805
+ /** Resident key associated with the access grant. */
25806
+ resident_key?: string | undefined
25807
+ /** User key associated with the access grant. */
25808
+ user_key?: string | undefined
25809
+ /** User identity key associated with the access grant. */
25810
+ user_identity_key?: string | undefined
25811
+ /** Space keys associated with the access grant. */
25812
+ space_keys?: string[] | undefined
25813
+ /** Property keys associated with the access grant. */
25814
+ property_keys?: string[] | undefined
25815
+ /** Room keys associated with the access grant. */
25816
+ room_keys?: string[] | undefined
25817
+ /** Common area keys associated with the access grant. */
25818
+ common_area_keys?: string[] | undefined
25819
+ /** Unit keys associated with the access grant. */
25820
+ unit_keys?: string[] | undefined
25821
+ /** Facility keys associated with the access grant. */
25822
+ facility_keys?: string[] | undefined
25823
+ /** Building keys associated with the access grant. */
25824
+ building_keys?: string[] | undefined
25825
+ /** Listing keys associated with the access grant. */
25826
+ listing_keys?: string[] | undefined
25827
+ }>
25828
+ | undefined
25829
+ /** List of access grants. */
25830
+ access_grants?:
25831
+ | Array<{
25832
+ /** Your display name for this access grant resource. */
25833
+ name: string
25834
+ /** Starting date and time for the access grant. */
25835
+ starts_at?: string | undefined
25836
+ /** Ending date and time for the access grant. */
25837
+ ends_at?: string | undefined
25838
+ /** Your unique identifier for the access grant. */
25839
+ access_grant_key: string
25840
+ /** Guest key associated with the access grant. */
25841
+ guest_key?: string | undefined
25842
+ /** Tenant key associated with the access grant. */
25843
+ tenant_key?: string | undefined
25844
+ /** Resident key associated with the access grant. */
25845
+ resident_key?: string | undefined
25846
+ /** User key associated with the access grant. */
25847
+ user_key?: string | undefined
25848
+ /** User identity key associated with the access grant. */
25849
+ user_identity_key?: string | undefined
25850
+ /** Space keys associated with the access grant. */
25851
+ space_keys?: string[] | undefined
25852
+ /** Property keys associated with the access grant. */
25853
+ property_keys?: string[] | undefined
25854
+ /** Room keys associated with the access grant. */
25855
+ room_keys?: string[] | undefined
25856
+ /** Common area keys associated with the access grant. */
25857
+ common_area_keys?: string[] | undefined
25858
+ /** Unit keys associated with the access grant. */
25859
+ unit_keys?: string[] | undefined
25860
+ /** Facility keys associated with the access grant. */
25861
+ facility_keys?: string[] | undefined
25862
+ /** Building keys associated with the access grant. */
25863
+ building_keys?: string[] | undefined
25864
+ /** Listing keys associated with the access grant. */
25865
+ listing_keys?: string[] | undefined
25866
+ }>
25867
+ | undefined
25868
+ }
25869
+ | undefined
25870
+ }
25871
+ formData: {}
25872
+ jsonResponse: {
25873
+ /** Represents a Customer Portal. Customer Portal is a hosted, customizable interface for managing device access. It enables you to embed secure, pre-authenticated access flows into your product—either by sharing a link with users or embedding a view in an iframe.
25874
+
25875
+ With Customer Portal, you no longer need to build out frontend experiences for physical access, thermostats, and sensors. Instead, you can ship enterprise-grade access control experiences in a fraction of the time, while maintaining your product's branding and user experience.
25876
+
25877
+ Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control. */
25878
+ magic_link: {
25879
+ /** URL for the magic link. */
25880
+ url: string
25881
+ /** Customer key for the magic link. */
25882
+ customer_key: string
25883
+ /** Date and time at which the magic link expires. */
25884
+ expires_at: string
25885
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the magic link. */
25886
+ workspace_id: string
25887
+ /** Date and time at which the magic link was created. */
25888
+ created_at: string
25889
+ }
25890
+ }
25891
+ }
25892
+ '/customers/push_data': {
25893
+ route: '/customers/push_data'
25894
+ method: 'POST'
25895
+ queryParams: {}
25896
+ jsonBody: {}
25897
+ commonParams: {
25898
+ /** Your unique identifier for the customer. */
25899
+ customer_key: string
25900
+ /** List of general spaces or areas. */
25901
+ spaces?:
25902
+ | Array<{
25903
+ /** Your display name for this location resource. */
25904
+ name: string
25905
+ /** Your unique identifier for the space. */
25906
+ space_key: string
25907
+ }>
25908
+ | undefined
25909
+ /** List of short-term rental properties. */
25910
+ properties?:
25911
+ | Array<{
25912
+ /** Your display name for this location resource. */
25913
+ name: string
25914
+ /** Your unique identifier for the property. */
25915
+ property_key: string
25916
+ }>
25917
+ | undefined
25918
+ /** List of hotel or hospitality rooms. */
25919
+ rooms?:
25920
+ | Array<{
25921
+ /** Your display name for this location resource. */
25922
+ name: string
25923
+ /** Your unique identifier for the room. */
25924
+ room_key: string
25925
+ }>
25926
+ | undefined
25927
+ /** List of shared common areas. */
25928
+ common_areas?:
25929
+ | Array<{
25930
+ /** Your display name for this location resource. */
25931
+ name: string
25932
+ /** Your unique identifier for the common area. */
25933
+ common_area_key: string
25934
+ }>
25935
+ | undefined
25936
+ /** List of multi-family residential units. */
25937
+ units?:
25938
+ | Array<{
25939
+ /** Your display name for this location resource. */
25940
+ name: string
25941
+ /** Your unique identifier for the unit. */
25942
+ unit_key: string
25943
+ }>
25944
+ | undefined
25945
+ /** List of gym or fitness facilities. */
25946
+ facilities?:
25947
+ | Array<{
25948
+ /** Your display name for this location resource. */
25949
+ name: string
25950
+ /** Your unique identifier for the facility. */
25951
+ facility_key: string
25952
+ }>
25953
+ | undefined
25954
+ /** List of buildings. */
25955
+ buildings?:
25956
+ | Array<{
25957
+ /** Your display name for this location resource. */
25958
+ name: string
25959
+ /** Your unique identifier for the building. */
25960
+ building_key: string
25961
+ }>
25962
+ | undefined
25963
+ /** List of property listings. */
25964
+ listings?:
25965
+ | Array<{
25966
+ /** Your display name for this location resource. */
25967
+ name: string
25968
+ /** Your unique identifier for the listing. */
25969
+ listing_key: string
25970
+ }>
25971
+ | undefined
25972
+ /** List of guests. */
25973
+ guests?:
25974
+ | Array<{
25975
+ /** Your display name for this user identity resource. */
25976
+ name: string
25977
+ /** Email address associated with the user identity. */
25978
+ email_address?: string | undefined
25979
+ /** Phone number associated with the user identity. */
25980
+ phone_number?: string | undefined
25981
+ /** Your unique identifier for the guest. */
25982
+ guest_key: string
25983
+ }>
25984
+ | undefined
25985
+ /** List of tenants. */
25986
+ tenants?:
25987
+ | Array<{
25988
+ /** Your display name for this user identity resource. */
25989
+ name: string
25990
+ /** Email address associated with the user identity. */
25991
+ email_address?: string | undefined
25992
+ /** Phone number associated with the user identity. */
25993
+ phone_number?: string | undefined
25994
+ /** Your unique identifier for the tenant. */
25995
+ tenant_key: string
25996
+ }>
25997
+ | undefined
25998
+ /** List of residents. */
25999
+ residents?:
26000
+ | Array<{
26001
+ /** Your display name for this user identity resource. */
26002
+ name: string
26003
+ /** Email address associated with the user identity. */
26004
+ email_address?: string | undefined
26005
+ /** Phone number associated with the user identity. */
26006
+ phone_number?: string | undefined
26007
+ /** Your unique identifier for the resident. */
26008
+ resident_key: string
26009
+ }>
26010
+ | undefined
26011
+ /** List of users. */
26012
+ users?:
26013
+ | Array<{
26014
+ /** Your display name for this user identity resource. */
26015
+ name: string
26016
+ /** Email address associated with the user identity. */
26017
+ email_address?: string | undefined
26018
+ /** Phone number associated with the user identity. */
26019
+ phone_number?: string | undefined
26020
+ /** Your unique identifier for the user. */
26021
+ user_key: string
26022
+ }>
26023
+ | undefined
26024
+ /** List of user identities. */
26025
+ user_identities?:
26026
+ | Array<{
26027
+ /** Your display name for this user identity resource. */
26028
+ name: string
26029
+ /** Email address associated with the user identity. */
26030
+ email_address?: string | undefined
26031
+ /** Phone number associated with the user identity. */
26032
+ phone_number?: string | undefined
26033
+ /** Your unique identifier for the user identity. */
26034
+ user_identity_key: string
26035
+ }>
26036
+ | undefined
26037
+ /** List of reservations. */
26038
+ reservations?:
26039
+ | Array<{
26040
+ /** Your display name for this access grant resource. */
26041
+ name: string
26042
+ /** Starting date and time for the access grant. */
26043
+ starts_at?: string | undefined
26044
+ /** Ending date and time for the access grant. */
26045
+ ends_at?: string | undefined
26046
+ /** Your unique identifier for the reservation. */
26047
+ reservation_key: string
26048
+ /** Guest key associated with the access grant. */
26049
+ guest_key?: string | undefined
26050
+ /** Tenant key associated with the access grant. */
26051
+ tenant_key?: string | undefined
26052
+ /** Resident key associated with the access grant. */
26053
+ resident_key?: string | undefined
26054
+ /** User key associated with the access grant. */
26055
+ user_key?: string | undefined
26056
+ /** User identity key associated with the access grant. */
26057
+ user_identity_key?: string | undefined
26058
+ /** Space keys associated with the access grant. */
26059
+ space_keys?: string[] | undefined
26060
+ /** Property keys associated with the access grant. */
26061
+ property_keys?: string[] | undefined
26062
+ /** Room keys associated with the access grant. */
26063
+ room_keys?: string[] | undefined
26064
+ /** Common area keys associated with the access grant. */
26065
+ common_area_keys?: string[] | undefined
26066
+ /** Unit keys associated with the access grant. */
26067
+ unit_keys?: string[] | undefined
26068
+ /** Facility keys associated with the access grant. */
26069
+ facility_keys?: string[] | undefined
26070
+ /** Building keys associated with the access grant. */
26071
+ building_keys?: string[] | undefined
26072
+ /** Listing keys associated with the access grant. */
26073
+ listing_keys?: string[] | undefined
26074
+ }>
26075
+ | undefined
26076
+ /** List of bookings. */
26077
+ bookings?:
26078
+ | Array<{
26079
+ /** Your display name for this access grant resource. */
26080
+ name: string
26081
+ /** Starting date and time for the access grant. */
26082
+ starts_at?: string | undefined
26083
+ /** Ending date and time for the access grant. */
26084
+ ends_at?: string | undefined
26085
+ /** Your unique identifier for the booking. */
26086
+ booking_key: string
26087
+ /** Guest key associated with the access grant. */
26088
+ guest_key?: string | undefined
26089
+ /** Tenant key associated with the access grant. */
26090
+ tenant_key?: string | undefined
26091
+ /** Resident key associated with the access grant. */
26092
+ resident_key?: string | undefined
26093
+ /** User key associated with the access grant. */
26094
+ user_key?: string | undefined
26095
+ /** User identity key associated with the access grant. */
26096
+ user_identity_key?: string | undefined
26097
+ /** Space keys associated with the access grant. */
26098
+ space_keys?: string[] | undefined
26099
+ /** Property keys associated with the access grant. */
26100
+ property_keys?: string[] | undefined
26101
+ /** Room keys associated with the access grant. */
26102
+ room_keys?: string[] | undefined
26103
+ /** Common area keys associated with the access grant. */
26104
+ common_area_keys?: string[] | undefined
26105
+ /** Unit keys associated with the access grant. */
26106
+ unit_keys?: string[] | undefined
26107
+ /** Facility keys associated with the access grant. */
26108
+ facility_keys?: string[] | undefined
26109
+ /** Building keys associated with the access grant. */
26110
+ building_keys?: string[] | undefined
26111
+ /** Listing keys associated with the access grant. */
26112
+ listing_keys?: string[] | undefined
26113
+ }>
26114
+ | undefined
26115
+ /** List of access grants. */
26116
+ access_grants?:
26117
+ | Array<{
26118
+ /** Your display name for this access grant resource. */
26119
+ name: string
26120
+ /** Starting date and time for the access grant. */
26121
+ starts_at?: string | undefined
26122
+ /** Ending date and time for the access grant. */
26123
+ ends_at?: string | undefined
26124
+ /** Your unique identifier for the access grant. */
26125
+ access_grant_key: string
26126
+ /** Guest key associated with the access grant. */
26127
+ guest_key?: string | undefined
26128
+ /** Tenant key associated with the access grant. */
26129
+ tenant_key?: string | undefined
26130
+ /** Resident key associated with the access grant. */
26131
+ resident_key?: string | undefined
26132
+ /** User key associated with the access grant. */
26133
+ user_key?: string | undefined
26134
+ /** User identity key associated with the access grant. */
26135
+ user_identity_key?: string | undefined
26136
+ /** Space keys associated with the access grant. */
26137
+ space_keys?: string[] | undefined
26138
+ /** Property keys associated with the access grant. */
26139
+ property_keys?: string[] | undefined
26140
+ /** Room keys associated with the access grant. */
26141
+ room_keys?: string[] | undefined
26142
+ /** Common area keys associated with the access grant. */
26143
+ common_area_keys?: string[] | undefined
26144
+ /** Unit keys associated with the access grant. */
26145
+ unit_keys?: string[] | undefined
26146
+ /** Facility keys associated with the access grant. */
26147
+ facility_keys?: string[] | undefined
26148
+ /** Building keys associated with the access grant. */
26149
+ building_keys?: string[] | undefined
26150
+ /** Listing keys associated with the access grant. */
26151
+ listing_keys?: string[] | undefined
26152
+ }>
26153
+ | undefined
26154
+ }
26155
+ formData: {}
26156
+ jsonResponse: {}
26157
+ }
25586
26158
  '/devices/delete': {
25587
26159
  route: '/devices/delete'
25588
26160
  method: 'DELETE' | 'POST'
@@ -52657,6 +53229,70 @@ export interface Routes {
52657
53229
  }>
52658
53230
  }
52659
53231
  }
53232
+ '/seam/customer/v1/portals/get': {
53233
+ route: '/seam/customer/v1/portals/get'
53234
+ method: 'GET'
53235
+ queryParams: {}
53236
+ jsonBody: {}
53237
+ commonParams: {
53238
+ /** Customer portal ID. */
53239
+ customer_portal_id: string
53240
+ }
53241
+ formData: {}
53242
+ jsonResponse: {
53243
+ customer_portal: {
53244
+ features?:
53245
+ | {
53246
+ connect?:
53247
+ | {
53248
+ exclude?: boolean | undefined
53249
+ }
53250
+ | undefined
53251
+ manage_devices?:
53252
+ | {
53253
+ exclude?: boolean | undefined
53254
+ }
53255
+ | undefined
53256
+ organize?:
53257
+ | {
53258
+ exclude?: boolean | undefined
53259
+ }
53260
+ | undefined
53261
+ }
53262
+ | undefined
53263
+ /** Business vertical of the customer portal. */
53264
+ business_vertical?:
53265
+ | (
53266
+ | 'short_term_rental'
53267
+ | 'hospitality'
53268
+ | 'multi_family'
53269
+ | 'gym_management'
53270
+ | 'property_tours'
53271
+ )
53272
+ | undefined
53273
+ }
53274
+ }
53275
+ }
53276
+ '/seam/customer/v1/settings/update': {
53277
+ route: '/seam/customer/v1/settings/update'
53278
+ method: 'POST' | 'PATCH'
53279
+ queryParams: {}
53280
+ jsonBody: {
53281
+ /** Business vertical to set on the workspace. */
53282
+ business_vertical?:
53283
+ | (
53284
+ | 'short_term_rental'
53285
+ | 'hospitality'
53286
+ | 'multi_family'
53287
+ | 'gym_management'
53288
+ | 'property_tours'
53289
+ )
53290
+ | undefined
53291
+ }
53292
+ commonParams: {}
53293
+ formData: {}
53294
+ jsonResponse: {}
53295
+ }
52660
53296
  '/seam/instant_key/v1/client_sessions/exchange_short_code': {
52661
53297
  route: '/seam/instant_key/v1/client_sessions/exchange_short_code'
52662
53298
  method: 'POST'
@@ -53205,45 +53841,6 @@ export interface Routes {
53205
53841
  }>
53206
53842
  }
53207
53843
  }
53208
- '/seam/partner/v1/resources/list': {
53209
- route: '/seam/partner/v1/resources/list'
53210
- method: 'GET' | 'POST'
53211
- queryParams: {}
53212
- jsonBody: {}
53213
- commonParams: {
53214
- /** Resource type alias by which you want to filter partner resources. */
53215
- resource_type_alias?: string | undefined
53216
- }
53217
- formData: {}
53218
- jsonResponse: {
53219
- partner_resources: Array<{
53220
- /** Type of the partner resource. */
53221
- partner_resource_type: string
53222
- /** Key of the partner resource. */
53223
- partner_resource_key: string
53224
- /** Customer key associated with the partner resource. */
53225
- customer_key: string
53226
- /** Email address associated with the user identity partner resource. */
53227
- email_address?: string | undefined
53228
- /** Phone number associated with the user identity partner resource. */
53229
- phone_number?: string | undefined
53230
- /** Starting date and time associated with the access grant partner resource. */
53231
- starts_at?: string | undefined
53232
- /** Ending date and time associated with the access grant partner resource. */
53233
- ends_at?: string | undefined
53234
- /** User identity key associated with the access grant partner resource. */
53235
- user_identity_key?: string | undefined
53236
- /** Location keys associated with the access grant partner resource. */
53237
- location_keys?: string[] | undefined
53238
- /** Name of the partner resource. */
53239
- name?: string | undefined
53240
- /** Description of the partner resource. */
53241
- description?: string | undefined
53242
- /** Custom metadata associated with the partner resource. */
53243
- custom_metadata?: Record<string, string> | undefined
53244
- }>
53245
- }
53246
- }
53247
53844
  '/spaces/add_acs_entrances': {
53248
53845
  route: '/spaces/add_acs_entrances'
53249
53846
  method: 'POST' | 'PUT'
@@ -72143,14 +72740,10 @@ export interface Routes {
72143
72740
  /** Optional list of spaces that you want to include in the new building block magic link. */
72144
72741
  spaces?:
72145
72742
  | Array<{
72146
- /** Key of the space for the resource. */
72147
- space_key: string
72148
- /** Name of the space resource. */
72743
+ /** Your display name for this location resource. */
72149
72744
  name: string
72150
- /** Description of the space resource. */
72151
- description?: string | undefined
72152
- /** Custom metadata associated with the space resource. */
72153
- custom_metadata?: Record<string, string> | undefined
72745
+ /** Your unique identifier for the space. */
72746
+ space_key: string
72154
72747
  }>
72155
72748
  | undefined
72156
72749
  }
@@ -72228,14 +72821,10 @@ export interface Routes {
72228
72821
  /** Optional list of spaces that you want to include in the new building block magic link. */
72229
72822
  spaces?:
72230
72823
  | Array<{
72231
- /** Key of the space for the resource. */
72232
- space_key: string
72233
- /** Name of the space resource. */
72824
+ /** Your display name for this location resource. */
72234
72825
  name: string
72235
- /** Description of the space resource. */
72236
- description?: string | undefined
72237
- /** Custom metadata associated with the space resource. */
72238
- custom_metadata?: Record<string, string> | undefined
72826
+ /** Your unique identifier for the space. */
72827
+ space_key: string
72239
72828
  }>
72240
72829
  | undefined
72241
72830
  }
@@ -72266,67 +72855,6 @@ export interface Routes {
72266
72855
  }
72267
72856
  }
72268
72857
  }
72269
- '/unstable_partner/resources/push': {
72270
- route: '/unstable_partner/resources/push'
72271
- method: 'POST'
72272
- queryParams: {}
72273
- jsonBody:
72274
- | Array<{
72275
- /** Type of the resource that you want to push to Seam. */
72276
- partner_resource_type?: string | undefined
72277
- /** Key of the resource that you want to push to Seam. */
72278
- partner_resource_key?: string | undefined
72279
- /** Customer key associated with the resource that you want to push to Seam. */
72280
- customer_key?: string | undefined
72281
- /** Email address associated with the user identity partner resource. */
72282
- email_address?: string | undefined
72283
- /** Phone number associated with the user identity partner resource. */
72284
- phone_number?: string | undefined
72285
- /** Starting date and time associated with the access grant partner resource. */
72286
- starts_at?: string | undefined
72287
- /** Ending date and time associated with the access grant partner resource. */
72288
- ends_at?: string | undefined
72289
- /** User identity key associated with the access grant partner resource. */
72290
- user_identity_key?: string | undefined
72291
- /** Location keys associated with the access grant partner resource. */
72292
- location_keys?: string[] | undefined
72293
- /** Name of the partner resource. */
72294
- name?: string | undefined
72295
- /** Description of the partner resource. */
72296
- description?: string | undefined
72297
- /** Custom metadata associated with the partner resource. */
72298
- custom_metadata?: Record<string, string> | undefined
72299
- }>
72300
- | {
72301
- /** Type of the resource that you want to push to Seam. */
72302
- partner_resource_type?: string | undefined
72303
- /** Key of the resource that you want to push to Seam. */
72304
- partner_resource_key?: string | undefined
72305
- /** Customer key associated with the resource that you want to push to Seam. */
72306
- customer_key?: string | undefined
72307
- /** Email address associated with the user identity partner resource. */
72308
- email_address?: string | undefined
72309
- /** Phone number associated with the user identity partner resource. */
72310
- phone_number?: string | undefined
72311
- /** Starting date and time associated with the access grant partner resource. */
72312
- starts_at?: string | undefined
72313
- /** Ending date and time associated with the access grant partner resource. */
72314
- ends_at?: string | undefined
72315
- /** User identity key associated with the access grant partner resource. */
72316
- user_identity_key?: string | undefined
72317
- /** Location keys associated with the access grant partner resource. */
72318
- location_keys?: string[] | undefined
72319
- /** Name of the partner resource. */
72320
- name?: string | undefined
72321
- /** Description of the partner resource. */
72322
- description?: string | undefined
72323
- /** Custom metadata associated with the partner resource. */
72324
- custom_metadata?: Record<string, string> | undefined
72325
- }
72326
- commonParams: {}
72327
- formData: {}
72328
- jsonResponse: {}
72329
- }
72330
72858
  '/user_identities/add_acs_user': {
72331
72859
  route: '/user_identities/add_acs_user'
72332
72860
  method: 'POST' | 'PUT'