@seamapi/types 1.394.0 → 1.395.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 CHANGED
@@ -63,7 +63,7 @@ var access_code_code_constraint = zod.z.object({
63
63
  "no_triple_consecutive_ints",
64
64
  // Brivo
65
65
  "cannot_specify_pin_code",
66
- // Lockly
66
+ // Dormakaba?
67
67
  "pin_code_matches_existing_set",
68
68
  // Salto
69
69
  "start_date_in_future",
@@ -1450,6 +1450,9 @@ var duplicate_code_on_device = common_access_code_error.extend({
1450
1450
  var duplicate_code_attempt_prevented = common_access_code_error.extend({
1451
1451
  error_code: zod.z.literal("duplicate_code_attempt_prevented").describe(error_code_description3)
1452
1452
  }).describe("An attempt to modify this access code was prevented.");
1453
+ var no_space_for_access_code_on_device = common_access_code_error.extend({
1454
+ error_code: zod.z.literal("no_space_for_access_code_on_device").describe(error_code_description3)
1455
+ }).describe("No space for access code on device.");
1453
1456
  var igloohome_bridge_too_many_pending_jobs = common_access_code_error.extend({
1454
1457
  error_code: zod.z.literal("igloohome_bridge_too_many_pending_jobs").describe(error_code_description3)
1455
1458
  }).describe("Igloohome bridge has too many pending jobs in the queue.");
@@ -1467,6 +1470,9 @@ var kwikset_unable_to_confirm_deletion = common_access_code_error.extend({
1467
1470
  var igloohome_offline_access_code_no_variance_available = common_access_code_error.extend({
1468
1471
  error_code: zod.z.literal("igloohome_offline_access_code_no_variance_available").describe(error_code_description3)
1469
1472
  }).describe("Lock has reached maximum amount of codes.");
1473
+ var schlage_lock_exceeds_maximum_number_of_access_codes = common_access_code_error.extend({
1474
+ error_code: zod.z.literal("schlage_lock_exceeds_maximum_number_of_access_codes").describe(error_code_description3)
1475
+ }).describe("Lock has reached maximum amount of codes.");
1470
1476
  var august_lock_invalid_code_length = common_access_code_error.extend({
1471
1477
  error_code: zod.z.literal("august_lock_invalid_code_length").describe(error_code_description3)
1472
1478
  }).describe("Invalid code length for August lock.");
@@ -1511,9 +1517,11 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
1511
1517
  failed_to_remove_from_device,
1512
1518
  duplicate_code_on_device,
1513
1519
  duplicate_code_attempt_prevented,
1520
+ no_space_for_access_code_on_device,
1514
1521
  igloohome_bridge_too_many_pending_jobs,
1515
1522
  igloohome_bridge_offline,
1516
1523
  igloohome_offline_access_code_no_variance_available,
1524
+ schlage_lock_exceeds_maximum_number_of_access_codes,
1517
1525
  kwikset_unable_to_confirm_code,
1518
1526
  kwikset_unable_to_confirm_deletion,
1519
1527
  code_modified_external_to_seam_error,
@@ -1537,6 +1545,7 @@ zod.z.object({
1537
1545
  smartthings_no_free_slots_available: smartthings_no_free_slots_available.optional().nullable(),
1538
1546
  failed_to_set_on_device: failed_to_set_on_device.optional().nullable(),
1539
1547
  failed_to_remove_from_device: failed_to_remove_from_device.optional().nullable(),
1548
+ no_space_for_access_code_on_device: no_space_for_access_code_on_device.optional().nullable(),
1540
1549
  duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
1541
1550
  duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
1542
1551
  igloohome_bridge_too_many_pending_jobs: igloohome_bridge_too_many_pending_jobs.optional().nullable(),
@@ -1555,7 +1564,8 @@ zod.z.object({
1555
1564
  hubitat_no_free_positions_available: hubitat_no_free_positions_available.optional().nullable(),
1556
1565
  wyze_duplicate_code_name: wyze_duplicate_code_name.optional().nullable(),
1557
1566
  wyze_potential_duplicate_code: wyze_potential_duplicate_code.optional().nullable(),
1558
- dormakaba_oracode_no_valid_user_level: dormakaba_oracode_no_valid_user_level.optional().nullable()
1567
+ dormakaba_oracode_no_valid_user_level: dormakaba_oracode_no_valid_user_level.optional().nullable(),
1568
+ schlage_lock_exceeds_maximum_number_of_access_codes: schlage_lock_exceeds_maximum_number_of_access_codes.optional().nullable()
1559
1569
  });
1560
1570
  var common_access_code_warning = zod.z.object({
1561
1571
  message: zod.z.string().describe(
@@ -4782,6 +4792,32 @@ var openapi_default = {
4782
4792
  required: ["message", "is_access_code_error", "error_code"],
4783
4793
  type: "object"
4784
4794
  },
4795
+ {
4796
+ description: "No space for access code on device.",
4797
+ properties: {
4798
+ created_at: {
4799
+ description: "Date and time at which Seam created the error.",
4800
+ format: "date-time",
4801
+ type: "string"
4802
+ },
4803
+ error_code: {
4804
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4805
+ enum: ["no_space_for_access_code_on_device"],
4806
+ type: "string"
4807
+ },
4808
+ is_access_code_error: {
4809
+ description: "Indicates that this is an access code error.",
4810
+ enum: [true],
4811
+ type: "boolean"
4812
+ },
4813
+ message: {
4814
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
4815
+ type: "string"
4816
+ }
4817
+ },
4818
+ required: ["message", "is_access_code_error", "error_code"],
4819
+ type: "object"
4820
+ },
4785
4821
  {
4786
4822
  description: "Igloohome bridge has too many pending jobs in the queue.",
4787
4823
  properties: {
@@ -4862,6 +4898,34 @@ var openapi_default = {
4862
4898
  required: ["message", "is_access_code_error", "error_code"],
4863
4899
  type: "object"
4864
4900
  },
4901
+ {
4902
+ description: "Lock has reached maximum amount of codes.",
4903
+ properties: {
4904
+ created_at: {
4905
+ description: "Date and time at which Seam created the error.",
4906
+ format: "date-time",
4907
+ type: "string"
4908
+ },
4909
+ error_code: {
4910
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4911
+ enum: [
4912
+ "schlage_lock_exceeds_maximum_number_of_access_codes"
4913
+ ],
4914
+ type: "string"
4915
+ },
4916
+ is_access_code_error: {
4917
+ description: "Indicates that this is an access code error.",
4918
+ enum: [true],
4919
+ type: "boolean"
4920
+ },
4921
+ message: {
4922
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
4923
+ type: "string"
4924
+ }
4925
+ },
4926
+ required: ["message", "is_access_code_error", "error_code"],
4927
+ type: "object"
4928
+ },
4865
4929
  {
4866
4930
  description: "Unable to confirm that the access code is set on Kwikset device.",
4867
4931
  properties: {
@@ -18655,6 +18719,32 @@ var openapi_default = {
18655
18719
  required: ["message", "is_access_code_error", "error_code"],
18656
18720
  type: "object"
18657
18721
  },
18722
+ {
18723
+ description: "No space for access code on device.",
18724
+ properties: {
18725
+ created_at: {
18726
+ description: "Date and time at which Seam created the error.",
18727
+ format: "date-time",
18728
+ type: "string"
18729
+ },
18730
+ error_code: {
18731
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
18732
+ enum: ["no_space_for_access_code_on_device"],
18733
+ type: "string"
18734
+ },
18735
+ is_access_code_error: {
18736
+ description: "Indicates that this is an access code error.",
18737
+ enum: [true],
18738
+ type: "boolean"
18739
+ },
18740
+ message: {
18741
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
18742
+ type: "string"
18743
+ }
18744
+ },
18745
+ required: ["message", "is_access_code_error", "error_code"],
18746
+ type: "object"
18747
+ },
18658
18748
  {
18659
18749
  description: "Igloohome bridge has too many pending jobs in the queue.",
18660
18750
  properties: {
@@ -18735,6 +18825,34 @@ var openapi_default = {
18735
18825
  required: ["message", "is_access_code_error", "error_code"],
18736
18826
  type: "object"
18737
18827
  },
18828
+ {
18829
+ description: "Lock has reached maximum amount of codes.",
18830
+ properties: {
18831
+ created_at: {
18832
+ description: "Date and time at which Seam created the error.",
18833
+ format: "date-time",
18834
+ type: "string"
18835
+ },
18836
+ error_code: {
18837
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
18838
+ enum: [
18839
+ "schlage_lock_exceeds_maximum_number_of_access_codes"
18840
+ ],
18841
+ type: "string"
18842
+ },
18843
+ is_access_code_error: {
18844
+ description: "Indicates that this is an access code error.",
18845
+ enum: [true],
18846
+ type: "boolean"
18847
+ },
18848
+ message: {
18849
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
18850
+ type: "string"
18851
+ }
18852
+ },
18853
+ required: ["message", "is_access_code_error", "error_code"],
18854
+ type: "object"
18855
+ },
18738
18856
  {
18739
18857
  description: "Unable to confirm that the access code is set on Kwikset device.",
18740
18858
  properties: {