@seamapi/types 1.871.0 → 1.872.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
@@ -2306,12 +2306,31 @@ var common_access_code_error = zod.z.object({
2306
2306
  created_at: zod.z.string().datetime().optional().describe("Date and time at which Seam created the error.")
2307
2307
  });
2308
2308
  var error_code_description3 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
2309
+ var provider_issue = common_access_code_error.extend({
2310
+ error_code: zod.z.literal("provider_issue").describe(error_code_description3)
2311
+ }).describe(
2312
+ "Indicates a provider-specific issue that prevents the access code from being set or managed. Check the error message for details."
2313
+ );
2309
2314
  var smartthings_failed_to_set_access_code_error = common_access_code_error.extend({
2310
2315
  error_code: zod.z.literal("smartthings_failed_to_set_access_code").describe(error_code_description3)
2311
- }).describe("Failed to set code on SmartThings device.");
2316
+ }).describe(
2317
+ `
2318
+ ---
2319
+ deprecated: Handled by the generic \`failed_to_set_on_device\` system.
2320
+ ---
2321
+ Failed to set code on SmartThings device.
2322
+ `
2323
+ );
2312
2324
  var smartthings_failed_to_set_after_multiple_retries = common_access_code_error.extend({
2313
2325
  error_code: zod.z.literal("smartthings_failed_to_set_after_multiple_retries").describe(error_code_description3)
2314
- }).describe("Failed to set code after multiple retries.");
2326
+ }).describe(
2327
+ `
2328
+ ---
2329
+ deprecated: Handled by the generic \`failed_to_set_on_device\` system.
2330
+ ---
2331
+ Failed to set code after multiple retries.
2332
+ `
2333
+ );
2315
2334
  var modified_field = zod.z.object({
2316
2335
  field: zod.z.string().describe(
2317
2336
  "The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`)."
@@ -2379,20 +2398,58 @@ var kwikset_unable_to_confirm_deletion = common_access_code_error.extend({
2379
2398
  var kwikset_insufficient_permissions = common_access_code_error.extend({
2380
2399
  error_code: zod.z.literal("kwikset_insufficient_permissions").describe(error_code_description3)
2381
2400
  }).describe(
2382
- "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."
2401
+ `
2402
+ ---
2403
+ deprecated: Use \`provider_issue\` instead.
2404
+ ---
2405
+ 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.
2406
+ `
2383
2407
  );
2384
2408
  var august_lock_invalid_code_length = common_access_code_error.extend({
2385
2409
  error_code: zod.z.literal("august_lock_invalid_code_length").describe(error_code_description3)
2386
- }).describe("Invalid code length for August lock.");
2410
+ }).describe(
2411
+ `
2412
+ ---
2413
+ deprecated: Use \`provider_issue\` instead.
2414
+ ---
2415
+ Invalid code length for August lock.
2416
+ `
2417
+ );
2387
2418
  var august_lock_temporarily_offline_error = common_access_code_error.extend({
2388
2419
  error_code: zod.z.literal("august_lock_temporarily_offline").describe(error_code_description3)
2389
- }).describe("August lock is temporarily offline.");
2420
+ }).describe(
2421
+ `
2422
+ ---
2423
+ deprecated: Use \`provider_issue\` instead.
2424
+ ---
2425
+ August lock is temporarily offline.
2426
+ `
2427
+ );
2390
2428
  var august_lock_missing_keypad = common_access_code_error.extend({
2391
2429
  error_code: zod.z.literal("august_lock_missing_keypad").describe(error_code_description3)
2392
- }).describe("August lock is missing a keypad.");
2430
+ }).describe(
2431
+ `
2432
+ ---
2433
+ deprecated: Use \`provider_issue\` instead.
2434
+ ---
2435
+ August lock is missing a keypad.
2436
+ `
2437
+ );
2438
+ var access_code_inactive_error = common_access_code_error.extend({
2439
+ error_code: zod.z.literal("access_code_inactive").describe(error_code_description3)
2440
+ }).describe(
2441
+ "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled."
2442
+ );
2393
2443
  var salto_ks_user_not_subscribed = common_access_code_error.extend({
2394
2444
  error_code: zod.z.literal("salto_ks_user_not_subscribed").describe(error_code_description3)
2395
- }).describe("Salto site user is not subscribed.");
2445
+ }).describe(
2446
+ `
2447
+ ---
2448
+ deprecated: Use \`access_code_inactive\` instead.
2449
+ ---
2450
+ Salto site user is not subscribed.
2451
+ `
2452
+ );
2396
2453
  var wyze_duplicate_code_name = common_access_code_error.extend({
2397
2454
  error_code: zod.z.literal("wyze_duplicate_code_name").describe(error_code_description3)
2398
2455
  }).describe(
@@ -2416,17 +2473,30 @@ var wyze_potential_duplicate_code = common_access_code_error.extend({
2416
2473
  var dormakaba_oracode_invalid_time_range = common_access_code_error.extend({
2417
2474
  error_code: zod.z.literal("dormakaba_oracode_invalid_time_range").describe(error_code_description3)
2418
2475
  }).describe(
2419
- "No Dormakaba Oracode user levels configured for the requested time range."
2476
+ `
2477
+ ---
2478
+ deprecated: Use \`provider_issue\` instead.
2479
+ ---
2480
+ No Dormakaba Oracode user levels configured for the requested time range.
2481
+ `
2420
2482
  );
2421
2483
  var keynest_unsupported_third_party_locker = common_access_code_error.extend({
2422
2484
  error_code: zod.z.literal("keynest_unsupported_third_party_locker").describe(error_code_description3)
2423
- }).describe("KeyNest locker is not supported.");
2485
+ }).describe(
2486
+ `
2487
+ ---
2488
+ deprecated: Use \`provider_issue\` instead.
2489
+ ---
2490
+ KeyNest locker is not supported.
2491
+ `
2492
+ );
2424
2493
  var replaced_by_newer_access_code = common_access_code_error.extend({
2425
2494
  error_code: zod.z.literal("replaced_by_newer_access_code").describe(error_code_description3)
2426
2495
  }).describe(
2427
2496
  "This access code was overridden on the device by a newer access code programmed to the same slot."
2428
2497
  );
2429
2498
  var access_code_error = zod.z.discriminatedUnion("error_code", [
2499
+ provider_issue,
2430
2500
  smartthings_failed_to_set_access_code_error,
2431
2501
  smartthings_failed_to_set_after_multiple_retries,
2432
2502
  failed_to_set_on_device,
@@ -2441,6 +2511,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
2441
2511
  august_lock_invalid_code_length,
2442
2512
  august_lock_missing_keypad,
2443
2513
  august_lock_temporarily_offline_error,
2514
+ access_code_inactive_error,
2444
2515
  salto_ks_user_not_subscribed,
2445
2516
  wyze_duplicate_code_name,
2446
2517
  wyze_potential_duplicate_code,
@@ -2452,6 +2523,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
2452
2523
  "Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
2453
2524
  );
2454
2525
  zod.z.object({
2526
+ provider_issue: provider_issue.optional().nullable(),
2455
2527
  smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_error.optional().nullable(),
2456
2528
  smartthings_failed_to_set_after_multiple_retries: smartthings_failed_to_set_after_multiple_retries.optional().nullable(),
2457
2529
  failed_to_set_on_device: failed_to_set_on_device.optional().nullable(),
@@ -2467,6 +2539,7 @@ zod.z.object({
2467
2539
  august_lock_invalid_code_length: august_lock_invalid_code_length.optional().nullable(),
2468
2540
  august_lock_temporarily_offline: august_lock_temporarily_offline_error.optional().nullable(),
2469
2541
  august_lock_missing_keypad: august_lock_missing_keypad.optional().nullable(),
2542
+ access_code_inactive: access_code_inactive_error.optional().nullable(),
2470
2543
  salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable(),
2471
2544
  wyze_duplicate_code_name: wyze_duplicate_code_name.optional().nullable(),
2472
2545
  wyze_potential_duplicate_code: wyze_potential_duplicate_code.optional().nullable(),
@@ -2508,9 +2581,21 @@ var schlage_detected_duplicate = common_access_code_warning.extend({
2508
2581
  Duplicate access code detected.
2509
2582
  `
2510
2583
  );
2584
+ var provider_issue_warning = common_access_code_warning.extend({
2585
+ warning_code: zod.z.literal("provider_issue").describe(warning_code_description3)
2586
+ }).describe(
2587
+ "Indicates a provider-specific issue that may affect the access code. Check the warning message for details."
2588
+ );
2511
2589
  var schlage_creation_outage = common_access_code_warning.extend({
2512
2590
  warning_code: zod.z.literal("schlage_creation_outage").describe(warning_code_description3)
2513
- }).describe("Received an error when attempting to create this code.");
2591
+ }).describe(
2592
+ `
2593
+ ---
2594
+ deprecated: Use \`provider_issue\` instead.
2595
+ ---
2596
+ Received an error when attempting to create this code.
2597
+ `
2598
+ );
2514
2599
  var schlage_access_code_ambiguous_timezone_dst_risk = common_access_code_warning.extend({
2515
2600
  warning_code: zod.z.literal("schlage_access_code_ambiguous_timezone_dst_risk").describe(warning_code_description3)
2516
2601
  }).describe(
@@ -2560,6 +2645,7 @@ var being_deleted2 = common_access_code_warning.extend({
2560
2645
  warning_code: zod.z.literal("being_deleted").describe(warning_code_description3)
2561
2646
  }).describe("Access code is being deleted.");
2562
2647
  var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2648
+ provider_issue_warning,
2563
2649
  smartthings_failed_to_set_access_code_warning,
2564
2650
  schlage_detected_duplicate,
2565
2651
  schlage_creation_outage,
@@ -2580,6 +2666,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2580
2666
  "Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
2581
2667
  );
2582
2668
  zod.z.object({
2669
+ provider_issue: provider_issue_warning.optional().nullable(),
2583
2670
  smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_warning.optional().nullable(),
2584
2671
  schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
2585
2672
  schlage_creation_outage: schlage_creation_outage.optional().nullable(),
@@ -7236,6 +7323,33 @@ var openapi = {
7236
7323
  discriminator: { propertyName: "error_code" },
7237
7324
  oneOf: [
7238
7325
  {
7326
+ description: "Indicates a provider-specific issue that prevents the access code from being set or managed. Check the error message for details.",
7327
+ properties: {
7328
+ created_at: {
7329
+ description: "Date and time at which Seam created the error.",
7330
+ format: "date-time",
7331
+ type: "string"
7332
+ },
7333
+ error_code: {
7334
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
7335
+ enum: ["provider_issue"],
7336
+ type: "string"
7337
+ },
7338
+ is_access_code_error: {
7339
+ description: "Indicates that this is an access code error.",
7340
+ enum: [true],
7341
+ type: "boolean"
7342
+ },
7343
+ message: {
7344
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
7345
+ type: "string"
7346
+ }
7347
+ },
7348
+ required: ["message", "is_access_code_error", "error_code"],
7349
+ type: "object"
7350
+ },
7351
+ {
7352
+ deprecated: true,
7239
7353
  description: "Failed to set code on SmartThings device.",
7240
7354
  properties: {
7241
7355
  created_at: {
@@ -7259,9 +7373,11 @@ var openapi = {
7259
7373
  }
7260
7374
  },
7261
7375
  required: ["message", "is_access_code_error", "error_code"],
7262
- type: "object"
7376
+ type: "object",
7377
+ "x-deprecated": "Handled by the generic `failed_to_set_on_device` system."
7263
7378
  },
7264
7379
  {
7380
+ deprecated: true,
7265
7381
  description: "Failed to set code after multiple retries.",
7266
7382
  properties: {
7267
7383
  created_at: {
@@ -7287,7 +7403,8 @@ var openapi = {
7287
7403
  }
7288
7404
  },
7289
7405
  required: ["message", "is_access_code_error", "error_code"],
7290
- type: "object"
7406
+ type: "object",
7407
+ "x-deprecated": "Handled by the generic `failed_to_set_on_device` system."
7291
7408
  },
7292
7409
  {
7293
7410
  description: "Failed to set code on device.",
@@ -7567,6 +7684,7 @@ var openapi = {
7567
7684
  type: "object"
7568
7685
  },
7569
7686
  {
7687
+ deprecated: true,
7570
7688
  description: "Invalid code length for August lock.",
7571
7689
  properties: {
7572
7690
  created_at: {
@@ -7590,9 +7708,11 @@ var openapi = {
7590
7708
  }
7591
7709
  },
7592
7710
  required: ["message", "is_access_code_error", "error_code"],
7593
- type: "object"
7711
+ type: "object",
7712
+ "x-deprecated": "Use `provider_issue` instead."
7594
7713
  },
7595
7714
  {
7715
+ deprecated: true,
7596
7716
  description: "August lock is missing a keypad.",
7597
7717
  properties: {
7598
7718
  created_at: {
@@ -7616,9 +7736,11 @@ var openapi = {
7616
7736
  }
7617
7737
  },
7618
7738
  required: ["message", "is_access_code_error", "error_code"],
7619
- type: "object"
7739
+ type: "object",
7740
+ "x-deprecated": "Use `provider_issue` instead."
7620
7741
  },
7621
7742
  {
7743
+ deprecated: true,
7622
7744
  description: "August lock is temporarily offline.",
7623
7745
  properties: {
7624
7746
  created_at: {
@@ -7642,9 +7764,37 @@ var openapi = {
7642
7764
  }
7643
7765
  },
7644
7766
  required: ["message", "is_access_code_error", "error_code"],
7767
+ type: "object",
7768
+ "x-deprecated": "Use `provider_issue` instead."
7769
+ },
7770
+ {
7771
+ description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
7772
+ properties: {
7773
+ created_at: {
7774
+ description: "Date and time at which Seam created the error.",
7775
+ format: "date-time",
7776
+ type: "string"
7777
+ },
7778
+ error_code: {
7779
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
7780
+ enum: ["access_code_inactive"],
7781
+ type: "string"
7782
+ },
7783
+ is_access_code_error: {
7784
+ description: "Indicates that this is an access code error.",
7785
+ enum: [true],
7786
+ type: "boolean"
7787
+ },
7788
+ message: {
7789
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
7790
+ type: "string"
7791
+ }
7792
+ },
7793
+ required: ["message", "is_access_code_error", "error_code"],
7645
7794
  type: "object"
7646
7795
  },
7647
7796
  {
7797
+ deprecated: true,
7648
7798
  description: "Salto site user is not subscribed.",
7649
7799
  properties: {
7650
7800
  created_at: {
@@ -7668,7 +7818,8 @@ var openapi = {
7668
7818
  }
7669
7819
  },
7670
7820
  required: ["message", "is_access_code_error", "error_code"],
7671
- type: "object"
7821
+ type: "object",
7822
+ "x-deprecated": "Use `access_code_inactive` instead."
7672
7823
  },
7673
7824
  {
7674
7825
  deprecated: true,
@@ -7727,6 +7878,7 @@ var openapi = {
7727
7878
  "x-deprecated": "Use `duplicate_code_on_device` instead."
7728
7879
  },
7729
7880
  {
7881
+ deprecated: true,
7730
7882
  description: "No Dormakaba Oracode user levels configured for the requested time range.",
7731
7883
  properties: {
7732
7884
  created_at: {
@@ -7750,9 +7902,11 @@ var openapi = {
7750
7902
  }
7751
7903
  },
7752
7904
  required: ["message", "is_access_code_error", "error_code"],
7753
- type: "object"
7905
+ type: "object",
7906
+ "x-deprecated": "Use `provider_issue` instead."
7754
7907
  },
7755
7908
  {
7909
+ deprecated: true,
7756
7910
  description: "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.",
7757
7911
  properties: {
7758
7912
  created_at: {
@@ -7776,9 +7930,11 @@ var openapi = {
7776
7930
  }
7777
7931
  },
7778
7932
  required: ["message", "is_access_code_error", "error_code"],
7779
- type: "object"
7933
+ type: "object",
7934
+ "x-deprecated": "Use `provider_issue` instead."
7780
7935
  },
7781
7936
  {
7937
+ deprecated: true,
7782
7938
  description: "KeyNest locker is not supported.",
7783
7939
  properties: {
7784
7940
  created_at: {
@@ -7802,7 +7958,8 @@ var openapi = {
7802
7958
  }
7803
7959
  },
7804
7960
  required: ["message", "is_access_code_error", "error_code"],
7805
- type: "object"
7961
+ type: "object",
7962
+ "x-deprecated": "Use `provider_issue` instead."
7806
7963
  },
7807
7964
  {
7808
7965
  description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
@@ -8646,6 +8803,27 @@ var openapi = {
8646
8803
  description: "Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).",
8647
8804
  discriminator: { propertyName: "warning_code" },
8648
8805
  oneOf: [
8806
+ {
8807
+ description: "Indicates a provider-specific issue that may affect the access code. Check the warning message for details.",
8808
+ properties: {
8809
+ created_at: {
8810
+ description: "Date and time at which Seam created the warning.",
8811
+ format: "date-time",
8812
+ type: "string"
8813
+ },
8814
+ message: {
8815
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
8816
+ type: "string"
8817
+ },
8818
+ warning_code: {
8819
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8820
+ enum: ["provider_issue"],
8821
+ type: "string"
8822
+ }
8823
+ },
8824
+ required: ["message", "warning_code"],
8825
+ type: "object"
8826
+ },
8649
8827
  {
8650
8828
  description: "Failed to set code on SmartThings device.",
8651
8829
  properties: {
@@ -8691,6 +8869,7 @@ var openapi = {
8691
8869
  "x-deprecated": "Use `duplicate_code_on_device` error instead."
8692
8870
  },
8693
8871
  {
8872
+ deprecated: true,
8694
8873
  description: "Received an error when attempting to create this code.",
8695
8874
  properties: {
8696
8875
  created_at: {
@@ -8709,7 +8888,8 @@ var openapi = {
8709
8888
  }
8710
8889
  },
8711
8890
  required: ["message", "warning_code"],
8712
- type: "object"
8891
+ type: "object",
8892
+ "x-deprecated": "Use `provider_issue` instead."
8713
8893
  },
8714
8894
  {
8715
8895
  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.",
@@ -31796,6 +31976,33 @@ var openapi = {
31796
31976
  discriminator: { propertyName: "error_code" },
31797
31977
  oneOf: [
31798
31978
  {
31979
+ description: "Indicates a provider-specific issue that prevents the access code from being set or managed. Check the error message for details.",
31980
+ properties: {
31981
+ created_at: {
31982
+ description: "Date and time at which Seam created the error.",
31983
+ format: "date-time",
31984
+ type: "string"
31985
+ },
31986
+ error_code: {
31987
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
31988
+ enum: ["provider_issue"],
31989
+ type: "string"
31990
+ },
31991
+ is_access_code_error: {
31992
+ description: "Indicates that this is an access code error.",
31993
+ enum: [true],
31994
+ type: "boolean"
31995
+ },
31996
+ message: {
31997
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
31998
+ type: "string"
31999
+ }
32000
+ },
32001
+ required: ["message", "is_access_code_error", "error_code"],
32002
+ type: "object"
32003
+ },
32004
+ {
32005
+ deprecated: true,
31799
32006
  description: "Failed to set code on SmartThings device.",
31800
32007
  properties: {
31801
32008
  created_at: {
@@ -31819,9 +32026,11 @@ var openapi = {
31819
32026
  }
31820
32027
  },
31821
32028
  required: ["message", "is_access_code_error", "error_code"],
31822
- type: "object"
32029
+ type: "object",
32030
+ "x-deprecated": "Handled by the generic `failed_to_set_on_device` system."
31823
32031
  },
31824
32032
  {
32033
+ deprecated: true,
31825
32034
  description: "Failed to set code after multiple retries.",
31826
32035
  properties: {
31827
32036
  created_at: {
@@ -31847,7 +32056,8 @@ var openapi = {
31847
32056
  }
31848
32057
  },
31849
32058
  required: ["message", "is_access_code_error", "error_code"],
31850
- type: "object"
32059
+ type: "object",
32060
+ "x-deprecated": "Handled by the generic `failed_to_set_on_device` system."
31851
32061
  },
31852
32062
  {
31853
32063
  description: "Failed to set code on device.",
@@ -32127,6 +32337,7 @@ var openapi = {
32127
32337
  type: "object"
32128
32338
  },
32129
32339
  {
32340
+ deprecated: true,
32130
32341
  description: "Invalid code length for August lock.",
32131
32342
  properties: {
32132
32343
  created_at: {
@@ -32150,9 +32361,11 @@ var openapi = {
32150
32361
  }
32151
32362
  },
32152
32363
  required: ["message", "is_access_code_error", "error_code"],
32153
- type: "object"
32364
+ type: "object",
32365
+ "x-deprecated": "Use `provider_issue` instead."
32154
32366
  },
32155
32367
  {
32368
+ deprecated: true,
32156
32369
  description: "August lock is missing a keypad.",
32157
32370
  properties: {
32158
32371
  created_at: {
@@ -32176,9 +32389,11 @@ var openapi = {
32176
32389
  }
32177
32390
  },
32178
32391
  required: ["message", "is_access_code_error", "error_code"],
32179
- type: "object"
32392
+ type: "object",
32393
+ "x-deprecated": "Use `provider_issue` instead."
32180
32394
  },
32181
32395
  {
32396
+ deprecated: true,
32182
32397
  description: "August lock is temporarily offline.",
32183
32398
  properties: {
32184
32399
  created_at: {
@@ -32202,9 +32417,37 @@ var openapi = {
32202
32417
  }
32203
32418
  },
32204
32419
  required: ["message", "is_access_code_error", "error_code"],
32420
+ type: "object",
32421
+ "x-deprecated": "Use `provider_issue` instead."
32422
+ },
32423
+ {
32424
+ description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
32425
+ properties: {
32426
+ created_at: {
32427
+ description: "Date and time at which Seam created the error.",
32428
+ format: "date-time",
32429
+ type: "string"
32430
+ },
32431
+ error_code: {
32432
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
32433
+ enum: ["access_code_inactive"],
32434
+ type: "string"
32435
+ },
32436
+ is_access_code_error: {
32437
+ description: "Indicates that this is an access code error.",
32438
+ enum: [true],
32439
+ type: "boolean"
32440
+ },
32441
+ message: {
32442
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
32443
+ type: "string"
32444
+ }
32445
+ },
32446
+ required: ["message", "is_access_code_error", "error_code"],
32205
32447
  type: "object"
32206
32448
  },
32207
32449
  {
32450
+ deprecated: true,
32208
32451
  description: "Salto site user is not subscribed.",
32209
32452
  properties: {
32210
32453
  created_at: {
@@ -32228,7 +32471,8 @@ var openapi = {
32228
32471
  }
32229
32472
  },
32230
32473
  required: ["message", "is_access_code_error", "error_code"],
32231
- type: "object"
32474
+ type: "object",
32475
+ "x-deprecated": "Use `access_code_inactive` instead."
32232
32476
  },
32233
32477
  {
32234
32478
  deprecated: true,
@@ -32287,6 +32531,7 @@ var openapi = {
32287
32531
  "x-deprecated": "Use `duplicate_code_on_device` instead."
32288
32532
  },
32289
32533
  {
32534
+ deprecated: true,
32290
32535
  description: "No Dormakaba Oracode user levels configured for the requested time range.",
32291
32536
  properties: {
32292
32537
  created_at: {
@@ -32310,9 +32555,11 @@ var openapi = {
32310
32555
  }
32311
32556
  },
32312
32557
  required: ["message", "is_access_code_error", "error_code"],
32313
- type: "object"
32558
+ type: "object",
32559
+ "x-deprecated": "Use `provider_issue` instead."
32314
32560
  },
32315
32561
  {
32562
+ deprecated: true,
32316
32563
  description: "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.",
32317
32564
  properties: {
32318
32565
  created_at: {
@@ -32336,9 +32583,11 @@ var openapi = {
32336
32583
  }
32337
32584
  },
32338
32585
  required: ["message", "is_access_code_error", "error_code"],
32339
- type: "object"
32586
+ type: "object",
32587
+ "x-deprecated": "Use `provider_issue` instead."
32340
32588
  },
32341
32589
  {
32590
+ deprecated: true,
32342
32591
  description: "KeyNest locker is not supported.",
32343
32592
  properties: {
32344
32593
  created_at: {
@@ -32362,7 +32611,8 @@ var openapi = {
32362
32611
  }
32363
32612
  },
32364
32613
  required: ["message", "is_access_code_error", "error_code"],
32365
- type: "object"
32614
+ type: "object",
32615
+ "x-deprecated": "Use `provider_issue` instead."
32366
32616
  },
32367
32617
  {
32368
32618
  description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
@@ -32923,6 +33173,27 @@ var openapi = {
32923
33173
  description: "Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).",
32924
33174
  discriminator: { propertyName: "warning_code" },
32925
33175
  oneOf: [
33176
+ {
33177
+ description: "Indicates a provider-specific issue that may affect the access code. Check the warning message for details.",
33178
+ properties: {
33179
+ created_at: {
33180
+ description: "Date and time at which Seam created the warning.",
33181
+ format: "date-time",
33182
+ type: "string"
33183
+ },
33184
+ message: {
33185
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
33186
+ type: "string"
33187
+ },
33188
+ warning_code: {
33189
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
33190
+ enum: ["provider_issue"],
33191
+ type: "string"
33192
+ }
33193
+ },
33194
+ required: ["message", "warning_code"],
33195
+ type: "object"
33196
+ },
32926
33197
  {
32927
33198
  description: "Failed to set code on SmartThings device.",
32928
33199
  properties: {
@@ -32968,6 +33239,7 @@ var openapi = {
32968
33239
  "x-deprecated": "Use `duplicate_code_on_device` error instead."
32969
33240
  },
32970
33241
  {
33242
+ deprecated: true,
32971
33243
  description: "Received an error when attempting to create this code.",
32972
33244
  properties: {
32973
33245
  created_at: {
@@ -32986,7 +33258,8 @@ var openapi = {
32986
33258
  }
32987
33259
  },
32988
33260
  required: ["message", "warning_code"],
32989
- type: "object"
33261
+ type: "object",
33262
+ "x-deprecated": "Use `provider_issue` instead."
32990
33263
  },
32991
33264
  {
32992
33265
  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.",