@seamapi/types 1.945.0 → 1.947.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
@@ -2646,17 +2646,6 @@ var access_code_inactive_error = common_access_code_error.extend({
2646
2646
  ---
2647
2647
  Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.
2648
2648
  `);
2649
- var salto_ks_user_not_subscribed = common_access_code_error.extend({
2650
- error_code: zod.z.literal("salto_ks_user_not_subscribed").describe(error_code_description3)
2651
- }).describe(
2652
- `
2653
- ---
2654
- resource_type: access_code
2655
- deprecated: Use \`access_code_inactive\` instead.
2656
- ---
2657
- Salto site user is not subscribed.
2658
- `
2659
- );
2660
2649
  var access_code_error = zod.z.discriminatedUnion("error_code", [
2661
2650
  provider_issue2,
2662
2651
  failed_to_set_on_device,
@@ -2666,7 +2655,6 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
2666
2655
  no_space_for_access_code_on_device,
2667
2656
  code_modified_external_to_seam_error,
2668
2657
  access_code_inactive_error,
2669
- salto_ks_user_not_subscribed,
2670
2658
  insufficient_permissions2
2671
2659
  ]).describe(
2672
2660
  "Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)."
@@ -2680,8 +2668,7 @@ zod.z.object({
2680
2668
  duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
2681
2669
  insufficient_permissions: insufficient_permissions2.optional().nullable(),
2682
2670
  code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
2683
- access_code_inactive: access_code_inactive_error.optional().nullable(),
2684
- salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable()
2671
+ access_code_inactive: access_code_inactive_error.optional().nullable()
2685
2672
  });
2686
2673
  var common_access_code_warning = zod.z.object({
2687
2674
  message: zod.z.string().describe(
@@ -2706,10 +2693,10 @@ var code_rotates_periodically = common_access_code_warning.extend({
2706
2693
  }).describe(
2707
2694
  "The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use."
2708
2695
  );
2709
- var schlage_access_code_ambiguous_timezone_dst_risk = common_access_code_warning.extend({
2710
- warning_code: zod.z.literal("schlage_access_code_ambiguous_timezone_dst_risk").describe(warning_code_description3)
2696
+ var time_frame_adjusted_for_unknown_time_zone = common_access_code_warning.extend({
2697
+ warning_code: zod.z.literal("time_frame_adjusted_for_unknown_time_zone").describe(warning_code_description3)
2711
2698
  }).describe(
2712
- "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling."
2699
+ "The device's time zone is unknown and this code's time frame crosses a daylight-saving transition in at least one plausible time zone. A 1-hour safety buffer has been applied to the side of the time frame affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's time zone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact handling."
2713
2700
  );
2714
2701
  var delay_in_setting_on_device = common_access_code_warning.extend({
2715
2702
  warning_code: zod.z.literal("delay_in_setting_on_device").describe(warning_code_description3)
@@ -2738,7 +2725,7 @@ var being_deleted2 = common_access_code_warning.extend({
2738
2725
  }).describe("Access code is being deleted.");
2739
2726
  var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2740
2727
  code_rotates_periodically,
2741
- schlage_access_code_ambiguous_timezone_dst_risk,
2728
+ time_frame_adjusted_for_unknown_time_zone,
2742
2729
  code_modified_external_to_seam_warning,
2743
2730
  delay_in_setting_on_device,
2744
2731
  delay_in_removing_from_device,
@@ -2752,7 +2739,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2752
2739
  );
2753
2740
  zod.z.object({
2754
2741
  code_rotates_periodically: code_rotates_periodically.optional().nullable(),
2755
- schlage_access_code_ambiguous_timezone_dst_risk: schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
2742
+ time_frame_adjusted_for_unknown_time_zone: time_frame_adjusted_for_unknown_time_zone.optional().nullable(),
2756
2743
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
2757
2744
  delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
2758
2745
  delay_in_removing_from_device: delay_in_removing_from_device.optional().nullable(),
@@ -7908,35 +7895,6 @@ var openapi = {
7908
7895
  type: "object",
7909
7896
  "x-resource-type": "access_code"
7910
7897
  },
7911
- {
7912
- deprecated: true,
7913
- description: "Salto site user is not subscribed.",
7914
- properties: {
7915
- created_at: {
7916
- description: "Date and time at which Seam created the error.",
7917
- format: "date-time",
7918
- type: "string"
7919
- },
7920
- error_code: {
7921
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
7922
- enum: ["salto_ks_user_not_subscribed"],
7923
- type: "string"
7924
- },
7925
- is_access_code_error: {
7926
- description: "Indicates that this is an access code error.",
7927
- enum: [true],
7928
- type: "boolean"
7929
- },
7930
- message: {
7931
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
7932
- type: "string"
7933
- }
7934
- },
7935
- required: ["message", "is_access_code_error", "error_code"],
7936
- type: "object",
7937
- "x-deprecated": "Use `access_code_inactive` instead.",
7938
- "x-resource-type": "access_code"
7939
- },
7940
7898
  {
7941
7899
  description: "Admin role required\u2014insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.",
7942
7900
  properties: {
@@ -8858,7 +8816,7 @@ var openapi = {
8858
8816
  type: "object"
8859
8817
  },
8860
8818
  {
8861
- description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
8819
+ description: "The device's time zone is unknown and this code's time frame crosses a daylight-saving transition in at least one plausible time zone. A 1-hour safety buffer has been applied to the side of the time frame affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's time zone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact handling.",
8862
8820
  properties: {
8863
8821
  created_at: {
8864
8822
  description: "Date and time at which Seam created the warning.",
@@ -8871,7 +8829,7 @@ var openapi = {
8871
8829
  },
8872
8830
  warning_code: {
8873
8831
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8874
- enum: ["schlage_access_code_ambiguous_timezone_dst_risk"],
8832
+ enum: ["time_frame_adjusted_for_unknown_time_zone"],
8875
8833
  type: "string"
8876
8834
  }
8877
8835
  },
@@ -33914,35 +33872,6 @@ var openapi = {
33914
33872
  type: "object",
33915
33873
  "x-resource-type": "access_code"
33916
33874
  },
33917
- {
33918
- deprecated: true,
33919
- description: "Salto site user is not subscribed.",
33920
- properties: {
33921
- created_at: {
33922
- description: "Date and time at which Seam created the error.",
33923
- format: "date-time",
33924
- type: "string"
33925
- },
33926
- error_code: {
33927
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
33928
- enum: ["salto_ks_user_not_subscribed"],
33929
- type: "string"
33930
- },
33931
- is_access_code_error: {
33932
- description: "Indicates that this is an access code error.",
33933
- enum: [true],
33934
- type: "boolean"
33935
- },
33936
- message: {
33937
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
33938
- type: "string"
33939
- }
33940
- },
33941
- required: ["message", "is_access_code_error", "error_code"],
33942
- type: "object",
33943
- "x-deprecated": "Use `access_code_inactive` instead.",
33944
- "x-resource-type": "access_code"
33945
- },
33946
33875
  {
33947
33876
  description: "Admin role required\u2014insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.",
33948
33877
  properties: {
@@ -34581,7 +34510,7 @@ var openapi = {
34581
34510
  type: "object"
34582
34511
  },
34583
34512
  {
34584
- description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
34513
+ description: "The device's time zone is unknown and this code's time frame crosses a daylight-saving transition in at least one plausible time zone. A 1-hour safety buffer has been applied to the side of the time frame affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's time zone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact handling.",
34585
34514
  properties: {
34586
34515
  created_at: {
34587
34516
  description: "Date and time at which Seam created the warning.",
@@ -34594,7 +34523,7 @@ var openapi = {
34594
34523
  },
34595
34524
  warning_code: {
34596
34525
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
34597
- enum: ["schlage_access_code_ambiguous_timezone_dst_risk"],
34526
+ enum: ["time_frame_adjusted_for_unknown_time_zone"],
34598
34527
  type: "string"
34599
34528
  }
34600
34529
  },