@seamapi/types 1.704.0 → 1.706.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/index.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: [
@@ -58298,6 +58389,10 @@ var openapi_default = {
58298
58389
  type: "string"
58299
58390
  },
58300
58391
  code: { nullable: true, type: "string" },
58392
+ instant_key_url: {
58393
+ format: "uri",
58394
+ type: "string"
58395
+ },
58301
58396
  is_card_encoding_required: { type: "boolean" },
58302
58397
  is_issued: { type: "boolean" },
58303
58398
  mode: { type: "string" }
@@ -58413,6 +58508,10 @@ var openapi_default = {
58413
58508
  type: "string"
58414
58509
  },
58415
58510
  code: { nullable: true, type: "string" },
58511
+ instant_key_url: {
58512
+ format: "uri",
58513
+ type: "string"
58514
+ },
58416
58515
  is_card_encoding_required: { type: "boolean" },
58417
58516
  is_issued: { type: "boolean" },
58418
58517
  mode: { type: "string" }