@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
|
@@ -11911,6 +11911,160 @@ declare const _default: {
|
|
|
11911
11911
|
'x-fern-sdk-return-value': string;
|
|
11912
11912
|
};
|
|
11913
11913
|
};
|
|
11914
|
+
'/noise_sensors/list': {
|
|
11915
|
+
post: {
|
|
11916
|
+
operationId: string;
|
|
11917
|
+
requestBody: {
|
|
11918
|
+
content: {
|
|
11919
|
+
'application/json': {
|
|
11920
|
+
schema: {
|
|
11921
|
+
properties: {
|
|
11922
|
+
connect_webview_id: {
|
|
11923
|
+
format: string;
|
|
11924
|
+
type: string;
|
|
11925
|
+
};
|
|
11926
|
+
connected_account_id: {
|
|
11927
|
+
description: string;
|
|
11928
|
+
format: string;
|
|
11929
|
+
type: string;
|
|
11930
|
+
};
|
|
11931
|
+
connected_account_ids: {
|
|
11932
|
+
items: {
|
|
11933
|
+
format: string;
|
|
11934
|
+
type: string;
|
|
11935
|
+
};
|
|
11936
|
+
type: string;
|
|
11937
|
+
};
|
|
11938
|
+
created_before: {
|
|
11939
|
+
format: string;
|
|
11940
|
+
type: string;
|
|
11941
|
+
};
|
|
11942
|
+
custom_metadata_has: {
|
|
11943
|
+
additionalProperties: {
|
|
11944
|
+
oneOf: {
|
|
11945
|
+
type: string;
|
|
11946
|
+
}[];
|
|
11947
|
+
};
|
|
11948
|
+
type: string;
|
|
11949
|
+
};
|
|
11950
|
+
device_ids: {
|
|
11951
|
+
items: {
|
|
11952
|
+
format: string;
|
|
11953
|
+
type: string;
|
|
11954
|
+
};
|
|
11955
|
+
type: string;
|
|
11956
|
+
};
|
|
11957
|
+
device_type: {
|
|
11958
|
+
oneOf: {
|
|
11959
|
+
enum: string[];
|
|
11960
|
+
type: string;
|
|
11961
|
+
}[];
|
|
11962
|
+
};
|
|
11963
|
+
device_types: {
|
|
11964
|
+
items: {
|
|
11965
|
+
oneOf: {
|
|
11966
|
+
enum: string[];
|
|
11967
|
+
type: string;
|
|
11968
|
+
}[];
|
|
11969
|
+
};
|
|
11970
|
+
type: string;
|
|
11971
|
+
};
|
|
11972
|
+
exclude_if: {
|
|
11973
|
+
items: {
|
|
11974
|
+
enum: string[];
|
|
11975
|
+
type: string;
|
|
11976
|
+
};
|
|
11977
|
+
type: string;
|
|
11978
|
+
};
|
|
11979
|
+
include_if: {
|
|
11980
|
+
items: {
|
|
11981
|
+
enum: string[];
|
|
11982
|
+
type: string;
|
|
11983
|
+
};
|
|
11984
|
+
type: string;
|
|
11985
|
+
};
|
|
11986
|
+
limit: {
|
|
11987
|
+
default: number;
|
|
11988
|
+
format: string;
|
|
11989
|
+
type: string;
|
|
11990
|
+
};
|
|
11991
|
+
manufacturer: {
|
|
11992
|
+
enum: string[];
|
|
11993
|
+
type: string;
|
|
11994
|
+
};
|
|
11995
|
+
user_identifier_key: {
|
|
11996
|
+
type: string;
|
|
11997
|
+
};
|
|
11998
|
+
};
|
|
11999
|
+
type: string;
|
|
12000
|
+
};
|
|
12001
|
+
};
|
|
12002
|
+
};
|
|
12003
|
+
};
|
|
12004
|
+
responses: {
|
|
12005
|
+
200: {
|
|
12006
|
+
content: {
|
|
12007
|
+
'application/json': {
|
|
12008
|
+
schema: {
|
|
12009
|
+
properties: {
|
|
12010
|
+
devices: {
|
|
12011
|
+
items: {
|
|
12012
|
+
$ref: string;
|
|
12013
|
+
};
|
|
12014
|
+
type: string;
|
|
12015
|
+
};
|
|
12016
|
+
noise_sensors: {
|
|
12017
|
+
items: {
|
|
12018
|
+
$ref: string;
|
|
12019
|
+
};
|
|
12020
|
+
type: string;
|
|
12021
|
+
};
|
|
12022
|
+
ok: {
|
|
12023
|
+
type: string;
|
|
12024
|
+
};
|
|
12025
|
+
};
|
|
12026
|
+
required: string[];
|
|
12027
|
+
type: string;
|
|
12028
|
+
};
|
|
12029
|
+
};
|
|
12030
|
+
};
|
|
12031
|
+
description: string;
|
|
12032
|
+
};
|
|
12033
|
+
400: {
|
|
12034
|
+
description: string;
|
|
12035
|
+
};
|
|
12036
|
+
401: {
|
|
12037
|
+
description: string;
|
|
12038
|
+
};
|
|
12039
|
+
};
|
|
12040
|
+
security: ({
|
|
12041
|
+
client_session: never[];
|
|
12042
|
+
pat_with_workspace?: never;
|
|
12043
|
+
console_session?: never;
|
|
12044
|
+
api_key?: never;
|
|
12045
|
+
} | {
|
|
12046
|
+
pat_with_workspace: never[];
|
|
12047
|
+
client_session?: never;
|
|
12048
|
+
console_session?: never;
|
|
12049
|
+
api_key?: never;
|
|
12050
|
+
} | {
|
|
12051
|
+
console_session: never[];
|
|
12052
|
+
client_session?: never;
|
|
12053
|
+
pat_with_workspace?: never;
|
|
12054
|
+
api_key?: never;
|
|
12055
|
+
} | {
|
|
12056
|
+
api_key: never[];
|
|
12057
|
+
client_session?: never;
|
|
12058
|
+
pat_with_workspace?: never;
|
|
12059
|
+
console_session?: never;
|
|
12060
|
+
})[];
|
|
12061
|
+
summary: string;
|
|
12062
|
+
tags: string[];
|
|
12063
|
+
'x-fern-sdk-group-name': string[];
|
|
12064
|
+
'x-fern-sdk-method-name': string;
|
|
12065
|
+
'x-fern-sdk-return-value': string;
|
|
12066
|
+
};
|
|
12067
|
+
};
|
|
11914
12068
|
'/noise_sensors/noise_thresholds/create': {
|
|
11915
12069
|
post: {
|
|
11916
12070
|
operationId: string;
|
|
@@ -10241,6 +10241,253 @@ export default {
|
|
|
10241
10241
|
'x-fern-sdk-return-value': 'networks',
|
|
10242
10242
|
},
|
|
10243
10243
|
},
|
|
10244
|
+
'/noise_sensors/list': {
|
|
10245
|
+
post: {
|
|
10246
|
+
operationId: 'noiseSensorsListPost',
|
|
10247
|
+
requestBody: {
|
|
10248
|
+
content: {
|
|
10249
|
+
'application/json': {
|
|
10250
|
+
schema: {
|
|
10251
|
+
properties: {
|
|
10252
|
+
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
10253
|
+
connected_account_id: {
|
|
10254
|
+
description: 'List all devices owned by this connected account',
|
|
10255
|
+
format: 'uuid',
|
|
10256
|
+
type: 'string',
|
|
10257
|
+
},
|
|
10258
|
+
connected_account_ids: {
|
|
10259
|
+
items: { format: 'uuid', type: 'string' },
|
|
10260
|
+
type: 'array',
|
|
10261
|
+
},
|
|
10262
|
+
created_before: { format: 'date-time', type: 'string' },
|
|
10263
|
+
custom_metadata_has: {
|
|
10264
|
+
additionalProperties: {
|
|
10265
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
10266
|
+
},
|
|
10267
|
+
type: 'object',
|
|
10268
|
+
},
|
|
10269
|
+
device_ids: {
|
|
10270
|
+
items: { format: 'uuid', type: 'string' },
|
|
10271
|
+
type: 'array',
|
|
10272
|
+
},
|
|
10273
|
+
device_type: {
|
|
10274
|
+
oneOf: [
|
|
10275
|
+
{
|
|
10276
|
+
enum: [
|
|
10277
|
+
'akuvox_lock',
|
|
10278
|
+
'august_lock',
|
|
10279
|
+
'brivo_access_point',
|
|
10280
|
+
'butterflymx_panel',
|
|
10281
|
+
'avigilon_alta_entry',
|
|
10282
|
+
'doorking_lock',
|
|
10283
|
+
'genie_door',
|
|
10284
|
+
'igloo_lock',
|
|
10285
|
+
'linear_lock',
|
|
10286
|
+
'lockly_lock',
|
|
10287
|
+
'kwikset_lock',
|
|
10288
|
+
'nuki_lock',
|
|
10289
|
+
'salto_lock',
|
|
10290
|
+
'schlage_lock',
|
|
10291
|
+
'seam_relay',
|
|
10292
|
+
'smartthings_lock',
|
|
10293
|
+
'wyze_lock',
|
|
10294
|
+
'yale_lock',
|
|
10295
|
+
'two_n_intercom',
|
|
10296
|
+
'controlbyweb_device',
|
|
10297
|
+
'ttlock_lock',
|
|
10298
|
+
'igloohome_lock',
|
|
10299
|
+
'hubitat_lock',
|
|
10300
|
+
'four_suites_door',
|
|
10301
|
+
'dormakaba_oracode_door',
|
|
10302
|
+
'tedee_lock',
|
|
10303
|
+
],
|
|
10304
|
+
type: 'string',
|
|
10305
|
+
},
|
|
10306
|
+
{
|
|
10307
|
+
enum: ['noiseaware_activity_zone', 'minut_sensor'],
|
|
10308
|
+
type: 'string',
|
|
10309
|
+
},
|
|
10310
|
+
{
|
|
10311
|
+
enum: [
|
|
10312
|
+
'ecobee_thermostat',
|
|
10313
|
+
'nest_thermostat',
|
|
10314
|
+
'honeywell_resideo_thermostat',
|
|
10315
|
+
],
|
|
10316
|
+
type: 'string',
|
|
10317
|
+
},
|
|
10318
|
+
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
10319
|
+
],
|
|
10320
|
+
},
|
|
10321
|
+
device_types: {
|
|
10322
|
+
items: {
|
|
10323
|
+
oneOf: [
|
|
10324
|
+
{
|
|
10325
|
+
enum: [
|
|
10326
|
+
'akuvox_lock',
|
|
10327
|
+
'august_lock',
|
|
10328
|
+
'brivo_access_point',
|
|
10329
|
+
'butterflymx_panel',
|
|
10330
|
+
'avigilon_alta_entry',
|
|
10331
|
+
'doorking_lock',
|
|
10332
|
+
'genie_door',
|
|
10333
|
+
'igloo_lock',
|
|
10334
|
+
'linear_lock',
|
|
10335
|
+
'lockly_lock',
|
|
10336
|
+
'kwikset_lock',
|
|
10337
|
+
'nuki_lock',
|
|
10338
|
+
'salto_lock',
|
|
10339
|
+
'schlage_lock',
|
|
10340
|
+
'seam_relay',
|
|
10341
|
+
'smartthings_lock',
|
|
10342
|
+
'wyze_lock',
|
|
10343
|
+
'yale_lock',
|
|
10344
|
+
'two_n_intercom',
|
|
10345
|
+
'controlbyweb_device',
|
|
10346
|
+
'ttlock_lock',
|
|
10347
|
+
'igloohome_lock',
|
|
10348
|
+
'hubitat_lock',
|
|
10349
|
+
'four_suites_door',
|
|
10350
|
+
'dormakaba_oracode_door',
|
|
10351
|
+
'tedee_lock',
|
|
10352
|
+
],
|
|
10353
|
+
type: 'string',
|
|
10354
|
+
},
|
|
10355
|
+
{
|
|
10356
|
+
enum: ['noiseaware_activity_zone', 'minut_sensor'],
|
|
10357
|
+
type: 'string',
|
|
10358
|
+
},
|
|
10359
|
+
{
|
|
10360
|
+
enum: [
|
|
10361
|
+
'ecobee_thermostat',
|
|
10362
|
+
'nest_thermostat',
|
|
10363
|
+
'honeywell_resideo_thermostat',
|
|
10364
|
+
],
|
|
10365
|
+
type: 'string',
|
|
10366
|
+
},
|
|
10367
|
+
{
|
|
10368
|
+
enum: ['ios_phone', 'android_phone'],
|
|
10369
|
+
type: 'string',
|
|
10370
|
+
},
|
|
10371
|
+
],
|
|
10372
|
+
},
|
|
10373
|
+
type: 'array',
|
|
10374
|
+
},
|
|
10375
|
+
exclude_if: {
|
|
10376
|
+
items: {
|
|
10377
|
+
enum: [
|
|
10378
|
+
'can_remotely_unlock',
|
|
10379
|
+
'can_remotely_lock',
|
|
10380
|
+
'can_program_offline_access_codes',
|
|
10381
|
+
'can_program_online_access_codes',
|
|
10382
|
+
'can_simulate_removal',
|
|
10383
|
+
'can_simulate_connection',
|
|
10384
|
+
'can_simulate_disconnection',
|
|
10385
|
+
],
|
|
10386
|
+
type: 'string',
|
|
10387
|
+
},
|
|
10388
|
+
type: 'array',
|
|
10389
|
+
},
|
|
10390
|
+
include_if: {
|
|
10391
|
+
items: {
|
|
10392
|
+
enum: [
|
|
10393
|
+
'can_remotely_unlock',
|
|
10394
|
+
'can_remotely_lock',
|
|
10395
|
+
'can_program_offline_access_codes',
|
|
10396
|
+
'can_program_online_access_codes',
|
|
10397
|
+
'can_simulate_removal',
|
|
10398
|
+
'can_simulate_connection',
|
|
10399
|
+
'can_simulate_disconnection',
|
|
10400
|
+
],
|
|
10401
|
+
type: 'string',
|
|
10402
|
+
},
|
|
10403
|
+
type: 'array',
|
|
10404
|
+
},
|
|
10405
|
+
limit: { default: 500, format: 'float', type: 'number' },
|
|
10406
|
+
manufacturer: {
|
|
10407
|
+
enum: [
|
|
10408
|
+
'akuvox',
|
|
10409
|
+
'august',
|
|
10410
|
+
'avigilon_alta',
|
|
10411
|
+
'brivo',
|
|
10412
|
+
'butterflymx',
|
|
10413
|
+
'doorking',
|
|
10414
|
+
'four_suites',
|
|
10415
|
+
'genie',
|
|
10416
|
+
'igloo',
|
|
10417
|
+
'keywe',
|
|
10418
|
+
'kwikset',
|
|
10419
|
+
'linear',
|
|
10420
|
+
'lockly',
|
|
10421
|
+
'nuki',
|
|
10422
|
+
'philia',
|
|
10423
|
+
'salto',
|
|
10424
|
+
'samsung',
|
|
10425
|
+
'schlage',
|
|
10426
|
+
'seam',
|
|
10427
|
+
'unknown',
|
|
10428
|
+
'wyze',
|
|
10429
|
+
'yale',
|
|
10430
|
+
'minut',
|
|
10431
|
+
'two_n',
|
|
10432
|
+
'ttlock',
|
|
10433
|
+
'nest',
|
|
10434
|
+
'igloohome',
|
|
10435
|
+
'ecobee',
|
|
10436
|
+
'hubitat',
|
|
10437
|
+
'controlbyweb',
|
|
10438
|
+
'smartthings',
|
|
10439
|
+
'dormakaba_oracode',
|
|
10440
|
+
'tedee',
|
|
10441
|
+
'honeywell_resideo',
|
|
10442
|
+
],
|
|
10443
|
+
type: 'string',
|
|
10444
|
+
},
|
|
10445
|
+
user_identifier_key: { type: 'string' },
|
|
10446
|
+
},
|
|
10447
|
+
type: 'object',
|
|
10448
|
+
},
|
|
10449
|
+
},
|
|
10450
|
+
},
|
|
10451
|
+
},
|
|
10452
|
+
responses: {
|
|
10453
|
+
200: {
|
|
10454
|
+
content: {
|
|
10455
|
+
'application/json': {
|
|
10456
|
+
schema: {
|
|
10457
|
+
properties: {
|
|
10458
|
+
devices: {
|
|
10459
|
+
items: { $ref: '#/components/schemas/device' },
|
|
10460
|
+
type: 'array',
|
|
10461
|
+
},
|
|
10462
|
+
noise_sensors: {
|
|
10463
|
+
items: { $ref: '#/components/schemas/device' },
|
|
10464
|
+
type: 'array',
|
|
10465
|
+
},
|
|
10466
|
+
ok: { type: 'boolean' },
|
|
10467
|
+
},
|
|
10468
|
+
required: ['noise_sensors', 'devices', 'ok'],
|
|
10469
|
+
type: 'object',
|
|
10470
|
+
},
|
|
10471
|
+
},
|
|
10472
|
+
},
|
|
10473
|
+
description: 'OK',
|
|
10474
|
+
},
|
|
10475
|
+
400: { description: 'Bad Request' },
|
|
10476
|
+
401: { description: 'Unauthorized' },
|
|
10477
|
+
},
|
|
10478
|
+
security: [
|
|
10479
|
+
{ client_session: [] },
|
|
10480
|
+
{ pat_with_workspace: [] },
|
|
10481
|
+
{ console_session: [] },
|
|
10482
|
+
{ api_key: [] },
|
|
10483
|
+
],
|
|
10484
|
+
summary: '/noise_sensors/list',
|
|
10485
|
+
tags: ['/noise_sensors'],
|
|
10486
|
+
'x-fern-sdk-group-name': ['noise_sensors'],
|
|
10487
|
+
'x-fern-sdk-method-name': 'list',
|
|
10488
|
+
'x-fern-sdk-return-value': 'devices',
|
|
10489
|
+
},
|
|
10490
|
+
},
|
|
10244
10491
|
'/noise_sensors/noise_thresholds/create': {
|
|
10245
10492
|
post: {
|
|
10246
10493
|
operationId: 'noiseSensorsNoiseThresholdsCreatePost',
|