@seamapi/types 1.951.0 → 1.952.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
@@ -1647,10 +1647,19 @@ var salto_ks_privacy_mode = common_device_warning.extend({
1647
1647
  warning_code: zod.z.literal("salto_ks_privacy_mode").describe(warning_code_description2)
1648
1648
  }).describe(`
1649
1649
  ---
1650
+ deprecated: Use \`privacy_mode\` instead.
1650
1651
  variant_group_key: access_codes
1651
1652
  ---
1652
1653
  Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.
1653
1654
  `);
1655
+ var privacy_mode = common_device_warning.extend({
1656
+ warning_code: zod.z.literal("privacy_mode").describe(warning_code_description2)
1657
+ }).describe(`
1658
+ ---
1659
+ variant_group_key: access_codes
1660
+ ---
1661
+ Indicates that the lock is in Privacy Mode. Access codes and remote unlock are blocked until Privacy Mode is disabled.
1662
+ `);
1654
1663
  var salto_ks_subscription_limit_almost_reached2 = common_device_warning.extend(
1655
1664
  {
1656
1665
  warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(warning_code_description2)
@@ -1844,6 +1853,7 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
1844
1853
  device_has_flaky_connection,
1845
1854
  salto_ks_office_mode,
1846
1855
  salto_ks_privacy_mode,
1856
+ privacy_mode,
1847
1857
  salto_ks_subscription_limit_almost_reached2,
1848
1858
  salto_ks_lock_access_code_support_removed,
1849
1859
  unknown_issue_with_phone,
@@ -1877,6 +1887,7 @@ zod.z.object({
1877
1887
  scheduled_maintenance_window: scheduled_maintenance_window2.optional().nullable(),
1878
1888
  salto_ks_office_mode: salto_ks_office_mode.optional().nullable(),
1879
1889
  salto_ks_privacy_mode: salto_ks_privacy_mode.optional().nullable(),
1890
+ privacy_mode: privacy_mode.optional().nullable(),
1880
1891
  salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached2.optional().nullable(),
1881
1892
  salto_ks_lock_access_code_support_removed: salto_ks_lock_access_code_support_removed.optional().nullable(),
1882
1893
  unknown_issue_with_phone: unknown_issue_with_phone.optional().nullable(),
@@ -4002,6 +4013,11 @@ var entrance_setup_required = common_acs_entrance_warning.extend({
4002
4013
  );
4003
4014
  var salto_ks_privacy_mode2 = common_acs_entrance_warning.extend({
4004
4015
  warning_code: zod.z.literal("salto_ks_privacy_mode").describe(warning_code_description8)
4016
+ }).describe(
4017
+ "deprecated: Use `privacy_mode` instead. Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access."
4018
+ );
4019
+ var privacy_mode2 = common_acs_entrance_warning.extend({
4020
+ warning_code: zod.z.literal("privacy_mode").describe(warning_code_description8)
4005
4021
  }).describe(
4006
4022
  "Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access."
4007
4023
  );
@@ -4009,7 +4025,8 @@ var acs_entrance_warning = zod.z.discriminatedUnion("warning_code", [
4009
4025
  salto_ks_entrance_access_code_support_removed,
4010
4026
  entrance_shares_zone,
4011
4027
  entrance_setup_required,
4012
- salto_ks_privacy_mode2
4028
+ salto_ks_privacy_mode2,
4029
+ privacy_mode2
4013
4030
  ]).describe(
4014
4031
  "Warning associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details)."
4015
4032
  );
@@ -4017,7 +4034,8 @@ zod.z.object({
4017
4034
  salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable(),
4018
4035
  entrance_shares_zone: entrance_shares_zone.optional().nullable(),
4019
4036
  entrance_setup_required: entrance_setup_required.optional().nullable(),
4020
- salto_ks_privacy_mode: salto_ks_privacy_mode2.optional().nullable()
4037
+ salto_ks_privacy_mode: salto_ks_privacy_mode2.optional().nullable(),
4038
+ privacy_mode: privacy_mode2.optional().nullable()
4021
4039
  });
4022
4040
  var acs_entrance_capability_flags = zod.z.object({
4023
4041
  can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
@@ -11389,7 +11407,7 @@ var openapi = {
11389
11407
  type: "object"
11390
11408
  },
11391
11409
  {
11392
- description: "Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.",
11410
+ description: "deprecated: Use `privacy_mode` instead. Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.",
11393
11411
  properties: {
11394
11412
  created_at: {
11395
11413
  description: "Date and time at which Seam created the warning.",
@@ -11408,6 +11426,27 @@ var openapi = {
11408
11426
  },
11409
11427
  required: ["created_at", "message", "warning_code"],
11410
11428
  type: "object"
11429
+ },
11430
+ {
11431
+ description: "Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.",
11432
+ properties: {
11433
+ created_at: {
11434
+ description: "Date and time at which Seam created the warning.",
11435
+ format: "date-time",
11436
+ type: "string"
11437
+ },
11438
+ message: {
11439
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
11440
+ type: "string"
11441
+ },
11442
+ warning_code: {
11443
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
11444
+ enum: ["privacy_mode"],
11445
+ type: "string"
11446
+ }
11447
+ },
11448
+ required: ["created_at", "message", "warning_code"],
11449
+ type: "object"
11411
11450
  }
11412
11451
  ]
11413
11452
  },
@@ -22502,6 +22541,7 @@ var openapi = {
22502
22541
  "x-variant-group-key": "access_codes"
22503
22542
  },
22504
22543
  {
22544
+ deprecated: true,
22505
22545
  description: "Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.",
22506
22546
  properties: {
22507
22547
  created_at: {
@@ -22521,6 +22561,29 @@ var openapi = {
22521
22561
  },
22522
22562
  required: ["message", "created_at", "warning_code"],
22523
22563
  type: "object",
22564
+ "x-deprecated": "Use `privacy_mode` instead.",
22565
+ "x-variant-group-key": "access_codes"
22566
+ },
22567
+ {
22568
+ description: "Indicates that the lock is in Privacy Mode. Access codes and remote unlock are blocked until Privacy Mode is disabled.",
22569
+ properties: {
22570
+ created_at: {
22571
+ description: "Date and time at which Seam created the warning.",
22572
+ format: "date-time",
22573
+ type: "string"
22574
+ },
22575
+ message: {
22576
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
22577
+ type: "string"
22578
+ },
22579
+ warning_code: {
22580
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
22581
+ enum: ["privacy_mode"],
22582
+ type: "string"
22583
+ }
22584
+ },
22585
+ required: ["message", "created_at", "warning_code"],
22586
+ type: "object",
22524
22587
  "x-variant-group-key": "access_codes"
22525
22588
  },
22526
22589
  {
@@ -32954,7 +33017,7 @@ var openapi = {
32954
33017
  type: "object"
32955
33018
  },
32956
33019
  {
32957
- description: "Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.",
33020
+ description: "deprecated: Use `privacy_mode` instead. Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.",
32958
33021
  properties: {
32959
33022
  created_at: {
32960
33023
  description: "Date and time at which Seam created the warning.",
@@ -32977,6 +33040,31 @@ var openapi = {
32977
33040
  "warning_code"
32978
33041
  ],
32979
33042
  type: "object"
33043
+ },
33044
+ {
33045
+ description: "Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.",
33046
+ properties: {
33047
+ created_at: {
33048
+ description: "Date and time at which Seam created the warning.",
33049
+ format: "date-time",
33050
+ type: "string"
33051
+ },
33052
+ message: {
33053
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
33054
+ type: "string"
33055
+ },
33056
+ warning_code: {
33057
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
33058
+ enum: ["privacy_mode"],
33059
+ type: "string"
33060
+ }
33061
+ },
33062
+ required: [
33063
+ "created_at",
33064
+ "message",
33065
+ "warning_code"
33066
+ ],
33067
+ type: "object"
32980
33068
  }
32981
33069
  ]
32982
33070
  },
@@ -37993,6 +38081,7 @@ var openapi = {
37993
38081
  "x-variant-group-key": "access_codes"
37994
38082
  },
37995
38083
  {
38084
+ deprecated: true,
37996
38085
  description: "Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.",
37997
38086
  properties: {
37998
38087
  created_at: {
@@ -38012,6 +38101,29 @@ var openapi = {
38012
38101
  },
38013
38102
  required: ["message", "created_at", "warning_code"],
38014
38103
  type: "object",
38104
+ "x-deprecated": "Use `privacy_mode` instead.",
38105
+ "x-variant-group-key": "access_codes"
38106
+ },
38107
+ {
38108
+ description: "Indicates that the lock is in Privacy Mode. Access codes and remote unlock are blocked until Privacy Mode is disabled.",
38109
+ properties: {
38110
+ created_at: {
38111
+ description: "Date and time at which Seam created the warning.",
38112
+ format: "date-time",
38113
+ type: "string"
38114
+ },
38115
+ message: {
38116
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
38117
+ type: "string"
38118
+ },
38119
+ warning_code: {
38120
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
38121
+ enum: ["privacy_mode"],
38122
+ type: "string"
38123
+ }
38124
+ },
38125
+ required: ["message", "created_at", "warning_code"],
38126
+ type: "object",
38015
38127
  "x-variant-group-key": "access_codes"
38016
38128
  },
38017
38129
  {