@seamapi/types 1.208.0 → 1.209.1
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 +247 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1209 -0
- package/lib/seam/connect/openapi.d.ts +154 -0
- package/lib/seam/connect/openapi.js +247 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1055 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +248 -0
- package/src/lib/seam/connect/route-types.ts +1636 -0
package/package.json
CHANGED
|
@@ -10350,6 +10350,254 @@ export default {
|
|
|
10350
10350
|
'x-fern-sdk-return-value': 'networks',
|
|
10351
10351
|
},
|
|
10352
10352
|
},
|
|
10353
|
+
'/noise_sensors/list': {
|
|
10354
|
+
post: {
|
|
10355
|
+
operationId: 'noiseSensorsListPost',
|
|
10356
|
+
requestBody: {
|
|
10357
|
+
content: {
|
|
10358
|
+
'application/json': {
|
|
10359
|
+
schema: {
|
|
10360
|
+
properties: {
|
|
10361
|
+
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
10362
|
+
connected_account_id: {
|
|
10363
|
+
description:
|
|
10364
|
+
'List all devices owned by this connected account',
|
|
10365
|
+
format: 'uuid',
|
|
10366
|
+
type: 'string',
|
|
10367
|
+
},
|
|
10368
|
+
connected_account_ids: {
|
|
10369
|
+
items: { format: 'uuid', type: 'string' },
|
|
10370
|
+
type: 'array',
|
|
10371
|
+
},
|
|
10372
|
+
created_before: { format: 'date-time', type: 'string' },
|
|
10373
|
+
custom_metadata_has: {
|
|
10374
|
+
additionalProperties: {
|
|
10375
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
10376
|
+
},
|
|
10377
|
+
type: 'object',
|
|
10378
|
+
},
|
|
10379
|
+
device_ids: {
|
|
10380
|
+
items: { format: 'uuid', type: 'string' },
|
|
10381
|
+
type: 'array',
|
|
10382
|
+
},
|
|
10383
|
+
device_type: {
|
|
10384
|
+
oneOf: [
|
|
10385
|
+
{
|
|
10386
|
+
enum: [
|
|
10387
|
+
'akuvox_lock',
|
|
10388
|
+
'august_lock',
|
|
10389
|
+
'brivo_access_point',
|
|
10390
|
+
'butterflymx_panel',
|
|
10391
|
+
'avigilon_alta_entry',
|
|
10392
|
+
'doorking_lock',
|
|
10393
|
+
'genie_door',
|
|
10394
|
+
'igloo_lock',
|
|
10395
|
+
'linear_lock',
|
|
10396
|
+
'lockly_lock',
|
|
10397
|
+
'kwikset_lock',
|
|
10398
|
+
'nuki_lock',
|
|
10399
|
+
'salto_lock',
|
|
10400
|
+
'schlage_lock',
|
|
10401
|
+
'seam_relay',
|
|
10402
|
+
'smartthings_lock',
|
|
10403
|
+
'wyze_lock',
|
|
10404
|
+
'yale_lock',
|
|
10405
|
+
'two_n_intercom',
|
|
10406
|
+
'controlbyweb_device',
|
|
10407
|
+
'ttlock_lock',
|
|
10408
|
+
'igloohome_lock',
|
|
10409
|
+
'hubitat_lock',
|
|
10410
|
+
'four_suites_door',
|
|
10411
|
+
'dormakaba_oracode_door',
|
|
10412
|
+
'tedee_lock',
|
|
10413
|
+
],
|
|
10414
|
+
type: 'string',
|
|
10415
|
+
},
|
|
10416
|
+
{
|
|
10417
|
+
enum: ['noiseaware_activity_zone', 'minut_sensor'],
|
|
10418
|
+
type: 'string',
|
|
10419
|
+
},
|
|
10420
|
+
{
|
|
10421
|
+
enum: [
|
|
10422
|
+
'ecobee_thermostat',
|
|
10423
|
+
'nest_thermostat',
|
|
10424
|
+
'honeywell_resideo_thermostat',
|
|
10425
|
+
],
|
|
10426
|
+
type: 'string',
|
|
10427
|
+
},
|
|
10428
|
+
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
10429
|
+
],
|
|
10430
|
+
},
|
|
10431
|
+
device_types: {
|
|
10432
|
+
items: {
|
|
10433
|
+
oneOf: [
|
|
10434
|
+
{
|
|
10435
|
+
enum: [
|
|
10436
|
+
'akuvox_lock',
|
|
10437
|
+
'august_lock',
|
|
10438
|
+
'brivo_access_point',
|
|
10439
|
+
'butterflymx_panel',
|
|
10440
|
+
'avigilon_alta_entry',
|
|
10441
|
+
'doorking_lock',
|
|
10442
|
+
'genie_door',
|
|
10443
|
+
'igloo_lock',
|
|
10444
|
+
'linear_lock',
|
|
10445
|
+
'lockly_lock',
|
|
10446
|
+
'kwikset_lock',
|
|
10447
|
+
'nuki_lock',
|
|
10448
|
+
'salto_lock',
|
|
10449
|
+
'schlage_lock',
|
|
10450
|
+
'seam_relay',
|
|
10451
|
+
'smartthings_lock',
|
|
10452
|
+
'wyze_lock',
|
|
10453
|
+
'yale_lock',
|
|
10454
|
+
'two_n_intercom',
|
|
10455
|
+
'controlbyweb_device',
|
|
10456
|
+
'ttlock_lock',
|
|
10457
|
+
'igloohome_lock',
|
|
10458
|
+
'hubitat_lock',
|
|
10459
|
+
'four_suites_door',
|
|
10460
|
+
'dormakaba_oracode_door',
|
|
10461
|
+
'tedee_lock',
|
|
10462
|
+
],
|
|
10463
|
+
type: 'string',
|
|
10464
|
+
},
|
|
10465
|
+
{
|
|
10466
|
+
enum: ['noiseaware_activity_zone', 'minut_sensor'],
|
|
10467
|
+
type: 'string',
|
|
10468
|
+
},
|
|
10469
|
+
{
|
|
10470
|
+
enum: [
|
|
10471
|
+
'ecobee_thermostat',
|
|
10472
|
+
'nest_thermostat',
|
|
10473
|
+
'honeywell_resideo_thermostat',
|
|
10474
|
+
],
|
|
10475
|
+
type: 'string',
|
|
10476
|
+
},
|
|
10477
|
+
{
|
|
10478
|
+
enum: ['ios_phone', 'android_phone'],
|
|
10479
|
+
type: 'string',
|
|
10480
|
+
},
|
|
10481
|
+
],
|
|
10482
|
+
},
|
|
10483
|
+
type: 'array',
|
|
10484
|
+
},
|
|
10485
|
+
exclude_if: {
|
|
10486
|
+
items: {
|
|
10487
|
+
enum: [
|
|
10488
|
+
'can_remotely_unlock',
|
|
10489
|
+
'can_remotely_lock',
|
|
10490
|
+
'can_program_offline_access_codes',
|
|
10491
|
+
'can_program_online_access_codes',
|
|
10492
|
+
'can_simulate_removal',
|
|
10493
|
+
'can_simulate_connection',
|
|
10494
|
+
'can_simulate_disconnection',
|
|
10495
|
+
],
|
|
10496
|
+
type: 'string',
|
|
10497
|
+
},
|
|
10498
|
+
type: 'array',
|
|
10499
|
+
},
|
|
10500
|
+
include_if: {
|
|
10501
|
+
items: {
|
|
10502
|
+
enum: [
|
|
10503
|
+
'can_remotely_unlock',
|
|
10504
|
+
'can_remotely_lock',
|
|
10505
|
+
'can_program_offline_access_codes',
|
|
10506
|
+
'can_program_online_access_codes',
|
|
10507
|
+
'can_simulate_removal',
|
|
10508
|
+
'can_simulate_connection',
|
|
10509
|
+
'can_simulate_disconnection',
|
|
10510
|
+
],
|
|
10511
|
+
type: 'string',
|
|
10512
|
+
},
|
|
10513
|
+
type: 'array',
|
|
10514
|
+
},
|
|
10515
|
+
limit: { default: 500, format: 'float', type: 'number' },
|
|
10516
|
+
manufacturer: {
|
|
10517
|
+
enum: [
|
|
10518
|
+
'akuvox',
|
|
10519
|
+
'august',
|
|
10520
|
+
'avigilon_alta',
|
|
10521
|
+
'brivo',
|
|
10522
|
+
'butterflymx',
|
|
10523
|
+
'doorking',
|
|
10524
|
+
'four_suites',
|
|
10525
|
+
'genie',
|
|
10526
|
+
'igloo',
|
|
10527
|
+
'keywe',
|
|
10528
|
+
'kwikset',
|
|
10529
|
+
'linear',
|
|
10530
|
+
'lockly',
|
|
10531
|
+
'nuki',
|
|
10532
|
+
'philia',
|
|
10533
|
+
'salto',
|
|
10534
|
+
'samsung',
|
|
10535
|
+
'schlage',
|
|
10536
|
+
'seam',
|
|
10537
|
+
'unknown',
|
|
10538
|
+
'wyze',
|
|
10539
|
+
'yale',
|
|
10540
|
+
'minut',
|
|
10541
|
+
'two_n',
|
|
10542
|
+
'ttlock',
|
|
10543
|
+
'nest',
|
|
10544
|
+
'igloohome',
|
|
10545
|
+
'ecobee',
|
|
10546
|
+
'hubitat',
|
|
10547
|
+
'controlbyweb',
|
|
10548
|
+
'smartthings',
|
|
10549
|
+
'dormakaba_oracode',
|
|
10550
|
+
'tedee',
|
|
10551
|
+
'honeywell_resideo',
|
|
10552
|
+
],
|
|
10553
|
+
type: 'string',
|
|
10554
|
+
},
|
|
10555
|
+
user_identifier_key: { type: 'string' },
|
|
10556
|
+
},
|
|
10557
|
+
type: 'object',
|
|
10558
|
+
},
|
|
10559
|
+
},
|
|
10560
|
+
},
|
|
10561
|
+
},
|
|
10562
|
+
responses: {
|
|
10563
|
+
200: {
|
|
10564
|
+
content: {
|
|
10565
|
+
'application/json': {
|
|
10566
|
+
schema: {
|
|
10567
|
+
properties: {
|
|
10568
|
+
devices: {
|
|
10569
|
+
items: { $ref: '#/components/schemas/device' },
|
|
10570
|
+
type: 'array',
|
|
10571
|
+
},
|
|
10572
|
+
noise_sensors: {
|
|
10573
|
+
items: { $ref: '#/components/schemas/device' },
|
|
10574
|
+
type: 'array',
|
|
10575
|
+
},
|
|
10576
|
+
ok: { type: 'boolean' },
|
|
10577
|
+
},
|
|
10578
|
+
required: ['noise_sensors', 'devices', 'ok'],
|
|
10579
|
+
type: 'object',
|
|
10580
|
+
},
|
|
10581
|
+
},
|
|
10582
|
+
},
|
|
10583
|
+
description: 'OK',
|
|
10584
|
+
},
|
|
10585
|
+
400: { description: 'Bad Request' },
|
|
10586
|
+
401: { description: 'Unauthorized' },
|
|
10587
|
+
},
|
|
10588
|
+
security: [
|
|
10589
|
+
{ client_session: [] },
|
|
10590
|
+
{ pat_with_workspace: [] },
|
|
10591
|
+
{ console_session: [] },
|
|
10592
|
+
{ api_key: [] },
|
|
10593
|
+
],
|
|
10594
|
+
summary: '/noise_sensors/list',
|
|
10595
|
+
tags: ['/noise_sensors'],
|
|
10596
|
+
'x-fern-sdk-group-name': ['noise_sensors'],
|
|
10597
|
+
'x-fern-sdk-method-name': 'list',
|
|
10598
|
+
'x-fern-sdk-return-value': 'devices',
|
|
10599
|
+
},
|
|
10600
|
+
},
|
|
10353
10601
|
'/noise_sensors/noise_thresholds/create': {
|
|
10354
10602
|
post: {
|
|
10355
10603
|
operationId: 'noiseSensorsNoiseThresholdsCreatePost',
|