@seamapi/types 1.697.0 → 1.699.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
@@ -2047,9 +2047,6 @@ var kwikset_insufficient_permissions = common_access_code_error.extend({
2047
2047
  }).describe(
2048
2048
  "Admin role required\u2014insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN."
2049
2049
  );
2050
- var igloohome_offline_access_code_no_variance_available = common_access_code_error.extend({
2051
- error_code: zod.z.literal("igloohome_offline_access_code_no_variance_available").describe(error_code_description3)
2052
- }).describe("Lock has reached maximum amount of codes.");
2053
2050
  var august_lock_invalid_code_length = common_access_code_error.extend({
2054
2051
  error_code: zod.z.literal("august_lock_invalid_code_length").describe(error_code_description3)
2055
2052
  }).describe("Invalid code length for August lock.");
@@ -2099,7 +2096,6 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
2099
2096
  no_space_for_access_code_on_device,
2100
2097
  igloohome_bridge_too_many_pending_jobs,
2101
2098
  igloohome_bridge_offline,
2102
- igloohome_offline_access_code_no_variance_available,
2103
2099
  kwikset_unable_to_confirm_code,
2104
2100
  kwikset_unable_to_confirm_deletion,
2105
2101
  code_modified_external_to_seam_error,
@@ -2129,7 +2125,6 @@ zod.z.object({
2129
2125
  duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
2130
2126
  igloohome_bridge_too_many_pending_jobs: igloohome_bridge_too_many_pending_jobs.optional().nullable(),
2131
2127
  igloohome_bridge_offline: igloohome_bridge_offline.optional().nullable(),
2132
- igloohome_offline_access_code_no_variance_available: igloohome_offline_access_code_no_variance_available.optional().nullable(),
2133
2128
  kwikset_unable_to_confirm_code: kwikset_unable_to_confirm_code.optional().nullable(),
2134
2129
  kwikset_unable_to_confirm_deletion: kwikset_unable_to_confirm_deletion.optional().nullable(),
2135
2130
  kwikset_insufficient_permissions: kwikset_insufficient_permissions.optional().nullable(),
@@ -6278,34 +6273,6 @@ var openapi_default = {
6278
6273
  required: ["message", "is_access_code_error", "error_code"],
6279
6274
  type: "object"
6280
6275
  },
6281
- {
6282
- description: "Lock has reached maximum amount of codes.",
6283
- properties: {
6284
- created_at: {
6285
- description: "Date and time at which Seam created the error.",
6286
- format: "date-time",
6287
- type: "string"
6288
- },
6289
- error_code: {
6290
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
6291
- enum: [
6292
- "igloohome_offline_access_code_no_variance_available"
6293
- ],
6294
- type: "string"
6295
- },
6296
- is_access_code_error: {
6297
- description: "Indicates that this is an access code error.",
6298
- enum: [true],
6299
- type: "boolean"
6300
- },
6301
- message: {
6302
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
6303
- type: "string"
6304
- }
6305
- },
6306
- required: ["message", "is_access_code_error", "error_code"],
6307
- type: "object"
6308
- },
6309
6276
  {
6310
6277
  description: "Unable to confirm that the access code is set on Kwikset device.",
6311
6278
  properties: {
@@ -25884,34 +25851,6 @@ var openapi_default = {
25884
25851
  required: ["message", "is_access_code_error", "error_code"],
25885
25852
  type: "object"
25886
25853
  },
25887
- {
25888
- description: "Lock has reached maximum amount of codes.",
25889
- properties: {
25890
- created_at: {
25891
- description: "Date and time at which Seam created the error.",
25892
- format: "date-time",
25893
- type: "string"
25894
- },
25895
- error_code: {
25896
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
25897
- enum: [
25898
- "igloohome_offline_access_code_no_variance_available"
25899
- ],
25900
- type: "string"
25901
- },
25902
- is_access_code_error: {
25903
- description: "Indicates that this is an access code error.",
25904
- enum: [true],
25905
- type: "boolean"
25906
- },
25907
- message: {
25908
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
25909
- type: "string"
25910
- }
25911
- },
25912
- required: ["message", "is_access_code_error", "error_code"],
25913
- type: "object"
25914
- },
25915
25854
  {
25916
25855
  description: "Unable to confirm that the access code is set on Kwikset device.",
25917
25856
  properties: {
@@ -56706,6 +56645,37 @@ var openapi_default = {
56706
56645
  },
56707
56646
  required: ["api_key"],
56708
56647
  type: "object"
56648
+ },
56649
+ {
56650
+ properties: {
56651
+ api_key: {
56652
+ description: "Zonal API key for X-API-Key header (required)",
56653
+ minLength: 1,
56654
+ type: "string"
56655
+ },
56656
+ auth_token: { type: "string" },
56657
+ hotel_id: {
56658
+ description: "Optional hotel ID for single-property mode",
56659
+ type: "string"
56660
+ },
56661
+ id: {
56662
+ description: "Zonal ID used as 'token' in login request body (required)",
56663
+ minLength: 1,
56664
+ type: "string"
56665
+ },
56666
+ is_staging: {
56667
+ default: false,
56668
+ description: "Use staging API instead of production",
56669
+ type: "boolean"
56670
+ },
56671
+ secret: {
56672
+ description: "Zonal Secret for login request body (required)",
56673
+ minLength: 1,
56674
+ type: "string"
56675
+ }
56676
+ },
56677
+ required: ["api_key", "id", "secret"],
56678
+ type: "object"
56709
56679
  }
56710
56680
  ]
56711
56681
  },