@seamapi/types 1.707.0 → 1.709.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 +758 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1160 -6
- package/dist/index.cjs +758 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +863 -4
- package/lib/seam/connect/openapi.js +758 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +297 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +861 -8
- package/src/lib/seam/connect/route-types.ts +337 -2
package/dist/index.cjs
CHANGED
|
@@ -32923,11 +32923,11 @@ var openapi_default = {
|
|
|
32923
32923
|
parameters: [
|
|
32924
32924
|
{
|
|
32925
32925
|
in: "query",
|
|
32926
|
-
name: "
|
|
32926
|
+
name: "access_grant_ids",
|
|
32927
32927
|
schema: {
|
|
32928
|
-
description: "
|
|
32929
|
-
format: "uuid",
|
|
32930
|
-
type: "
|
|
32928
|
+
description: "IDs of the access grants to retrieve.",
|
|
32929
|
+
items: { format: "uuid", type: "string" },
|
|
32930
|
+
type: "array"
|
|
32931
32931
|
}
|
|
32932
32932
|
},
|
|
32933
32933
|
{
|
|
@@ -33066,10 +33066,10 @@ var openapi_default = {
|
|
|
33066
33066
|
"application/json": {
|
|
33067
33067
|
schema: {
|
|
33068
33068
|
properties: {
|
|
33069
|
-
|
|
33070
|
-
description: "
|
|
33071
|
-
format: "uuid",
|
|
33072
|
-
type: "
|
|
33069
|
+
access_grant_ids: {
|
|
33070
|
+
description: "IDs of the access grants to retrieve.",
|
|
33071
|
+
items: { format: "uuid", type: "string" },
|
|
33072
|
+
type: "array"
|
|
33073
33073
|
},
|
|
33074
33074
|
access_grant_key: {
|
|
33075
33075
|
description: "Filter Access Grants by access_grant_key.",
|
|
@@ -60450,6 +60450,7 @@ var openapi_default = {
|
|
|
60450
60450
|
},
|
|
60451
60451
|
type: "array"
|
|
60452
60452
|
},
|
|
60453
|
+
is_common_area: { type: "boolean" },
|
|
60453
60454
|
is_draft: { type: "boolean" },
|
|
60454
60455
|
name: { type: "string" },
|
|
60455
60456
|
needs_review: { type: "boolean" },
|
|
@@ -60547,6 +60548,7 @@ var openapi_default = {
|
|
|
60547
60548
|
},
|
|
60548
60549
|
type: "array"
|
|
60549
60550
|
},
|
|
60551
|
+
is_common_area: { type: "boolean" },
|
|
60550
60552
|
is_draft: { type: "boolean" },
|
|
60551
60553
|
name: { type: "string" },
|
|
60552
60554
|
needs_review: { type: "boolean" },
|
|
@@ -60591,6 +60593,754 @@ var openapi_default = {
|
|
|
60591
60593
|
"x-undocumented": "Partner building blocks/UI only."
|
|
60592
60594
|
}
|
|
60593
60595
|
},
|
|
60596
|
+
"/seam/v1/customers/push_data": {
|
|
60597
|
+
post: {
|
|
60598
|
+
description: "Pushes customer data including resources like spaces, properties, rooms, users, etc.\nThe customer_key is taken from the authenticated client session.",
|
|
60599
|
+
operationId: "seamV1CustomersPushDataPost",
|
|
60600
|
+
requestBody: {
|
|
60601
|
+
content: {
|
|
60602
|
+
"application/json": {
|
|
60603
|
+
schema: {
|
|
60604
|
+
properties: {
|
|
60605
|
+
access_grants: {
|
|
60606
|
+
description: "List of access grants.",
|
|
60607
|
+
items: {
|
|
60608
|
+
properties: {
|
|
60609
|
+
access_grant_key: {
|
|
60610
|
+
description: "Your unique identifier for the access grant.",
|
|
60611
|
+
minLength: 1,
|
|
60612
|
+
type: "string"
|
|
60613
|
+
},
|
|
60614
|
+
building_keys: {
|
|
60615
|
+
description: "Building keys associated with the access grant.",
|
|
60616
|
+
items: { type: "string" },
|
|
60617
|
+
type: "array"
|
|
60618
|
+
},
|
|
60619
|
+
common_area_keys: {
|
|
60620
|
+
description: "Common area keys associated with the access grant.",
|
|
60621
|
+
items: { type: "string" },
|
|
60622
|
+
type: "array"
|
|
60623
|
+
},
|
|
60624
|
+
ends_at: {
|
|
60625
|
+
description: "Ending date and time for the access grant.",
|
|
60626
|
+
format: "date-time",
|
|
60627
|
+
type: "string"
|
|
60628
|
+
},
|
|
60629
|
+
facility_keys: {
|
|
60630
|
+
description: "Facility keys associated with the access grant.",
|
|
60631
|
+
items: { type: "string" },
|
|
60632
|
+
type: "array"
|
|
60633
|
+
},
|
|
60634
|
+
guest_key: {
|
|
60635
|
+
description: "Guest key associated with the access grant.",
|
|
60636
|
+
type: "string"
|
|
60637
|
+
},
|
|
60638
|
+
listing_keys: {
|
|
60639
|
+
description: "Listing keys associated with the access grant.",
|
|
60640
|
+
items: { type: "string" },
|
|
60641
|
+
type: "array"
|
|
60642
|
+
},
|
|
60643
|
+
name: {
|
|
60644
|
+
description: "Your name for this access grant resource.",
|
|
60645
|
+
type: "string"
|
|
60646
|
+
},
|
|
60647
|
+
preferred_code: {
|
|
60648
|
+
description: "Preferred PIN code to use when creating access for this reservation.",
|
|
60649
|
+
type: "string"
|
|
60650
|
+
},
|
|
60651
|
+
property_keys: {
|
|
60652
|
+
description: "Property keys associated with the access grant.",
|
|
60653
|
+
items: { type: "string" },
|
|
60654
|
+
type: "array"
|
|
60655
|
+
},
|
|
60656
|
+
resident_key: {
|
|
60657
|
+
description: "Resident key associated with the access grant.",
|
|
60658
|
+
type: "string"
|
|
60659
|
+
},
|
|
60660
|
+
room_keys: {
|
|
60661
|
+
description: "Room keys associated with the access grant.",
|
|
60662
|
+
items: { type: "string" },
|
|
60663
|
+
type: "array"
|
|
60664
|
+
},
|
|
60665
|
+
space_keys: {
|
|
60666
|
+
description: "Space keys associated with the access grant.",
|
|
60667
|
+
items: { type: "string" },
|
|
60668
|
+
type: "array"
|
|
60669
|
+
},
|
|
60670
|
+
starts_at: {
|
|
60671
|
+
description: "Starting date and time for the access grant.",
|
|
60672
|
+
format: "date-time",
|
|
60673
|
+
type: "string"
|
|
60674
|
+
},
|
|
60675
|
+
tenant_key: {
|
|
60676
|
+
description: "Tenant key associated with the access grant.",
|
|
60677
|
+
type: "string"
|
|
60678
|
+
},
|
|
60679
|
+
unit_keys: {
|
|
60680
|
+
description: "Unit keys associated with the access grant.",
|
|
60681
|
+
items: { type: "string" },
|
|
60682
|
+
type: "array"
|
|
60683
|
+
},
|
|
60684
|
+
user_identity_key: {
|
|
60685
|
+
description: "User identity key associated with the access grant.",
|
|
60686
|
+
type: "string"
|
|
60687
|
+
},
|
|
60688
|
+
user_key: {
|
|
60689
|
+
description: "User key associated with the access grant.",
|
|
60690
|
+
type: "string"
|
|
60691
|
+
}
|
|
60692
|
+
},
|
|
60693
|
+
required: ["access_grant_key"],
|
|
60694
|
+
type: "object"
|
|
60695
|
+
},
|
|
60696
|
+
type: "array"
|
|
60697
|
+
},
|
|
60698
|
+
bookings: {
|
|
60699
|
+
description: "List of bookings.",
|
|
60700
|
+
items: {
|
|
60701
|
+
properties: {
|
|
60702
|
+
booking_key: {
|
|
60703
|
+
description: "Your unique identifier for the booking.",
|
|
60704
|
+
minLength: 1,
|
|
60705
|
+
type: "string"
|
|
60706
|
+
},
|
|
60707
|
+
building_keys: {
|
|
60708
|
+
description: "Building keys associated with the access grant.",
|
|
60709
|
+
items: { type: "string" },
|
|
60710
|
+
type: "array"
|
|
60711
|
+
},
|
|
60712
|
+
common_area_keys: {
|
|
60713
|
+
description: "Common area keys associated with the access grant.",
|
|
60714
|
+
items: { type: "string" },
|
|
60715
|
+
type: "array"
|
|
60716
|
+
},
|
|
60717
|
+
ends_at: {
|
|
60718
|
+
description: "Ending date and time for the access grant.",
|
|
60719
|
+
format: "date-time",
|
|
60720
|
+
type: "string"
|
|
60721
|
+
},
|
|
60722
|
+
facility_keys: {
|
|
60723
|
+
description: "Facility keys associated with the access grant.",
|
|
60724
|
+
items: { type: "string" },
|
|
60725
|
+
type: "array"
|
|
60726
|
+
},
|
|
60727
|
+
guest_key: {
|
|
60728
|
+
description: "Guest key associated with the access grant.",
|
|
60729
|
+
type: "string"
|
|
60730
|
+
},
|
|
60731
|
+
listing_keys: {
|
|
60732
|
+
description: "Listing keys associated with the access grant.",
|
|
60733
|
+
items: { type: "string" },
|
|
60734
|
+
type: "array"
|
|
60735
|
+
},
|
|
60736
|
+
name: {
|
|
60737
|
+
description: "Your name for this access grant resource.",
|
|
60738
|
+
type: "string"
|
|
60739
|
+
},
|
|
60740
|
+
preferred_code: {
|
|
60741
|
+
description: "Preferred PIN code to use when creating access for this reservation.",
|
|
60742
|
+
type: "string"
|
|
60743
|
+
},
|
|
60744
|
+
property_keys: {
|
|
60745
|
+
description: "Property keys associated with the access grant.",
|
|
60746
|
+
items: { type: "string" },
|
|
60747
|
+
type: "array"
|
|
60748
|
+
},
|
|
60749
|
+
resident_key: {
|
|
60750
|
+
description: "Resident key associated with the access grant.",
|
|
60751
|
+
type: "string"
|
|
60752
|
+
},
|
|
60753
|
+
room_keys: {
|
|
60754
|
+
description: "Room keys associated with the access grant.",
|
|
60755
|
+
items: { type: "string" },
|
|
60756
|
+
type: "array"
|
|
60757
|
+
},
|
|
60758
|
+
space_keys: {
|
|
60759
|
+
description: "Space keys associated with the access grant.",
|
|
60760
|
+
items: { type: "string" },
|
|
60761
|
+
type: "array"
|
|
60762
|
+
},
|
|
60763
|
+
starts_at: {
|
|
60764
|
+
description: "Starting date and time for the access grant.",
|
|
60765
|
+
format: "date-time",
|
|
60766
|
+
type: "string"
|
|
60767
|
+
},
|
|
60768
|
+
tenant_key: {
|
|
60769
|
+
description: "Tenant key associated with the access grant.",
|
|
60770
|
+
type: "string"
|
|
60771
|
+
},
|
|
60772
|
+
unit_keys: {
|
|
60773
|
+
description: "Unit keys associated with the access grant.",
|
|
60774
|
+
items: { type: "string" },
|
|
60775
|
+
type: "array"
|
|
60776
|
+
},
|
|
60777
|
+
user_identity_key: {
|
|
60778
|
+
description: "User identity key associated with the access grant.",
|
|
60779
|
+
type: "string"
|
|
60780
|
+
},
|
|
60781
|
+
user_key: {
|
|
60782
|
+
description: "User key associated with the access grant.",
|
|
60783
|
+
type: "string"
|
|
60784
|
+
}
|
|
60785
|
+
},
|
|
60786
|
+
required: ["booking_key"],
|
|
60787
|
+
type: "object"
|
|
60788
|
+
},
|
|
60789
|
+
type: "array"
|
|
60790
|
+
},
|
|
60791
|
+
buildings: {
|
|
60792
|
+
description: "List of buildings.",
|
|
60793
|
+
items: {
|
|
60794
|
+
properties: {
|
|
60795
|
+
building_key: {
|
|
60796
|
+
description: "Your unique identifier for the building.",
|
|
60797
|
+
minLength: 1,
|
|
60798
|
+
type: "string"
|
|
60799
|
+
},
|
|
60800
|
+
name: {
|
|
60801
|
+
description: "Your display name for this location resource.",
|
|
60802
|
+
type: "string"
|
|
60803
|
+
}
|
|
60804
|
+
},
|
|
60805
|
+
required: ["name", "building_key"],
|
|
60806
|
+
type: "object"
|
|
60807
|
+
},
|
|
60808
|
+
type: "array"
|
|
60809
|
+
},
|
|
60810
|
+
common_areas: {
|
|
60811
|
+
description: "List of shared common areas.",
|
|
60812
|
+
items: {
|
|
60813
|
+
properties: {
|
|
60814
|
+
common_area_key: {
|
|
60815
|
+
description: "Your unique identifier for the common area.",
|
|
60816
|
+
minLength: 1,
|
|
60817
|
+
type: "string"
|
|
60818
|
+
},
|
|
60819
|
+
name: {
|
|
60820
|
+
description: "Your display name for this location resource.",
|
|
60821
|
+
type: "string"
|
|
60822
|
+
},
|
|
60823
|
+
parent_site_key: {
|
|
60824
|
+
description: "Your unique identifier for the site.",
|
|
60825
|
+
minLength: 1,
|
|
60826
|
+
type: "string"
|
|
60827
|
+
}
|
|
60828
|
+
},
|
|
60829
|
+
required: ["name", "common_area_key"],
|
|
60830
|
+
type: "object"
|
|
60831
|
+
},
|
|
60832
|
+
type: "array"
|
|
60833
|
+
},
|
|
60834
|
+
facilities: {
|
|
60835
|
+
description: "List of gym or fitness facilities.",
|
|
60836
|
+
items: {
|
|
60837
|
+
properties: {
|
|
60838
|
+
facility_key: {
|
|
60839
|
+
description: "Your unique identifier for the facility.",
|
|
60840
|
+
minLength: 1,
|
|
60841
|
+
type: "string"
|
|
60842
|
+
},
|
|
60843
|
+
name: {
|
|
60844
|
+
description: "Your display name for this location resource.",
|
|
60845
|
+
type: "string"
|
|
60846
|
+
}
|
|
60847
|
+
},
|
|
60848
|
+
required: ["name", "facility_key"],
|
|
60849
|
+
type: "object"
|
|
60850
|
+
},
|
|
60851
|
+
type: "array"
|
|
60852
|
+
},
|
|
60853
|
+
guests: {
|
|
60854
|
+
description: "List of guests.",
|
|
60855
|
+
items: {
|
|
60856
|
+
properties: {
|
|
60857
|
+
email_address: {
|
|
60858
|
+
description: "Email address associated with the user identity.",
|
|
60859
|
+
type: "string"
|
|
60860
|
+
},
|
|
60861
|
+
guest_key: {
|
|
60862
|
+
description: "Your unique identifier for the guest.",
|
|
60863
|
+
minLength: 1,
|
|
60864
|
+
type: "string"
|
|
60865
|
+
},
|
|
60866
|
+
name: {
|
|
60867
|
+
description: "Your display name for this user identity resource.",
|
|
60868
|
+
type: "string"
|
|
60869
|
+
},
|
|
60870
|
+
phone_number: {
|
|
60871
|
+
description: "Phone number associated with the user identity.",
|
|
60872
|
+
type: "string"
|
|
60873
|
+
}
|
|
60874
|
+
},
|
|
60875
|
+
required: ["name", "guest_key"],
|
|
60876
|
+
type: "object"
|
|
60877
|
+
},
|
|
60878
|
+
type: "array"
|
|
60879
|
+
},
|
|
60880
|
+
listings: {
|
|
60881
|
+
description: "List of property listings.",
|
|
60882
|
+
items: {
|
|
60883
|
+
properties: {
|
|
60884
|
+
listing_key: {
|
|
60885
|
+
description: "Your unique identifier for the listing.",
|
|
60886
|
+
minLength: 1,
|
|
60887
|
+
type: "string"
|
|
60888
|
+
},
|
|
60889
|
+
name: {
|
|
60890
|
+
description: "Your display name for this location resource.",
|
|
60891
|
+
type: "string"
|
|
60892
|
+
}
|
|
60893
|
+
},
|
|
60894
|
+
required: ["name", "listing_key"],
|
|
60895
|
+
type: "object"
|
|
60896
|
+
},
|
|
60897
|
+
type: "array"
|
|
60898
|
+
},
|
|
60899
|
+
properties: {
|
|
60900
|
+
description: "List of short-term rental properties.",
|
|
60901
|
+
items: {
|
|
60902
|
+
properties: {
|
|
60903
|
+
name: {
|
|
60904
|
+
description: "Your display name for this location resource.",
|
|
60905
|
+
type: "string"
|
|
60906
|
+
},
|
|
60907
|
+
property_key: {
|
|
60908
|
+
description: "Your unique identifier for the property.",
|
|
60909
|
+
minLength: 1,
|
|
60910
|
+
type: "string"
|
|
60911
|
+
}
|
|
60912
|
+
},
|
|
60913
|
+
required: ["name", "property_key"],
|
|
60914
|
+
type: "object"
|
|
60915
|
+
},
|
|
60916
|
+
type: "array"
|
|
60917
|
+
},
|
|
60918
|
+
property_listings: {
|
|
60919
|
+
description: "List of property listings.",
|
|
60920
|
+
items: {
|
|
60921
|
+
properties: {
|
|
60922
|
+
custom_metadata: {
|
|
60923
|
+
additionalProperties: {
|
|
60924
|
+
nullable: true,
|
|
60925
|
+
oneOf: [
|
|
60926
|
+
{ maxLength: 500, type: "string" },
|
|
60927
|
+
{ type: "boolean" }
|
|
60928
|
+
]
|
|
60929
|
+
},
|
|
60930
|
+
description: "Set key:value pairs. Accepts string or Boolean values. Adding custom metadata to a property listing enables you to store custom information, like customer details or internal IDs from your application.",
|
|
60931
|
+
type: "object"
|
|
60932
|
+
},
|
|
60933
|
+
name: {
|
|
60934
|
+
description: "Your display name for this location resource.",
|
|
60935
|
+
type: "string"
|
|
60936
|
+
},
|
|
60937
|
+
property_listing_key: {
|
|
60938
|
+
description: "Your unique identifier for the property listing.",
|
|
60939
|
+
minLength: 1,
|
|
60940
|
+
type: "string"
|
|
60941
|
+
}
|
|
60942
|
+
},
|
|
60943
|
+
required: ["name", "property_listing_key"],
|
|
60944
|
+
type: "object"
|
|
60945
|
+
},
|
|
60946
|
+
type: "array"
|
|
60947
|
+
},
|
|
60948
|
+
reservations: {
|
|
60949
|
+
description: "List of reservations.",
|
|
60950
|
+
items: {
|
|
60951
|
+
properties: {
|
|
60952
|
+
building_keys: {
|
|
60953
|
+
description: "Building keys associated with the access grant.",
|
|
60954
|
+
items: { type: "string" },
|
|
60955
|
+
type: "array"
|
|
60956
|
+
},
|
|
60957
|
+
common_area_keys: {
|
|
60958
|
+
description: "Common area keys associated with the access grant.",
|
|
60959
|
+
items: { type: "string" },
|
|
60960
|
+
type: "array"
|
|
60961
|
+
},
|
|
60962
|
+
ends_at: {
|
|
60963
|
+
description: "Ending date and time for the access grant.",
|
|
60964
|
+
format: "date-time",
|
|
60965
|
+
type: "string"
|
|
60966
|
+
},
|
|
60967
|
+
facility_keys: {
|
|
60968
|
+
description: "Facility keys associated with the access grant.",
|
|
60969
|
+
items: { type: "string" },
|
|
60970
|
+
type: "array"
|
|
60971
|
+
},
|
|
60972
|
+
guest_key: {
|
|
60973
|
+
description: "Guest key associated with the access grant.",
|
|
60974
|
+
type: "string"
|
|
60975
|
+
},
|
|
60976
|
+
listing_keys: {
|
|
60977
|
+
description: "Listing keys associated with the access grant.",
|
|
60978
|
+
items: { type: "string" },
|
|
60979
|
+
type: "array"
|
|
60980
|
+
},
|
|
60981
|
+
name: {
|
|
60982
|
+
description: "Your name for this access grant resource.",
|
|
60983
|
+
type: "string"
|
|
60984
|
+
},
|
|
60985
|
+
preferred_code: {
|
|
60986
|
+
description: "Preferred PIN code to use when creating access for this reservation.",
|
|
60987
|
+
type: "string"
|
|
60988
|
+
},
|
|
60989
|
+
property_keys: {
|
|
60990
|
+
description: "Property keys associated with the access grant.",
|
|
60991
|
+
items: { type: "string" },
|
|
60992
|
+
type: "array"
|
|
60993
|
+
},
|
|
60994
|
+
reservation_key: {
|
|
60995
|
+
description: "Your unique identifier for the reservation.",
|
|
60996
|
+
minLength: 1,
|
|
60997
|
+
type: "string"
|
|
60998
|
+
},
|
|
60999
|
+
resident_key: {
|
|
61000
|
+
description: "Resident key associated with the access grant.",
|
|
61001
|
+
type: "string"
|
|
61002
|
+
},
|
|
61003
|
+
room_keys: {
|
|
61004
|
+
description: "Room keys associated with the access grant.",
|
|
61005
|
+
items: { type: "string" },
|
|
61006
|
+
type: "array"
|
|
61007
|
+
},
|
|
61008
|
+
space_keys: {
|
|
61009
|
+
description: "Space keys associated with the access grant.",
|
|
61010
|
+
items: { type: "string" },
|
|
61011
|
+
type: "array"
|
|
61012
|
+
},
|
|
61013
|
+
starts_at: {
|
|
61014
|
+
description: "Starting date and time for the access grant.",
|
|
61015
|
+
format: "date-time",
|
|
61016
|
+
type: "string"
|
|
61017
|
+
},
|
|
61018
|
+
tenant_key: {
|
|
61019
|
+
description: "Tenant key associated with the access grant.",
|
|
61020
|
+
type: "string"
|
|
61021
|
+
},
|
|
61022
|
+
unit_keys: {
|
|
61023
|
+
description: "Unit keys associated with the access grant.",
|
|
61024
|
+
items: { type: "string" },
|
|
61025
|
+
type: "array"
|
|
61026
|
+
},
|
|
61027
|
+
user_identity_key: {
|
|
61028
|
+
description: "User identity key associated with the access grant.",
|
|
61029
|
+
type: "string"
|
|
61030
|
+
},
|
|
61031
|
+
user_key: {
|
|
61032
|
+
description: "User key associated with the access grant.",
|
|
61033
|
+
type: "string"
|
|
61034
|
+
}
|
|
61035
|
+
},
|
|
61036
|
+
required: ["reservation_key"],
|
|
61037
|
+
type: "object"
|
|
61038
|
+
},
|
|
61039
|
+
type: "array"
|
|
61040
|
+
},
|
|
61041
|
+
residents: {
|
|
61042
|
+
description: "List of residents.",
|
|
61043
|
+
items: {
|
|
61044
|
+
properties: {
|
|
61045
|
+
email_address: {
|
|
61046
|
+
description: "Email address associated with the user identity.",
|
|
61047
|
+
type: "string"
|
|
61048
|
+
},
|
|
61049
|
+
name: {
|
|
61050
|
+
description: "Your display name for this user identity resource.",
|
|
61051
|
+
type: "string"
|
|
61052
|
+
},
|
|
61053
|
+
phone_number: {
|
|
61054
|
+
description: "Phone number associated with the user identity.",
|
|
61055
|
+
type: "string"
|
|
61056
|
+
},
|
|
61057
|
+
resident_key: {
|
|
61058
|
+
description: "Your unique identifier for the resident.",
|
|
61059
|
+
minLength: 1,
|
|
61060
|
+
type: "string"
|
|
61061
|
+
}
|
|
61062
|
+
},
|
|
61063
|
+
required: ["name", "resident_key"],
|
|
61064
|
+
type: "object"
|
|
61065
|
+
},
|
|
61066
|
+
type: "array"
|
|
61067
|
+
},
|
|
61068
|
+
rooms: {
|
|
61069
|
+
description: "List of hotel or hospitality rooms.",
|
|
61070
|
+
items: {
|
|
61071
|
+
properties: {
|
|
61072
|
+
name: {
|
|
61073
|
+
description: "Your display name for this location resource.",
|
|
61074
|
+
type: "string"
|
|
61075
|
+
},
|
|
61076
|
+
parent_site_key: {
|
|
61077
|
+
description: "Your unique identifier for the site.",
|
|
61078
|
+
minLength: 1,
|
|
61079
|
+
type: "string"
|
|
61080
|
+
},
|
|
61081
|
+
room_key: {
|
|
61082
|
+
description: "Your unique identifier for the room.",
|
|
61083
|
+
minLength: 1,
|
|
61084
|
+
type: "string"
|
|
61085
|
+
}
|
|
61086
|
+
},
|
|
61087
|
+
required: ["name", "room_key"],
|
|
61088
|
+
type: "object"
|
|
61089
|
+
},
|
|
61090
|
+
type: "array"
|
|
61091
|
+
},
|
|
61092
|
+
sites: {
|
|
61093
|
+
description: "List of general sites or areas.",
|
|
61094
|
+
items: {
|
|
61095
|
+
properties: {
|
|
61096
|
+
name: {
|
|
61097
|
+
description: "Your display name for this location resource.",
|
|
61098
|
+
type: "string"
|
|
61099
|
+
},
|
|
61100
|
+
site_key: {
|
|
61101
|
+
description: "Your unique identifier for the site.",
|
|
61102
|
+
minLength: 1,
|
|
61103
|
+
type: "string"
|
|
61104
|
+
}
|
|
61105
|
+
},
|
|
61106
|
+
required: ["name", "site_key"],
|
|
61107
|
+
type: "object"
|
|
61108
|
+
},
|
|
61109
|
+
type: "array"
|
|
61110
|
+
},
|
|
61111
|
+
spaces: {
|
|
61112
|
+
description: "List of general spaces or areas.",
|
|
61113
|
+
items: {
|
|
61114
|
+
properties: {
|
|
61115
|
+
name: {
|
|
61116
|
+
description: "Your display name for this location resource.",
|
|
61117
|
+
type: "string"
|
|
61118
|
+
},
|
|
61119
|
+
space_key: {
|
|
61120
|
+
description: "Your unique identifier for the space.",
|
|
61121
|
+
minLength: 1,
|
|
61122
|
+
type: "string"
|
|
61123
|
+
}
|
|
61124
|
+
},
|
|
61125
|
+
required: ["name", "space_key"],
|
|
61126
|
+
type: "object"
|
|
61127
|
+
},
|
|
61128
|
+
type: "array"
|
|
61129
|
+
},
|
|
61130
|
+
staff_members: {
|
|
61131
|
+
description: "List of staff members.",
|
|
61132
|
+
items: {
|
|
61133
|
+
description: "Represents a staff member for a specific customer.",
|
|
61134
|
+
properties: {
|
|
61135
|
+
building_keys: {
|
|
61136
|
+
description: "List of unique identifiers for the buildings the staff member is associated with.",
|
|
61137
|
+
items: { type: "string" },
|
|
61138
|
+
type: "array"
|
|
61139
|
+
},
|
|
61140
|
+
common_area_keys: {
|
|
61141
|
+
description: "List of unique identifiers for the common areas the staff member is associated with.",
|
|
61142
|
+
items: { type: "string" },
|
|
61143
|
+
type: "array"
|
|
61144
|
+
},
|
|
61145
|
+
email_address: {
|
|
61146
|
+
description: "Email address associated with the user identity.",
|
|
61147
|
+
type: "string"
|
|
61148
|
+
},
|
|
61149
|
+
facility_keys: {
|
|
61150
|
+
description: "List of unique identifiers for the facilities the staff member is associated with.",
|
|
61151
|
+
items: { type: "string" },
|
|
61152
|
+
type: "array"
|
|
61153
|
+
},
|
|
61154
|
+
listing_keys: {
|
|
61155
|
+
description: "List of unique identifiers for the listings the staff member is associated with.",
|
|
61156
|
+
items: { type: "string" },
|
|
61157
|
+
type: "array"
|
|
61158
|
+
},
|
|
61159
|
+
name: {
|
|
61160
|
+
description: "Your display name for this user identity resource.",
|
|
61161
|
+
type: "string"
|
|
61162
|
+
},
|
|
61163
|
+
phone_number: {
|
|
61164
|
+
description: "Phone number associated with the user identity.",
|
|
61165
|
+
type: "string"
|
|
61166
|
+
},
|
|
61167
|
+
property_keys: {
|
|
61168
|
+
description: "List of unique identifiers for the properties the staff member is associated with.",
|
|
61169
|
+
items: { type: "string" },
|
|
61170
|
+
type: "array"
|
|
61171
|
+
},
|
|
61172
|
+
property_listing_keys: {
|
|
61173
|
+
description: "List of unique identifiers for the property listings the staff member is associated with.",
|
|
61174
|
+
items: { type: "string" },
|
|
61175
|
+
type: "array"
|
|
61176
|
+
},
|
|
61177
|
+
room_keys: {
|
|
61178
|
+
description: "List of unique identifiers for the rooms the staff member is associated with.",
|
|
61179
|
+
items: { type: "string" },
|
|
61180
|
+
type: "array"
|
|
61181
|
+
},
|
|
61182
|
+
site_keys: {
|
|
61183
|
+
description: "List of unique identifiers for the sites the staff member is associated with.",
|
|
61184
|
+
items: { type: "string" },
|
|
61185
|
+
type: "array"
|
|
61186
|
+
},
|
|
61187
|
+
space_keys: {
|
|
61188
|
+
description: "List of unique identifiers for the spaces the staff member is associated with.",
|
|
61189
|
+
items: { type: "string" },
|
|
61190
|
+
type: "array"
|
|
61191
|
+
},
|
|
61192
|
+
staff_member_key: {
|
|
61193
|
+
description: "Your unique identifier for the staff.",
|
|
61194
|
+
type: "string"
|
|
61195
|
+
},
|
|
61196
|
+
unit_keys: {
|
|
61197
|
+
description: "List of unique identifiers for the units the staff member is associated with.",
|
|
61198
|
+
items: { type: "string" },
|
|
61199
|
+
type: "array"
|
|
61200
|
+
}
|
|
61201
|
+
},
|
|
61202
|
+
required: ["name", "staff_member_key"],
|
|
61203
|
+
type: "object",
|
|
61204
|
+
"x-route-path": "/seam/customer/v1/staff_members"
|
|
61205
|
+
},
|
|
61206
|
+
type: "array"
|
|
61207
|
+
},
|
|
61208
|
+
tenants: {
|
|
61209
|
+
description: "List of tenants.",
|
|
61210
|
+
items: {
|
|
61211
|
+
properties: {
|
|
61212
|
+
email_address: {
|
|
61213
|
+
description: "Email address associated with the user identity.",
|
|
61214
|
+
type: "string"
|
|
61215
|
+
},
|
|
61216
|
+
name: {
|
|
61217
|
+
description: "Your display name for this user identity resource.",
|
|
61218
|
+
type: "string"
|
|
61219
|
+
},
|
|
61220
|
+
phone_number: {
|
|
61221
|
+
description: "Phone number associated with the user identity.",
|
|
61222
|
+
type: "string"
|
|
61223
|
+
},
|
|
61224
|
+
tenant_key: {
|
|
61225
|
+
description: "Your unique identifier for the tenant.",
|
|
61226
|
+
minLength: 1,
|
|
61227
|
+
type: "string"
|
|
61228
|
+
}
|
|
61229
|
+
},
|
|
61230
|
+
required: ["name", "tenant_key"],
|
|
61231
|
+
type: "object"
|
|
61232
|
+
},
|
|
61233
|
+
type: "array"
|
|
61234
|
+
},
|
|
61235
|
+
units: {
|
|
61236
|
+
description: "List of multi-family residential units.",
|
|
61237
|
+
items: {
|
|
61238
|
+
properties: {
|
|
61239
|
+
name: {
|
|
61240
|
+
description: "Your display name for this location resource.",
|
|
61241
|
+
type: "string"
|
|
61242
|
+
},
|
|
61243
|
+
parent_site_key: {
|
|
61244
|
+
description: "Your unique identifier for the site.",
|
|
61245
|
+
minLength: 1,
|
|
61246
|
+
type: "string"
|
|
61247
|
+
},
|
|
61248
|
+
unit_key: {
|
|
61249
|
+
description: "Your unique identifier for the unit.",
|
|
61250
|
+
minLength: 1,
|
|
61251
|
+
type: "string"
|
|
61252
|
+
}
|
|
61253
|
+
},
|
|
61254
|
+
required: ["name", "unit_key"],
|
|
61255
|
+
type: "object"
|
|
61256
|
+
},
|
|
61257
|
+
type: "array"
|
|
61258
|
+
},
|
|
61259
|
+
user_identities: {
|
|
61260
|
+
description: "List of user identities.",
|
|
61261
|
+
items: {
|
|
61262
|
+
properties: {
|
|
61263
|
+
email_address: {
|
|
61264
|
+
description: "Email address associated with the user identity.",
|
|
61265
|
+
type: "string"
|
|
61266
|
+
},
|
|
61267
|
+
name: {
|
|
61268
|
+
description: "Your display name for this user identity resource.",
|
|
61269
|
+
type: "string"
|
|
61270
|
+
},
|
|
61271
|
+
phone_number: {
|
|
61272
|
+
description: "Phone number associated with the user identity.",
|
|
61273
|
+
type: "string"
|
|
61274
|
+
},
|
|
61275
|
+
user_identity_key: {
|
|
61276
|
+
description: "Your unique identifier for the user identity.",
|
|
61277
|
+
minLength: 1,
|
|
61278
|
+
type: "string"
|
|
61279
|
+
}
|
|
61280
|
+
},
|
|
61281
|
+
required: ["name", "user_identity_key"],
|
|
61282
|
+
type: "object"
|
|
61283
|
+
},
|
|
61284
|
+
type: "array"
|
|
61285
|
+
},
|
|
61286
|
+
users: {
|
|
61287
|
+
description: "List of users.",
|
|
61288
|
+
items: {
|
|
61289
|
+
properties: {
|
|
61290
|
+
email_address: {
|
|
61291
|
+
description: "Email address associated with the user identity.",
|
|
61292
|
+
type: "string"
|
|
61293
|
+
},
|
|
61294
|
+
name: {
|
|
61295
|
+
description: "Your display name for this user identity resource.",
|
|
61296
|
+
type: "string"
|
|
61297
|
+
},
|
|
61298
|
+
phone_number: {
|
|
61299
|
+
description: "Phone number associated with the user identity.",
|
|
61300
|
+
type: "string"
|
|
61301
|
+
},
|
|
61302
|
+
user_key: {
|
|
61303
|
+
description: "Your unique identifier for the user.",
|
|
61304
|
+
minLength: 1,
|
|
61305
|
+
type: "string"
|
|
61306
|
+
}
|
|
61307
|
+
},
|
|
61308
|
+
required: ["name", "user_key"],
|
|
61309
|
+
type: "object"
|
|
61310
|
+
},
|
|
61311
|
+
type: "array"
|
|
61312
|
+
}
|
|
61313
|
+
},
|
|
61314
|
+
type: "object"
|
|
61315
|
+
}
|
|
61316
|
+
}
|
|
61317
|
+
}
|
|
61318
|
+
},
|
|
61319
|
+
responses: {
|
|
61320
|
+
200: {
|
|
61321
|
+
content: {
|
|
61322
|
+
"application/json": {
|
|
61323
|
+
schema: {
|
|
61324
|
+
properties: { ok: { type: "boolean" } },
|
|
61325
|
+
required: ["ok"],
|
|
61326
|
+
type: "object"
|
|
61327
|
+
}
|
|
61328
|
+
}
|
|
61329
|
+
},
|
|
61330
|
+
description: "OK"
|
|
61331
|
+
},
|
|
61332
|
+
400: { description: "Bad Request" },
|
|
61333
|
+
401: { description: "Unauthorized" }
|
|
61334
|
+
},
|
|
61335
|
+
security: [{ client_session_with_customer: [] }],
|
|
61336
|
+
summary: "/seam/v1/customers/push_data",
|
|
61337
|
+
tags: [],
|
|
61338
|
+
"x-fern-sdk-group-name": ["seam", "v1", "customers"],
|
|
61339
|
+
"x-fern-sdk-method-name": "push_data",
|
|
61340
|
+
"x-response-key": null,
|
|
61341
|
+
"x-title": "Push Customer Data"
|
|
61342
|
+
}
|
|
61343
|
+
},
|
|
60594
61344
|
"/spaces/add_acs_entrances": {
|
|
60595
61345
|
post: {
|
|
60596
61346
|
description: "Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific space.",
|