@seamapi/types 1.708.0 → 1.710.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 +933 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1477 -111
- package/dist/index.cjs +933 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +1044 -0
- package/lib/seam/connect/openapi.js +933 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +322 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +1036 -0
- package/src/lib/seam/connect/route-types.ts +362 -0
package/dist/connect.cjs
CHANGED
|
@@ -56120,6 +56120,189 @@ var openapi_default = {
|
|
|
56120
56120
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
56121
56121
|
}
|
|
56122
56122
|
},
|
|
56123
|
+
"/seam/customer/v1/connector_customers/list": {
|
|
56124
|
+
get: {
|
|
56125
|
+
description: "Lists connector customers for a given connector.",
|
|
56126
|
+
operationId: "seamCustomerV1ConnectorCustomersListGet",
|
|
56127
|
+
parameters: [
|
|
56128
|
+
{
|
|
56129
|
+
in: "query",
|
|
56130
|
+
name: "connector_id",
|
|
56131
|
+
schema: {
|
|
56132
|
+
description: "ID of the connector.",
|
|
56133
|
+
format: "uuid",
|
|
56134
|
+
type: "string"
|
|
56135
|
+
}
|
|
56136
|
+
}
|
|
56137
|
+
],
|
|
56138
|
+
responses: {
|
|
56139
|
+
200: {
|
|
56140
|
+
content: {
|
|
56141
|
+
"application/json": {
|
|
56142
|
+
schema: {
|
|
56143
|
+
properties: {
|
|
56144
|
+
connector_customers: {
|
|
56145
|
+
items: {
|
|
56146
|
+
properties: {
|
|
56147
|
+
connector_customer_id: { type: "string" },
|
|
56148
|
+
connector_id: { type: "string" },
|
|
56149
|
+
created_at: { type: "string" },
|
|
56150
|
+
customer_key: { type: "string" },
|
|
56151
|
+
initial_sync_completed: { type: "boolean" },
|
|
56152
|
+
initial_sync_status: {
|
|
56153
|
+
nullable: true,
|
|
56154
|
+
type: "string"
|
|
56155
|
+
},
|
|
56156
|
+
instance_config: {
|
|
56157
|
+
additionalProperties: {
|
|
56158
|
+
$ref: "#/components/schemas/access_code"
|
|
56159
|
+
},
|
|
56160
|
+
nullable: true,
|
|
56161
|
+
type: "object"
|
|
56162
|
+
},
|
|
56163
|
+
status: { nullable: true, type: "string" },
|
|
56164
|
+
updated_at: { type: "string" }
|
|
56165
|
+
},
|
|
56166
|
+
required: [
|
|
56167
|
+
"connector_customer_id",
|
|
56168
|
+
"connector_id",
|
|
56169
|
+
"customer_key",
|
|
56170
|
+
"instance_config",
|
|
56171
|
+
"initial_sync_completed",
|
|
56172
|
+
"initial_sync_status",
|
|
56173
|
+
"status",
|
|
56174
|
+
"created_at",
|
|
56175
|
+
"updated_at"
|
|
56176
|
+
],
|
|
56177
|
+
type: "object"
|
|
56178
|
+
},
|
|
56179
|
+
type: "array"
|
|
56180
|
+
},
|
|
56181
|
+
ok: { type: "boolean" }
|
|
56182
|
+
},
|
|
56183
|
+
required: ["connector_customers", "ok"],
|
|
56184
|
+
type: "object"
|
|
56185
|
+
}
|
|
56186
|
+
}
|
|
56187
|
+
},
|
|
56188
|
+
description: "OK"
|
|
56189
|
+
},
|
|
56190
|
+
400: { description: "Bad Request" },
|
|
56191
|
+
401: { description: "Unauthorized" }
|
|
56192
|
+
},
|
|
56193
|
+
security: [
|
|
56194
|
+
{ api_key: [] },
|
|
56195
|
+
{ client_session_with_customer: [] },
|
|
56196
|
+
{ console_session_with_workspace: [] }
|
|
56197
|
+
],
|
|
56198
|
+
summary: "/seam/customer/v1/connector_customers/list",
|
|
56199
|
+
tags: [],
|
|
56200
|
+
"x-fern-sdk-group-name": [
|
|
56201
|
+
"seam",
|
|
56202
|
+
"customer",
|
|
56203
|
+
"v1",
|
|
56204
|
+
"connector_customers"
|
|
56205
|
+
],
|
|
56206
|
+
"x-fern-sdk-method-name": "list",
|
|
56207
|
+
"x-fern-sdk-return-value": "connector_customers",
|
|
56208
|
+
"x-response-key": "connector_customers",
|
|
56209
|
+
"x-title": "List Connector Customers",
|
|
56210
|
+
"x-undocumented": "Internal endpoint for Console."
|
|
56211
|
+
},
|
|
56212
|
+
post: {
|
|
56213
|
+
description: "Lists connector customers for a given connector.",
|
|
56214
|
+
operationId: "seamCustomerV1ConnectorCustomersListPost",
|
|
56215
|
+
requestBody: {
|
|
56216
|
+
content: {
|
|
56217
|
+
"application/json": {
|
|
56218
|
+
schema: {
|
|
56219
|
+
properties: {
|
|
56220
|
+
connector_id: {
|
|
56221
|
+
description: "ID of the connector.",
|
|
56222
|
+
format: "uuid",
|
|
56223
|
+
type: "string"
|
|
56224
|
+
}
|
|
56225
|
+
},
|
|
56226
|
+
type: "object"
|
|
56227
|
+
}
|
|
56228
|
+
}
|
|
56229
|
+
}
|
|
56230
|
+
},
|
|
56231
|
+
responses: {
|
|
56232
|
+
200: {
|
|
56233
|
+
content: {
|
|
56234
|
+
"application/json": {
|
|
56235
|
+
schema: {
|
|
56236
|
+
properties: {
|
|
56237
|
+
connector_customers: {
|
|
56238
|
+
items: {
|
|
56239
|
+
properties: {
|
|
56240
|
+
connector_customer_id: { type: "string" },
|
|
56241
|
+
connector_id: { type: "string" },
|
|
56242
|
+
created_at: { type: "string" },
|
|
56243
|
+
customer_key: { type: "string" },
|
|
56244
|
+
initial_sync_completed: { type: "boolean" },
|
|
56245
|
+
initial_sync_status: {
|
|
56246
|
+
nullable: true,
|
|
56247
|
+
type: "string"
|
|
56248
|
+
},
|
|
56249
|
+
instance_config: {
|
|
56250
|
+
additionalProperties: {
|
|
56251
|
+
$ref: "#/components/schemas/access_code"
|
|
56252
|
+
},
|
|
56253
|
+
nullable: true,
|
|
56254
|
+
type: "object"
|
|
56255
|
+
},
|
|
56256
|
+
status: { nullable: true, type: "string" },
|
|
56257
|
+
updated_at: { type: "string" }
|
|
56258
|
+
},
|
|
56259
|
+
required: [
|
|
56260
|
+
"connector_customer_id",
|
|
56261
|
+
"connector_id",
|
|
56262
|
+
"customer_key",
|
|
56263
|
+
"instance_config",
|
|
56264
|
+
"initial_sync_completed",
|
|
56265
|
+
"initial_sync_status",
|
|
56266
|
+
"status",
|
|
56267
|
+
"created_at",
|
|
56268
|
+
"updated_at"
|
|
56269
|
+
],
|
|
56270
|
+
type: "object"
|
|
56271
|
+
},
|
|
56272
|
+
type: "array"
|
|
56273
|
+
},
|
|
56274
|
+
ok: { type: "boolean" }
|
|
56275
|
+
},
|
|
56276
|
+
required: ["connector_customers", "ok"],
|
|
56277
|
+
type: "object"
|
|
56278
|
+
}
|
|
56279
|
+
}
|
|
56280
|
+
},
|
|
56281
|
+
description: "OK"
|
|
56282
|
+
},
|
|
56283
|
+
400: { description: "Bad Request" },
|
|
56284
|
+
401: { description: "Unauthorized" }
|
|
56285
|
+
},
|
|
56286
|
+
security: [
|
|
56287
|
+
{ api_key: [] },
|
|
56288
|
+
{ client_session_with_customer: [] },
|
|
56289
|
+
{ console_session_with_workspace: [] }
|
|
56290
|
+
],
|
|
56291
|
+
summary: "/seam/customer/v1/connector_customers/list",
|
|
56292
|
+
tags: [],
|
|
56293
|
+
"x-fern-sdk-group-name": [
|
|
56294
|
+
"seam",
|
|
56295
|
+
"customer",
|
|
56296
|
+
"v1",
|
|
56297
|
+
"connector_customers"
|
|
56298
|
+
],
|
|
56299
|
+
"x-fern-sdk-method-name": "list",
|
|
56300
|
+
"x-fern-sdk-return-value": "connector_customers",
|
|
56301
|
+
"x-response-key": "connector_customers",
|
|
56302
|
+
"x-title": "List Connector Customers",
|
|
56303
|
+
"x-undocumented": "Internal endpoint for Console."
|
|
56304
|
+
}
|
|
56305
|
+
},
|
|
56123
56306
|
"/seam/customer/v1/connectors/authorize": {
|
|
56124
56307
|
get: {
|
|
56125
56308
|
description: "Returns the OAuth authorization URL for a global connector.\nThis endpoint only works for global connectors (connectors that support multiple customers).",
|
|
@@ -60450,6 +60633,7 @@ var openapi_default = {
|
|
|
60450
60633
|
},
|
|
60451
60634
|
type: "array"
|
|
60452
60635
|
},
|
|
60636
|
+
is_common_area: { type: "boolean" },
|
|
60453
60637
|
is_draft: { type: "boolean" },
|
|
60454
60638
|
name: { type: "string" },
|
|
60455
60639
|
needs_review: { type: "boolean" },
|
|
@@ -60547,6 +60731,7 @@ var openapi_default = {
|
|
|
60547
60731
|
},
|
|
60548
60732
|
type: "array"
|
|
60549
60733
|
},
|
|
60734
|
+
is_common_area: { type: "boolean" },
|
|
60550
60735
|
is_draft: { type: "boolean" },
|
|
60551
60736
|
name: { type: "string" },
|
|
60552
60737
|
needs_review: { type: "boolean" },
|
|
@@ -60591,6 +60776,754 @@ var openapi_default = {
|
|
|
60591
60776
|
"x-undocumented": "Partner building blocks/UI only."
|
|
60592
60777
|
}
|
|
60593
60778
|
},
|
|
60779
|
+
"/seam/v1/customers/push_data": {
|
|
60780
|
+
post: {
|
|
60781
|
+
description: "Pushes customer data including resources like spaces, properties, rooms, users, etc.\nThe customer_key is taken from the authenticated client session.",
|
|
60782
|
+
operationId: "seamV1CustomersPushDataPost",
|
|
60783
|
+
requestBody: {
|
|
60784
|
+
content: {
|
|
60785
|
+
"application/json": {
|
|
60786
|
+
schema: {
|
|
60787
|
+
properties: {
|
|
60788
|
+
access_grants: {
|
|
60789
|
+
description: "List of access grants.",
|
|
60790
|
+
items: {
|
|
60791
|
+
properties: {
|
|
60792
|
+
access_grant_key: {
|
|
60793
|
+
description: "Your unique identifier for the access grant.",
|
|
60794
|
+
minLength: 1,
|
|
60795
|
+
type: "string"
|
|
60796
|
+
},
|
|
60797
|
+
building_keys: {
|
|
60798
|
+
description: "Building keys associated with the access grant.",
|
|
60799
|
+
items: { type: "string" },
|
|
60800
|
+
type: "array"
|
|
60801
|
+
},
|
|
60802
|
+
common_area_keys: {
|
|
60803
|
+
description: "Common area keys associated with the access grant.",
|
|
60804
|
+
items: { type: "string" },
|
|
60805
|
+
type: "array"
|
|
60806
|
+
},
|
|
60807
|
+
ends_at: {
|
|
60808
|
+
description: "Ending date and time for the access grant.",
|
|
60809
|
+
format: "date-time",
|
|
60810
|
+
type: "string"
|
|
60811
|
+
},
|
|
60812
|
+
facility_keys: {
|
|
60813
|
+
description: "Facility keys associated with the access grant.",
|
|
60814
|
+
items: { type: "string" },
|
|
60815
|
+
type: "array"
|
|
60816
|
+
},
|
|
60817
|
+
guest_key: {
|
|
60818
|
+
description: "Guest key associated with the access grant.",
|
|
60819
|
+
type: "string"
|
|
60820
|
+
},
|
|
60821
|
+
listing_keys: {
|
|
60822
|
+
description: "Listing keys associated with the access grant.",
|
|
60823
|
+
items: { type: "string" },
|
|
60824
|
+
type: "array"
|
|
60825
|
+
},
|
|
60826
|
+
name: {
|
|
60827
|
+
description: "Your name for this access grant resource.",
|
|
60828
|
+
type: "string"
|
|
60829
|
+
},
|
|
60830
|
+
preferred_code: {
|
|
60831
|
+
description: "Preferred PIN code to use when creating access for this reservation.",
|
|
60832
|
+
type: "string"
|
|
60833
|
+
},
|
|
60834
|
+
property_keys: {
|
|
60835
|
+
description: "Property keys associated with the access grant.",
|
|
60836
|
+
items: { type: "string" },
|
|
60837
|
+
type: "array"
|
|
60838
|
+
},
|
|
60839
|
+
resident_key: {
|
|
60840
|
+
description: "Resident key associated with the access grant.",
|
|
60841
|
+
type: "string"
|
|
60842
|
+
},
|
|
60843
|
+
room_keys: {
|
|
60844
|
+
description: "Room keys associated with the access grant.",
|
|
60845
|
+
items: { type: "string" },
|
|
60846
|
+
type: "array"
|
|
60847
|
+
},
|
|
60848
|
+
space_keys: {
|
|
60849
|
+
description: "Space keys associated with the access grant.",
|
|
60850
|
+
items: { type: "string" },
|
|
60851
|
+
type: "array"
|
|
60852
|
+
},
|
|
60853
|
+
starts_at: {
|
|
60854
|
+
description: "Starting date and time for the access grant.",
|
|
60855
|
+
format: "date-time",
|
|
60856
|
+
type: "string"
|
|
60857
|
+
},
|
|
60858
|
+
tenant_key: {
|
|
60859
|
+
description: "Tenant key associated with the access grant.",
|
|
60860
|
+
type: "string"
|
|
60861
|
+
},
|
|
60862
|
+
unit_keys: {
|
|
60863
|
+
description: "Unit keys associated with the access grant.",
|
|
60864
|
+
items: { type: "string" },
|
|
60865
|
+
type: "array"
|
|
60866
|
+
},
|
|
60867
|
+
user_identity_key: {
|
|
60868
|
+
description: "User identity key associated with the access grant.",
|
|
60869
|
+
type: "string"
|
|
60870
|
+
},
|
|
60871
|
+
user_key: {
|
|
60872
|
+
description: "User key associated with the access grant.",
|
|
60873
|
+
type: "string"
|
|
60874
|
+
}
|
|
60875
|
+
},
|
|
60876
|
+
required: ["access_grant_key"],
|
|
60877
|
+
type: "object"
|
|
60878
|
+
},
|
|
60879
|
+
type: "array"
|
|
60880
|
+
},
|
|
60881
|
+
bookings: {
|
|
60882
|
+
description: "List of bookings.",
|
|
60883
|
+
items: {
|
|
60884
|
+
properties: {
|
|
60885
|
+
booking_key: {
|
|
60886
|
+
description: "Your unique identifier for the booking.",
|
|
60887
|
+
minLength: 1,
|
|
60888
|
+
type: "string"
|
|
60889
|
+
},
|
|
60890
|
+
building_keys: {
|
|
60891
|
+
description: "Building keys associated with the access grant.",
|
|
60892
|
+
items: { type: "string" },
|
|
60893
|
+
type: "array"
|
|
60894
|
+
},
|
|
60895
|
+
common_area_keys: {
|
|
60896
|
+
description: "Common area keys associated with the access grant.",
|
|
60897
|
+
items: { type: "string" },
|
|
60898
|
+
type: "array"
|
|
60899
|
+
},
|
|
60900
|
+
ends_at: {
|
|
60901
|
+
description: "Ending date and time for the access grant.",
|
|
60902
|
+
format: "date-time",
|
|
60903
|
+
type: "string"
|
|
60904
|
+
},
|
|
60905
|
+
facility_keys: {
|
|
60906
|
+
description: "Facility keys associated with the access grant.",
|
|
60907
|
+
items: { type: "string" },
|
|
60908
|
+
type: "array"
|
|
60909
|
+
},
|
|
60910
|
+
guest_key: {
|
|
60911
|
+
description: "Guest key associated with the access grant.",
|
|
60912
|
+
type: "string"
|
|
60913
|
+
},
|
|
60914
|
+
listing_keys: {
|
|
60915
|
+
description: "Listing keys associated with the access grant.",
|
|
60916
|
+
items: { type: "string" },
|
|
60917
|
+
type: "array"
|
|
60918
|
+
},
|
|
60919
|
+
name: {
|
|
60920
|
+
description: "Your name for this access grant resource.",
|
|
60921
|
+
type: "string"
|
|
60922
|
+
},
|
|
60923
|
+
preferred_code: {
|
|
60924
|
+
description: "Preferred PIN code to use when creating access for this reservation.",
|
|
60925
|
+
type: "string"
|
|
60926
|
+
},
|
|
60927
|
+
property_keys: {
|
|
60928
|
+
description: "Property keys associated with the access grant.",
|
|
60929
|
+
items: { type: "string" },
|
|
60930
|
+
type: "array"
|
|
60931
|
+
},
|
|
60932
|
+
resident_key: {
|
|
60933
|
+
description: "Resident key associated with the access grant.",
|
|
60934
|
+
type: "string"
|
|
60935
|
+
},
|
|
60936
|
+
room_keys: {
|
|
60937
|
+
description: "Room keys associated with the access grant.",
|
|
60938
|
+
items: { type: "string" },
|
|
60939
|
+
type: "array"
|
|
60940
|
+
},
|
|
60941
|
+
space_keys: {
|
|
60942
|
+
description: "Space keys associated with the access grant.",
|
|
60943
|
+
items: { type: "string" },
|
|
60944
|
+
type: "array"
|
|
60945
|
+
},
|
|
60946
|
+
starts_at: {
|
|
60947
|
+
description: "Starting date and time for the access grant.",
|
|
60948
|
+
format: "date-time",
|
|
60949
|
+
type: "string"
|
|
60950
|
+
},
|
|
60951
|
+
tenant_key: {
|
|
60952
|
+
description: "Tenant key associated with the access grant.",
|
|
60953
|
+
type: "string"
|
|
60954
|
+
},
|
|
60955
|
+
unit_keys: {
|
|
60956
|
+
description: "Unit keys associated with the access grant.",
|
|
60957
|
+
items: { type: "string" },
|
|
60958
|
+
type: "array"
|
|
60959
|
+
},
|
|
60960
|
+
user_identity_key: {
|
|
60961
|
+
description: "User identity key associated with the access grant.",
|
|
60962
|
+
type: "string"
|
|
60963
|
+
},
|
|
60964
|
+
user_key: {
|
|
60965
|
+
description: "User key associated with the access grant.",
|
|
60966
|
+
type: "string"
|
|
60967
|
+
}
|
|
60968
|
+
},
|
|
60969
|
+
required: ["booking_key"],
|
|
60970
|
+
type: "object"
|
|
60971
|
+
},
|
|
60972
|
+
type: "array"
|
|
60973
|
+
},
|
|
60974
|
+
buildings: {
|
|
60975
|
+
description: "List of buildings.",
|
|
60976
|
+
items: {
|
|
60977
|
+
properties: {
|
|
60978
|
+
building_key: {
|
|
60979
|
+
description: "Your unique identifier for the building.",
|
|
60980
|
+
minLength: 1,
|
|
60981
|
+
type: "string"
|
|
60982
|
+
},
|
|
60983
|
+
name: {
|
|
60984
|
+
description: "Your display name for this location resource.",
|
|
60985
|
+
type: "string"
|
|
60986
|
+
}
|
|
60987
|
+
},
|
|
60988
|
+
required: ["name", "building_key"],
|
|
60989
|
+
type: "object"
|
|
60990
|
+
},
|
|
60991
|
+
type: "array"
|
|
60992
|
+
},
|
|
60993
|
+
common_areas: {
|
|
60994
|
+
description: "List of shared common areas.",
|
|
60995
|
+
items: {
|
|
60996
|
+
properties: {
|
|
60997
|
+
common_area_key: {
|
|
60998
|
+
description: "Your unique identifier for the common area.",
|
|
60999
|
+
minLength: 1,
|
|
61000
|
+
type: "string"
|
|
61001
|
+
},
|
|
61002
|
+
name: {
|
|
61003
|
+
description: "Your display name for this location resource.",
|
|
61004
|
+
type: "string"
|
|
61005
|
+
},
|
|
61006
|
+
parent_site_key: {
|
|
61007
|
+
description: "Your unique identifier for the site.",
|
|
61008
|
+
minLength: 1,
|
|
61009
|
+
type: "string"
|
|
61010
|
+
}
|
|
61011
|
+
},
|
|
61012
|
+
required: ["name", "common_area_key"],
|
|
61013
|
+
type: "object"
|
|
61014
|
+
},
|
|
61015
|
+
type: "array"
|
|
61016
|
+
},
|
|
61017
|
+
facilities: {
|
|
61018
|
+
description: "List of gym or fitness facilities.",
|
|
61019
|
+
items: {
|
|
61020
|
+
properties: {
|
|
61021
|
+
facility_key: {
|
|
61022
|
+
description: "Your unique identifier for the facility.",
|
|
61023
|
+
minLength: 1,
|
|
61024
|
+
type: "string"
|
|
61025
|
+
},
|
|
61026
|
+
name: {
|
|
61027
|
+
description: "Your display name for this location resource.",
|
|
61028
|
+
type: "string"
|
|
61029
|
+
}
|
|
61030
|
+
},
|
|
61031
|
+
required: ["name", "facility_key"],
|
|
61032
|
+
type: "object"
|
|
61033
|
+
},
|
|
61034
|
+
type: "array"
|
|
61035
|
+
},
|
|
61036
|
+
guests: {
|
|
61037
|
+
description: "List of guests.",
|
|
61038
|
+
items: {
|
|
61039
|
+
properties: {
|
|
61040
|
+
email_address: {
|
|
61041
|
+
description: "Email address associated with the user identity.",
|
|
61042
|
+
type: "string"
|
|
61043
|
+
},
|
|
61044
|
+
guest_key: {
|
|
61045
|
+
description: "Your unique identifier for the guest.",
|
|
61046
|
+
minLength: 1,
|
|
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
|
+
},
|
|
61058
|
+
required: ["name", "guest_key"],
|
|
61059
|
+
type: "object"
|
|
61060
|
+
},
|
|
61061
|
+
type: "array"
|
|
61062
|
+
},
|
|
61063
|
+
listings: {
|
|
61064
|
+
description: "List of property listings.",
|
|
61065
|
+
items: {
|
|
61066
|
+
properties: {
|
|
61067
|
+
listing_key: {
|
|
61068
|
+
description: "Your unique identifier for the listing.",
|
|
61069
|
+
minLength: 1,
|
|
61070
|
+
type: "string"
|
|
61071
|
+
},
|
|
61072
|
+
name: {
|
|
61073
|
+
description: "Your display name for this location resource.",
|
|
61074
|
+
type: "string"
|
|
61075
|
+
}
|
|
61076
|
+
},
|
|
61077
|
+
required: ["name", "listing_key"],
|
|
61078
|
+
type: "object"
|
|
61079
|
+
},
|
|
61080
|
+
type: "array"
|
|
61081
|
+
},
|
|
61082
|
+
properties: {
|
|
61083
|
+
description: "List of short-term rental properties.",
|
|
61084
|
+
items: {
|
|
61085
|
+
properties: {
|
|
61086
|
+
name: {
|
|
61087
|
+
description: "Your display name for this location resource.",
|
|
61088
|
+
type: "string"
|
|
61089
|
+
},
|
|
61090
|
+
property_key: {
|
|
61091
|
+
description: "Your unique identifier for the property.",
|
|
61092
|
+
minLength: 1,
|
|
61093
|
+
type: "string"
|
|
61094
|
+
}
|
|
61095
|
+
},
|
|
61096
|
+
required: ["name", "property_key"],
|
|
61097
|
+
type: "object"
|
|
61098
|
+
},
|
|
61099
|
+
type: "array"
|
|
61100
|
+
},
|
|
61101
|
+
property_listings: {
|
|
61102
|
+
description: "List of property listings.",
|
|
61103
|
+
items: {
|
|
61104
|
+
properties: {
|
|
61105
|
+
custom_metadata: {
|
|
61106
|
+
additionalProperties: {
|
|
61107
|
+
nullable: true,
|
|
61108
|
+
oneOf: [
|
|
61109
|
+
{ maxLength: 500, type: "string" },
|
|
61110
|
+
{ type: "boolean" }
|
|
61111
|
+
]
|
|
61112
|
+
},
|
|
61113
|
+
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.",
|
|
61114
|
+
type: "object"
|
|
61115
|
+
},
|
|
61116
|
+
name: {
|
|
61117
|
+
description: "Your display name for this location resource.",
|
|
61118
|
+
type: "string"
|
|
61119
|
+
},
|
|
61120
|
+
property_listing_key: {
|
|
61121
|
+
description: "Your unique identifier for the property listing.",
|
|
61122
|
+
minLength: 1,
|
|
61123
|
+
type: "string"
|
|
61124
|
+
}
|
|
61125
|
+
},
|
|
61126
|
+
required: ["name", "property_listing_key"],
|
|
61127
|
+
type: "object"
|
|
61128
|
+
},
|
|
61129
|
+
type: "array"
|
|
61130
|
+
},
|
|
61131
|
+
reservations: {
|
|
61132
|
+
description: "List of reservations.",
|
|
61133
|
+
items: {
|
|
61134
|
+
properties: {
|
|
61135
|
+
building_keys: {
|
|
61136
|
+
description: "Building keys associated with the access grant.",
|
|
61137
|
+
items: { type: "string" },
|
|
61138
|
+
type: "array"
|
|
61139
|
+
},
|
|
61140
|
+
common_area_keys: {
|
|
61141
|
+
description: "Common area keys associated with the access grant.",
|
|
61142
|
+
items: { type: "string" },
|
|
61143
|
+
type: "array"
|
|
61144
|
+
},
|
|
61145
|
+
ends_at: {
|
|
61146
|
+
description: "Ending date and time for the access grant.",
|
|
61147
|
+
format: "date-time",
|
|
61148
|
+
type: "string"
|
|
61149
|
+
},
|
|
61150
|
+
facility_keys: {
|
|
61151
|
+
description: "Facility keys associated with the access grant.",
|
|
61152
|
+
items: { type: "string" },
|
|
61153
|
+
type: "array"
|
|
61154
|
+
},
|
|
61155
|
+
guest_key: {
|
|
61156
|
+
description: "Guest key associated with the access grant.",
|
|
61157
|
+
type: "string"
|
|
61158
|
+
},
|
|
61159
|
+
listing_keys: {
|
|
61160
|
+
description: "Listing keys associated with the access grant.",
|
|
61161
|
+
items: { type: "string" },
|
|
61162
|
+
type: "array"
|
|
61163
|
+
},
|
|
61164
|
+
name: {
|
|
61165
|
+
description: "Your name for this access grant resource.",
|
|
61166
|
+
type: "string"
|
|
61167
|
+
},
|
|
61168
|
+
preferred_code: {
|
|
61169
|
+
description: "Preferred PIN code to use when creating access for this reservation.",
|
|
61170
|
+
type: "string"
|
|
61171
|
+
},
|
|
61172
|
+
property_keys: {
|
|
61173
|
+
description: "Property keys associated with the access grant.",
|
|
61174
|
+
items: { type: "string" },
|
|
61175
|
+
type: "array"
|
|
61176
|
+
},
|
|
61177
|
+
reservation_key: {
|
|
61178
|
+
description: "Your unique identifier for the reservation.",
|
|
61179
|
+
minLength: 1,
|
|
61180
|
+
type: "string"
|
|
61181
|
+
},
|
|
61182
|
+
resident_key: {
|
|
61183
|
+
description: "Resident key associated with the access grant.",
|
|
61184
|
+
type: "string"
|
|
61185
|
+
},
|
|
61186
|
+
room_keys: {
|
|
61187
|
+
description: "Room keys associated with the access grant.",
|
|
61188
|
+
items: { type: "string" },
|
|
61189
|
+
type: "array"
|
|
61190
|
+
},
|
|
61191
|
+
space_keys: {
|
|
61192
|
+
description: "Space keys associated with the access grant.",
|
|
61193
|
+
items: { type: "string" },
|
|
61194
|
+
type: "array"
|
|
61195
|
+
},
|
|
61196
|
+
starts_at: {
|
|
61197
|
+
description: "Starting date and time for the access grant.",
|
|
61198
|
+
format: "date-time",
|
|
61199
|
+
type: "string"
|
|
61200
|
+
},
|
|
61201
|
+
tenant_key: {
|
|
61202
|
+
description: "Tenant key associated with the access grant.",
|
|
61203
|
+
type: "string"
|
|
61204
|
+
},
|
|
61205
|
+
unit_keys: {
|
|
61206
|
+
description: "Unit keys associated with the access grant.",
|
|
61207
|
+
items: { type: "string" },
|
|
61208
|
+
type: "array"
|
|
61209
|
+
},
|
|
61210
|
+
user_identity_key: {
|
|
61211
|
+
description: "User identity key associated with the access grant.",
|
|
61212
|
+
type: "string"
|
|
61213
|
+
},
|
|
61214
|
+
user_key: {
|
|
61215
|
+
description: "User key associated with the access grant.",
|
|
61216
|
+
type: "string"
|
|
61217
|
+
}
|
|
61218
|
+
},
|
|
61219
|
+
required: ["reservation_key"],
|
|
61220
|
+
type: "object"
|
|
61221
|
+
},
|
|
61222
|
+
type: "array"
|
|
61223
|
+
},
|
|
61224
|
+
residents: {
|
|
61225
|
+
description: "List of residents.",
|
|
61226
|
+
items: {
|
|
61227
|
+
properties: {
|
|
61228
|
+
email_address: {
|
|
61229
|
+
description: "Email address associated with the user identity.",
|
|
61230
|
+
type: "string"
|
|
61231
|
+
},
|
|
61232
|
+
name: {
|
|
61233
|
+
description: "Your display name for this user identity resource.",
|
|
61234
|
+
type: "string"
|
|
61235
|
+
},
|
|
61236
|
+
phone_number: {
|
|
61237
|
+
description: "Phone number associated with the user identity.",
|
|
61238
|
+
type: "string"
|
|
61239
|
+
},
|
|
61240
|
+
resident_key: {
|
|
61241
|
+
description: "Your unique identifier for the resident.",
|
|
61242
|
+
minLength: 1,
|
|
61243
|
+
type: "string"
|
|
61244
|
+
}
|
|
61245
|
+
},
|
|
61246
|
+
required: ["name", "resident_key"],
|
|
61247
|
+
type: "object"
|
|
61248
|
+
},
|
|
61249
|
+
type: "array"
|
|
61250
|
+
},
|
|
61251
|
+
rooms: {
|
|
61252
|
+
description: "List of hotel or hospitality rooms.",
|
|
61253
|
+
items: {
|
|
61254
|
+
properties: {
|
|
61255
|
+
name: {
|
|
61256
|
+
description: "Your display name for this location resource.",
|
|
61257
|
+
type: "string"
|
|
61258
|
+
},
|
|
61259
|
+
parent_site_key: {
|
|
61260
|
+
description: "Your unique identifier for the site.",
|
|
61261
|
+
minLength: 1,
|
|
61262
|
+
type: "string"
|
|
61263
|
+
},
|
|
61264
|
+
room_key: {
|
|
61265
|
+
description: "Your unique identifier for the room.",
|
|
61266
|
+
minLength: 1,
|
|
61267
|
+
type: "string"
|
|
61268
|
+
}
|
|
61269
|
+
},
|
|
61270
|
+
required: ["name", "room_key"],
|
|
61271
|
+
type: "object"
|
|
61272
|
+
},
|
|
61273
|
+
type: "array"
|
|
61274
|
+
},
|
|
61275
|
+
sites: {
|
|
61276
|
+
description: "List of general sites or areas.",
|
|
61277
|
+
items: {
|
|
61278
|
+
properties: {
|
|
61279
|
+
name: {
|
|
61280
|
+
description: "Your display name for this location resource.",
|
|
61281
|
+
type: "string"
|
|
61282
|
+
},
|
|
61283
|
+
site_key: {
|
|
61284
|
+
description: "Your unique identifier for the site.",
|
|
61285
|
+
minLength: 1,
|
|
61286
|
+
type: "string"
|
|
61287
|
+
}
|
|
61288
|
+
},
|
|
61289
|
+
required: ["name", "site_key"],
|
|
61290
|
+
type: "object"
|
|
61291
|
+
},
|
|
61292
|
+
type: "array"
|
|
61293
|
+
},
|
|
61294
|
+
spaces: {
|
|
61295
|
+
description: "List of general spaces or areas.",
|
|
61296
|
+
items: {
|
|
61297
|
+
properties: {
|
|
61298
|
+
name: {
|
|
61299
|
+
description: "Your display name for this location resource.",
|
|
61300
|
+
type: "string"
|
|
61301
|
+
},
|
|
61302
|
+
space_key: {
|
|
61303
|
+
description: "Your unique identifier for the space.",
|
|
61304
|
+
minLength: 1,
|
|
61305
|
+
type: "string"
|
|
61306
|
+
}
|
|
61307
|
+
},
|
|
61308
|
+
required: ["name", "space_key"],
|
|
61309
|
+
type: "object"
|
|
61310
|
+
},
|
|
61311
|
+
type: "array"
|
|
61312
|
+
},
|
|
61313
|
+
staff_members: {
|
|
61314
|
+
description: "List of staff members.",
|
|
61315
|
+
items: {
|
|
61316
|
+
description: "Represents a staff member for a specific customer.",
|
|
61317
|
+
properties: {
|
|
61318
|
+
building_keys: {
|
|
61319
|
+
description: "List of unique identifiers for the buildings the staff member is associated with.",
|
|
61320
|
+
items: { type: "string" },
|
|
61321
|
+
type: "array"
|
|
61322
|
+
},
|
|
61323
|
+
common_area_keys: {
|
|
61324
|
+
description: "List of unique identifiers for the common areas the staff member is associated with.",
|
|
61325
|
+
items: { type: "string" },
|
|
61326
|
+
type: "array"
|
|
61327
|
+
},
|
|
61328
|
+
email_address: {
|
|
61329
|
+
description: "Email address associated with the user identity.",
|
|
61330
|
+
type: "string"
|
|
61331
|
+
},
|
|
61332
|
+
facility_keys: {
|
|
61333
|
+
description: "List of unique identifiers for the facilities the staff member is associated with.",
|
|
61334
|
+
items: { type: "string" },
|
|
61335
|
+
type: "array"
|
|
61336
|
+
},
|
|
61337
|
+
listing_keys: {
|
|
61338
|
+
description: "List of unique identifiers for the listings the staff member is associated with.",
|
|
61339
|
+
items: { type: "string" },
|
|
61340
|
+
type: "array"
|
|
61341
|
+
},
|
|
61342
|
+
name: {
|
|
61343
|
+
description: "Your display name for this user identity resource.",
|
|
61344
|
+
type: "string"
|
|
61345
|
+
},
|
|
61346
|
+
phone_number: {
|
|
61347
|
+
description: "Phone number associated with the user identity.",
|
|
61348
|
+
type: "string"
|
|
61349
|
+
},
|
|
61350
|
+
property_keys: {
|
|
61351
|
+
description: "List of unique identifiers for the properties the staff member is associated with.",
|
|
61352
|
+
items: { type: "string" },
|
|
61353
|
+
type: "array"
|
|
61354
|
+
},
|
|
61355
|
+
property_listing_keys: {
|
|
61356
|
+
description: "List of unique identifiers for the property listings the staff member is associated with.",
|
|
61357
|
+
items: { type: "string" },
|
|
61358
|
+
type: "array"
|
|
61359
|
+
},
|
|
61360
|
+
room_keys: {
|
|
61361
|
+
description: "List of unique identifiers for the rooms the staff member is associated with.",
|
|
61362
|
+
items: { type: "string" },
|
|
61363
|
+
type: "array"
|
|
61364
|
+
},
|
|
61365
|
+
site_keys: {
|
|
61366
|
+
description: "List of unique identifiers for the sites the staff member is associated with.",
|
|
61367
|
+
items: { type: "string" },
|
|
61368
|
+
type: "array"
|
|
61369
|
+
},
|
|
61370
|
+
space_keys: {
|
|
61371
|
+
description: "List of unique identifiers for the spaces the staff member is associated with.",
|
|
61372
|
+
items: { type: "string" },
|
|
61373
|
+
type: "array"
|
|
61374
|
+
},
|
|
61375
|
+
staff_member_key: {
|
|
61376
|
+
description: "Your unique identifier for the staff.",
|
|
61377
|
+
type: "string"
|
|
61378
|
+
},
|
|
61379
|
+
unit_keys: {
|
|
61380
|
+
description: "List of unique identifiers for the units the staff member is associated with.",
|
|
61381
|
+
items: { type: "string" },
|
|
61382
|
+
type: "array"
|
|
61383
|
+
}
|
|
61384
|
+
},
|
|
61385
|
+
required: ["name", "staff_member_key"],
|
|
61386
|
+
type: "object",
|
|
61387
|
+
"x-route-path": "/seam/customer/v1/staff_members"
|
|
61388
|
+
},
|
|
61389
|
+
type: "array"
|
|
61390
|
+
},
|
|
61391
|
+
tenants: {
|
|
61392
|
+
description: "List of tenants.",
|
|
61393
|
+
items: {
|
|
61394
|
+
properties: {
|
|
61395
|
+
email_address: {
|
|
61396
|
+
description: "Email address associated with the user identity.",
|
|
61397
|
+
type: "string"
|
|
61398
|
+
},
|
|
61399
|
+
name: {
|
|
61400
|
+
description: "Your display name for this user identity resource.",
|
|
61401
|
+
type: "string"
|
|
61402
|
+
},
|
|
61403
|
+
phone_number: {
|
|
61404
|
+
description: "Phone number associated with the user identity.",
|
|
61405
|
+
type: "string"
|
|
61406
|
+
},
|
|
61407
|
+
tenant_key: {
|
|
61408
|
+
description: "Your unique identifier for the tenant.",
|
|
61409
|
+
minLength: 1,
|
|
61410
|
+
type: "string"
|
|
61411
|
+
}
|
|
61412
|
+
},
|
|
61413
|
+
required: ["name", "tenant_key"],
|
|
61414
|
+
type: "object"
|
|
61415
|
+
},
|
|
61416
|
+
type: "array"
|
|
61417
|
+
},
|
|
61418
|
+
units: {
|
|
61419
|
+
description: "List of multi-family residential units.",
|
|
61420
|
+
items: {
|
|
61421
|
+
properties: {
|
|
61422
|
+
name: {
|
|
61423
|
+
description: "Your display name for this location resource.",
|
|
61424
|
+
type: "string"
|
|
61425
|
+
},
|
|
61426
|
+
parent_site_key: {
|
|
61427
|
+
description: "Your unique identifier for the site.",
|
|
61428
|
+
minLength: 1,
|
|
61429
|
+
type: "string"
|
|
61430
|
+
},
|
|
61431
|
+
unit_key: {
|
|
61432
|
+
description: "Your unique identifier for the unit.",
|
|
61433
|
+
minLength: 1,
|
|
61434
|
+
type: "string"
|
|
61435
|
+
}
|
|
61436
|
+
},
|
|
61437
|
+
required: ["name", "unit_key"],
|
|
61438
|
+
type: "object"
|
|
61439
|
+
},
|
|
61440
|
+
type: "array"
|
|
61441
|
+
},
|
|
61442
|
+
user_identities: {
|
|
61443
|
+
description: "List of user identities.",
|
|
61444
|
+
items: {
|
|
61445
|
+
properties: {
|
|
61446
|
+
email_address: {
|
|
61447
|
+
description: "Email address associated with the user identity.",
|
|
61448
|
+
type: "string"
|
|
61449
|
+
},
|
|
61450
|
+
name: {
|
|
61451
|
+
description: "Your display name for this user identity resource.",
|
|
61452
|
+
type: "string"
|
|
61453
|
+
},
|
|
61454
|
+
phone_number: {
|
|
61455
|
+
description: "Phone number associated with the user identity.",
|
|
61456
|
+
type: "string"
|
|
61457
|
+
},
|
|
61458
|
+
user_identity_key: {
|
|
61459
|
+
description: "Your unique identifier for the user identity.",
|
|
61460
|
+
minLength: 1,
|
|
61461
|
+
type: "string"
|
|
61462
|
+
}
|
|
61463
|
+
},
|
|
61464
|
+
required: ["name", "user_identity_key"],
|
|
61465
|
+
type: "object"
|
|
61466
|
+
},
|
|
61467
|
+
type: "array"
|
|
61468
|
+
},
|
|
61469
|
+
users: {
|
|
61470
|
+
description: "List of users.",
|
|
61471
|
+
items: {
|
|
61472
|
+
properties: {
|
|
61473
|
+
email_address: {
|
|
61474
|
+
description: "Email address associated with the user identity.",
|
|
61475
|
+
type: "string"
|
|
61476
|
+
},
|
|
61477
|
+
name: {
|
|
61478
|
+
description: "Your display name for this user identity resource.",
|
|
61479
|
+
type: "string"
|
|
61480
|
+
},
|
|
61481
|
+
phone_number: {
|
|
61482
|
+
description: "Phone number associated with the user identity.",
|
|
61483
|
+
type: "string"
|
|
61484
|
+
},
|
|
61485
|
+
user_key: {
|
|
61486
|
+
description: "Your unique identifier for the user.",
|
|
61487
|
+
minLength: 1,
|
|
61488
|
+
type: "string"
|
|
61489
|
+
}
|
|
61490
|
+
},
|
|
61491
|
+
required: ["name", "user_key"],
|
|
61492
|
+
type: "object"
|
|
61493
|
+
},
|
|
61494
|
+
type: "array"
|
|
61495
|
+
}
|
|
61496
|
+
},
|
|
61497
|
+
type: "object"
|
|
61498
|
+
}
|
|
61499
|
+
}
|
|
61500
|
+
}
|
|
61501
|
+
},
|
|
61502
|
+
responses: {
|
|
61503
|
+
200: {
|
|
61504
|
+
content: {
|
|
61505
|
+
"application/json": {
|
|
61506
|
+
schema: {
|
|
61507
|
+
properties: { ok: { type: "boolean" } },
|
|
61508
|
+
required: ["ok"],
|
|
61509
|
+
type: "object"
|
|
61510
|
+
}
|
|
61511
|
+
}
|
|
61512
|
+
},
|
|
61513
|
+
description: "OK"
|
|
61514
|
+
},
|
|
61515
|
+
400: { description: "Bad Request" },
|
|
61516
|
+
401: { description: "Unauthorized" }
|
|
61517
|
+
},
|
|
61518
|
+
security: [{ client_session_with_customer: [] }],
|
|
61519
|
+
summary: "/seam/v1/customers/push_data",
|
|
61520
|
+
tags: [],
|
|
61521
|
+
"x-fern-sdk-group-name": ["seam", "v1", "customers"],
|
|
61522
|
+
"x-fern-sdk-method-name": "push_data",
|
|
61523
|
+
"x-response-key": null,
|
|
61524
|
+
"x-title": "Push Customer Data"
|
|
61525
|
+
}
|
|
61526
|
+
},
|
|
60594
61527
|
"/spaces/add_acs_entrances": {
|
|
60595
61528
|
post: {
|
|
60596
61529
|
description: "Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific space.",
|