@seamapi/types 1.704.0 → 1.705.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 +92 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +649 -56
- package/dist/index.cjs +92 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
- package/lib/seam/connect/models/batch.d.ts +140 -33
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +5 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +94 -12
- package/lib/seam/connect/models/devices/device.js +45 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +42 -13
- package/lib/seam/connect/openapi.d.ts +51 -0
- package/lib/seam/connect/openapi.js +55 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +352 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +5 -0
- package/src/lib/seam/connect/models/devices/device.ts +63 -0
- package/src/lib/seam/connect/openapi.ts +61 -0
- package/src/lib/seam/connect/route-types.ts +420 -0
package/dist/connect.cjs
CHANGED
|
@@ -713,6 +713,7 @@ var connected_account = zod.z.object({
|
|
|
713
713
|
`),
|
|
714
714
|
account_type: zod.z.string().optional().describe("Type of connected account."),
|
|
715
715
|
account_type_display_name: zod.z.string().describe("Display name for the connected account type."),
|
|
716
|
+
image_url: zod.z.string().url().optional().describe("Logo URL for the connected account provider."),
|
|
716
717
|
display_name: zod.z.string().describe("Display name for the connected account."),
|
|
717
718
|
errors: zod.z.array(connected_account_error).describe("Errors associated with the connected account."),
|
|
718
719
|
warnings: zod.z.array(connected_account_warning).describe("Warnings associated with the connected account."),
|
|
@@ -1506,6 +1507,29 @@ zod.z.object({
|
|
|
1506
1507
|
keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(),
|
|
1507
1508
|
accessory_keypad_setup_required: accessory_keypad_setup_required.optional().nullable()
|
|
1508
1509
|
});
|
|
1510
|
+
var device_provider_info = zod.z.object({
|
|
1511
|
+
provider_category: zod.z.string().describe(
|
|
1512
|
+
"Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations."
|
|
1513
|
+
),
|
|
1514
|
+
device_provider_name: zod.z.string().describe(
|
|
1515
|
+
"Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on."
|
|
1516
|
+
),
|
|
1517
|
+
display_name: zod.z.string().describe("Display name for the device provider type."),
|
|
1518
|
+
image_url: zod.z.string().url().optional().describe("Image URL for the device provider.")
|
|
1519
|
+
}).describe(
|
|
1520
|
+
"Provider of the device. Represents the third-party service through which the device is controlled."
|
|
1521
|
+
);
|
|
1522
|
+
var device_manufacturer_info = zod.z.object({
|
|
1523
|
+
manufacturer: zod.z.string().describe(
|
|
1524
|
+
"Manufacturer identifier, such as `august`, `yale`, `salto`, and so on."
|
|
1525
|
+
),
|
|
1526
|
+
display_name: zod.z.string().describe(
|
|
1527
|
+
"Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on."
|
|
1528
|
+
),
|
|
1529
|
+
image_url: zod.z.string().url().optional().describe("Image URL for the manufacturer logo.")
|
|
1530
|
+
}).describe(
|
|
1531
|
+
"Manufacturer of the device. Represents the hardware brand, which may differ from the provider."
|
|
1532
|
+
);
|
|
1509
1533
|
var common_device_properties = zod.z.object({
|
|
1510
1534
|
online: zod.z.boolean().describe("Indicates whether the device is online."),
|
|
1511
1535
|
name: zod.z.string().describe(`
|
|
@@ -1776,7 +1800,19 @@ var device = zod.z.object({
|
|
|
1776
1800
|
is_managed: zod.z.literal(true).describe(
|
|
1777
1801
|
"Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices)."
|
|
1778
1802
|
),
|
|
1779
|
-
custom_metadata
|
|
1803
|
+
custom_metadata,
|
|
1804
|
+
device_provider: device_provider_info.optional().describe(`
|
|
1805
|
+
---
|
|
1806
|
+
property_group_key: hardware
|
|
1807
|
+
---
|
|
1808
|
+
Provider of the device. Represents the third-party service through which the device is controlled.
|
|
1809
|
+
`),
|
|
1810
|
+
device_manufacturer: device_manufacturer_info.optional().describe(`
|
|
1811
|
+
---
|
|
1812
|
+
property_group_key: hardware
|
|
1813
|
+
---
|
|
1814
|
+
Manufacturer of the device. Represents the hardware brand, which may differ from the provider.
|
|
1815
|
+
`)
|
|
1780
1816
|
}).merge(device_capability_flags).describe(`
|
|
1781
1817
|
---
|
|
1782
1818
|
route_path: /devices
|
|
@@ -14235,6 +14271,11 @@ var openapi_default = {
|
|
|
14235
14271
|
},
|
|
14236
14272
|
type: "array"
|
|
14237
14273
|
},
|
|
14274
|
+
image_url: {
|
|
14275
|
+
description: "Logo URL for the connected account provider.",
|
|
14276
|
+
format: "uri",
|
|
14277
|
+
type: "string"
|
|
14278
|
+
},
|
|
14238
14279
|
user_identifier: {
|
|
14239
14280
|
deprecated: true,
|
|
14240
14281
|
description: "User identifier associated with the connected account.",
|
|
@@ -14535,6 +14576,56 @@ var openapi_default = {
|
|
|
14535
14576
|
format: "uuid",
|
|
14536
14577
|
type: "string"
|
|
14537
14578
|
},
|
|
14579
|
+
device_manufacturer: {
|
|
14580
|
+
description: "Manufacturer of the device. Represents the hardware brand, which may differ from the provider.",
|
|
14581
|
+
properties: {
|
|
14582
|
+
display_name: {
|
|
14583
|
+
description: "Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on.",
|
|
14584
|
+
type: "string"
|
|
14585
|
+
},
|
|
14586
|
+
image_url: {
|
|
14587
|
+
description: "Image URL for the manufacturer logo.",
|
|
14588
|
+
format: "uri",
|
|
14589
|
+
type: "string"
|
|
14590
|
+
},
|
|
14591
|
+
manufacturer: {
|
|
14592
|
+
description: "Manufacturer identifier, such as `august`, `yale`, `salto`, and so on.",
|
|
14593
|
+
type: "string"
|
|
14594
|
+
}
|
|
14595
|
+
},
|
|
14596
|
+
required: ["manufacturer", "display_name"],
|
|
14597
|
+
type: "object",
|
|
14598
|
+
"x-property-group-key": "hardware"
|
|
14599
|
+
},
|
|
14600
|
+
device_provider: {
|
|
14601
|
+
description: "Provider of the device. Represents the third-party service through which the device is controlled.",
|
|
14602
|
+
properties: {
|
|
14603
|
+
device_provider_name: {
|
|
14604
|
+
description: "Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on.",
|
|
14605
|
+
type: "string"
|
|
14606
|
+
},
|
|
14607
|
+
display_name: {
|
|
14608
|
+
description: "Display name for the device provider type.",
|
|
14609
|
+
type: "string"
|
|
14610
|
+
},
|
|
14611
|
+
image_url: {
|
|
14612
|
+
description: "Image URL for the device provider.",
|
|
14613
|
+
format: "uri",
|
|
14614
|
+
type: "string"
|
|
14615
|
+
},
|
|
14616
|
+
provider_category: {
|
|
14617
|
+
description: "Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations.",
|
|
14618
|
+
type: "string"
|
|
14619
|
+
}
|
|
14620
|
+
},
|
|
14621
|
+
required: [
|
|
14622
|
+
"provider_category",
|
|
14623
|
+
"device_provider_name",
|
|
14624
|
+
"display_name"
|
|
14625
|
+
],
|
|
14626
|
+
type: "object",
|
|
14627
|
+
"x-property-group-key": "hardware"
|
|
14628
|
+
},
|
|
14538
14629
|
device_type: {
|
|
14539
14630
|
description: "Type of the device.",
|
|
14540
14631
|
oneOf: [
|