@seamapi/types 1.764.0 → 1.765.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
@@ -2289,6 +2289,11 @@ var ultraloq_access_code_disabled = common_access_code_warning.extend({
2289
2289
  }).describe(
2290
2290
  "Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app."
2291
2291
  );
2292
+ var using_backup_access_code = common_access_code_warning.extend({
2293
+ warning_code: zod.z.literal("using_backup_access_code").describe(warning_code_description3)
2294
+ }).describe(
2295
+ "A backup access code has been pulled and is being used in place of this access code."
2296
+ );
2292
2297
  var being_deleted2 = common_access_code_warning.extend({
2293
2298
  warning_code: zod.z.literal("being_deleted").describe(warning_code_description3)
2294
2299
  }).describe("Access code is being deleted.");
@@ -2306,6 +2311,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2306
2311
  management_transferred,
2307
2312
  kwikset_unable_to_confirm_code_warning,
2308
2313
  ultraloq_access_code_disabled,
2314
+ using_backup_access_code,
2309
2315
  being_deleted2
2310
2316
  ]).describe(
2311
2317
  "Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
@@ -2324,6 +2330,7 @@ zod.z.object({
2324
2330
  management_transferred: management_transferred.optional().nullable(),
2325
2331
  kwikset_unable_to_confirm_code_warning: kwikset_unable_to_confirm_code_warning.optional().nullable(),
2326
2332
  ultraloq_access_code_disabled: ultraloq_access_code_disabled.optional().nullable(),
2333
+ using_backup_access_code: using_backup_access_code.optional().nullable(),
2327
2334
  being_deleted: being_deleted2.optional().nullable()
2328
2335
  });
2329
2336
  var dormakaba_oracode_access_code_metadata = zod.z.object({
@@ -8059,6 +8066,27 @@ var openapi_default = {
8059
8066
  required: ["message", "warning_code"],
8060
8067
  type: "object"
8061
8068
  },
8069
+ {
8070
+ description: "A backup access code has been pulled and is being used in place of this access code.",
8071
+ properties: {
8072
+ created_at: {
8073
+ description: "Date and time at which Seam created the warning.",
8074
+ format: "date-time",
8075
+ type: "string"
8076
+ },
8077
+ message: {
8078
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
8079
+ type: "string"
8080
+ },
8081
+ warning_code: {
8082
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8083
+ enum: ["using_backup_access_code"],
8084
+ type: "string"
8085
+ }
8086
+ },
8087
+ required: ["message", "warning_code"],
8088
+ type: "object"
8089
+ },
8062
8090
  {
8063
8091
  description: "Access code is being deleted.",
8064
8092
  properties: {
@@ -30845,6 +30873,27 @@ var openapi_default = {
30845
30873
  required: ["message", "warning_code"],
30846
30874
  type: "object"
30847
30875
  },
30876
+ {
30877
+ description: "A backup access code has been pulled and is being used in place of this access code.",
30878
+ properties: {
30879
+ created_at: {
30880
+ description: "Date and time at which Seam created the warning.",
30881
+ format: "date-time",
30882
+ type: "string"
30883
+ },
30884
+ message: {
30885
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
30886
+ type: "string"
30887
+ },
30888
+ warning_code: {
30889
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
30890
+ enum: ["using_backup_access_code"],
30891
+ type: "string"
30892
+ }
30893
+ },
30894
+ required: ["message", "warning_code"],
30895
+ type: "object"
30896
+ },
30848
30897
  {
30849
30898
  description: "Access code is being deleted.",
30850
30899
  properties: {