@seamapi/types 1.207.0 → 1.209.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 +278 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1699 -432
- package/lib/seam/connect/models/acs/acs-user.d.ts +64 -0
- package/lib/seam/connect/models/acs/acs-user.js +15 -0
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +174 -0
- package/lib/seam/connect/openapi.js +260 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1293 -223
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +22 -0
- package/src/lib/seam/connect/openapi.ts +261 -0
- package/src/lib/seam/connect/route-types.ts +1737 -94
package/dist/connect.cjs
CHANGED
|
@@ -1261,6 +1261,21 @@ var acs_user_external_type = zod.z.enum([
|
|
|
1261
1261
|
"salto_site_user",
|
|
1262
1262
|
"latch_user"
|
|
1263
1263
|
]);
|
|
1264
|
+
var common_acs_users_warning = zod.z.object({
|
|
1265
|
+
created_at: zod.z.string().datetime(),
|
|
1266
|
+
message: zod.z.string()
|
|
1267
|
+
});
|
|
1268
|
+
var acs_users_being_deleted = common_acs_users_warning.extend({
|
|
1269
|
+
warning_code: zod.z.literal("being_deleted")
|
|
1270
|
+
});
|
|
1271
|
+
zod.z.object({
|
|
1272
|
+
being_deleted: acs_users_being_deleted.optional().nullable()
|
|
1273
|
+
});
|
|
1274
|
+
var acs_users_warning = (
|
|
1275
|
+
// TODO: once we have more than one warning we should use z.union
|
|
1276
|
+
// z.union([
|
|
1277
|
+
acs_users_being_deleted
|
|
1278
|
+
);
|
|
1264
1279
|
var user_fields = zod.z.object({
|
|
1265
1280
|
full_name: zod.z.string().optional(),
|
|
1266
1281
|
email: zod.z.string().email().optional().describe(`
|
|
@@ -1287,7 +1302,8 @@ var acs_user = zod.z.object({
|
|
|
1287
1302
|
user_identity_email_address: zod.z.string().nullable().optional(),
|
|
1288
1303
|
user_identity_phone_number: zod.z.string().nullable().optional(),
|
|
1289
1304
|
latest_desired_state_synced_with_provider_at: zod.z.string().datetime().optional(),
|
|
1290
|
-
is_latest_desired_state_synced_with_provider: zod.z.boolean().optional()
|
|
1305
|
+
is_latest_desired_state_synced_with_provider: zod.z.boolean().optional(),
|
|
1306
|
+
warnings: zod.z.array(acs_users_warning)
|
|
1291
1307
|
}).merge(user_fields);
|
|
1292
1308
|
var common_action_attempt = zod.z.object({
|
|
1293
1309
|
action_attempt_id: zod.z.string().uuid().describe(`
|
|
@@ -2771,6 +2787,18 @@ var openapi_default = {
|
|
|
2771
2787
|
user_identity_full_name: { nullable: true, type: "string" },
|
|
2772
2788
|
user_identity_id: { type: "string" },
|
|
2773
2789
|
user_identity_phone_number: { nullable: true, type: "string" },
|
|
2790
|
+
warnings: {
|
|
2791
|
+
items: {
|
|
2792
|
+
properties: {
|
|
2793
|
+
created_at: { format: "date-time", type: "string" },
|
|
2794
|
+
message: { type: "string" },
|
|
2795
|
+
warning_code: { enum: ["being_deleted"], type: "string" }
|
|
2796
|
+
},
|
|
2797
|
+
required: ["created_at", "message", "warning_code"],
|
|
2798
|
+
type: "object"
|
|
2799
|
+
},
|
|
2800
|
+
type: "array"
|
|
2801
|
+
},
|
|
2774
2802
|
workspace_id: { format: "uuid", type: "string" }
|
|
2775
2803
|
},
|
|
2776
2804
|
required: [
|
|
@@ -2779,7 +2807,8 @@ var openapi_default = {
|
|
|
2779
2807
|
"workspace_id",
|
|
2780
2808
|
"created_at",
|
|
2781
2809
|
"display_name",
|
|
2782
|
-
"is_suspended"
|
|
2810
|
+
"is_suspended",
|
|
2811
|
+
"warnings"
|
|
2783
2812
|
],
|
|
2784
2813
|
type: "object"
|
|
2785
2814
|
},
|
|
@@ -12377,6 +12406,253 @@ var openapi_default = {
|
|
|
12377
12406
|
"x-fern-sdk-return-value": "networks"
|
|
12378
12407
|
}
|
|
12379
12408
|
},
|
|
12409
|
+
"/noise_sensors/list": {
|
|
12410
|
+
post: {
|
|
12411
|
+
operationId: "noiseSensorsListPost",
|
|
12412
|
+
requestBody: {
|
|
12413
|
+
content: {
|
|
12414
|
+
"application/json": {
|
|
12415
|
+
schema: {
|
|
12416
|
+
properties: {
|
|
12417
|
+
connect_webview_id: { format: "uuid", type: "string" },
|
|
12418
|
+
connected_account_id: {
|
|
12419
|
+
description: "List all devices owned by this connected account",
|
|
12420
|
+
format: "uuid",
|
|
12421
|
+
type: "string"
|
|
12422
|
+
},
|
|
12423
|
+
connected_account_ids: {
|
|
12424
|
+
items: { format: "uuid", type: "string" },
|
|
12425
|
+
type: "array"
|
|
12426
|
+
},
|
|
12427
|
+
created_before: { format: "date-time", type: "string" },
|
|
12428
|
+
custom_metadata_has: {
|
|
12429
|
+
additionalProperties: {
|
|
12430
|
+
oneOf: [{ type: "string" }, { type: "boolean" }]
|
|
12431
|
+
},
|
|
12432
|
+
type: "object"
|
|
12433
|
+
},
|
|
12434
|
+
device_ids: {
|
|
12435
|
+
items: { format: "uuid", type: "string" },
|
|
12436
|
+
type: "array"
|
|
12437
|
+
},
|
|
12438
|
+
device_type: {
|
|
12439
|
+
oneOf: [
|
|
12440
|
+
{
|
|
12441
|
+
enum: [
|
|
12442
|
+
"akuvox_lock",
|
|
12443
|
+
"august_lock",
|
|
12444
|
+
"brivo_access_point",
|
|
12445
|
+
"butterflymx_panel",
|
|
12446
|
+
"avigilon_alta_entry",
|
|
12447
|
+
"doorking_lock",
|
|
12448
|
+
"genie_door",
|
|
12449
|
+
"igloo_lock",
|
|
12450
|
+
"linear_lock",
|
|
12451
|
+
"lockly_lock",
|
|
12452
|
+
"kwikset_lock",
|
|
12453
|
+
"nuki_lock",
|
|
12454
|
+
"salto_lock",
|
|
12455
|
+
"schlage_lock",
|
|
12456
|
+
"seam_relay",
|
|
12457
|
+
"smartthings_lock",
|
|
12458
|
+
"wyze_lock",
|
|
12459
|
+
"yale_lock",
|
|
12460
|
+
"two_n_intercom",
|
|
12461
|
+
"controlbyweb_device",
|
|
12462
|
+
"ttlock_lock",
|
|
12463
|
+
"igloohome_lock",
|
|
12464
|
+
"hubitat_lock",
|
|
12465
|
+
"four_suites_door",
|
|
12466
|
+
"dormakaba_oracode_door",
|
|
12467
|
+
"tedee_lock"
|
|
12468
|
+
],
|
|
12469
|
+
type: "string"
|
|
12470
|
+
},
|
|
12471
|
+
{
|
|
12472
|
+
enum: ["noiseaware_activity_zone", "minut_sensor"],
|
|
12473
|
+
type: "string"
|
|
12474
|
+
},
|
|
12475
|
+
{
|
|
12476
|
+
enum: [
|
|
12477
|
+
"ecobee_thermostat",
|
|
12478
|
+
"nest_thermostat",
|
|
12479
|
+
"honeywell_resideo_thermostat"
|
|
12480
|
+
],
|
|
12481
|
+
type: "string"
|
|
12482
|
+
},
|
|
12483
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
12484
|
+
]
|
|
12485
|
+
},
|
|
12486
|
+
device_types: {
|
|
12487
|
+
items: {
|
|
12488
|
+
oneOf: [
|
|
12489
|
+
{
|
|
12490
|
+
enum: [
|
|
12491
|
+
"akuvox_lock",
|
|
12492
|
+
"august_lock",
|
|
12493
|
+
"brivo_access_point",
|
|
12494
|
+
"butterflymx_panel",
|
|
12495
|
+
"avigilon_alta_entry",
|
|
12496
|
+
"doorking_lock",
|
|
12497
|
+
"genie_door",
|
|
12498
|
+
"igloo_lock",
|
|
12499
|
+
"linear_lock",
|
|
12500
|
+
"lockly_lock",
|
|
12501
|
+
"kwikset_lock",
|
|
12502
|
+
"nuki_lock",
|
|
12503
|
+
"salto_lock",
|
|
12504
|
+
"schlage_lock",
|
|
12505
|
+
"seam_relay",
|
|
12506
|
+
"smartthings_lock",
|
|
12507
|
+
"wyze_lock",
|
|
12508
|
+
"yale_lock",
|
|
12509
|
+
"two_n_intercom",
|
|
12510
|
+
"controlbyweb_device",
|
|
12511
|
+
"ttlock_lock",
|
|
12512
|
+
"igloohome_lock",
|
|
12513
|
+
"hubitat_lock",
|
|
12514
|
+
"four_suites_door",
|
|
12515
|
+
"dormakaba_oracode_door",
|
|
12516
|
+
"tedee_lock"
|
|
12517
|
+
],
|
|
12518
|
+
type: "string"
|
|
12519
|
+
},
|
|
12520
|
+
{
|
|
12521
|
+
enum: ["noiseaware_activity_zone", "minut_sensor"],
|
|
12522
|
+
type: "string"
|
|
12523
|
+
},
|
|
12524
|
+
{
|
|
12525
|
+
enum: [
|
|
12526
|
+
"ecobee_thermostat",
|
|
12527
|
+
"nest_thermostat",
|
|
12528
|
+
"honeywell_resideo_thermostat"
|
|
12529
|
+
],
|
|
12530
|
+
type: "string"
|
|
12531
|
+
},
|
|
12532
|
+
{
|
|
12533
|
+
enum: ["ios_phone", "android_phone"],
|
|
12534
|
+
type: "string"
|
|
12535
|
+
}
|
|
12536
|
+
]
|
|
12537
|
+
},
|
|
12538
|
+
type: "array"
|
|
12539
|
+
},
|
|
12540
|
+
exclude_if: {
|
|
12541
|
+
items: {
|
|
12542
|
+
enum: [
|
|
12543
|
+
"can_remotely_unlock",
|
|
12544
|
+
"can_remotely_lock",
|
|
12545
|
+
"can_program_offline_access_codes",
|
|
12546
|
+
"can_program_online_access_codes",
|
|
12547
|
+
"can_simulate_removal",
|
|
12548
|
+
"can_simulate_connection",
|
|
12549
|
+
"can_simulate_disconnection"
|
|
12550
|
+
],
|
|
12551
|
+
type: "string"
|
|
12552
|
+
},
|
|
12553
|
+
type: "array"
|
|
12554
|
+
},
|
|
12555
|
+
include_if: {
|
|
12556
|
+
items: {
|
|
12557
|
+
enum: [
|
|
12558
|
+
"can_remotely_unlock",
|
|
12559
|
+
"can_remotely_lock",
|
|
12560
|
+
"can_program_offline_access_codes",
|
|
12561
|
+
"can_program_online_access_codes",
|
|
12562
|
+
"can_simulate_removal",
|
|
12563
|
+
"can_simulate_connection",
|
|
12564
|
+
"can_simulate_disconnection"
|
|
12565
|
+
],
|
|
12566
|
+
type: "string"
|
|
12567
|
+
},
|
|
12568
|
+
type: "array"
|
|
12569
|
+
},
|
|
12570
|
+
limit: { default: 500, format: "float", type: "number" },
|
|
12571
|
+
manufacturer: {
|
|
12572
|
+
enum: [
|
|
12573
|
+
"akuvox",
|
|
12574
|
+
"august",
|
|
12575
|
+
"avigilon_alta",
|
|
12576
|
+
"brivo",
|
|
12577
|
+
"butterflymx",
|
|
12578
|
+
"doorking",
|
|
12579
|
+
"four_suites",
|
|
12580
|
+
"genie",
|
|
12581
|
+
"igloo",
|
|
12582
|
+
"keywe",
|
|
12583
|
+
"kwikset",
|
|
12584
|
+
"linear",
|
|
12585
|
+
"lockly",
|
|
12586
|
+
"nuki",
|
|
12587
|
+
"philia",
|
|
12588
|
+
"salto",
|
|
12589
|
+
"samsung",
|
|
12590
|
+
"schlage",
|
|
12591
|
+
"seam",
|
|
12592
|
+
"unknown",
|
|
12593
|
+
"wyze",
|
|
12594
|
+
"yale",
|
|
12595
|
+
"minut",
|
|
12596
|
+
"two_n",
|
|
12597
|
+
"ttlock",
|
|
12598
|
+
"nest",
|
|
12599
|
+
"igloohome",
|
|
12600
|
+
"ecobee",
|
|
12601
|
+
"hubitat",
|
|
12602
|
+
"controlbyweb",
|
|
12603
|
+
"smartthings",
|
|
12604
|
+
"dormakaba_oracode",
|
|
12605
|
+
"tedee",
|
|
12606
|
+
"honeywell_resideo"
|
|
12607
|
+
],
|
|
12608
|
+
type: "string"
|
|
12609
|
+
},
|
|
12610
|
+
user_identifier_key: { type: "string" }
|
|
12611
|
+
},
|
|
12612
|
+
type: "object"
|
|
12613
|
+
}
|
|
12614
|
+
}
|
|
12615
|
+
}
|
|
12616
|
+
},
|
|
12617
|
+
responses: {
|
|
12618
|
+
200: {
|
|
12619
|
+
content: {
|
|
12620
|
+
"application/json": {
|
|
12621
|
+
schema: {
|
|
12622
|
+
properties: {
|
|
12623
|
+
devices: {
|
|
12624
|
+
items: { $ref: "#/components/schemas/device" },
|
|
12625
|
+
type: "array"
|
|
12626
|
+
},
|
|
12627
|
+
noise_sensors: {
|
|
12628
|
+
items: { $ref: "#/components/schemas/device" },
|
|
12629
|
+
type: "array"
|
|
12630
|
+
},
|
|
12631
|
+
ok: { type: "boolean" }
|
|
12632
|
+
},
|
|
12633
|
+
required: ["noise_sensors", "devices", "ok"],
|
|
12634
|
+
type: "object"
|
|
12635
|
+
}
|
|
12636
|
+
}
|
|
12637
|
+
},
|
|
12638
|
+
description: "OK"
|
|
12639
|
+
},
|
|
12640
|
+
400: { description: "Bad Request" },
|
|
12641
|
+
401: { description: "Unauthorized" }
|
|
12642
|
+
},
|
|
12643
|
+
security: [
|
|
12644
|
+
{ client_session: [] },
|
|
12645
|
+
{ pat_with_workspace: [] },
|
|
12646
|
+
{ console_session: [] },
|
|
12647
|
+
{ api_key: [] }
|
|
12648
|
+
],
|
|
12649
|
+
summary: "/noise_sensors/list",
|
|
12650
|
+
tags: ["/noise_sensors"],
|
|
12651
|
+
"x-fern-sdk-group-name": ["noise_sensors"],
|
|
12652
|
+
"x-fern-sdk-method-name": "list",
|
|
12653
|
+
"x-fern-sdk-return-value": "devices"
|
|
12654
|
+
}
|
|
12655
|
+
},
|
|
12380
12656
|
"/noise_sensors/noise_thresholds/create": {
|
|
12381
12657
|
post: {
|
|
12382
12658
|
operationId: "noiseSensorsNoiseThresholdsCreatePost",
|