@seamapi/types 1.929.0 → 1.930.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
@@ -2674,10 +2674,10 @@ var code_modified_external_to_seam_warning = common_access_code_warning.extend({
2674
2674
  }).describe(
2675
2675
  "Code was modified or removed externally after Seam successfully set it on the device."
2676
2676
  );
2677
- var provider_issue_warning = common_access_code_warning.extend({
2678
- warning_code: zod.z.literal("provider_issue").describe(warning_code_description3)
2677
+ var code_rotates_periodically = common_access_code_warning.extend({
2678
+ warning_code: zod.z.literal("code_rotates_periodically").describe(warning_code_description3)
2679
2679
  }).describe(
2680
- "Indicates a provider-specific issue that may affect the access code. Check the warning message for details."
2680
+ "The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use."
2681
2681
  );
2682
2682
  var schlage_access_code_ambiguous_timezone_dst_risk = common_access_code_warning.extend({
2683
2683
  warning_code: zod.z.literal("schlage_access_code_ambiguous_timezone_dst_risk").describe(warning_code_description3)
@@ -2710,7 +2710,7 @@ var being_deleted2 = common_access_code_warning.extend({
2710
2710
  warning_code: zod.z.literal("being_deleted").describe(warning_code_description3)
2711
2711
  }).describe("Access code is being deleted.");
2712
2712
  var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2713
- provider_issue_warning,
2713
+ code_rotates_periodically,
2714
2714
  schlage_access_code_ambiguous_timezone_dst_risk,
2715
2715
  code_modified_external_to_seam_warning,
2716
2716
  delay_in_setting_on_device,
@@ -2724,7 +2724,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2724
2724
  "Warnings associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)."
2725
2725
  );
2726
2726
  zod.z.object({
2727
- provider_issue: provider_issue_warning.optional().nullable(),
2727
+ code_rotates_periodically: code_rotates_periodically.optional().nullable(),
2728
2728
  schlage_access_code_ambiguous_timezone_dst_risk: schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
2729
2729
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
2730
2730
  delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
@@ -8828,7 +8828,7 @@ var openapi = {
8828
8828
  discriminator: { propertyName: "warning_code" },
8829
8829
  oneOf: [
8830
8830
  {
8831
- description: "Indicates a provider-specific issue that may affect the access code. Check the warning message for details.",
8831
+ description: "The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use.",
8832
8832
  properties: {
8833
8833
  created_at: {
8834
8834
  description: "Date and time at which Seam created the warning.",
@@ -8841,7 +8841,7 @@ var openapi = {
8841
8841
  },
8842
8842
  warning_code: {
8843
8843
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8844
- enum: ["provider_issue"],
8844
+ enum: ["code_rotates_periodically"],
8845
8845
  type: "string"
8846
8846
  }
8847
8847
  },
@@ -34469,7 +34469,7 @@ var openapi = {
34469
34469
  discriminator: { propertyName: "warning_code" },
34470
34470
  oneOf: [
34471
34471
  {
34472
- description: "Indicates a provider-specific issue that may affect the access code. Check the warning message for details.",
34472
+ description: "The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use.",
34473
34473
  properties: {
34474
34474
  created_at: {
34475
34475
  description: "Date and time at which Seam created the warning.",
@@ -34482,7 +34482,7 @@ var openapi = {
34482
34482
  },
34483
34483
  warning_code: {
34484
34484
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
34485
- enum: ["provider_issue"],
34485
+ enum: ["code_rotates_periodically"],
34486
34486
  type: "string"
34487
34487
  }
34488
34488
  },