@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.
@@ -54414,6 +54414,189 @@ export default {
54414
54414
  'x-undocumented': 'Internal endpoint for customer portals.',
54415
54415
  },
54416
54416
  },
54417
+ '/seam/customer/v1/connector_customers/list': {
54418
+ get: {
54419
+ description: 'Lists connector customers for a given connector.',
54420
+ operationId: 'seamCustomerV1ConnectorCustomersListGet',
54421
+ parameters: [
54422
+ {
54423
+ in: 'query',
54424
+ name: 'connector_id',
54425
+ schema: {
54426
+ description: 'ID of the connector.',
54427
+ format: 'uuid',
54428
+ type: 'string',
54429
+ },
54430
+ },
54431
+ ],
54432
+ responses: {
54433
+ 200: {
54434
+ content: {
54435
+ 'application/json': {
54436
+ schema: {
54437
+ properties: {
54438
+ connector_customers: {
54439
+ items: {
54440
+ properties: {
54441
+ connector_customer_id: { type: 'string' },
54442
+ connector_id: { type: 'string' },
54443
+ created_at: { type: 'string' },
54444
+ customer_key: { type: 'string' },
54445
+ initial_sync_completed: { type: 'boolean' },
54446
+ initial_sync_status: {
54447
+ nullable: true,
54448
+ type: 'string',
54449
+ },
54450
+ instance_config: {
54451
+ additionalProperties: {
54452
+ $ref: '#/components/schemas/access_code',
54453
+ },
54454
+ nullable: true,
54455
+ type: 'object',
54456
+ },
54457
+ status: { nullable: true, type: 'string' },
54458
+ updated_at: { type: 'string' },
54459
+ },
54460
+ required: [
54461
+ 'connector_customer_id',
54462
+ 'connector_id',
54463
+ 'customer_key',
54464
+ 'instance_config',
54465
+ 'initial_sync_completed',
54466
+ 'initial_sync_status',
54467
+ 'status',
54468
+ 'created_at',
54469
+ 'updated_at',
54470
+ ],
54471
+ type: 'object',
54472
+ },
54473
+ type: 'array',
54474
+ },
54475
+ ok: { type: 'boolean' },
54476
+ },
54477
+ required: ['connector_customers', 'ok'],
54478
+ type: 'object',
54479
+ },
54480
+ },
54481
+ },
54482
+ description: 'OK',
54483
+ },
54484
+ 400: { description: 'Bad Request' },
54485
+ 401: { description: 'Unauthorized' },
54486
+ },
54487
+ security: [
54488
+ { api_key: [] },
54489
+ { client_session_with_customer: [] },
54490
+ { console_session_with_workspace: [] },
54491
+ ],
54492
+ summary: '/seam/customer/v1/connector_customers/list',
54493
+ tags: [],
54494
+ 'x-fern-sdk-group-name': [
54495
+ 'seam',
54496
+ 'customer',
54497
+ 'v1',
54498
+ 'connector_customers',
54499
+ ],
54500
+ 'x-fern-sdk-method-name': 'list',
54501
+ 'x-fern-sdk-return-value': 'connector_customers',
54502
+ 'x-response-key': 'connector_customers',
54503
+ 'x-title': 'List Connector Customers',
54504
+ 'x-undocumented': 'Internal endpoint for Console.',
54505
+ },
54506
+ post: {
54507
+ description: 'Lists connector customers for a given connector.',
54508
+ operationId: 'seamCustomerV1ConnectorCustomersListPost',
54509
+ requestBody: {
54510
+ content: {
54511
+ 'application/json': {
54512
+ schema: {
54513
+ properties: {
54514
+ connector_id: {
54515
+ description: 'ID of the connector.',
54516
+ format: 'uuid',
54517
+ type: 'string',
54518
+ },
54519
+ },
54520
+ type: 'object',
54521
+ },
54522
+ },
54523
+ },
54524
+ },
54525
+ responses: {
54526
+ 200: {
54527
+ content: {
54528
+ 'application/json': {
54529
+ schema: {
54530
+ properties: {
54531
+ connector_customers: {
54532
+ items: {
54533
+ properties: {
54534
+ connector_customer_id: { type: 'string' },
54535
+ connector_id: { type: 'string' },
54536
+ created_at: { type: 'string' },
54537
+ customer_key: { type: 'string' },
54538
+ initial_sync_completed: { type: 'boolean' },
54539
+ initial_sync_status: {
54540
+ nullable: true,
54541
+ type: 'string',
54542
+ },
54543
+ instance_config: {
54544
+ additionalProperties: {
54545
+ $ref: '#/components/schemas/access_code',
54546
+ },
54547
+ nullable: true,
54548
+ type: 'object',
54549
+ },
54550
+ status: { nullable: true, type: 'string' },
54551
+ updated_at: { type: 'string' },
54552
+ },
54553
+ required: [
54554
+ 'connector_customer_id',
54555
+ 'connector_id',
54556
+ 'customer_key',
54557
+ 'instance_config',
54558
+ 'initial_sync_completed',
54559
+ 'initial_sync_status',
54560
+ 'status',
54561
+ 'created_at',
54562
+ 'updated_at',
54563
+ ],
54564
+ type: 'object',
54565
+ },
54566
+ type: 'array',
54567
+ },
54568
+ ok: { type: 'boolean' },
54569
+ },
54570
+ required: ['connector_customers', 'ok'],
54571
+ type: 'object',
54572
+ },
54573
+ },
54574
+ },
54575
+ description: 'OK',
54576
+ },
54577
+ 400: { description: 'Bad Request' },
54578
+ 401: { description: 'Unauthorized' },
54579
+ },
54580
+ security: [
54581
+ { api_key: [] },
54582
+ { client_session_with_customer: [] },
54583
+ { console_session_with_workspace: [] },
54584
+ ],
54585
+ summary: '/seam/customer/v1/connector_customers/list',
54586
+ tags: [],
54587
+ 'x-fern-sdk-group-name': [
54588
+ 'seam',
54589
+ 'customer',
54590
+ 'v1',
54591
+ 'connector_customers',
54592
+ ],
54593
+ 'x-fern-sdk-method-name': 'list',
54594
+ 'x-fern-sdk-return-value': 'connector_customers',
54595
+ 'x-response-key': 'connector_customers',
54596
+ 'x-title': 'List Connector Customers',
54597
+ 'x-undocumented': 'Internal endpoint for Console.',
54598
+ },
54599
+ },
54417
54600
  '/seam/customer/v1/connectors/authorize': {
54418
54601
  get: {
54419
54602
  description:
@@ -58890,6 +59073,7 @@ export default {
58890
59073
  },
58891
59074
  type: 'array',
58892
59075
  },
59076
+ is_common_area: { type: 'boolean' },
58893
59077
  is_draft: { type: 'boolean' },
58894
59078
  name: { type: 'string' },
58895
59079
  needs_review: { type: 'boolean' },
@@ -58988,6 +59172,7 @@ export default {
58988
59172
  },
58989
59173
  type: 'array',
58990
59174
  },
59175
+ is_common_area: { type: 'boolean' },
58991
59176
  is_draft: { type: 'boolean' },
58992
59177
  name: { type: 'string' },
58993
59178
  needs_review: { type: 'boolean' },
@@ -59032,6 +59217,857 @@ export default {
59032
59217
  'x-undocumented': 'Partner building blocks/UI only.',
59033
59218
  },
59034
59219
  },
59220
+ '/seam/v1/customers/push_data': {
59221
+ post: {
59222
+ description:
59223
+ 'Pushes customer data including resources like spaces, properties, rooms, users, etc.\nThe customer_key is taken from the authenticated client session.',
59224
+ operationId: 'seamV1CustomersPushDataPost',
59225
+ requestBody: {
59226
+ content: {
59227
+ 'application/json': {
59228
+ schema: {
59229
+ properties: {
59230
+ access_grants: {
59231
+ description: 'List of access grants.',
59232
+ items: {
59233
+ properties: {
59234
+ access_grant_key: {
59235
+ description:
59236
+ 'Your unique identifier for the access grant.',
59237
+ minLength: 1,
59238
+ type: 'string',
59239
+ },
59240
+ building_keys: {
59241
+ description:
59242
+ 'Building keys associated with the access grant.',
59243
+ items: { type: 'string' },
59244
+ type: 'array',
59245
+ },
59246
+ common_area_keys: {
59247
+ description:
59248
+ 'Common area keys associated with the access grant.',
59249
+ items: { type: 'string' },
59250
+ type: 'array',
59251
+ },
59252
+ ends_at: {
59253
+ description:
59254
+ 'Ending date and time for the access grant.',
59255
+ format: 'date-time',
59256
+ type: 'string',
59257
+ },
59258
+ facility_keys: {
59259
+ description:
59260
+ 'Facility keys associated with the access grant.',
59261
+ items: { type: 'string' },
59262
+ type: 'array',
59263
+ },
59264
+ guest_key: {
59265
+ description:
59266
+ 'Guest key associated with the access grant.',
59267
+ type: 'string',
59268
+ },
59269
+ listing_keys: {
59270
+ description:
59271
+ 'Listing keys associated with the access grant.',
59272
+ items: { type: 'string' },
59273
+ type: 'array',
59274
+ },
59275
+ name: {
59276
+ description:
59277
+ 'Your name for this access grant resource.',
59278
+ type: 'string',
59279
+ },
59280
+ preferred_code: {
59281
+ description:
59282
+ 'Preferred PIN code to use when creating access for this reservation.',
59283
+ type: 'string',
59284
+ },
59285
+ property_keys: {
59286
+ description:
59287
+ 'Property keys associated with the access grant.',
59288
+ items: { type: 'string' },
59289
+ type: 'array',
59290
+ },
59291
+ resident_key: {
59292
+ description:
59293
+ 'Resident key associated with the access grant.',
59294
+ type: 'string',
59295
+ },
59296
+ room_keys: {
59297
+ description:
59298
+ 'Room keys associated with the access grant.',
59299
+ items: { type: 'string' },
59300
+ type: 'array',
59301
+ },
59302
+ space_keys: {
59303
+ description:
59304
+ 'Space keys associated with the access grant.',
59305
+ items: { type: 'string' },
59306
+ type: 'array',
59307
+ },
59308
+ starts_at: {
59309
+ description:
59310
+ 'Starting date and time for the access grant.',
59311
+ format: 'date-time',
59312
+ type: 'string',
59313
+ },
59314
+ tenant_key: {
59315
+ description:
59316
+ 'Tenant key associated with the access grant.',
59317
+ type: 'string',
59318
+ },
59319
+ unit_keys: {
59320
+ description:
59321
+ 'Unit keys associated with the access grant.',
59322
+ items: { type: 'string' },
59323
+ type: 'array',
59324
+ },
59325
+ user_identity_key: {
59326
+ description:
59327
+ 'User identity key associated with the access grant.',
59328
+ type: 'string',
59329
+ },
59330
+ user_key: {
59331
+ description:
59332
+ 'User key associated with the access grant.',
59333
+ type: 'string',
59334
+ },
59335
+ },
59336
+ required: ['access_grant_key'],
59337
+ type: 'object',
59338
+ },
59339
+ type: 'array',
59340
+ },
59341
+ bookings: {
59342
+ description: 'List of bookings.',
59343
+ items: {
59344
+ properties: {
59345
+ booking_key: {
59346
+ description:
59347
+ 'Your unique identifier for the booking.',
59348
+ minLength: 1,
59349
+ type: 'string',
59350
+ },
59351
+ building_keys: {
59352
+ description:
59353
+ 'Building keys associated with the access grant.',
59354
+ items: { type: 'string' },
59355
+ type: 'array',
59356
+ },
59357
+ common_area_keys: {
59358
+ description:
59359
+ 'Common area keys associated with the access grant.',
59360
+ items: { type: 'string' },
59361
+ type: 'array',
59362
+ },
59363
+ ends_at: {
59364
+ description:
59365
+ 'Ending date and time for the access grant.',
59366
+ format: 'date-time',
59367
+ type: 'string',
59368
+ },
59369
+ facility_keys: {
59370
+ description:
59371
+ 'Facility keys associated with the access grant.',
59372
+ items: { type: 'string' },
59373
+ type: 'array',
59374
+ },
59375
+ guest_key: {
59376
+ description:
59377
+ 'Guest key associated with the access grant.',
59378
+ type: 'string',
59379
+ },
59380
+ listing_keys: {
59381
+ description:
59382
+ 'Listing keys associated with the access grant.',
59383
+ items: { type: 'string' },
59384
+ type: 'array',
59385
+ },
59386
+ name: {
59387
+ description:
59388
+ 'Your name for this access grant resource.',
59389
+ type: 'string',
59390
+ },
59391
+ preferred_code: {
59392
+ description:
59393
+ 'Preferred PIN code to use when creating access for this reservation.',
59394
+ type: 'string',
59395
+ },
59396
+ property_keys: {
59397
+ description:
59398
+ 'Property keys associated with the access grant.',
59399
+ items: { type: 'string' },
59400
+ type: 'array',
59401
+ },
59402
+ resident_key: {
59403
+ description:
59404
+ 'Resident key associated with the access grant.',
59405
+ type: 'string',
59406
+ },
59407
+ room_keys: {
59408
+ description:
59409
+ 'Room keys associated with the access grant.',
59410
+ items: { type: 'string' },
59411
+ type: 'array',
59412
+ },
59413
+ space_keys: {
59414
+ description:
59415
+ 'Space keys associated with the access grant.',
59416
+ items: { type: 'string' },
59417
+ type: 'array',
59418
+ },
59419
+ starts_at: {
59420
+ description:
59421
+ 'Starting date and time for the access grant.',
59422
+ format: 'date-time',
59423
+ type: 'string',
59424
+ },
59425
+ tenant_key: {
59426
+ description:
59427
+ 'Tenant key associated with the access grant.',
59428
+ type: 'string',
59429
+ },
59430
+ unit_keys: {
59431
+ description:
59432
+ 'Unit keys associated with the access grant.',
59433
+ items: { type: 'string' },
59434
+ type: 'array',
59435
+ },
59436
+ user_identity_key: {
59437
+ description:
59438
+ 'User identity key associated with the access grant.',
59439
+ type: 'string',
59440
+ },
59441
+ user_key: {
59442
+ description:
59443
+ 'User key associated with the access grant.',
59444
+ type: 'string',
59445
+ },
59446
+ },
59447
+ required: ['booking_key'],
59448
+ type: 'object',
59449
+ },
59450
+ type: 'array',
59451
+ },
59452
+ buildings: {
59453
+ description: 'List of buildings.',
59454
+ items: {
59455
+ properties: {
59456
+ building_key: {
59457
+ description:
59458
+ 'Your unique identifier for the building.',
59459
+ minLength: 1,
59460
+ type: 'string',
59461
+ },
59462
+ name: {
59463
+ description:
59464
+ 'Your display name for this location resource.',
59465
+ type: 'string',
59466
+ },
59467
+ },
59468
+ required: ['name', 'building_key'],
59469
+ type: 'object',
59470
+ },
59471
+ type: 'array',
59472
+ },
59473
+ common_areas: {
59474
+ description: 'List of shared common areas.',
59475
+ items: {
59476
+ properties: {
59477
+ common_area_key: {
59478
+ description:
59479
+ 'Your unique identifier for the common area.',
59480
+ minLength: 1,
59481
+ type: 'string',
59482
+ },
59483
+ name: {
59484
+ description:
59485
+ 'Your display name for this location resource.',
59486
+ type: 'string',
59487
+ },
59488
+ parent_site_key: {
59489
+ description: 'Your unique identifier for the site.',
59490
+ minLength: 1,
59491
+ type: 'string',
59492
+ },
59493
+ },
59494
+ required: ['name', 'common_area_key'],
59495
+ type: 'object',
59496
+ },
59497
+ type: 'array',
59498
+ },
59499
+ facilities: {
59500
+ description: 'List of gym or fitness facilities.',
59501
+ items: {
59502
+ properties: {
59503
+ facility_key: {
59504
+ description:
59505
+ 'Your unique identifier for the facility.',
59506
+ minLength: 1,
59507
+ type: 'string',
59508
+ },
59509
+ name: {
59510
+ description:
59511
+ 'Your display name for this location resource.',
59512
+ type: 'string',
59513
+ },
59514
+ },
59515
+ required: ['name', 'facility_key'],
59516
+ type: 'object',
59517
+ },
59518
+ type: 'array',
59519
+ },
59520
+ guests: {
59521
+ description: 'List of guests.',
59522
+ items: {
59523
+ properties: {
59524
+ email_address: {
59525
+ description:
59526
+ 'Email address associated with the user identity.',
59527
+ type: 'string',
59528
+ },
59529
+ guest_key: {
59530
+ description: 'Your unique identifier for the guest.',
59531
+ minLength: 1,
59532
+ type: 'string',
59533
+ },
59534
+ name: {
59535
+ description:
59536
+ 'Your display name for this user identity resource.',
59537
+ type: 'string',
59538
+ },
59539
+ phone_number: {
59540
+ description:
59541
+ 'Phone number associated with the user identity.',
59542
+ type: 'string',
59543
+ },
59544
+ },
59545
+ required: ['name', 'guest_key'],
59546
+ type: 'object',
59547
+ },
59548
+ type: 'array',
59549
+ },
59550
+ listings: {
59551
+ description: 'List of property listings.',
59552
+ items: {
59553
+ properties: {
59554
+ listing_key: {
59555
+ description:
59556
+ 'Your unique identifier for the listing.',
59557
+ minLength: 1,
59558
+ type: 'string',
59559
+ },
59560
+ name: {
59561
+ description:
59562
+ 'Your display name for this location resource.',
59563
+ type: 'string',
59564
+ },
59565
+ },
59566
+ required: ['name', 'listing_key'],
59567
+ type: 'object',
59568
+ },
59569
+ type: 'array',
59570
+ },
59571
+ properties: {
59572
+ description: 'List of short-term rental properties.',
59573
+ items: {
59574
+ properties: {
59575
+ name: {
59576
+ description:
59577
+ 'Your display name for this location resource.',
59578
+ type: 'string',
59579
+ },
59580
+ property_key: {
59581
+ description:
59582
+ 'Your unique identifier for the property.',
59583
+ minLength: 1,
59584
+ type: 'string',
59585
+ },
59586
+ },
59587
+ required: ['name', 'property_key'],
59588
+ type: 'object',
59589
+ },
59590
+ type: 'array',
59591
+ },
59592
+ property_listings: {
59593
+ description: 'List of property listings.',
59594
+ items: {
59595
+ properties: {
59596
+ custom_metadata: {
59597
+ additionalProperties: {
59598
+ nullable: true,
59599
+ oneOf: [
59600
+ { maxLength: 500, type: 'string' },
59601
+ { type: 'boolean' },
59602
+ ],
59603
+ },
59604
+ description:
59605
+ '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.',
59606
+ type: 'object',
59607
+ },
59608
+ name: {
59609
+ description:
59610
+ 'Your display name for this location resource.',
59611
+ type: 'string',
59612
+ },
59613
+ property_listing_key: {
59614
+ description:
59615
+ 'Your unique identifier for the property listing.',
59616
+ minLength: 1,
59617
+ type: 'string',
59618
+ },
59619
+ },
59620
+ required: ['name', 'property_listing_key'],
59621
+ type: 'object',
59622
+ },
59623
+ type: 'array',
59624
+ },
59625
+ reservations: {
59626
+ description: 'List of reservations.',
59627
+ items: {
59628
+ properties: {
59629
+ building_keys: {
59630
+ description:
59631
+ 'Building keys associated with the access grant.',
59632
+ items: { type: 'string' },
59633
+ type: 'array',
59634
+ },
59635
+ common_area_keys: {
59636
+ description:
59637
+ 'Common area keys associated with the access grant.',
59638
+ items: { type: 'string' },
59639
+ type: 'array',
59640
+ },
59641
+ ends_at: {
59642
+ description:
59643
+ 'Ending date and time for the access grant.',
59644
+ format: 'date-time',
59645
+ type: 'string',
59646
+ },
59647
+ facility_keys: {
59648
+ description:
59649
+ 'Facility keys associated with the access grant.',
59650
+ items: { type: 'string' },
59651
+ type: 'array',
59652
+ },
59653
+ guest_key: {
59654
+ description:
59655
+ 'Guest key associated with the access grant.',
59656
+ type: 'string',
59657
+ },
59658
+ listing_keys: {
59659
+ description:
59660
+ 'Listing keys associated with the access grant.',
59661
+ items: { type: 'string' },
59662
+ type: 'array',
59663
+ },
59664
+ name: {
59665
+ description:
59666
+ 'Your name for this access grant resource.',
59667
+ type: 'string',
59668
+ },
59669
+ preferred_code: {
59670
+ description:
59671
+ 'Preferred PIN code to use when creating access for this reservation.',
59672
+ type: 'string',
59673
+ },
59674
+ property_keys: {
59675
+ description:
59676
+ 'Property keys associated with the access grant.',
59677
+ items: { type: 'string' },
59678
+ type: 'array',
59679
+ },
59680
+ reservation_key: {
59681
+ description:
59682
+ 'Your unique identifier for the reservation.',
59683
+ minLength: 1,
59684
+ type: 'string',
59685
+ },
59686
+ resident_key: {
59687
+ description:
59688
+ 'Resident key associated with the access grant.',
59689
+ type: 'string',
59690
+ },
59691
+ room_keys: {
59692
+ description:
59693
+ 'Room keys associated with the access grant.',
59694
+ items: { type: 'string' },
59695
+ type: 'array',
59696
+ },
59697
+ space_keys: {
59698
+ description:
59699
+ 'Space keys associated with the access grant.',
59700
+ items: { type: 'string' },
59701
+ type: 'array',
59702
+ },
59703
+ starts_at: {
59704
+ description:
59705
+ 'Starting date and time for the access grant.',
59706
+ format: 'date-time',
59707
+ type: 'string',
59708
+ },
59709
+ tenant_key: {
59710
+ description:
59711
+ 'Tenant key associated with the access grant.',
59712
+ type: 'string',
59713
+ },
59714
+ unit_keys: {
59715
+ description:
59716
+ 'Unit keys associated with the access grant.',
59717
+ items: { type: 'string' },
59718
+ type: 'array',
59719
+ },
59720
+ user_identity_key: {
59721
+ description:
59722
+ 'User identity key associated with the access grant.',
59723
+ type: 'string',
59724
+ },
59725
+ user_key: {
59726
+ description:
59727
+ 'User key associated with the access grant.',
59728
+ type: 'string',
59729
+ },
59730
+ },
59731
+ required: ['reservation_key'],
59732
+ type: 'object',
59733
+ },
59734
+ type: 'array',
59735
+ },
59736
+ residents: {
59737
+ description: 'List of residents.',
59738
+ items: {
59739
+ properties: {
59740
+ email_address: {
59741
+ description:
59742
+ 'Email address associated with the user identity.',
59743
+ type: 'string',
59744
+ },
59745
+ name: {
59746
+ description:
59747
+ 'Your display name for this user identity resource.',
59748
+ type: 'string',
59749
+ },
59750
+ phone_number: {
59751
+ description:
59752
+ 'Phone number associated with the user identity.',
59753
+ type: 'string',
59754
+ },
59755
+ resident_key: {
59756
+ description:
59757
+ 'Your unique identifier for the resident.',
59758
+ minLength: 1,
59759
+ type: 'string',
59760
+ },
59761
+ },
59762
+ required: ['name', 'resident_key'],
59763
+ type: 'object',
59764
+ },
59765
+ type: 'array',
59766
+ },
59767
+ rooms: {
59768
+ description: 'List of hotel or hospitality rooms.',
59769
+ items: {
59770
+ properties: {
59771
+ name: {
59772
+ description:
59773
+ 'Your display name for this location resource.',
59774
+ type: 'string',
59775
+ },
59776
+ parent_site_key: {
59777
+ description: 'Your unique identifier for the site.',
59778
+ minLength: 1,
59779
+ type: 'string',
59780
+ },
59781
+ room_key: {
59782
+ description: 'Your unique identifier for the room.',
59783
+ minLength: 1,
59784
+ type: 'string',
59785
+ },
59786
+ },
59787
+ required: ['name', 'room_key'],
59788
+ type: 'object',
59789
+ },
59790
+ type: 'array',
59791
+ },
59792
+ sites: {
59793
+ description: 'List of general sites or areas.',
59794
+ items: {
59795
+ properties: {
59796
+ name: {
59797
+ description:
59798
+ 'Your display name for this location resource.',
59799
+ type: 'string',
59800
+ },
59801
+ site_key: {
59802
+ description: 'Your unique identifier for the site.',
59803
+ minLength: 1,
59804
+ type: 'string',
59805
+ },
59806
+ },
59807
+ required: ['name', 'site_key'],
59808
+ type: 'object',
59809
+ },
59810
+ type: 'array',
59811
+ },
59812
+ spaces: {
59813
+ description: 'List of general spaces or areas.',
59814
+ items: {
59815
+ properties: {
59816
+ name: {
59817
+ description:
59818
+ 'Your display name for this location resource.',
59819
+ type: 'string',
59820
+ },
59821
+ space_key: {
59822
+ description: 'Your unique identifier for the space.',
59823
+ minLength: 1,
59824
+ type: 'string',
59825
+ },
59826
+ },
59827
+ required: ['name', 'space_key'],
59828
+ type: 'object',
59829
+ },
59830
+ type: 'array',
59831
+ },
59832
+ staff_members: {
59833
+ description: 'List of staff members.',
59834
+ items: {
59835
+ description:
59836
+ 'Represents a staff member for a specific customer.',
59837
+ properties: {
59838
+ building_keys: {
59839
+ description:
59840
+ 'List of unique identifiers for the buildings the staff member is associated with.',
59841
+ items: { type: 'string' },
59842
+ type: 'array',
59843
+ },
59844
+ common_area_keys: {
59845
+ description:
59846
+ 'List of unique identifiers for the common areas the staff member is associated with.',
59847
+ items: { type: 'string' },
59848
+ type: 'array',
59849
+ },
59850
+ email_address: {
59851
+ description:
59852
+ 'Email address associated with the user identity.',
59853
+ type: 'string',
59854
+ },
59855
+ facility_keys: {
59856
+ description:
59857
+ 'List of unique identifiers for the facilities the staff member is associated with.',
59858
+ items: { type: 'string' },
59859
+ type: 'array',
59860
+ },
59861
+ listing_keys: {
59862
+ description:
59863
+ 'List of unique identifiers for the listings the staff member is associated with.',
59864
+ items: { type: 'string' },
59865
+ type: 'array',
59866
+ },
59867
+ name: {
59868
+ description:
59869
+ 'Your display name for this user identity resource.',
59870
+ type: 'string',
59871
+ },
59872
+ phone_number: {
59873
+ description:
59874
+ 'Phone number associated with the user identity.',
59875
+ type: 'string',
59876
+ },
59877
+ property_keys: {
59878
+ description:
59879
+ 'List of unique identifiers for the properties the staff member is associated with.',
59880
+ items: { type: 'string' },
59881
+ type: 'array',
59882
+ },
59883
+ property_listing_keys: {
59884
+ description:
59885
+ 'List of unique identifiers for the property listings the staff member is associated with.',
59886
+ items: { type: 'string' },
59887
+ type: 'array',
59888
+ },
59889
+ room_keys: {
59890
+ description:
59891
+ 'List of unique identifiers for the rooms the staff member is associated with.',
59892
+ items: { type: 'string' },
59893
+ type: 'array',
59894
+ },
59895
+ site_keys: {
59896
+ description:
59897
+ 'List of unique identifiers for the sites the staff member is associated with.',
59898
+ items: { type: 'string' },
59899
+ type: 'array',
59900
+ },
59901
+ space_keys: {
59902
+ description:
59903
+ 'List of unique identifiers for the spaces the staff member is associated with.',
59904
+ items: { type: 'string' },
59905
+ type: 'array',
59906
+ },
59907
+ staff_member_key: {
59908
+ description: 'Your unique identifier for the staff.',
59909
+ type: 'string',
59910
+ },
59911
+ unit_keys: {
59912
+ description:
59913
+ 'List of unique identifiers for the units the staff member is associated with.',
59914
+ items: { type: 'string' },
59915
+ type: 'array',
59916
+ },
59917
+ },
59918
+ required: ['name', 'staff_member_key'],
59919
+ type: 'object',
59920
+ 'x-route-path': '/seam/customer/v1/staff_members',
59921
+ },
59922
+ type: 'array',
59923
+ },
59924
+ tenants: {
59925
+ description: 'List of tenants.',
59926
+ items: {
59927
+ properties: {
59928
+ email_address: {
59929
+ description:
59930
+ 'Email address associated with the user identity.',
59931
+ type: 'string',
59932
+ },
59933
+ name: {
59934
+ description:
59935
+ 'Your display name for this user identity resource.',
59936
+ type: 'string',
59937
+ },
59938
+ phone_number: {
59939
+ description:
59940
+ 'Phone number associated with the user identity.',
59941
+ type: 'string',
59942
+ },
59943
+ tenant_key: {
59944
+ description: 'Your unique identifier for the tenant.',
59945
+ minLength: 1,
59946
+ type: 'string',
59947
+ },
59948
+ },
59949
+ required: ['name', 'tenant_key'],
59950
+ type: 'object',
59951
+ },
59952
+ type: 'array',
59953
+ },
59954
+ units: {
59955
+ description: 'List of multi-family residential units.',
59956
+ items: {
59957
+ properties: {
59958
+ name: {
59959
+ description:
59960
+ 'Your display name for this location resource.',
59961
+ type: 'string',
59962
+ },
59963
+ parent_site_key: {
59964
+ description: 'Your unique identifier for the site.',
59965
+ minLength: 1,
59966
+ type: 'string',
59967
+ },
59968
+ unit_key: {
59969
+ description: 'Your unique identifier for the unit.',
59970
+ minLength: 1,
59971
+ type: 'string',
59972
+ },
59973
+ },
59974
+ required: ['name', 'unit_key'],
59975
+ type: 'object',
59976
+ },
59977
+ type: 'array',
59978
+ },
59979
+ user_identities: {
59980
+ description: 'List of user identities.',
59981
+ items: {
59982
+ properties: {
59983
+ email_address: {
59984
+ description:
59985
+ 'Email address associated with the user identity.',
59986
+ type: 'string',
59987
+ },
59988
+ name: {
59989
+ description:
59990
+ 'Your display name for this user identity resource.',
59991
+ type: 'string',
59992
+ },
59993
+ phone_number: {
59994
+ description:
59995
+ 'Phone number associated with the user identity.',
59996
+ type: 'string',
59997
+ },
59998
+ user_identity_key: {
59999
+ description:
60000
+ 'Your unique identifier for the user identity.',
60001
+ minLength: 1,
60002
+ type: 'string',
60003
+ },
60004
+ },
60005
+ required: ['name', 'user_identity_key'],
60006
+ type: 'object',
60007
+ },
60008
+ type: 'array',
60009
+ },
60010
+ users: {
60011
+ description: 'List of users.',
60012
+ items: {
60013
+ properties: {
60014
+ email_address: {
60015
+ description:
60016
+ 'Email address associated with the user identity.',
60017
+ type: 'string',
60018
+ },
60019
+ name: {
60020
+ description:
60021
+ 'Your display name for this user identity resource.',
60022
+ type: 'string',
60023
+ },
60024
+ phone_number: {
60025
+ description:
60026
+ 'Phone number associated with the user identity.',
60027
+ type: 'string',
60028
+ },
60029
+ user_key: {
60030
+ description: 'Your unique identifier for the user.',
60031
+ minLength: 1,
60032
+ type: 'string',
60033
+ },
60034
+ },
60035
+ required: ['name', 'user_key'],
60036
+ type: 'object',
60037
+ },
60038
+ type: 'array',
60039
+ },
60040
+ },
60041
+ type: 'object',
60042
+ },
60043
+ },
60044
+ },
60045
+ },
60046
+ responses: {
60047
+ 200: {
60048
+ content: {
60049
+ 'application/json': {
60050
+ schema: {
60051
+ properties: { ok: { type: 'boolean' } },
60052
+ required: ['ok'],
60053
+ type: 'object',
60054
+ },
60055
+ },
60056
+ },
60057
+ description: 'OK',
60058
+ },
60059
+ 400: { description: 'Bad Request' },
60060
+ 401: { description: 'Unauthorized' },
60061
+ },
60062
+ security: [{ client_session_with_customer: [] }],
60063
+ summary: '/seam/v1/customers/push_data',
60064
+ tags: [],
60065
+ 'x-fern-sdk-group-name': ['seam', 'v1', 'customers'],
60066
+ 'x-fern-sdk-method-name': 'push_data',
60067
+ 'x-response-key': null,
60068
+ 'x-title': 'Push Customer Data',
60069
+ },
60070
+ },
59035
60071
  '/spaces/add_acs_entrances': {
59036
60072
  post: {
59037
60073
  description: