@seamapi/types 1.708.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 +750 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1130 -0
- package/dist/index.cjs +750 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +835 -0
- package/lib/seam/connect/openapi.js +750 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +295 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +853 -0
- package/src/lib/seam/connect/route-types.ts +335 -0
|
@@ -54441,6 +54441,7 @@ export default {
|
|
|
54441
54441
|
},
|
|
54442
54442
|
type: 'array',
|
|
54443
54443
|
},
|
|
54444
|
+
is_common_area: { type: 'boolean' },
|
|
54444
54445
|
is_draft: { type: 'boolean' },
|
|
54445
54446
|
name: { type: 'string' },
|
|
54446
54447
|
needs_review: { type: 'boolean' },
|
|
@@ -54538,6 +54539,7 @@ export default {
|
|
|
54538
54539
|
},
|
|
54539
54540
|
type: 'array',
|
|
54540
54541
|
},
|
|
54542
|
+
is_common_area: { type: 'boolean' },
|
|
54541
54543
|
is_draft: { type: 'boolean' },
|
|
54542
54544
|
name: { type: 'string' },
|
|
54543
54545
|
needs_review: { type: 'boolean' },
|
|
@@ -54582,6 +54584,754 @@ export default {
|
|
|
54582
54584
|
'x-undocumented': 'Partner building blocks/UI only.',
|
|
54583
54585
|
},
|
|
54584
54586
|
},
|
|
54587
|
+
'/seam/v1/customers/push_data': {
|
|
54588
|
+
post: {
|
|
54589
|
+
description: 'Pushes customer data including resources like spaces, properties, rooms, users, etc.\nThe customer_key is taken from the authenticated client session.',
|
|
54590
|
+
operationId: 'seamV1CustomersPushDataPost',
|
|
54591
|
+
requestBody: {
|
|
54592
|
+
content: {
|
|
54593
|
+
'application/json': {
|
|
54594
|
+
schema: {
|
|
54595
|
+
properties: {
|
|
54596
|
+
access_grants: {
|
|
54597
|
+
description: 'List of access grants.',
|
|
54598
|
+
items: {
|
|
54599
|
+
properties: {
|
|
54600
|
+
access_grant_key: {
|
|
54601
|
+
description: 'Your unique identifier for the access grant.',
|
|
54602
|
+
minLength: 1,
|
|
54603
|
+
type: 'string',
|
|
54604
|
+
},
|
|
54605
|
+
building_keys: {
|
|
54606
|
+
description: 'Building keys associated with the access grant.',
|
|
54607
|
+
items: { type: 'string' },
|
|
54608
|
+
type: 'array',
|
|
54609
|
+
},
|
|
54610
|
+
common_area_keys: {
|
|
54611
|
+
description: 'Common area keys associated with the access grant.',
|
|
54612
|
+
items: { type: 'string' },
|
|
54613
|
+
type: 'array',
|
|
54614
|
+
},
|
|
54615
|
+
ends_at: {
|
|
54616
|
+
description: 'Ending date and time for the access grant.',
|
|
54617
|
+
format: 'date-time',
|
|
54618
|
+
type: 'string',
|
|
54619
|
+
},
|
|
54620
|
+
facility_keys: {
|
|
54621
|
+
description: 'Facility keys associated with the access grant.',
|
|
54622
|
+
items: { type: 'string' },
|
|
54623
|
+
type: 'array',
|
|
54624
|
+
},
|
|
54625
|
+
guest_key: {
|
|
54626
|
+
description: 'Guest key associated with the access grant.',
|
|
54627
|
+
type: 'string',
|
|
54628
|
+
},
|
|
54629
|
+
listing_keys: {
|
|
54630
|
+
description: 'Listing keys associated with the access grant.',
|
|
54631
|
+
items: { type: 'string' },
|
|
54632
|
+
type: 'array',
|
|
54633
|
+
},
|
|
54634
|
+
name: {
|
|
54635
|
+
description: 'Your name for this access grant resource.',
|
|
54636
|
+
type: 'string',
|
|
54637
|
+
},
|
|
54638
|
+
preferred_code: {
|
|
54639
|
+
description: 'Preferred PIN code to use when creating access for this reservation.',
|
|
54640
|
+
type: 'string',
|
|
54641
|
+
},
|
|
54642
|
+
property_keys: {
|
|
54643
|
+
description: 'Property keys associated with the access grant.',
|
|
54644
|
+
items: { type: 'string' },
|
|
54645
|
+
type: 'array',
|
|
54646
|
+
},
|
|
54647
|
+
resident_key: {
|
|
54648
|
+
description: 'Resident key associated with the access grant.',
|
|
54649
|
+
type: 'string',
|
|
54650
|
+
},
|
|
54651
|
+
room_keys: {
|
|
54652
|
+
description: 'Room keys associated with the access grant.',
|
|
54653
|
+
items: { type: 'string' },
|
|
54654
|
+
type: 'array',
|
|
54655
|
+
},
|
|
54656
|
+
space_keys: {
|
|
54657
|
+
description: 'Space keys associated with the access grant.',
|
|
54658
|
+
items: { type: 'string' },
|
|
54659
|
+
type: 'array',
|
|
54660
|
+
},
|
|
54661
|
+
starts_at: {
|
|
54662
|
+
description: 'Starting date and time for the access grant.',
|
|
54663
|
+
format: 'date-time',
|
|
54664
|
+
type: 'string',
|
|
54665
|
+
},
|
|
54666
|
+
tenant_key: {
|
|
54667
|
+
description: 'Tenant key associated with the access grant.',
|
|
54668
|
+
type: 'string',
|
|
54669
|
+
},
|
|
54670
|
+
unit_keys: {
|
|
54671
|
+
description: 'Unit keys associated with the access grant.',
|
|
54672
|
+
items: { type: 'string' },
|
|
54673
|
+
type: 'array',
|
|
54674
|
+
},
|
|
54675
|
+
user_identity_key: {
|
|
54676
|
+
description: 'User identity key associated with the access grant.',
|
|
54677
|
+
type: 'string',
|
|
54678
|
+
},
|
|
54679
|
+
user_key: {
|
|
54680
|
+
description: 'User key associated with the access grant.',
|
|
54681
|
+
type: 'string',
|
|
54682
|
+
},
|
|
54683
|
+
},
|
|
54684
|
+
required: ['access_grant_key'],
|
|
54685
|
+
type: 'object',
|
|
54686
|
+
},
|
|
54687
|
+
type: 'array',
|
|
54688
|
+
},
|
|
54689
|
+
bookings: {
|
|
54690
|
+
description: 'List of bookings.',
|
|
54691
|
+
items: {
|
|
54692
|
+
properties: {
|
|
54693
|
+
booking_key: {
|
|
54694
|
+
description: 'Your unique identifier for the booking.',
|
|
54695
|
+
minLength: 1,
|
|
54696
|
+
type: 'string',
|
|
54697
|
+
},
|
|
54698
|
+
building_keys: {
|
|
54699
|
+
description: 'Building keys associated with the access grant.',
|
|
54700
|
+
items: { type: 'string' },
|
|
54701
|
+
type: 'array',
|
|
54702
|
+
},
|
|
54703
|
+
common_area_keys: {
|
|
54704
|
+
description: 'Common area keys associated with the access grant.',
|
|
54705
|
+
items: { type: 'string' },
|
|
54706
|
+
type: 'array',
|
|
54707
|
+
},
|
|
54708
|
+
ends_at: {
|
|
54709
|
+
description: 'Ending date and time for the access grant.',
|
|
54710
|
+
format: 'date-time',
|
|
54711
|
+
type: 'string',
|
|
54712
|
+
},
|
|
54713
|
+
facility_keys: {
|
|
54714
|
+
description: 'Facility keys associated with the access grant.',
|
|
54715
|
+
items: { type: 'string' },
|
|
54716
|
+
type: 'array',
|
|
54717
|
+
},
|
|
54718
|
+
guest_key: {
|
|
54719
|
+
description: 'Guest key associated with the access grant.',
|
|
54720
|
+
type: 'string',
|
|
54721
|
+
},
|
|
54722
|
+
listing_keys: {
|
|
54723
|
+
description: 'Listing keys associated with the access grant.',
|
|
54724
|
+
items: { type: 'string' },
|
|
54725
|
+
type: 'array',
|
|
54726
|
+
},
|
|
54727
|
+
name: {
|
|
54728
|
+
description: 'Your name for this access grant resource.',
|
|
54729
|
+
type: 'string',
|
|
54730
|
+
},
|
|
54731
|
+
preferred_code: {
|
|
54732
|
+
description: 'Preferred PIN code to use when creating access for this reservation.',
|
|
54733
|
+
type: 'string',
|
|
54734
|
+
},
|
|
54735
|
+
property_keys: {
|
|
54736
|
+
description: 'Property keys associated with the access grant.',
|
|
54737
|
+
items: { type: 'string' },
|
|
54738
|
+
type: 'array',
|
|
54739
|
+
},
|
|
54740
|
+
resident_key: {
|
|
54741
|
+
description: 'Resident key associated with the access grant.',
|
|
54742
|
+
type: 'string',
|
|
54743
|
+
},
|
|
54744
|
+
room_keys: {
|
|
54745
|
+
description: 'Room keys associated with the access grant.',
|
|
54746
|
+
items: { type: 'string' },
|
|
54747
|
+
type: 'array',
|
|
54748
|
+
},
|
|
54749
|
+
space_keys: {
|
|
54750
|
+
description: 'Space keys associated with the access grant.',
|
|
54751
|
+
items: { type: 'string' },
|
|
54752
|
+
type: 'array',
|
|
54753
|
+
},
|
|
54754
|
+
starts_at: {
|
|
54755
|
+
description: 'Starting date and time for the access grant.',
|
|
54756
|
+
format: 'date-time',
|
|
54757
|
+
type: 'string',
|
|
54758
|
+
},
|
|
54759
|
+
tenant_key: {
|
|
54760
|
+
description: 'Tenant key associated with the access grant.',
|
|
54761
|
+
type: 'string',
|
|
54762
|
+
},
|
|
54763
|
+
unit_keys: {
|
|
54764
|
+
description: 'Unit keys associated with the access grant.',
|
|
54765
|
+
items: { type: 'string' },
|
|
54766
|
+
type: 'array',
|
|
54767
|
+
},
|
|
54768
|
+
user_identity_key: {
|
|
54769
|
+
description: 'User identity key associated with the access grant.',
|
|
54770
|
+
type: 'string',
|
|
54771
|
+
},
|
|
54772
|
+
user_key: {
|
|
54773
|
+
description: 'User key associated with the access grant.',
|
|
54774
|
+
type: 'string',
|
|
54775
|
+
},
|
|
54776
|
+
},
|
|
54777
|
+
required: ['booking_key'],
|
|
54778
|
+
type: 'object',
|
|
54779
|
+
},
|
|
54780
|
+
type: 'array',
|
|
54781
|
+
},
|
|
54782
|
+
buildings: {
|
|
54783
|
+
description: 'List of buildings.',
|
|
54784
|
+
items: {
|
|
54785
|
+
properties: {
|
|
54786
|
+
building_key: {
|
|
54787
|
+
description: 'Your unique identifier for the building.',
|
|
54788
|
+
minLength: 1,
|
|
54789
|
+
type: 'string',
|
|
54790
|
+
},
|
|
54791
|
+
name: {
|
|
54792
|
+
description: 'Your display name for this location resource.',
|
|
54793
|
+
type: 'string',
|
|
54794
|
+
},
|
|
54795
|
+
},
|
|
54796
|
+
required: ['name', 'building_key'],
|
|
54797
|
+
type: 'object',
|
|
54798
|
+
},
|
|
54799
|
+
type: 'array',
|
|
54800
|
+
},
|
|
54801
|
+
common_areas: {
|
|
54802
|
+
description: 'List of shared common areas.',
|
|
54803
|
+
items: {
|
|
54804
|
+
properties: {
|
|
54805
|
+
common_area_key: {
|
|
54806
|
+
description: 'Your unique identifier for the common area.',
|
|
54807
|
+
minLength: 1,
|
|
54808
|
+
type: 'string',
|
|
54809
|
+
},
|
|
54810
|
+
name: {
|
|
54811
|
+
description: 'Your display name for this location resource.',
|
|
54812
|
+
type: 'string',
|
|
54813
|
+
},
|
|
54814
|
+
parent_site_key: {
|
|
54815
|
+
description: 'Your unique identifier for the site.',
|
|
54816
|
+
minLength: 1,
|
|
54817
|
+
type: 'string',
|
|
54818
|
+
},
|
|
54819
|
+
},
|
|
54820
|
+
required: ['name', 'common_area_key'],
|
|
54821
|
+
type: 'object',
|
|
54822
|
+
},
|
|
54823
|
+
type: 'array',
|
|
54824
|
+
},
|
|
54825
|
+
facilities: {
|
|
54826
|
+
description: 'List of gym or fitness facilities.',
|
|
54827
|
+
items: {
|
|
54828
|
+
properties: {
|
|
54829
|
+
facility_key: {
|
|
54830
|
+
description: 'Your unique identifier for the facility.',
|
|
54831
|
+
minLength: 1,
|
|
54832
|
+
type: 'string',
|
|
54833
|
+
},
|
|
54834
|
+
name: {
|
|
54835
|
+
description: 'Your display name for this location resource.',
|
|
54836
|
+
type: 'string',
|
|
54837
|
+
},
|
|
54838
|
+
},
|
|
54839
|
+
required: ['name', 'facility_key'],
|
|
54840
|
+
type: 'object',
|
|
54841
|
+
},
|
|
54842
|
+
type: 'array',
|
|
54843
|
+
},
|
|
54844
|
+
guests: {
|
|
54845
|
+
description: 'List of guests.',
|
|
54846
|
+
items: {
|
|
54847
|
+
properties: {
|
|
54848
|
+
email_address: {
|
|
54849
|
+
description: 'Email address associated with the user identity.',
|
|
54850
|
+
type: 'string',
|
|
54851
|
+
},
|
|
54852
|
+
guest_key: {
|
|
54853
|
+
description: 'Your unique identifier for the guest.',
|
|
54854
|
+
minLength: 1,
|
|
54855
|
+
type: 'string',
|
|
54856
|
+
},
|
|
54857
|
+
name: {
|
|
54858
|
+
description: 'Your display name for this user identity resource.',
|
|
54859
|
+
type: 'string',
|
|
54860
|
+
},
|
|
54861
|
+
phone_number: {
|
|
54862
|
+
description: 'Phone number associated with the user identity.',
|
|
54863
|
+
type: 'string',
|
|
54864
|
+
},
|
|
54865
|
+
},
|
|
54866
|
+
required: ['name', 'guest_key'],
|
|
54867
|
+
type: 'object',
|
|
54868
|
+
},
|
|
54869
|
+
type: 'array',
|
|
54870
|
+
},
|
|
54871
|
+
listings: {
|
|
54872
|
+
description: 'List of property listings.',
|
|
54873
|
+
items: {
|
|
54874
|
+
properties: {
|
|
54875
|
+
listing_key: {
|
|
54876
|
+
description: 'Your unique identifier for the listing.',
|
|
54877
|
+
minLength: 1,
|
|
54878
|
+
type: 'string',
|
|
54879
|
+
},
|
|
54880
|
+
name: {
|
|
54881
|
+
description: 'Your display name for this location resource.',
|
|
54882
|
+
type: 'string',
|
|
54883
|
+
},
|
|
54884
|
+
},
|
|
54885
|
+
required: ['name', 'listing_key'],
|
|
54886
|
+
type: 'object',
|
|
54887
|
+
},
|
|
54888
|
+
type: 'array',
|
|
54889
|
+
},
|
|
54890
|
+
properties: {
|
|
54891
|
+
description: 'List of short-term rental properties.',
|
|
54892
|
+
items: {
|
|
54893
|
+
properties: {
|
|
54894
|
+
name: {
|
|
54895
|
+
description: 'Your display name for this location resource.',
|
|
54896
|
+
type: 'string',
|
|
54897
|
+
},
|
|
54898
|
+
property_key: {
|
|
54899
|
+
description: 'Your unique identifier for the property.',
|
|
54900
|
+
minLength: 1,
|
|
54901
|
+
type: 'string',
|
|
54902
|
+
},
|
|
54903
|
+
},
|
|
54904
|
+
required: ['name', 'property_key'],
|
|
54905
|
+
type: 'object',
|
|
54906
|
+
},
|
|
54907
|
+
type: 'array',
|
|
54908
|
+
},
|
|
54909
|
+
property_listings: {
|
|
54910
|
+
description: 'List of property listings.',
|
|
54911
|
+
items: {
|
|
54912
|
+
properties: {
|
|
54913
|
+
custom_metadata: {
|
|
54914
|
+
additionalProperties: {
|
|
54915
|
+
nullable: true,
|
|
54916
|
+
oneOf: [
|
|
54917
|
+
{ maxLength: 500, type: 'string' },
|
|
54918
|
+
{ type: 'boolean' },
|
|
54919
|
+
],
|
|
54920
|
+
},
|
|
54921
|
+
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.',
|
|
54922
|
+
type: 'object',
|
|
54923
|
+
},
|
|
54924
|
+
name: {
|
|
54925
|
+
description: 'Your display name for this location resource.',
|
|
54926
|
+
type: 'string',
|
|
54927
|
+
},
|
|
54928
|
+
property_listing_key: {
|
|
54929
|
+
description: 'Your unique identifier for the property listing.',
|
|
54930
|
+
minLength: 1,
|
|
54931
|
+
type: 'string',
|
|
54932
|
+
},
|
|
54933
|
+
},
|
|
54934
|
+
required: ['name', 'property_listing_key'],
|
|
54935
|
+
type: 'object',
|
|
54936
|
+
},
|
|
54937
|
+
type: 'array',
|
|
54938
|
+
},
|
|
54939
|
+
reservations: {
|
|
54940
|
+
description: 'List of reservations.',
|
|
54941
|
+
items: {
|
|
54942
|
+
properties: {
|
|
54943
|
+
building_keys: {
|
|
54944
|
+
description: 'Building keys associated with the access grant.',
|
|
54945
|
+
items: { type: 'string' },
|
|
54946
|
+
type: 'array',
|
|
54947
|
+
},
|
|
54948
|
+
common_area_keys: {
|
|
54949
|
+
description: 'Common area keys associated with the access grant.',
|
|
54950
|
+
items: { type: 'string' },
|
|
54951
|
+
type: 'array',
|
|
54952
|
+
},
|
|
54953
|
+
ends_at: {
|
|
54954
|
+
description: 'Ending date and time for the access grant.',
|
|
54955
|
+
format: 'date-time',
|
|
54956
|
+
type: 'string',
|
|
54957
|
+
},
|
|
54958
|
+
facility_keys: {
|
|
54959
|
+
description: 'Facility keys associated with the access grant.',
|
|
54960
|
+
items: { type: 'string' },
|
|
54961
|
+
type: 'array',
|
|
54962
|
+
},
|
|
54963
|
+
guest_key: {
|
|
54964
|
+
description: 'Guest key associated with the access grant.',
|
|
54965
|
+
type: 'string',
|
|
54966
|
+
},
|
|
54967
|
+
listing_keys: {
|
|
54968
|
+
description: 'Listing keys associated with the access grant.',
|
|
54969
|
+
items: { type: 'string' },
|
|
54970
|
+
type: 'array',
|
|
54971
|
+
},
|
|
54972
|
+
name: {
|
|
54973
|
+
description: 'Your name for this access grant resource.',
|
|
54974
|
+
type: 'string',
|
|
54975
|
+
},
|
|
54976
|
+
preferred_code: {
|
|
54977
|
+
description: 'Preferred PIN code to use when creating access for this reservation.',
|
|
54978
|
+
type: 'string',
|
|
54979
|
+
},
|
|
54980
|
+
property_keys: {
|
|
54981
|
+
description: 'Property keys associated with the access grant.',
|
|
54982
|
+
items: { type: 'string' },
|
|
54983
|
+
type: 'array',
|
|
54984
|
+
},
|
|
54985
|
+
reservation_key: {
|
|
54986
|
+
description: 'Your unique identifier for the reservation.',
|
|
54987
|
+
minLength: 1,
|
|
54988
|
+
type: 'string',
|
|
54989
|
+
},
|
|
54990
|
+
resident_key: {
|
|
54991
|
+
description: 'Resident key associated with the access grant.',
|
|
54992
|
+
type: 'string',
|
|
54993
|
+
},
|
|
54994
|
+
room_keys: {
|
|
54995
|
+
description: 'Room keys associated with the access grant.',
|
|
54996
|
+
items: { type: 'string' },
|
|
54997
|
+
type: 'array',
|
|
54998
|
+
},
|
|
54999
|
+
space_keys: {
|
|
55000
|
+
description: 'Space keys associated with the access grant.',
|
|
55001
|
+
items: { type: 'string' },
|
|
55002
|
+
type: 'array',
|
|
55003
|
+
},
|
|
55004
|
+
starts_at: {
|
|
55005
|
+
description: 'Starting date and time for the access grant.',
|
|
55006
|
+
format: 'date-time',
|
|
55007
|
+
type: 'string',
|
|
55008
|
+
},
|
|
55009
|
+
tenant_key: {
|
|
55010
|
+
description: 'Tenant key associated with the access grant.',
|
|
55011
|
+
type: 'string',
|
|
55012
|
+
},
|
|
55013
|
+
unit_keys: {
|
|
55014
|
+
description: 'Unit keys associated with the access grant.',
|
|
55015
|
+
items: { type: 'string' },
|
|
55016
|
+
type: 'array',
|
|
55017
|
+
},
|
|
55018
|
+
user_identity_key: {
|
|
55019
|
+
description: 'User identity key associated with the access grant.',
|
|
55020
|
+
type: 'string',
|
|
55021
|
+
},
|
|
55022
|
+
user_key: {
|
|
55023
|
+
description: 'User key associated with the access grant.',
|
|
55024
|
+
type: 'string',
|
|
55025
|
+
},
|
|
55026
|
+
},
|
|
55027
|
+
required: ['reservation_key'],
|
|
55028
|
+
type: 'object',
|
|
55029
|
+
},
|
|
55030
|
+
type: 'array',
|
|
55031
|
+
},
|
|
55032
|
+
residents: {
|
|
55033
|
+
description: 'List of residents.',
|
|
55034
|
+
items: {
|
|
55035
|
+
properties: {
|
|
55036
|
+
email_address: {
|
|
55037
|
+
description: 'Email address associated with the user identity.',
|
|
55038
|
+
type: 'string',
|
|
55039
|
+
},
|
|
55040
|
+
name: {
|
|
55041
|
+
description: 'Your display name for this user identity resource.',
|
|
55042
|
+
type: 'string',
|
|
55043
|
+
},
|
|
55044
|
+
phone_number: {
|
|
55045
|
+
description: 'Phone number associated with the user identity.',
|
|
55046
|
+
type: 'string',
|
|
55047
|
+
},
|
|
55048
|
+
resident_key: {
|
|
55049
|
+
description: 'Your unique identifier for the resident.',
|
|
55050
|
+
minLength: 1,
|
|
55051
|
+
type: 'string',
|
|
55052
|
+
},
|
|
55053
|
+
},
|
|
55054
|
+
required: ['name', 'resident_key'],
|
|
55055
|
+
type: 'object',
|
|
55056
|
+
},
|
|
55057
|
+
type: 'array',
|
|
55058
|
+
},
|
|
55059
|
+
rooms: {
|
|
55060
|
+
description: 'List of hotel or hospitality rooms.',
|
|
55061
|
+
items: {
|
|
55062
|
+
properties: {
|
|
55063
|
+
name: {
|
|
55064
|
+
description: 'Your display name for this location resource.',
|
|
55065
|
+
type: 'string',
|
|
55066
|
+
},
|
|
55067
|
+
parent_site_key: {
|
|
55068
|
+
description: 'Your unique identifier for the site.',
|
|
55069
|
+
minLength: 1,
|
|
55070
|
+
type: 'string',
|
|
55071
|
+
},
|
|
55072
|
+
room_key: {
|
|
55073
|
+
description: 'Your unique identifier for the room.',
|
|
55074
|
+
minLength: 1,
|
|
55075
|
+
type: 'string',
|
|
55076
|
+
},
|
|
55077
|
+
},
|
|
55078
|
+
required: ['name', 'room_key'],
|
|
55079
|
+
type: 'object',
|
|
55080
|
+
},
|
|
55081
|
+
type: 'array',
|
|
55082
|
+
},
|
|
55083
|
+
sites: {
|
|
55084
|
+
description: 'List of general sites or areas.',
|
|
55085
|
+
items: {
|
|
55086
|
+
properties: {
|
|
55087
|
+
name: {
|
|
55088
|
+
description: 'Your display name for this location resource.',
|
|
55089
|
+
type: 'string',
|
|
55090
|
+
},
|
|
55091
|
+
site_key: {
|
|
55092
|
+
description: 'Your unique identifier for the site.',
|
|
55093
|
+
minLength: 1,
|
|
55094
|
+
type: 'string',
|
|
55095
|
+
},
|
|
55096
|
+
},
|
|
55097
|
+
required: ['name', 'site_key'],
|
|
55098
|
+
type: 'object',
|
|
55099
|
+
},
|
|
55100
|
+
type: 'array',
|
|
55101
|
+
},
|
|
55102
|
+
spaces: {
|
|
55103
|
+
description: 'List of general spaces or areas.',
|
|
55104
|
+
items: {
|
|
55105
|
+
properties: {
|
|
55106
|
+
name: {
|
|
55107
|
+
description: 'Your display name for this location resource.',
|
|
55108
|
+
type: 'string',
|
|
55109
|
+
},
|
|
55110
|
+
space_key: {
|
|
55111
|
+
description: 'Your unique identifier for the space.',
|
|
55112
|
+
minLength: 1,
|
|
55113
|
+
type: 'string',
|
|
55114
|
+
},
|
|
55115
|
+
},
|
|
55116
|
+
required: ['name', 'space_key'],
|
|
55117
|
+
type: 'object',
|
|
55118
|
+
},
|
|
55119
|
+
type: 'array',
|
|
55120
|
+
},
|
|
55121
|
+
staff_members: {
|
|
55122
|
+
description: 'List of staff members.',
|
|
55123
|
+
items: {
|
|
55124
|
+
description: 'Represents a staff member for a specific customer.',
|
|
55125
|
+
properties: {
|
|
55126
|
+
building_keys: {
|
|
55127
|
+
description: 'List of unique identifiers for the buildings the staff member is associated with.',
|
|
55128
|
+
items: { type: 'string' },
|
|
55129
|
+
type: 'array',
|
|
55130
|
+
},
|
|
55131
|
+
common_area_keys: {
|
|
55132
|
+
description: 'List of unique identifiers for the common areas the staff member is associated with.',
|
|
55133
|
+
items: { type: 'string' },
|
|
55134
|
+
type: 'array',
|
|
55135
|
+
},
|
|
55136
|
+
email_address: {
|
|
55137
|
+
description: 'Email address associated with the user identity.',
|
|
55138
|
+
type: 'string',
|
|
55139
|
+
},
|
|
55140
|
+
facility_keys: {
|
|
55141
|
+
description: 'List of unique identifiers for the facilities the staff member is associated with.',
|
|
55142
|
+
items: { type: 'string' },
|
|
55143
|
+
type: 'array',
|
|
55144
|
+
},
|
|
55145
|
+
listing_keys: {
|
|
55146
|
+
description: 'List of unique identifiers for the listings the staff member is associated with.',
|
|
55147
|
+
items: { type: 'string' },
|
|
55148
|
+
type: 'array',
|
|
55149
|
+
},
|
|
55150
|
+
name: {
|
|
55151
|
+
description: 'Your display name for this user identity resource.',
|
|
55152
|
+
type: 'string',
|
|
55153
|
+
},
|
|
55154
|
+
phone_number: {
|
|
55155
|
+
description: 'Phone number associated with the user identity.',
|
|
55156
|
+
type: 'string',
|
|
55157
|
+
},
|
|
55158
|
+
property_keys: {
|
|
55159
|
+
description: 'List of unique identifiers for the properties the staff member is associated with.',
|
|
55160
|
+
items: { type: 'string' },
|
|
55161
|
+
type: 'array',
|
|
55162
|
+
},
|
|
55163
|
+
property_listing_keys: {
|
|
55164
|
+
description: 'List of unique identifiers for the property listings the staff member is associated with.',
|
|
55165
|
+
items: { type: 'string' },
|
|
55166
|
+
type: 'array',
|
|
55167
|
+
},
|
|
55168
|
+
room_keys: {
|
|
55169
|
+
description: 'List of unique identifiers for the rooms the staff member is associated with.',
|
|
55170
|
+
items: { type: 'string' },
|
|
55171
|
+
type: 'array',
|
|
55172
|
+
},
|
|
55173
|
+
site_keys: {
|
|
55174
|
+
description: 'List of unique identifiers for the sites the staff member is associated with.',
|
|
55175
|
+
items: { type: 'string' },
|
|
55176
|
+
type: 'array',
|
|
55177
|
+
},
|
|
55178
|
+
space_keys: {
|
|
55179
|
+
description: 'List of unique identifiers for the spaces the staff member is associated with.',
|
|
55180
|
+
items: { type: 'string' },
|
|
55181
|
+
type: 'array',
|
|
55182
|
+
},
|
|
55183
|
+
staff_member_key: {
|
|
55184
|
+
description: 'Your unique identifier for the staff.',
|
|
55185
|
+
type: 'string',
|
|
55186
|
+
},
|
|
55187
|
+
unit_keys: {
|
|
55188
|
+
description: 'List of unique identifiers for the units the staff member is associated with.',
|
|
55189
|
+
items: { type: 'string' },
|
|
55190
|
+
type: 'array',
|
|
55191
|
+
},
|
|
55192
|
+
},
|
|
55193
|
+
required: ['name', 'staff_member_key'],
|
|
55194
|
+
type: 'object',
|
|
55195
|
+
'x-route-path': '/seam/customer/v1/staff_members',
|
|
55196
|
+
},
|
|
55197
|
+
type: 'array',
|
|
55198
|
+
},
|
|
55199
|
+
tenants: {
|
|
55200
|
+
description: 'List of tenants.',
|
|
55201
|
+
items: {
|
|
55202
|
+
properties: {
|
|
55203
|
+
email_address: {
|
|
55204
|
+
description: 'Email address associated with the user identity.',
|
|
55205
|
+
type: 'string',
|
|
55206
|
+
},
|
|
55207
|
+
name: {
|
|
55208
|
+
description: 'Your display name for this user identity resource.',
|
|
55209
|
+
type: 'string',
|
|
55210
|
+
},
|
|
55211
|
+
phone_number: {
|
|
55212
|
+
description: 'Phone number associated with the user identity.',
|
|
55213
|
+
type: 'string',
|
|
55214
|
+
},
|
|
55215
|
+
tenant_key: {
|
|
55216
|
+
description: 'Your unique identifier for the tenant.',
|
|
55217
|
+
minLength: 1,
|
|
55218
|
+
type: 'string',
|
|
55219
|
+
},
|
|
55220
|
+
},
|
|
55221
|
+
required: ['name', 'tenant_key'],
|
|
55222
|
+
type: 'object',
|
|
55223
|
+
},
|
|
55224
|
+
type: 'array',
|
|
55225
|
+
},
|
|
55226
|
+
units: {
|
|
55227
|
+
description: 'List of multi-family residential units.',
|
|
55228
|
+
items: {
|
|
55229
|
+
properties: {
|
|
55230
|
+
name: {
|
|
55231
|
+
description: 'Your display name for this location resource.',
|
|
55232
|
+
type: 'string',
|
|
55233
|
+
},
|
|
55234
|
+
parent_site_key: {
|
|
55235
|
+
description: 'Your unique identifier for the site.',
|
|
55236
|
+
minLength: 1,
|
|
55237
|
+
type: 'string',
|
|
55238
|
+
},
|
|
55239
|
+
unit_key: {
|
|
55240
|
+
description: 'Your unique identifier for the unit.',
|
|
55241
|
+
minLength: 1,
|
|
55242
|
+
type: 'string',
|
|
55243
|
+
},
|
|
55244
|
+
},
|
|
55245
|
+
required: ['name', 'unit_key'],
|
|
55246
|
+
type: 'object',
|
|
55247
|
+
},
|
|
55248
|
+
type: 'array',
|
|
55249
|
+
},
|
|
55250
|
+
user_identities: {
|
|
55251
|
+
description: 'List of user identities.',
|
|
55252
|
+
items: {
|
|
55253
|
+
properties: {
|
|
55254
|
+
email_address: {
|
|
55255
|
+
description: 'Email address associated with the user identity.',
|
|
55256
|
+
type: 'string',
|
|
55257
|
+
},
|
|
55258
|
+
name: {
|
|
55259
|
+
description: 'Your display name for this user identity resource.',
|
|
55260
|
+
type: 'string',
|
|
55261
|
+
},
|
|
55262
|
+
phone_number: {
|
|
55263
|
+
description: 'Phone number associated with the user identity.',
|
|
55264
|
+
type: 'string',
|
|
55265
|
+
},
|
|
55266
|
+
user_identity_key: {
|
|
55267
|
+
description: 'Your unique identifier for the user identity.',
|
|
55268
|
+
minLength: 1,
|
|
55269
|
+
type: 'string',
|
|
55270
|
+
},
|
|
55271
|
+
},
|
|
55272
|
+
required: ['name', 'user_identity_key'],
|
|
55273
|
+
type: 'object',
|
|
55274
|
+
},
|
|
55275
|
+
type: 'array',
|
|
55276
|
+
},
|
|
55277
|
+
users: {
|
|
55278
|
+
description: 'List of users.',
|
|
55279
|
+
items: {
|
|
55280
|
+
properties: {
|
|
55281
|
+
email_address: {
|
|
55282
|
+
description: 'Email address associated with the user identity.',
|
|
55283
|
+
type: 'string',
|
|
55284
|
+
},
|
|
55285
|
+
name: {
|
|
55286
|
+
description: 'Your display name for this user identity resource.',
|
|
55287
|
+
type: 'string',
|
|
55288
|
+
},
|
|
55289
|
+
phone_number: {
|
|
55290
|
+
description: 'Phone number associated with the user identity.',
|
|
55291
|
+
type: 'string',
|
|
55292
|
+
},
|
|
55293
|
+
user_key: {
|
|
55294
|
+
description: 'Your unique identifier for the user.',
|
|
55295
|
+
minLength: 1,
|
|
55296
|
+
type: 'string',
|
|
55297
|
+
},
|
|
55298
|
+
},
|
|
55299
|
+
required: ['name', 'user_key'],
|
|
55300
|
+
type: 'object',
|
|
55301
|
+
},
|
|
55302
|
+
type: 'array',
|
|
55303
|
+
},
|
|
55304
|
+
},
|
|
55305
|
+
type: 'object',
|
|
55306
|
+
},
|
|
55307
|
+
},
|
|
55308
|
+
},
|
|
55309
|
+
},
|
|
55310
|
+
responses: {
|
|
55311
|
+
200: {
|
|
55312
|
+
content: {
|
|
55313
|
+
'application/json': {
|
|
55314
|
+
schema: {
|
|
55315
|
+
properties: { ok: { type: 'boolean' } },
|
|
55316
|
+
required: ['ok'],
|
|
55317
|
+
type: 'object',
|
|
55318
|
+
},
|
|
55319
|
+
},
|
|
55320
|
+
},
|
|
55321
|
+
description: 'OK',
|
|
55322
|
+
},
|
|
55323
|
+
400: { description: 'Bad Request' },
|
|
55324
|
+
401: { description: 'Unauthorized' },
|
|
55325
|
+
},
|
|
55326
|
+
security: [{ client_session_with_customer: [] }],
|
|
55327
|
+
summary: '/seam/v1/customers/push_data',
|
|
55328
|
+
tags: [],
|
|
55329
|
+
'x-fern-sdk-group-name': ['seam', 'v1', 'customers'],
|
|
55330
|
+
'x-fern-sdk-method-name': 'push_data',
|
|
55331
|
+
'x-response-key': null,
|
|
55332
|
+
'x-title': 'Push Customer Data',
|
|
55333
|
+
},
|
|
55334
|
+
},
|
|
54585
55335
|
'/spaces/add_acs_entrances': {
|
|
54586
55336
|
post: {
|
|
54587
55337
|
description: 'Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific space.',
|