@seamapi/types 1.924.0 → 1.926.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
@@ -2579,14 +2579,6 @@ var salto_ks_user_not_subscribed = common_access_code_error.extend({
2579
2579
  Salto site user is not subscribed.
2580
2580
  `
2581
2581
  );
2582
- var replaced_by_newer_access_code = common_access_code_error.extend({
2583
- error_code: zod.z.literal("replaced_by_newer_access_code").describe(error_code_description3)
2584
- }).describe(`
2585
- ---
2586
- resource_type: access_code
2587
- ---
2588
- This access code was overridden on the device by a newer access code programmed to the same slot.
2589
- `);
2590
2582
  var access_code_error = zod.z.discriminatedUnion("error_code", [
2591
2583
  provider_issue2,
2592
2584
  failed_to_set_on_device,
@@ -2598,8 +2590,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
2598
2590
  code_modified_external_to_seam_error,
2599
2591
  access_code_inactive_error,
2600
2592
  salto_ks_user_not_subscribed,
2601
- insufficient_permissions2,
2602
- replaced_by_newer_access_code
2593
+ insufficient_permissions2
2603
2594
  ]).describe(
2604
2595
  "Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)."
2605
2596
  );
@@ -2614,8 +2605,7 @@ zod.z.object({
2614
2605
  insufficient_permissions: insufficient_permissions2.optional().nullable(),
2615
2606
  code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
2616
2607
  access_code_inactive: access_code_inactive_error.optional().nullable(),
2617
- salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable(),
2618
- replaced_by_newer_access_code: replaced_by_newer_access_code.optional().nullable()
2608
+ salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable()
2619
2609
  });
2620
2610
  var common_access_code_warning = zod.z.object({
2621
2611
  message: zod.z.string().describe(
@@ -2662,11 +2652,6 @@ var igloo_algopin_must_be_used_within_24_hours = common_access_code_warning.exte
2662
2652
  var management_transferred = common_access_code_warning.extend({
2663
2653
  warning_code: zod.z.literal("management_transferred").describe(warning_code_description3)
2664
2654
  }).describe("Management was transferred to another workspace.");
2665
- var access_code_inactive = common_access_code_warning.extend({
2666
- warning_code: zod.z.literal("access_code_inactive").describe(warning_code_description3)
2667
- }).describe(
2668
- "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled."
2669
- );
2670
2655
  var using_backup_access_code = common_access_code_warning.extend({
2671
2656
  warning_code: zod.z.literal("using_backup_access_code").describe(warning_code_description3)
2672
2657
  }).describe(
@@ -2684,7 +2669,6 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2684
2669
  third_party_integration_detected2,
2685
2670
  igloo_algopin_must_be_used_within_24_hours,
2686
2671
  management_transferred,
2687
- access_code_inactive,
2688
2672
  using_backup_access_code,
2689
2673
  being_deleted2
2690
2674
  ]).describe(
@@ -2699,7 +2683,6 @@ zod.z.object({
2699
2683
  third_party_integration_detected: third_party_integration_detected2.optional().nullable(),
2700
2684
  igloo_algopin_must_be_used_within_24_hours: igloo_algopin_must_be_used_within_24_hours.optional().nullable(),
2701
2685
  management_transferred: management_transferred.optional().nullable(),
2702
- access_code_inactive: access_code_inactive.optional().nullable(),
2703
2686
  using_backup_access_code: using_backup_access_code.optional().nullable(),
2704
2687
  being_deleted: being_deleted2.optional().nullable()
2705
2688
  });
@@ -7921,33 +7904,6 @@ var openapi = {
7921
7904
  type: "object",
7922
7905
  "x-resource-type": "access_code"
7923
7906
  },
7924
- {
7925
- description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
7926
- properties: {
7927
- created_at: {
7928
- description: "Date and time at which Seam created the error.",
7929
- format: "date-time",
7930
- type: "string"
7931
- },
7932
- error_code: {
7933
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
7934
- enum: ["replaced_by_newer_access_code"],
7935
- type: "string"
7936
- },
7937
- is_access_code_error: {
7938
- description: "Indicates that this is an access code error.",
7939
- enum: [true],
7940
- type: "boolean"
7941
- },
7942
- message: {
7943
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
7944
- type: "string"
7945
- }
7946
- },
7947
- required: ["message", "is_access_code_error", "error_code"],
7948
- type: "object",
7949
- "x-resource-type": "access_code"
7950
- },
7951
7907
  {
7952
7908
  description: "Indicates that the account is disconnected.",
7953
7909
  properties: {
@@ -9017,27 +8973,6 @@ var openapi = {
9017
8973
  required: ["message", "warning_code"],
9018
8974
  type: "object"
9019
8975
  },
9020
- {
9021
- description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
9022
- properties: {
9023
- created_at: {
9024
- description: "Date and time at which Seam created the warning.",
9025
- format: "date-time",
9026
- type: "string"
9027
- },
9028
- message: {
9029
- description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
9030
- type: "string"
9031
- },
9032
- warning_code: {
9033
- description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
9034
- enum: ["access_code_inactive"],
9035
- type: "string"
9036
- }
9037
- },
9038
- required: ["message", "warning_code"],
9039
- type: "object"
9040
- },
9041
8976
  {
9042
8977
  description: "A backup access code has been pulled and is being used in place of this access code.",
9043
8978
  properties: {
@@ -33756,33 +33691,6 @@ var openapi = {
33756
33691
  type: "object",
33757
33692
  "x-resource-type": "access_code"
33758
33693
  },
33759
- {
33760
- description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
33761
- properties: {
33762
- created_at: {
33763
- description: "Date and time at which Seam created the error.",
33764
- format: "date-time",
33765
- type: "string"
33766
- },
33767
- error_code: {
33768
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
33769
- enum: ["replaced_by_newer_access_code"],
33770
- type: "string"
33771
- },
33772
- is_access_code_error: {
33773
- description: "Indicates that this is an access code error.",
33774
- enum: [true],
33775
- type: "boolean"
33776
- },
33777
- message: {
33778
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
33779
- type: "string"
33780
- }
33781
- },
33782
- required: ["message", "is_access_code_error", "error_code"],
33783
- type: "object",
33784
- "x-resource-type": "access_code"
33785
- },
33786
33694
  {
33787
33695
  description: "Indicates that the account is disconnected.",
33788
33696
  properties: {
@@ -34569,27 +34477,6 @@ var openapi = {
34569
34477
  required: ["message", "warning_code"],
34570
34478
  type: "object"
34571
34479
  },
34572
- {
34573
- description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
34574
- properties: {
34575
- created_at: {
34576
- description: "Date and time at which Seam created the warning.",
34577
- format: "date-time",
34578
- type: "string"
34579
- },
34580
- message: {
34581
- description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
34582
- type: "string"
34583
- },
34584
- warning_code: {
34585
- description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
34586
- enum: ["access_code_inactive"],
34587
- type: "string"
34588
- }
34589
- },
34590
- required: ["message", "warning_code"],
34591
- type: "object"
34592
- },
34593
34480
  {
34594
34481
  description: "A backup access code has been pulled and is being used in place of this access code.",
34595
34482
  properties: {