@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
|
@@ -58890,6 +58890,7 @@ export default {
|
|
|
58890
58890
|
},
|
|
58891
58891
|
type: 'array',
|
|
58892
58892
|
},
|
|
58893
|
+
is_common_area: { type: 'boolean' },
|
|
58893
58894
|
is_draft: { type: 'boolean' },
|
|
58894
58895
|
name: { type: 'string' },
|
|
58895
58896
|
needs_review: { type: 'boolean' },
|
|
@@ -58988,6 +58989,7 @@ export default {
|
|
|
58988
58989
|
},
|
|
58989
58990
|
type: 'array',
|
|
58990
58991
|
},
|
|
58992
|
+
is_common_area: { type: 'boolean' },
|
|
58991
58993
|
is_draft: { type: 'boolean' },
|
|
58992
58994
|
name: { type: 'string' },
|
|
58993
58995
|
needs_review: { type: 'boolean' },
|
|
@@ -59032,6 +59034,857 @@ export default {
|
|
|
59032
59034
|
'x-undocumented': 'Partner building blocks/UI only.',
|
|
59033
59035
|
},
|
|
59034
59036
|
},
|
|
59037
|
+
'/seam/v1/customers/push_data': {
|
|
59038
|
+
post: {
|
|
59039
|
+
description:
|
|
59040
|
+
'Pushes customer data including resources like spaces, properties, rooms, users, etc.\nThe customer_key is taken from the authenticated client session.',
|
|
59041
|
+
operationId: 'seamV1CustomersPushDataPost',
|
|
59042
|
+
requestBody: {
|
|
59043
|
+
content: {
|
|
59044
|
+
'application/json': {
|
|
59045
|
+
schema: {
|
|
59046
|
+
properties: {
|
|
59047
|
+
access_grants: {
|
|
59048
|
+
description: 'List of access grants.',
|
|
59049
|
+
items: {
|
|
59050
|
+
properties: {
|
|
59051
|
+
access_grant_key: {
|
|
59052
|
+
description:
|
|
59053
|
+
'Your unique identifier for the access grant.',
|
|
59054
|
+
minLength: 1,
|
|
59055
|
+
type: 'string',
|
|
59056
|
+
},
|
|
59057
|
+
building_keys: {
|
|
59058
|
+
description:
|
|
59059
|
+
'Building keys associated with the access grant.',
|
|
59060
|
+
items: { type: 'string' },
|
|
59061
|
+
type: 'array',
|
|
59062
|
+
},
|
|
59063
|
+
common_area_keys: {
|
|
59064
|
+
description:
|
|
59065
|
+
'Common area keys associated with the access grant.',
|
|
59066
|
+
items: { type: 'string' },
|
|
59067
|
+
type: 'array',
|
|
59068
|
+
},
|
|
59069
|
+
ends_at: {
|
|
59070
|
+
description:
|
|
59071
|
+
'Ending date and time for the access grant.',
|
|
59072
|
+
format: 'date-time',
|
|
59073
|
+
type: 'string',
|
|
59074
|
+
},
|
|
59075
|
+
facility_keys: {
|
|
59076
|
+
description:
|
|
59077
|
+
'Facility keys associated with the access grant.',
|
|
59078
|
+
items: { type: 'string' },
|
|
59079
|
+
type: 'array',
|
|
59080
|
+
},
|
|
59081
|
+
guest_key: {
|
|
59082
|
+
description:
|
|
59083
|
+
'Guest key associated with the access grant.',
|
|
59084
|
+
type: 'string',
|
|
59085
|
+
},
|
|
59086
|
+
listing_keys: {
|
|
59087
|
+
description:
|
|
59088
|
+
'Listing keys associated with the access grant.',
|
|
59089
|
+
items: { type: 'string' },
|
|
59090
|
+
type: 'array',
|
|
59091
|
+
},
|
|
59092
|
+
name: {
|
|
59093
|
+
description:
|
|
59094
|
+
'Your name for this access grant resource.',
|
|
59095
|
+
type: 'string',
|
|
59096
|
+
},
|
|
59097
|
+
preferred_code: {
|
|
59098
|
+
description:
|
|
59099
|
+
'Preferred PIN code to use when creating access for this reservation.',
|
|
59100
|
+
type: 'string',
|
|
59101
|
+
},
|
|
59102
|
+
property_keys: {
|
|
59103
|
+
description:
|
|
59104
|
+
'Property keys associated with the access grant.',
|
|
59105
|
+
items: { type: 'string' },
|
|
59106
|
+
type: 'array',
|
|
59107
|
+
},
|
|
59108
|
+
resident_key: {
|
|
59109
|
+
description:
|
|
59110
|
+
'Resident key associated with the access grant.',
|
|
59111
|
+
type: 'string',
|
|
59112
|
+
},
|
|
59113
|
+
room_keys: {
|
|
59114
|
+
description:
|
|
59115
|
+
'Room keys associated with the access grant.',
|
|
59116
|
+
items: { type: 'string' },
|
|
59117
|
+
type: 'array',
|
|
59118
|
+
},
|
|
59119
|
+
space_keys: {
|
|
59120
|
+
description:
|
|
59121
|
+
'Space keys associated with the access grant.',
|
|
59122
|
+
items: { type: 'string' },
|
|
59123
|
+
type: 'array',
|
|
59124
|
+
},
|
|
59125
|
+
starts_at: {
|
|
59126
|
+
description:
|
|
59127
|
+
'Starting date and time for the access grant.',
|
|
59128
|
+
format: 'date-time',
|
|
59129
|
+
type: 'string',
|
|
59130
|
+
},
|
|
59131
|
+
tenant_key: {
|
|
59132
|
+
description:
|
|
59133
|
+
'Tenant key associated with the access grant.',
|
|
59134
|
+
type: 'string',
|
|
59135
|
+
},
|
|
59136
|
+
unit_keys: {
|
|
59137
|
+
description:
|
|
59138
|
+
'Unit keys associated with the access grant.',
|
|
59139
|
+
items: { type: 'string' },
|
|
59140
|
+
type: 'array',
|
|
59141
|
+
},
|
|
59142
|
+
user_identity_key: {
|
|
59143
|
+
description:
|
|
59144
|
+
'User identity key associated with the access grant.',
|
|
59145
|
+
type: 'string',
|
|
59146
|
+
},
|
|
59147
|
+
user_key: {
|
|
59148
|
+
description:
|
|
59149
|
+
'User key associated with the access grant.',
|
|
59150
|
+
type: 'string',
|
|
59151
|
+
},
|
|
59152
|
+
},
|
|
59153
|
+
required: ['access_grant_key'],
|
|
59154
|
+
type: 'object',
|
|
59155
|
+
},
|
|
59156
|
+
type: 'array',
|
|
59157
|
+
},
|
|
59158
|
+
bookings: {
|
|
59159
|
+
description: 'List of bookings.',
|
|
59160
|
+
items: {
|
|
59161
|
+
properties: {
|
|
59162
|
+
booking_key: {
|
|
59163
|
+
description:
|
|
59164
|
+
'Your unique identifier for the booking.',
|
|
59165
|
+
minLength: 1,
|
|
59166
|
+
type: 'string',
|
|
59167
|
+
},
|
|
59168
|
+
building_keys: {
|
|
59169
|
+
description:
|
|
59170
|
+
'Building keys associated with the access grant.',
|
|
59171
|
+
items: { type: 'string' },
|
|
59172
|
+
type: 'array',
|
|
59173
|
+
},
|
|
59174
|
+
common_area_keys: {
|
|
59175
|
+
description:
|
|
59176
|
+
'Common area keys associated with the access grant.',
|
|
59177
|
+
items: { type: 'string' },
|
|
59178
|
+
type: 'array',
|
|
59179
|
+
},
|
|
59180
|
+
ends_at: {
|
|
59181
|
+
description:
|
|
59182
|
+
'Ending date and time for the access grant.',
|
|
59183
|
+
format: 'date-time',
|
|
59184
|
+
type: 'string',
|
|
59185
|
+
},
|
|
59186
|
+
facility_keys: {
|
|
59187
|
+
description:
|
|
59188
|
+
'Facility keys associated with the access grant.',
|
|
59189
|
+
items: { type: 'string' },
|
|
59190
|
+
type: 'array',
|
|
59191
|
+
},
|
|
59192
|
+
guest_key: {
|
|
59193
|
+
description:
|
|
59194
|
+
'Guest key associated with the access grant.',
|
|
59195
|
+
type: 'string',
|
|
59196
|
+
},
|
|
59197
|
+
listing_keys: {
|
|
59198
|
+
description:
|
|
59199
|
+
'Listing keys associated with the access grant.',
|
|
59200
|
+
items: { type: 'string' },
|
|
59201
|
+
type: 'array',
|
|
59202
|
+
},
|
|
59203
|
+
name: {
|
|
59204
|
+
description:
|
|
59205
|
+
'Your name for this access grant resource.',
|
|
59206
|
+
type: 'string',
|
|
59207
|
+
},
|
|
59208
|
+
preferred_code: {
|
|
59209
|
+
description:
|
|
59210
|
+
'Preferred PIN code to use when creating access for this reservation.',
|
|
59211
|
+
type: 'string',
|
|
59212
|
+
},
|
|
59213
|
+
property_keys: {
|
|
59214
|
+
description:
|
|
59215
|
+
'Property keys associated with the access grant.',
|
|
59216
|
+
items: { type: 'string' },
|
|
59217
|
+
type: 'array',
|
|
59218
|
+
},
|
|
59219
|
+
resident_key: {
|
|
59220
|
+
description:
|
|
59221
|
+
'Resident key associated with the access grant.',
|
|
59222
|
+
type: 'string',
|
|
59223
|
+
},
|
|
59224
|
+
room_keys: {
|
|
59225
|
+
description:
|
|
59226
|
+
'Room keys associated with the access grant.',
|
|
59227
|
+
items: { type: 'string' },
|
|
59228
|
+
type: 'array',
|
|
59229
|
+
},
|
|
59230
|
+
space_keys: {
|
|
59231
|
+
description:
|
|
59232
|
+
'Space keys associated with the access grant.',
|
|
59233
|
+
items: { type: 'string' },
|
|
59234
|
+
type: 'array',
|
|
59235
|
+
},
|
|
59236
|
+
starts_at: {
|
|
59237
|
+
description:
|
|
59238
|
+
'Starting date and time for the access grant.',
|
|
59239
|
+
format: 'date-time',
|
|
59240
|
+
type: 'string',
|
|
59241
|
+
},
|
|
59242
|
+
tenant_key: {
|
|
59243
|
+
description:
|
|
59244
|
+
'Tenant key associated with the access grant.',
|
|
59245
|
+
type: 'string',
|
|
59246
|
+
},
|
|
59247
|
+
unit_keys: {
|
|
59248
|
+
description:
|
|
59249
|
+
'Unit keys associated with the access grant.',
|
|
59250
|
+
items: { type: 'string' },
|
|
59251
|
+
type: 'array',
|
|
59252
|
+
},
|
|
59253
|
+
user_identity_key: {
|
|
59254
|
+
description:
|
|
59255
|
+
'User identity key associated with the access grant.',
|
|
59256
|
+
type: 'string',
|
|
59257
|
+
},
|
|
59258
|
+
user_key: {
|
|
59259
|
+
description:
|
|
59260
|
+
'User key associated with the access grant.',
|
|
59261
|
+
type: 'string',
|
|
59262
|
+
},
|
|
59263
|
+
},
|
|
59264
|
+
required: ['booking_key'],
|
|
59265
|
+
type: 'object',
|
|
59266
|
+
},
|
|
59267
|
+
type: 'array',
|
|
59268
|
+
},
|
|
59269
|
+
buildings: {
|
|
59270
|
+
description: 'List of buildings.',
|
|
59271
|
+
items: {
|
|
59272
|
+
properties: {
|
|
59273
|
+
building_key: {
|
|
59274
|
+
description:
|
|
59275
|
+
'Your unique identifier for the building.',
|
|
59276
|
+
minLength: 1,
|
|
59277
|
+
type: 'string',
|
|
59278
|
+
},
|
|
59279
|
+
name: {
|
|
59280
|
+
description:
|
|
59281
|
+
'Your display name for this location resource.',
|
|
59282
|
+
type: 'string',
|
|
59283
|
+
},
|
|
59284
|
+
},
|
|
59285
|
+
required: ['name', 'building_key'],
|
|
59286
|
+
type: 'object',
|
|
59287
|
+
},
|
|
59288
|
+
type: 'array',
|
|
59289
|
+
},
|
|
59290
|
+
common_areas: {
|
|
59291
|
+
description: 'List of shared common areas.',
|
|
59292
|
+
items: {
|
|
59293
|
+
properties: {
|
|
59294
|
+
common_area_key: {
|
|
59295
|
+
description:
|
|
59296
|
+
'Your unique identifier for the common area.',
|
|
59297
|
+
minLength: 1,
|
|
59298
|
+
type: 'string',
|
|
59299
|
+
},
|
|
59300
|
+
name: {
|
|
59301
|
+
description:
|
|
59302
|
+
'Your display name for this location resource.',
|
|
59303
|
+
type: 'string',
|
|
59304
|
+
},
|
|
59305
|
+
parent_site_key: {
|
|
59306
|
+
description: 'Your unique identifier for the site.',
|
|
59307
|
+
minLength: 1,
|
|
59308
|
+
type: 'string',
|
|
59309
|
+
},
|
|
59310
|
+
},
|
|
59311
|
+
required: ['name', 'common_area_key'],
|
|
59312
|
+
type: 'object',
|
|
59313
|
+
},
|
|
59314
|
+
type: 'array',
|
|
59315
|
+
},
|
|
59316
|
+
facilities: {
|
|
59317
|
+
description: 'List of gym or fitness facilities.',
|
|
59318
|
+
items: {
|
|
59319
|
+
properties: {
|
|
59320
|
+
facility_key: {
|
|
59321
|
+
description:
|
|
59322
|
+
'Your unique identifier for the facility.',
|
|
59323
|
+
minLength: 1,
|
|
59324
|
+
type: 'string',
|
|
59325
|
+
},
|
|
59326
|
+
name: {
|
|
59327
|
+
description:
|
|
59328
|
+
'Your display name for this location resource.',
|
|
59329
|
+
type: 'string',
|
|
59330
|
+
},
|
|
59331
|
+
},
|
|
59332
|
+
required: ['name', 'facility_key'],
|
|
59333
|
+
type: 'object',
|
|
59334
|
+
},
|
|
59335
|
+
type: 'array',
|
|
59336
|
+
},
|
|
59337
|
+
guests: {
|
|
59338
|
+
description: 'List of guests.',
|
|
59339
|
+
items: {
|
|
59340
|
+
properties: {
|
|
59341
|
+
email_address: {
|
|
59342
|
+
description:
|
|
59343
|
+
'Email address associated with the user identity.',
|
|
59344
|
+
type: 'string',
|
|
59345
|
+
},
|
|
59346
|
+
guest_key: {
|
|
59347
|
+
description: 'Your unique identifier for the guest.',
|
|
59348
|
+
minLength: 1,
|
|
59349
|
+
type: 'string',
|
|
59350
|
+
},
|
|
59351
|
+
name: {
|
|
59352
|
+
description:
|
|
59353
|
+
'Your display name for this user identity resource.',
|
|
59354
|
+
type: 'string',
|
|
59355
|
+
},
|
|
59356
|
+
phone_number: {
|
|
59357
|
+
description:
|
|
59358
|
+
'Phone number associated with the user identity.',
|
|
59359
|
+
type: 'string',
|
|
59360
|
+
},
|
|
59361
|
+
},
|
|
59362
|
+
required: ['name', 'guest_key'],
|
|
59363
|
+
type: 'object',
|
|
59364
|
+
},
|
|
59365
|
+
type: 'array',
|
|
59366
|
+
},
|
|
59367
|
+
listings: {
|
|
59368
|
+
description: 'List of property listings.',
|
|
59369
|
+
items: {
|
|
59370
|
+
properties: {
|
|
59371
|
+
listing_key: {
|
|
59372
|
+
description:
|
|
59373
|
+
'Your unique identifier for the listing.',
|
|
59374
|
+
minLength: 1,
|
|
59375
|
+
type: 'string',
|
|
59376
|
+
},
|
|
59377
|
+
name: {
|
|
59378
|
+
description:
|
|
59379
|
+
'Your display name for this location resource.',
|
|
59380
|
+
type: 'string',
|
|
59381
|
+
},
|
|
59382
|
+
},
|
|
59383
|
+
required: ['name', 'listing_key'],
|
|
59384
|
+
type: 'object',
|
|
59385
|
+
},
|
|
59386
|
+
type: 'array',
|
|
59387
|
+
},
|
|
59388
|
+
properties: {
|
|
59389
|
+
description: 'List of short-term rental properties.',
|
|
59390
|
+
items: {
|
|
59391
|
+
properties: {
|
|
59392
|
+
name: {
|
|
59393
|
+
description:
|
|
59394
|
+
'Your display name for this location resource.',
|
|
59395
|
+
type: 'string',
|
|
59396
|
+
},
|
|
59397
|
+
property_key: {
|
|
59398
|
+
description:
|
|
59399
|
+
'Your unique identifier for the property.',
|
|
59400
|
+
minLength: 1,
|
|
59401
|
+
type: 'string',
|
|
59402
|
+
},
|
|
59403
|
+
},
|
|
59404
|
+
required: ['name', 'property_key'],
|
|
59405
|
+
type: 'object',
|
|
59406
|
+
},
|
|
59407
|
+
type: 'array',
|
|
59408
|
+
},
|
|
59409
|
+
property_listings: {
|
|
59410
|
+
description: 'List of property listings.',
|
|
59411
|
+
items: {
|
|
59412
|
+
properties: {
|
|
59413
|
+
custom_metadata: {
|
|
59414
|
+
additionalProperties: {
|
|
59415
|
+
nullable: true,
|
|
59416
|
+
oneOf: [
|
|
59417
|
+
{ maxLength: 500, type: 'string' },
|
|
59418
|
+
{ type: 'boolean' },
|
|
59419
|
+
],
|
|
59420
|
+
},
|
|
59421
|
+
description:
|
|
59422
|
+
'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.',
|
|
59423
|
+
type: 'object',
|
|
59424
|
+
},
|
|
59425
|
+
name: {
|
|
59426
|
+
description:
|
|
59427
|
+
'Your display name for this location resource.',
|
|
59428
|
+
type: 'string',
|
|
59429
|
+
},
|
|
59430
|
+
property_listing_key: {
|
|
59431
|
+
description:
|
|
59432
|
+
'Your unique identifier for the property listing.',
|
|
59433
|
+
minLength: 1,
|
|
59434
|
+
type: 'string',
|
|
59435
|
+
},
|
|
59436
|
+
},
|
|
59437
|
+
required: ['name', 'property_listing_key'],
|
|
59438
|
+
type: 'object',
|
|
59439
|
+
},
|
|
59440
|
+
type: 'array',
|
|
59441
|
+
},
|
|
59442
|
+
reservations: {
|
|
59443
|
+
description: 'List of reservations.',
|
|
59444
|
+
items: {
|
|
59445
|
+
properties: {
|
|
59446
|
+
building_keys: {
|
|
59447
|
+
description:
|
|
59448
|
+
'Building keys associated with the access grant.',
|
|
59449
|
+
items: { type: 'string' },
|
|
59450
|
+
type: 'array',
|
|
59451
|
+
},
|
|
59452
|
+
common_area_keys: {
|
|
59453
|
+
description:
|
|
59454
|
+
'Common area keys associated with the access grant.',
|
|
59455
|
+
items: { type: 'string' },
|
|
59456
|
+
type: 'array',
|
|
59457
|
+
},
|
|
59458
|
+
ends_at: {
|
|
59459
|
+
description:
|
|
59460
|
+
'Ending date and time for the access grant.',
|
|
59461
|
+
format: 'date-time',
|
|
59462
|
+
type: 'string',
|
|
59463
|
+
},
|
|
59464
|
+
facility_keys: {
|
|
59465
|
+
description:
|
|
59466
|
+
'Facility keys associated with the access grant.',
|
|
59467
|
+
items: { type: 'string' },
|
|
59468
|
+
type: 'array',
|
|
59469
|
+
},
|
|
59470
|
+
guest_key: {
|
|
59471
|
+
description:
|
|
59472
|
+
'Guest key associated with the access grant.',
|
|
59473
|
+
type: 'string',
|
|
59474
|
+
},
|
|
59475
|
+
listing_keys: {
|
|
59476
|
+
description:
|
|
59477
|
+
'Listing keys associated with the access grant.',
|
|
59478
|
+
items: { type: 'string' },
|
|
59479
|
+
type: 'array',
|
|
59480
|
+
},
|
|
59481
|
+
name: {
|
|
59482
|
+
description:
|
|
59483
|
+
'Your name for this access grant resource.',
|
|
59484
|
+
type: 'string',
|
|
59485
|
+
},
|
|
59486
|
+
preferred_code: {
|
|
59487
|
+
description:
|
|
59488
|
+
'Preferred PIN code to use when creating access for this reservation.',
|
|
59489
|
+
type: 'string',
|
|
59490
|
+
},
|
|
59491
|
+
property_keys: {
|
|
59492
|
+
description:
|
|
59493
|
+
'Property keys associated with the access grant.',
|
|
59494
|
+
items: { type: 'string' },
|
|
59495
|
+
type: 'array',
|
|
59496
|
+
},
|
|
59497
|
+
reservation_key: {
|
|
59498
|
+
description:
|
|
59499
|
+
'Your unique identifier for the reservation.',
|
|
59500
|
+
minLength: 1,
|
|
59501
|
+
type: 'string',
|
|
59502
|
+
},
|
|
59503
|
+
resident_key: {
|
|
59504
|
+
description:
|
|
59505
|
+
'Resident key associated with the access grant.',
|
|
59506
|
+
type: 'string',
|
|
59507
|
+
},
|
|
59508
|
+
room_keys: {
|
|
59509
|
+
description:
|
|
59510
|
+
'Room keys associated with the access grant.',
|
|
59511
|
+
items: { type: 'string' },
|
|
59512
|
+
type: 'array',
|
|
59513
|
+
},
|
|
59514
|
+
space_keys: {
|
|
59515
|
+
description:
|
|
59516
|
+
'Space keys associated with the access grant.',
|
|
59517
|
+
items: { type: 'string' },
|
|
59518
|
+
type: 'array',
|
|
59519
|
+
},
|
|
59520
|
+
starts_at: {
|
|
59521
|
+
description:
|
|
59522
|
+
'Starting date and time for the access grant.',
|
|
59523
|
+
format: 'date-time',
|
|
59524
|
+
type: 'string',
|
|
59525
|
+
},
|
|
59526
|
+
tenant_key: {
|
|
59527
|
+
description:
|
|
59528
|
+
'Tenant key associated with the access grant.',
|
|
59529
|
+
type: 'string',
|
|
59530
|
+
},
|
|
59531
|
+
unit_keys: {
|
|
59532
|
+
description:
|
|
59533
|
+
'Unit keys associated with the access grant.',
|
|
59534
|
+
items: { type: 'string' },
|
|
59535
|
+
type: 'array',
|
|
59536
|
+
},
|
|
59537
|
+
user_identity_key: {
|
|
59538
|
+
description:
|
|
59539
|
+
'User identity key associated with the access grant.',
|
|
59540
|
+
type: 'string',
|
|
59541
|
+
},
|
|
59542
|
+
user_key: {
|
|
59543
|
+
description:
|
|
59544
|
+
'User key associated with the access grant.',
|
|
59545
|
+
type: 'string',
|
|
59546
|
+
},
|
|
59547
|
+
},
|
|
59548
|
+
required: ['reservation_key'],
|
|
59549
|
+
type: 'object',
|
|
59550
|
+
},
|
|
59551
|
+
type: 'array',
|
|
59552
|
+
},
|
|
59553
|
+
residents: {
|
|
59554
|
+
description: 'List of residents.',
|
|
59555
|
+
items: {
|
|
59556
|
+
properties: {
|
|
59557
|
+
email_address: {
|
|
59558
|
+
description:
|
|
59559
|
+
'Email address associated with the user identity.',
|
|
59560
|
+
type: 'string',
|
|
59561
|
+
},
|
|
59562
|
+
name: {
|
|
59563
|
+
description:
|
|
59564
|
+
'Your display name for this user identity resource.',
|
|
59565
|
+
type: 'string',
|
|
59566
|
+
},
|
|
59567
|
+
phone_number: {
|
|
59568
|
+
description:
|
|
59569
|
+
'Phone number associated with the user identity.',
|
|
59570
|
+
type: 'string',
|
|
59571
|
+
},
|
|
59572
|
+
resident_key: {
|
|
59573
|
+
description:
|
|
59574
|
+
'Your unique identifier for the resident.',
|
|
59575
|
+
minLength: 1,
|
|
59576
|
+
type: 'string',
|
|
59577
|
+
},
|
|
59578
|
+
},
|
|
59579
|
+
required: ['name', 'resident_key'],
|
|
59580
|
+
type: 'object',
|
|
59581
|
+
},
|
|
59582
|
+
type: 'array',
|
|
59583
|
+
},
|
|
59584
|
+
rooms: {
|
|
59585
|
+
description: 'List of hotel or hospitality rooms.',
|
|
59586
|
+
items: {
|
|
59587
|
+
properties: {
|
|
59588
|
+
name: {
|
|
59589
|
+
description:
|
|
59590
|
+
'Your display name for this location resource.',
|
|
59591
|
+
type: 'string',
|
|
59592
|
+
},
|
|
59593
|
+
parent_site_key: {
|
|
59594
|
+
description: 'Your unique identifier for the site.',
|
|
59595
|
+
minLength: 1,
|
|
59596
|
+
type: 'string',
|
|
59597
|
+
},
|
|
59598
|
+
room_key: {
|
|
59599
|
+
description: 'Your unique identifier for the room.',
|
|
59600
|
+
minLength: 1,
|
|
59601
|
+
type: 'string',
|
|
59602
|
+
},
|
|
59603
|
+
},
|
|
59604
|
+
required: ['name', 'room_key'],
|
|
59605
|
+
type: 'object',
|
|
59606
|
+
},
|
|
59607
|
+
type: 'array',
|
|
59608
|
+
},
|
|
59609
|
+
sites: {
|
|
59610
|
+
description: 'List of general sites or areas.',
|
|
59611
|
+
items: {
|
|
59612
|
+
properties: {
|
|
59613
|
+
name: {
|
|
59614
|
+
description:
|
|
59615
|
+
'Your display name for this location resource.',
|
|
59616
|
+
type: 'string',
|
|
59617
|
+
},
|
|
59618
|
+
site_key: {
|
|
59619
|
+
description: 'Your unique identifier for the site.',
|
|
59620
|
+
minLength: 1,
|
|
59621
|
+
type: 'string',
|
|
59622
|
+
},
|
|
59623
|
+
},
|
|
59624
|
+
required: ['name', 'site_key'],
|
|
59625
|
+
type: 'object',
|
|
59626
|
+
},
|
|
59627
|
+
type: 'array',
|
|
59628
|
+
},
|
|
59629
|
+
spaces: {
|
|
59630
|
+
description: 'List of general spaces or areas.',
|
|
59631
|
+
items: {
|
|
59632
|
+
properties: {
|
|
59633
|
+
name: {
|
|
59634
|
+
description:
|
|
59635
|
+
'Your display name for this location resource.',
|
|
59636
|
+
type: 'string',
|
|
59637
|
+
},
|
|
59638
|
+
space_key: {
|
|
59639
|
+
description: 'Your unique identifier for the space.',
|
|
59640
|
+
minLength: 1,
|
|
59641
|
+
type: 'string',
|
|
59642
|
+
},
|
|
59643
|
+
},
|
|
59644
|
+
required: ['name', 'space_key'],
|
|
59645
|
+
type: 'object',
|
|
59646
|
+
},
|
|
59647
|
+
type: 'array',
|
|
59648
|
+
},
|
|
59649
|
+
staff_members: {
|
|
59650
|
+
description: 'List of staff members.',
|
|
59651
|
+
items: {
|
|
59652
|
+
description:
|
|
59653
|
+
'Represents a staff member for a specific customer.',
|
|
59654
|
+
properties: {
|
|
59655
|
+
building_keys: {
|
|
59656
|
+
description:
|
|
59657
|
+
'List of unique identifiers for the buildings the staff member is associated with.',
|
|
59658
|
+
items: { type: 'string' },
|
|
59659
|
+
type: 'array',
|
|
59660
|
+
},
|
|
59661
|
+
common_area_keys: {
|
|
59662
|
+
description:
|
|
59663
|
+
'List of unique identifiers for the common areas the staff member is associated with.',
|
|
59664
|
+
items: { type: 'string' },
|
|
59665
|
+
type: 'array',
|
|
59666
|
+
},
|
|
59667
|
+
email_address: {
|
|
59668
|
+
description:
|
|
59669
|
+
'Email address associated with the user identity.',
|
|
59670
|
+
type: 'string',
|
|
59671
|
+
},
|
|
59672
|
+
facility_keys: {
|
|
59673
|
+
description:
|
|
59674
|
+
'List of unique identifiers for the facilities the staff member is associated with.',
|
|
59675
|
+
items: { type: 'string' },
|
|
59676
|
+
type: 'array',
|
|
59677
|
+
},
|
|
59678
|
+
listing_keys: {
|
|
59679
|
+
description:
|
|
59680
|
+
'List of unique identifiers for the listings the staff member is associated with.',
|
|
59681
|
+
items: { type: 'string' },
|
|
59682
|
+
type: 'array',
|
|
59683
|
+
},
|
|
59684
|
+
name: {
|
|
59685
|
+
description:
|
|
59686
|
+
'Your display name for this user identity resource.',
|
|
59687
|
+
type: 'string',
|
|
59688
|
+
},
|
|
59689
|
+
phone_number: {
|
|
59690
|
+
description:
|
|
59691
|
+
'Phone number associated with the user identity.',
|
|
59692
|
+
type: 'string',
|
|
59693
|
+
},
|
|
59694
|
+
property_keys: {
|
|
59695
|
+
description:
|
|
59696
|
+
'List of unique identifiers for the properties the staff member is associated with.',
|
|
59697
|
+
items: { type: 'string' },
|
|
59698
|
+
type: 'array',
|
|
59699
|
+
},
|
|
59700
|
+
property_listing_keys: {
|
|
59701
|
+
description:
|
|
59702
|
+
'List of unique identifiers for the property listings the staff member is associated with.',
|
|
59703
|
+
items: { type: 'string' },
|
|
59704
|
+
type: 'array',
|
|
59705
|
+
},
|
|
59706
|
+
room_keys: {
|
|
59707
|
+
description:
|
|
59708
|
+
'List of unique identifiers for the rooms the staff member is associated with.',
|
|
59709
|
+
items: { type: 'string' },
|
|
59710
|
+
type: 'array',
|
|
59711
|
+
},
|
|
59712
|
+
site_keys: {
|
|
59713
|
+
description:
|
|
59714
|
+
'List of unique identifiers for the sites the staff member is associated with.',
|
|
59715
|
+
items: { type: 'string' },
|
|
59716
|
+
type: 'array',
|
|
59717
|
+
},
|
|
59718
|
+
space_keys: {
|
|
59719
|
+
description:
|
|
59720
|
+
'List of unique identifiers for the spaces the staff member is associated with.',
|
|
59721
|
+
items: { type: 'string' },
|
|
59722
|
+
type: 'array',
|
|
59723
|
+
},
|
|
59724
|
+
staff_member_key: {
|
|
59725
|
+
description: 'Your unique identifier for the staff.',
|
|
59726
|
+
type: 'string',
|
|
59727
|
+
},
|
|
59728
|
+
unit_keys: {
|
|
59729
|
+
description:
|
|
59730
|
+
'List of unique identifiers for the units the staff member is associated with.',
|
|
59731
|
+
items: { type: 'string' },
|
|
59732
|
+
type: 'array',
|
|
59733
|
+
},
|
|
59734
|
+
},
|
|
59735
|
+
required: ['name', 'staff_member_key'],
|
|
59736
|
+
type: 'object',
|
|
59737
|
+
'x-route-path': '/seam/customer/v1/staff_members',
|
|
59738
|
+
},
|
|
59739
|
+
type: 'array',
|
|
59740
|
+
},
|
|
59741
|
+
tenants: {
|
|
59742
|
+
description: 'List of tenants.',
|
|
59743
|
+
items: {
|
|
59744
|
+
properties: {
|
|
59745
|
+
email_address: {
|
|
59746
|
+
description:
|
|
59747
|
+
'Email address associated with the user identity.',
|
|
59748
|
+
type: 'string',
|
|
59749
|
+
},
|
|
59750
|
+
name: {
|
|
59751
|
+
description:
|
|
59752
|
+
'Your display name for this user identity resource.',
|
|
59753
|
+
type: 'string',
|
|
59754
|
+
},
|
|
59755
|
+
phone_number: {
|
|
59756
|
+
description:
|
|
59757
|
+
'Phone number associated with the user identity.',
|
|
59758
|
+
type: 'string',
|
|
59759
|
+
},
|
|
59760
|
+
tenant_key: {
|
|
59761
|
+
description: 'Your unique identifier for the tenant.',
|
|
59762
|
+
minLength: 1,
|
|
59763
|
+
type: 'string',
|
|
59764
|
+
},
|
|
59765
|
+
},
|
|
59766
|
+
required: ['name', 'tenant_key'],
|
|
59767
|
+
type: 'object',
|
|
59768
|
+
},
|
|
59769
|
+
type: 'array',
|
|
59770
|
+
},
|
|
59771
|
+
units: {
|
|
59772
|
+
description: 'List of multi-family residential units.',
|
|
59773
|
+
items: {
|
|
59774
|
+
properties: {
|
|
59775
|
+
name: {
|
|
59776
|
+
description:
|
|
59777
|
+
'Your display name for this location resource.',
|
|
59778
|
+
type: 'string',
|
|
59779
|
+
},
|
|
59780
|
+
parent_site_key: {
|
|
59781
|
+
description: 'Your unique identifier for the site.',
|
|
59782
|
+
minLength: 1,
|
|
59783
|
+
type: 'string',
|
|
59784
|
+
},
|
|
59785
|
+
unit_key: {
|
|
59786
|
+
description: 'Your unique identifier for the unit.',
|
|
59787
|
+
minLength: 1,
|
|
59788
|
+
type: 'string',
|
|
59789
|
+
},
|
|
59790
|
+
},
|
|
59791
|
+
required: ['name', 'unit_key'],
|
|
59792
|
+
type: 'object',
|
|
59793
|
+
},
|
|
59794
|
+
type: 'array',
|
|
59795
|
+
},
|
|
59796
|
+
user_identities: {
|
|
59797
|
+
description: 'List of user identities.',
|
|
59798
|
+
items: {
|
|
59799
|
+
properties: {
|
|
59800
|
+
email_address: {
|
|
59801
|
+
description:
|
|
59802
|
+
'Email address associated with the user identity.',
|
|
59803
|
+
type: 'string',
|
|
59804
|
+
},
|
|
59805
|
+
name: {
|
|
59806
|
+
description:
|
|
59807
|
+
'Your display name for this user identity resource.',
|
|
59808
|
+
type: 'string',
|
|
59809
|
+
},
|
|
59810
|
+
phone_number: {
|
|
59811
|
+
description:
|
|
59812
|
+
'Phone number associated with the user identity.',
|
|
59813
|
+
type: 'string',
|
|
59814
|
+
},
|
|
59815
|
+
user_identity_key: {
|
|
59816
|
+
description:
|
|
59817
|
+
'Your unique identifier for the user identity.',
|
|
59818
|
+
minLength: 1,
|
|
59819
|
+
type: 'string',
|
|
59820
|
+
},
|
|
59821
|
+
},
|
|
59822
|
+
required: ['name', 'user_identity_key'],
|
|
59823
|
+
type: 'object',
|
|
59824
|
+
},
|
|
59825
|
+
type: 'array',
|
|
59826
|
+
},
|
|
59827
|
+
users: {
|
|
59828
|
+
description: 'List of users.',
|
|
59829
|
+
items: {
|
|
59830
|
+
properties: {
|
|
59831
|
+
email_address: {
|
|
59832
|
+
description:
|
|
59833
|
+
'Email address associated with the user identity.',
|
|
59834
|
+
type: 'string',
|
|
59835
|
+
},
|
|
59836
|
+
name: {
|
|
59837
|
+
description:
|
|
59838
|
+
'Your display name for this user identity resource.',
|
|
59839
|
+
type: 'string',
|
|
59840
|
+
},
|
|
59841
|
+
phone_number: {
|
|
59842
|
+
description:
|
|
59843
|
+
'Phone number associated with the user identity.',
|
|
59844
|
+
type: 'string',
|
|
59845
|
+
},
|
|
59846
|
+
user_key: {
|
|
59847
|
+
description: 'Your unique identifier for the user.',
|
|
59848
|
+
minLength: 1,
|
|
59849
|
+
type: 'string',
|
|
59850
|
+
},
|
|
59851
|
+
},
|
|
59852
|
+
required: ['name', 'user_key'],
|
|
59853
|
+
type: 'object',
|
|
59854
|
+
},
|
|
59855
|
+
type: 'array',
|
|
59856
|
+
},
|
|
59857
|
+
},
|
|
59858
|
+
type: 'object',
|
|
59859
|
+
},
|
|
59860
|
+
},
|
|
59861
|
+
},
|
|
59862
|
+
},
|
|
59863
|
+
responses: {
|
|
59864
|
+
200: {
|
|
59865
|
+
content: {
|
|
59866
|
+
'application/json': {
|
|
59867
|
+
schema: {
|
|
59868
|
+
properties: { ok: { type: 'boolean' } },
|
|
59869
|
+
required: ['ok'],
|
|
59870
|
+
type: 'object',
|
|
59871
|
+
},
|
|
59872
|
+
},
|
|
59873
|
+
},
|
|
59874
|
+
description: 'OK',
|
|
59875
|
+
},
|
|
59876
|
+
400: { description: 'Bad Request' },
|
|
59877
|
+
401: { description: 'Unauthorized' },
|
|
59878
|
+
},
|
|
59879
|
+
security: [{ client_session_with_customer: [] }],
|
|
59880
|
+
summary: '/seam/v1/customers/push_data',
|
|
59881
|
+
tags: [],
|
|
59882
|
+
'x-fern-sdk-group-name': ['seam', 'v1', 'customers'],
|
|
59883
|
+
'x-fern-sdk-method-name': 'push_data',
|
|
59884
|
+
'x-response-key': null,
|
|
59885
|
+
'x-title': 'Push Customer Data',
|
|
59886
|
+
},
|
|
59887
|
+
},
|
|
59035
59888
|
'/spaces/add_acs_entrances': {
|
|
59036
59889
|
post: {
|
|
59037
59890
|
description:
|