@seamapi/types 1.363.0 → 1.364.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
@@ -1366,7 +1366,8 @@ var unmanaged_device = device.pick({
1366
1366
  // src/lib/seam/connect/models/access-codes/managed-access-code.ts
1367
1367
  var common_access_code_error = zod.z.object({
1368
1368
  message: zod.z.string(),
1369
- is_access_code_error: zod.z.literal(true)
1369
+ is_access_code_error: zod.z.literal(true),
1370
+ created_at: zod.z.string().datetime().optional()
1370
1371
  });
1371
1372
  var error_code_description3 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1372
1373
  var smartthings_failed_to_set_access_code_error = common_access_code_error.extend({
@@ -1418,11 +1419,14 @@ var august_device_programming_delay_error = common_access_code_error.extend({
1418
1419
  var august_device_slots_full = common_access_code_error.extend({
1419
1420
  error_code: zod.z.literal("august_device_slots_full").describe(error_code_description3)
1420
1421
  }).describe("All access code slots on the device are full.");
1422
+ var august_lock_temporarily_offline_error = common_access_code_error.extend({
1423
+ error_code: zod.z.literal("august_lock_temporarily_offline").describe(error_code_description3)
1424
+ }).describe("August lock is temporarily offline.");
1421
1425
  var august_lock_missing_keypad = common_access_code_error.extend({
1422
1426
  error_code: zod.z.literal("august_lock_missing_keypad").describe(error_code_description3)
1423
1427
  }).describe("August lock is missing a keypad.");
1424
- var salto_site_user_not_subscribed = common_access_code_error.extend({
1425
- error_code: zod.z.literal("salto_site_user_not_subscribed").describe(error_code_description3)
1428
+ var salto_ks_user_not_subscribed = common_access_code_error.extend({
1429
+ error_code: zod.z.literal("salto_ks_user_not_subscribed").describe(error_code_description3)
1426
1430
  }).describe("Salto site user is not subscribed.");
1427
1431
  var hubitat_device_programming_delay = common_access_code_error.extend({
1428
1432
  error_code: zod.z.literal("hubitat_device_programming_delay").describe(error_code_description3)
@@ -1430,9 +1434,22 @@ var hubitat_device_programming_delay = common_access_code_error.extend({
1430
1434
  var hubitat_no_free_positions_available = common_access_code_error.extend({
1431
1435
  error_code: zod.z.literal("hubitat_no_free_positions_available").describe(error_code_description3)
1432
1436
  }).describe("No free positions available on the device.");
1437
+ var smartthings_no_free_slots_available = common_access_code_error.extend({
1438
+ error_code: zod.z.literal("smartthings_no_free_slots_available").describe(error_code_description3)
1439
+ }).describe("No free slots available on the device.");
1440
+ var wyze_duplicate_code_name = common_access_code_error.extend({
1441
+ error_code: zod.z.literal("wyze_duplicate_code_name").describe(error_code_description3)
1442
+ }).describe("Duplicate access code name detected.");
1443
+ var wyze_potential_duplicate_code = common_access_code_error.extend({
1444
+ error_code: zod.z.literal("wyze_potential_duplicate_code").describe(error_code_description3)
1445
+ }).describe("Potential duplicate access code detected.");
1446
+ var dormakaba_oracode_no_valid_user_level = common_access_code_error.extend({
1447
+ error_code: zod.z.literal("dormakaba_oracode_no_valid_user_level").describe(error_code_description3)
1448
+ }).describe("No valid user level for Oracode.");
1433
1449
  var access_code_error = zod.z.discriminatedUnion("error_code", [
1434
1450
  smartthings_failed_to_set_access_code_error,
1435
1451
  smartthings_failed_to_set_after_multiple_retries,
1452
+ smartthings_no_free_slots_available,
1436
1453
  failed_to_set_on_device,
1437
1454
  failed_to_remove_from_device,
1438
1455
  duplicate_code_on_device,
@@ -1447,12 +1464,43 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
1447
1464
  august_device_programming_delay_error,
1448
1465
  august_device_slots_full,
1449
1466
  august_lock_missing_keypad,
1450
- salto_site_user_not_subscribed,
1467
+ august_lock_temporarily_offline_error,
1468
+ salto_ks_user_not_subscribed,
1451
1469
  hubitat_device_programming_delay,
1452
- hubitat_no_free_positions_available
1470
+ hubitat_no_free_positions_available,
1471
+ wyze_duplicate_code_name,
1472
+ wyze_potential_duplicate_code,
1473
+ dormakaba_oracode_no_valid_user_level
1453
1474
  ]);
1475
+ zod.z.object({
1476
+ smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_error.optional().nullable(),
1477
+ smartthings_failed_to_set_after_multiple_retries: smartthings_failed_to_set_after_multiple_retries.optional().nullable(),
1478
+ smartthings_no_free_slots_available: smartthings_no_free_slots_available.optional().nullable(),
1479
+ failed_to_set_on_device: failed_to_set_on_device.optional().nullable(),
1480
+ failed_to_remove_from_device: failed_to_remove_from_device.optional().nullable(),
1481
+ duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
1482
+ duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
1483
+ igloohome_bridge_too_many_pending_jobs: igloohome_bridge_too_many_pending_jobs.optional().nullable(),
1484
+ igloohome_bridge_offline: igloohome_bridge_offline.optional().nullable(),
1485
+ igloohome_offline_access_code_no_variance_available: igloohome_offline_access_code_no_variance_available.optional().nullable(),
1486
+ kwikset_unable_to_confirm_code: kwikset_unable_to_confirm_code.optional().nullable(),
1487
+ kwikset_unable_to_confirm_deletion: kwikset_unable_to_confirm_deletion.optional().nullable(),
1488
+ code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
1489
+ august_lock_invalid_code_length: august_lock_invalid_code_length.optional().nullable(),
1490
+ august_device_programming_delay: august_device_programming_delay_error.optional().nullable(),
1491
+ august_lock_temporarily_offline: august_lock_temporarily_offline_error.optional().nullable(),
1492
+ august_device_slots_full: august_device_slots_full.optional().nullable(),
1493
+ august_lock_missing_keypad: august_lock_missing_keypad.optional().nullable(),
1494
+ salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable(),
1495
+ hubitat_device_programming_delay: hubitat_device_programming_delay.optional().nullable(),
1496
+ hubitat_no_free_positions_available: hubitat_no_free_positions_available.optional().nullable(),
1497
+ wyze_duplicate_code_name: wyze_duplicate_code_name.optional().nullable(),
1498
+ wyze_potential_duplicate_code: wyze_potential_duplicate_code.optional().nullable(),
1499
+ dormakaba_oracode_no_valid_user_level: dormakaba_oracode_no_valid_user_level.optional().nullable()
1500
+ });
1454
1501
  var common_access_code_warning = zod.z.object({
1455
- message: zod.z.string()
1502
+ message: zod.z.string(),
1503
+ created_at: zod.z.string().datetime().optional()
1456
1504
  });
1457
1505
  var warning_code_description3 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1458
1506
  var smartthings_failed_to_set_access_code_warning = common_access_code_warning.extend({
@@ -1461,6 +1509,9 @@ var smartthings_failed_to_set_access_code_warning = common_access_code_warning.e
1461
1509
  var august_device_programming_delay_warning = common_access_code_warning.extend({
1462
1510
  warning_code: zod.z.literal("august_device_programming_delay").describe(warning_code_description3)
1463
1511
  }).describe("Access code has not yet been fully moved to the device.");
1512
+ var august_lock_temporarily_offline_warning = common_access_code_warning.extend({
1513
+ warning_code: zod.z.literal("august_lock_temporarily_offline").describe(error_code_description3)
1514
+ }).describe("August lock is temporarily offline.");
1464
1515
  var code_modified_external_to_seam_warning = common_access_code_warning.extend({
1465
1516
  warning_code: zod.z.literal("code_modified_external_to_seam").describe(warning_code_description3)
1466
1517
  }).describe(
@@ -1472,9 +1523,6 @@ var schlage_detected_duplicate = common_access_code_warning.extend({
1472
1523
  var schlage_creation_outage = common_access_code_warning.extend({
1473
1524
  warning_code: zod.z.literal("schlage_creation_outage").describe(warning_code_description3)
1474
1525
  }).describe("Received an error when attempting to create this code.");
1475
- var salto_office_mode = common_access_code_warning.extend({
1476
- warning_code: zod.z.literal("salto_office_mode").describe(warning_code_description3)
1477
- }).describe("Lock is in Office Mode. Access Codes will not unlock doors.");
1478
1526
  var delay_in_setting_on_device = common_access_code_warning.extend({
1479
1527
  warning_code: zod.z.literal("delay_in_setting_on_device").describe(warning_code_description3)
1480
1528
  }).describe("Delay in setting code on device.");
@@ -1499,16 +1547,30 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
1499
1547
  smartthings_failed_to_set_access_code_warning,
1500
1548
  schlage_detected_duplicate,
1501
1549
  schlage_creation_outage,
1502
- salto_office_mode,
1503
1550
  code_modified_external_to_seam_warning,
1504
1551
  delay_in_setting_on_device,
1505
1552
  delay_in_removing_from_device,
1506
1553
  third_party_integration_detected2,
1507
1554
  august_device_programming_delay_warning,
1555
+ august_lock_temporarily_offline_warning,
1508
1556
  igloo_algopin_must_be_used_within_24_hours,
1509
1557
  management_transferred,
1510
1558
  kwikset_unable_to_confirm_code_warning
1511
1559
  ]);
1560
+ zod.z.object({
1561
+ smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_warning.optional().nullable(),
1562
+ schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
1563
+ schlage_creation_outage: schlage_creation_outage.optional().nullable(),
1564
+ code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
1565
+ delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
1566
+ delay_in_removing_from_device: delay_in_removing_from_device.optional().nullable(),
1567
+ third_party_integration_detected: third_party_integration_detected2.optional().nullable(),
1568
+ august_device_programming_delay: august_device_programming_delay_warning.optional().nullable(),
1569
+ august_lock_temporarily_offline: august_lock_temporarily_offline_warning.optional().nullable(),
1570
+ igloo_algopin_must_be_used_within_24_hours: igloo_algopin_must_be_used_within_24_hours.optional().nullable(),
1571
+ management_transferred: management_transferred.optional().nullable(),
1572
+ kwikset_unable_to_confirm_code_warning: kwikset_unable_to_confirm_code_warning.optional().nullable()
1573
+ });
1512
1574
  var access_code = zod.z.object({
1513
1575
  common_code_key: zod.z.string().nullable().describe(
1514
1576
  "Unique identifier for a group of access codes that share the same code."
@@ -3991,6 +4053,7 @@ var openapi_default = {
3991
4053
  {
3992
4054
  description: "Failed to set code on Smart Things device.",
3993
4055
  properties: {
4056
+ created_at: { format: "date-time", type: "string" },
3994
4057
  error_code: {
3995
4058
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3996
4059
  enum: ["smartthings_failed_to_set_access_code"],
@@ -4005,6 +4068,7 @@ var openapi_default = {
4005
4068
  {
4006
4069
  description: "Failed to set code after multiple retries.",
4007
4070
  properties: {
4071
+ created_at: { format: "date-time", type: "string" },
4008
4072
  error_code: {
4009
4073
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4010
4074
  enum: [
@@ -4018,9 +4082,25 @@ var openapi_default = {
4018
4082
  required: ["message", "is_access_code_error", "error_code"],
4019
4083
  type: "object"
4020
4084
  },
4085
+ {
4086
+ description: "No free slots available on the device.",
4087
+ properties: {
4088
+ created_at: { format: "date-time", type: "string" },
4089
+ error_code: {
4090
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4091
+ enum: ["smartthings_no_free_slots_available"],
4092
+ type: "string"
4093
+ },
4094
+ is_access_code_error: { enum: [true], type: "boolean" },
4095
+ message: { type: "string" }
4096
+ },
4097
+ required: ["message", "is_access_code_error", "error_code"],
4098
+ type: "object"
4099
+ },
4021
4100
  {
4022
4101
  description: "Failed to set code on device.",
4023
4102
  properties: {
4103
+ created_at: { format: "date-time", type: "string" },
4024
4104
  error_code: {
4025
4105
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4026
4106
  enum: ["failed_to_set_on_device"],
@@ -4035,6 +4115,7 @@ var openapi_default = {
4035
4115
  {
4036
4116
  description: "Failed to remove code from device.",
4037
4117
  properties: {
4118
+ created_at: { format: "date-time", type: "string" },
4038
4119
  error_code: {
4039
4120
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4040
4121
  enum: ["failed_to_remove_from_device"],
@@ -4049,6 +4130,7 @@ var openapi_default = {
4049
4130
  {
4050
4131
  description: "Duplicate access code detected on device.",
4051
4132
  properties: {
4133
+ created_at: { format: "date-time", type: "string" },
4052
4134
  error_code: {
4053
4135
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4054
4136
  enum: ["duplicate_code_on_device"],
@@ -4063,6 +4145,7 @@ var openapi_default = {
4063
4145
  {
4064
4146
  description: "An attempt to modify this access code was prevented.",
4065
4147
  properties: {
4148
+ created_at: { format: "date-time", type: "string" },
4066
4149
  error_code: {
4067
4150
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4068
4151
  enum: ["duplicate_code_attempt_prevented"],
@@ -4077,6 +4160,7 @@ var openapi_default = {
4077
4160
  {
4078
4161
  description: "Igloohome bridge has too many pending jobs in the queue.",
4079
4162
  properties: {
4163
+ created_at: { format: "date-time", type: "string" },
4080
4164
  error_code: {
4081
4165
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4082
4166
  enum: ["igloohome_bridge_too_many_pending_jobs"],
@@ -4091,6 +4175,7 @@ var openapi_default = {
4091
4175
  {
4092
4176
  description: "Igloohome bridge is offline.",
4093
4177
  properties: {
4178
+ created_at: { format: "date-time", type: "string" },
4094
4179
  error_code: {
4095
4180
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4096
4181
  enum: ["igloohome_bridge_offline"],
@@ -4105,6 +4190,7 @@ var openapi_default = {
4105
4190
  {
4106
4191
  description: "Lock as reached max amount of codes.",
4107
4192
  properties: {
4193
+ created_at: { format: "date-time", type: "string" },
4108
4194
  error_code: {
4109
4195
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4110
4196
  enum: [
@@ -4121,6 +4207,7 @@ var openapi_default = {
4121
4207
  {
4122
4208
  description: "Unable to confirm the access code is set on Kwikset device.",
4123
4209
  properties: {
4210
+ created_at: { format: "date-time", type: "string" },
4124
4211
  error_code: {
4125
4212
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4126
4213
  enum: ["kwikset_unable_to_confirm_code"],
@@ -4135,6 +4222,7 @@ var openapi_default = {
4135
4222
  {
4136
4223
  description: "Unable to confirm the deletion of the access code on Kwikset device.",
4137
4224
  properties: {
4225
+ created_at: { format: "date-time", type: "string" },
4138
4226
  error_code: {
4139
4227
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4140
4228
  enum: ["kwikset_unable_to_confirm_deletion"],
@@ -4149,6 +4237,7 @@ var openapi_default = {
4149
4237
  {
4150
4238
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
4151
4239
  properties: {
4240
+ created_at: { format: "date-time", type: "string" },
4152
4241
  error_code: {
4153
4242
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4154
4243
  enum: ["code_modified_external_to_seam"],
@@ -4163,6 +4252,7 @@ var openapi_default = {
4163
4252
  {
4164
4253
  description: "Invalid code length for August lock.",
4165
4254
  properties: {
4255
+ created_at: { format: "date-time", type: "string" },
4166
4256
  error_code: {
4167
4257
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4168
4258
  enum: ["august_lock_invalid_code_length"],
@@ -4177,6 +4267,7 @@ var openapi_default = {
4177
4267
  {
4178
4268
  description: "Access code has not yet been fully moved to the device.",
4179
4269
  properties: {
4270
+ created_at: { format: "date-time", type: "string" },
4180
4271
  error_code: {
4181
4272
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4182
4273
  enum: ["august_device_programming_delay"],
@@ -4191,6 +4282,7 @@ var openapi_default = {
4191
4282
  {
4192
4283
  description: "All access code slots on the device are full.",
4193
4284
  properties: {
4285
+ created_at: { format: "date-time", type: "string" },
4194
4286
  error_code: {
4195
4287
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4196
4288
  enum: ["august_device_slots_full"],
@@ -4205,6 +4297,7 @@ var openapi_default = {
4205
4297
  {
4206
4298
  description: "August lock is missing a keypad.",
4207
4299
  properties: {
4300
+ created_at: { format: "date-time", type: "string" },
4208
4301
  error_code: {
4209
4302
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4210
4303
  enum: ["august_lock_missing_keypad"],
@@ -4216,12 +4309,28 @@ var openapi_default = {
4216
4309
  required: ["message", "is_access_code_error", "error_code"],
4217
4310
  type: "object"
4218
4311
  },
4312
+ {
4313
+ description: "August lock is temporarily offline.",
4314
+ properties: {
4315
+ created_at: { format: "date-time", type: "string" },
4316
+ error_code: {
4317
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4318
+ enum: ["august_lock_temporarily_offline"],
4319
+ type: "string"
4320
+ },
4321
+ is_access_code_error: { enum: [true], type: "boolean" },
4322
+ message: { type: "string" }
4323
+ },
4324
+ required: ["message", "is_access_code_error", "error_code"],
4325
+ type: "object"
4326
+ },
4219
4327
  {
4220
4328
  description: "Salto site user is not subscribed.",
4221
4329
  properties: {
4330
+ created_at: { format: "date-time", type: "string" },
4222
4331
  error_code: {
4223
4332
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4224
- enum: ["salto_site_user_not_subscribed"],
4333
+ enum: ["salto_ks_user_not_subscribed"],
4225
4334
  type: "string"
4226
4335
  },
4227
4336
  is_access_code_error: { enum: [true], type: "boolean" },
@@ -4233,6 +4342,7 @@ var openapi_default = {
4233
4342
  {
4234
4343
  description: "Access code has not yet been fully moved to the device.",
4235
4344
  properties: {
4345
+ created_at: { format: "date-time", type: "string" },
4236
4346
  error_code: {
4237
4347
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4238
4348
  enum: ["hubitat_device_programming_delay"],
@@ -4247,6 +4357,7 @@ var openapi_default = {
4247
4357
  {
4248
4358
  description: "No free positions available on the device.",
4249
4359
  properties: {
4360
+ created_at: { format: "date-time", type: "string" },
4250
4361
  error_code: {
4251
4362
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4252
4363
  enum: ["hubitat_no_free_positions_available"],
@@ -4258,6 +4369,51 @@ var openapi_default = {
4258
4369
  required: ["message", "is_access_code_error", "error_code"],
4259
4370
  type: "object"
4260
4371
  },
4372
+ {
4373
+ description: "Duplicate access code name detected.",
4374
+ properties: {
4375
+ created_at: { format: "date-time", type: "string" },
4376
+ error_code: {
4377
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4378
+ enum: ["wyze_duplicate_code_name"],
4379
+ type: "string"
4380
+ },
4381
+ is_access_code_error: { enum: [true], type: "boolean" },
4382
+ message: { type: "string" }
4383
+ },
4384
+ required: ["message", "is_access_code_error", "error_code"],
4385
+ type: "object"
4386
+ },
4387
+ {
4388
+ description: "Potential duplicate access code detected.",
4389
+ properties: {
4390
+ created_at: { format: "date-time", type: "string" },
4391
+ error_code: {
4392
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4393
+ enum: ["wyze_potential_duplicate_code"],
4394
+ type: "string"
4395
+ },
4396
+ is_access_code_error: { enum: [true], type: "boolean" },
4397
+ message: { type: "string" }
4398
+ },
4399
+ required: ["message", "is_access_code_error", "error_code"],
4400
+ type: "object"
4401
+ },
4402
+ {
4403
+ description: "No valid user level for Oracode.",
4404
+ properties: {
4405
+ created_at: { format: "date-time", type: "string" },
4406
+ error_code: {
4407
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4408
+ enum: ["dormakaba_oracode_no_valid_user_level"],
4409
+ type: "string"
4410
+ },
4411
+ is_access_code_error: { enum: [true], type: "boolean" },
4412
+ message: { type: "string" }
4413
+ },
4414
+ required: ["message", "is_access_code_error", "error_code"],
4415
+ type: "object"
4416
+ },
4261
4417
  {
4262
4418
  description: "Account is disconnected",
4263
4419
  properties: {
@@ -4627,6 +4783,7 @@ var openapi_default = {
4627
4783
  {
4628
4784
  description: "Failed to set code on Smart Things device.",
4629
4785
  properties: {
4786
+ created_at: { format: "date-time", type: "string" },
4630
4787
  message: { type: "string" },
4631
4788
  warning_code: {
4632
4789
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -4640,6 +4797,7 @@ var openapi_default = {
4640
4797
  {
4641
4798
  description: "Duplicate access code detected.",
4642
4799
  properties: {
4800
+ created_at: { format: "date-time", type: "string" },
4643
4801
  message: { type: "string" },
4644
4802
  warning_code: {
4645
4803
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -4653,6 +4811,7 @@ var openapi_default = {
4653
4811
  {
4654
4812
  description: "Received an error when attempting to create this code.",
4655
4813
  properties: {
4814
+ created_at: { format: "date-time", type: "string" },
4656
4815
  message: { type: "string" },
4657
4816
  warning_code: {
4658
4817
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -4663,22 +4822,10 @@ var openapi_default = {
4663
4822
  required: ["message", "warning_code"],
4664
4823
  type: "object"
4665
4824
  },
4666
- {
4667
- description: "Lock is in Office Mode. Access Codes will not unlock doors.",
4668
- properties: {
4669
- message: { type: "string" },
4670
- warning_code: {
4671
- description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4672
- enum: ["salto_office_mode"],
4673
- type: "string"
4674
- }
4675
- },
4676
- required: ["message", "warning_code"],
4677
- type: "object"
4678
- },
4679
4825
  {
4680
4826
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
4681
4827
  properties: {
4828
+ created_at: { format: "date-time", type: "string" },
4682
4829
  message: { type: "string" },
4683
4830
  warning_code: {
4684
4831
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -4692,6 +4839,7 @@ var openapi_default = {
4692
4839
  {
4693
4840
  description: "Delay in setting code on device.",
4694
4841
  properties: {
4842
+ created_at: { format: "date-time", type: "string" },
4695
4843
  message: { type: "string" },
4696
4844
  warning_code: {
4697
4845
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -4705,6 +4853,7 @@ var openapi_default = {
4705
4853
  {
4706
4854
  description: "Delay in removing code from device.",
4707
4855
  properties: {
4856
+ created_at: { format: "date-time", type: "string" },
4708
4857
  message: { type: "string" },
4709
4858
  warning_code: {
4710
4859
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -4718,6 +4867,7 @@ var openapi_default = {
4718
4867
  {
4719
4868
  description: "Third party integration detected that may cause access codes to fail.",
4720
4869
  properties: {
4870
+ created_at: { format: "date-time", type: "string" },
4721
4871
  message: { type: "string" },
4722
4872
  warning_code: {
4723
4873
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -4731,6 +4881,7 @@ var openapi_default = {
4731
4881
  {
4732
4882
  description: "Access code has not yet been fully moved to the device.",
4733
4883
  properties: {
4884
+ created_at: { format: "date-time", type: "string" },
4734
4885
  message: { type: "string" },
4735
4886
  warning_code: {
4736
4887
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -4741,9 +4892,24 @@ var openapi_default = {
4741
4892
  required: ["message", "warning_code"],
4742
4893
  type: "object"
4743
4894
  },
4895
+ {
4896
+ description: "August lock is temporarily offline.",
4897
+ properties: {
4898
+ created_at: { format: "date-time", type: "string" },
4899
+ message: { type: "string" },
4900
+ warning_code: {
4901
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4902
+ enum: ["august_lock_temporarily_offline"],
4903
+ type: "string"
4904
+ }
4905
+ },
4906
+ required: ["message", "warning_code"],
4907
+ type: "object"
4908
+ },
4744
4909
  {
4745
4910
  description: "Algopins must be used within 24 hours.",
4746
4911
  properties: {
4912
+ created_at: { format: "date-time", type: "string" },
4747
4913
  message: { type: "string" },
4748
4914
  warning_code: {
4749
4915
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -4757,6 +4923,7 @@ var openapi_default = {
4757
4923
  {
4758
4924
  description: "Management was transferred to another workspace.",
4759
4925
  properties: {
4926
+ created_at: { format: "date-time", type: "string" },
4760
4927
  message: { type: "string" },
4761
4928
  warning_code: {
4762
4929
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -4770,6 +4937,7 @@ var openapi_default = {
4770
4937
  {
4771
4938
  description: "Unable to confirm the access code is set on Kwikset device.",
4772
4939
  properties: {
4940
+ created_at: { format: "date-time", type: "string" },
4773
4941
  message: { type: "string" },
4774
4942
  warning_code: {
4775
4943
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -15768,6 +15936,7 @@ var openapi_default = {
15768
15936
  {
15769
15937
  description: "Failed to set code on Smart Things device.",
15770
15938
  properties: {
15939
+ created_at: { format: "date-time", type: "string" },
15771
15940
  error_code: {
15772
15941
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15773
15942
  enum: ["smartthings_failed_to_set_access_code"],
@@ -15782,6 +15951,7 @@ var openapi_default = {
15782
15951
  {
15783
15952
  description: "Failed to set code after multiple retries.",
15784
15953
  properties: {
15954
+ created_at: { format: "date-time", type: "string" },
15785
15955
  error_code: {
15786
15956
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15787
15957
  enum: [
@@ -15795,9 +15965,25 @@ var openapi_default = {
15795
15965
  required: ["message", "is_access_code_error", "error_code"],
15796
15966
  type: "object"
15797
15967
  },
15968
+ {
15969
+ description: "No free slots available on the device.",
15970
+ properties: {
15971
+ created_at: { format: "date-time", type: "string" },
15972
+ error_code: {
15973
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15974
+ enum: ["smartthings_no_free_slots_available"],
15975
+ type: "string"
15976
+ },
15977
+ is_access_code_error: { enum: [true], type: "boolean" },
15978
+ message: { type: "string" }
15979
+ },
15980
+ required: ["message", "is_access_code_error", "error_code"],
15981
+ type: "object"
15982
+ },
15798
15983
  {
15799
15984
  description: "Failed to set code on device.",
15800
15985
  properties: {
15986
+ created_at: { format: "date-time", type: "string" },
15801
15987
  error_code: {
15802
15988
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15803
15989
  enum: ["failed_to_set_on_device"],
@@ -15812,6 +15998,7 @@ var openapi_default = {
15812
15998
  {
15813
15999
  description: "Failed to remove code from device.",
15814
16000
  properties: {
16001
+ created_at: { format: "date-time", type: "string" },
15815
16002
  error_code: {
15816
16003
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15817
16004
  enum: ["failed_to_remove_from_device"],
@@ -15826,6 +16013,7 @@ var openapi_default = {
15826
16013
  {
15827
16014
  description: "Duplicate access code detected on device.",
15828
16015
  properties: {
16016
+ created_at: { format: "date-time", type: "string" },
15829
16017
  error_code: {
15830
16018
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15831
16019
  enum: ["duplicate_code_on_device"],
@@ -15840,6 +16028,7 @@ var openapi_default = {
15840
16028
  {
15841
16029
  description: "An attempt to modify this access code was prevented.",
15842
16030
  properties: {
16031
+ created_at: { format: "date-time", type: "string" },
15843
16032
  error_code: {
15844
16033
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15845
16034
  enum: ["duplicate_code_attempt_prevented"],
@@ -15854,6 +16043,7 @@ var openapi_default = {
15854
16043
  {
15855
16044
  description: "Igloohome bridge has too many pending jobs in the queue.",
15856
16045
  properties: {
16046
+ created_at: { format: "date-time", type: "string" },
15857
16047
  error_code: {
15858
16048
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15859
16049
  enum: ["igloohome_bridge_too_many_pending_jobs"],
@@ -15868,6 +16058,7 @@ var openapi_default = {
15868
16058
  {
15869
16059
  description: "Igloohome bridge is offline.",
15870
16060
  properties: {
16061
+ created_at: { format: "date-time", type: "string" },
15871
16062
  error_code: {
15872
16063
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15873
16064
  enum: ["igloohome_bridge_offline"],
@@ -15882,6 +16073,7 @@ var openapi_default = {
15882
16073
  {
15883
16074
  description: "Lock as reached max amount of codes.",
15884
16075
  properties: {
16076
+ created_at: { format: "date-time", type: "string" },
15885
16077
  error_code: {
15886
16078
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15887
16079
  enum: [
@@ -15898,6 +16090,7 @@ var openapi_default = {
15898
16090
  {
15899
16091
  description: "Unable to confirm the access code is set on Kwikset device.",
15900
16092
  properties: {
16093
+ created_at: { format: "date-time", type: "string" },
15901
16094
  error_code: {
15902
16095
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15903
16096
  enum: ["kwikset_unable_to_confirm_code"],
@@ -15912,6 +16105,7 @@ var openapi_default = {
15912
16105
  {
15913
16106
  description: "Unable to confirm the deletion of the access code on Kwikset device.",
15914
16107
  properties: {
16108
+ created_at: { format: "date-time", type: "string" },
15915
16109
  error_code: {
15916
16110
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15917
16111
  enum: ["kwikset_unable_to_confirm_deletion"],
@@ -15926,6 +16120,7 @@ var openapi_default = {
15926
16120
  {
15927
16121
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
15928
16122
  properties: {
16123
+ created_at: { format: "date-time", type: "string" },
15929
16124
  error_code: {
15930
16125
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15931
16126
  enum: ["code_modified_external_to_seam"],
@@ -15940,6 +16135,7 @@ var openapi_default = {
15940
16135
  {
15941
16136
  description: "Invalid code length for August lock.",
15942
16137
  properties: {
16138
+ created_at: { format: "date-time", type: "string" },
15943
16139
  error_code: {
15944
16140
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15945
16141
  enum: ["august_lock_invalid_code_length"],
@@ -15954,6 +16150,7 @@ var openapi_default = {
15954
16150
  {
15955
16151
  description: "Access code has not yet been fully moved to the device.",
15956
16152
  properties: {
16153
+ created_at: { format: "date-time", type: "string" },
15957
16154
  error_code: {
15958
16155
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15959
16156
  enum: ["august_device_programming_delay"],
@@ -15968,6 +16165,7 @@ var openapi_default = {
15968
16165
  {
15969
16166
  description: "All access code slots on the device are full.",
15970
16167
  properties: {
16168
+ created_at: { format: "date-time", type: "string" },
15971
16169
  error_code: {
15972
16170
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15973
16171
  enum: ["august_device_slots_full"],
@@ -15982,6 +16180,7 @@ var openapi_default = {
15982
16180
  {
15983
16181
  description: "August lock is missing a keypad.",
15984
16182
  properties: {
16183
+ created_at: { format: "date-time", type: "string" },
15985
16184
  error_code: {
15986
16185
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15987
16186
  enum: ["august_lock_missing_keypad"],
@@ -15993,12 +16192,28 @@ var openapi_default = {
15993
16192
  required: ["message", "is_access_code_error", "error_code"],
15994
16193
  type: "object"
15995
16194
  },
16195
+ {
16196
+ description: "August lock is temporarily offline.",
16197
+ properties: {
16198
+ created_at: { format: "date-time", type: "string" },
16199
+ error_code: {
16200
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
16201
+ enum: ["august_lock_temporarily_offline"],
16202
+ type: "string"
16203
+ },
16204
+ is_access_code_error: { enum: [true], type: "boolean" },
16205
+ message: { type: "string" }
16206
+ },
16207
+ required: ["message", "is_access_code_error", "error_code"],
16208
+ type: "object"
16209
+ },
15996
16210
  {
15997
16211
  description: "Salto site user is not subscribed.",
15998
16212
  properties: {
16213
+ created_at: { format: "date-time", type: "string" },
15999
16214
  error_code: {
16000
16215
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
16001
- enum: ["salto_site_user_not_subscribed"],
16216
+ enum: ["salto_ks_user_not_subscribed"],
16002
16217
  type: "string"
16003
16218
  },
16004
16219
  is_access_code_error: { enum: [true], type: "boolean" },
@@ -16010,6 +16225,7 @@ var openapi_default = {
16010
16225
  {
16011
16226
  description: "Access code has not yet been fully moved to the device.",
16012
16227
  properties: {
16228
+ created_at: { format: "date-time", type: "string" },
16013
16229
  error_code: {
16014
16230
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
16015
16231
  enum: ["hubitat_device_programming_delay"],
@@ -16024,6 +16240,7 @@ var openapi_default = {
16024
16240
  {
16025
16241
  description: "No free positions available on the device.",
16026
16242
  properties: {
16243
+ created_at: { format: "date-time", type: "string" },
16027
16244
  error_code: {
16028
16245
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
16029
16246
  enum: ["hubitat_no_free_positions_available"],
@@ -16035,6 +16252,51 @@ var openapi_default = {
16035
16252
  required: ["message", "is_access_code_error", "error_code"],
16036
16253
  type: "object"
16037
16254
  },
16255
+ {
16256
+ description: "Duplicate access code name detected.",
16257
+ properties: {
16258
+ created_at: { format: "date-time", type: "string" },
16259
+ error_code: {
16260
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
16261
+ enum: ["wyze_duplicate_code_name"],
16262
+ type: "string"
16263
+ },
16264
+ is_access_code_error: { enum: [true], type: "boolean" },
16265
+ message: { type: "string" }
16266
+ },
16267
+ required: ["message", "is_access_code_error", "error_code"],
16268
+ type: "object"
16269
+ },
16270
+ {
16271
+ description: "Potential duplicate access code detected.",
16272
+ properties: {
16273
+ created_at: { format: "date-time", type: "string" },
16274
+ error_code: {
16275
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
16276
+ enum: ["wyze_potential_duplicate_code"],
16277
+ type: "string"
16278
+ },
16279
+ is_access_code_error: { enum: [true], type: "boolean" },
16280
+ message: { type: "string" }
16281
+ },
16282
+ required: ["message", "is_access_code_error", "error_code"],
16283
+ type: "object"
16284
+ },
16285
+ {
16286
+ description: "No valid user level for Oracode.",
16287
+ properties: {
16288
+ created_at: { format: "date-time", type: "string" },
16289
+ error_code: {
16290
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
16291
+ enum: ["dormakaba_oracode_no_valid_user_level"],
16292
+ type: "string"
16293
+ },
16294
+ is_access_code_error: { enum: [true], type: "boolean" },
16295
+ message: { type: "string" }
16296
+ },
16297
+ required: ["message", "is_access_code_error", "error_code"],
16298
+ type: "object"
16299
+ },
16038
16300
  {
16039
16301
  description: "Account is disconnected",
16040
16302
  properties: {
@@ -16362,6 +16624,7 @@ var openapi_default = {
16362
16624
  {
16363
16625
  description: "Failed to set code on Smart Things device.",
16364
16626
  properties: {
16627
+ created_at: { format: "date-time", type: "string" },
16365
16628
  message: { type: "string" },
16366
16629
  warning_code: {
16367
16630
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -16375,6 +16638,7 @@ var openapi_default = {
16375
16638
  {
16376
16639
  description: "Duplicate access code detected.",
16377
16640
  properties: {
16641
+ created_at: { format: "date-time", type: "string" },
16378
16642
  message: { type: "string" },
16379
16643
  warning_code: {
16380
16644
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -16388,6 +16652,7 @@ var openapi_default = {
16388
16652
  {
16389
16653
  description: "Received an error when attempting to create this code.",
16390
16654
  properties: {
16655
+ created_at: { format: "date-time", type: "string" },
16391
16656
  message: { type: "string" },
16392
16657
  warning_code: {
16393
16658
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -16398,22 +16663,10 @@ var openapi_default = {
16398
16663
  required: ["message", "warning_code"],
16399
16664
  type: "object"
16400
16665
  },
16401
- {
16402
- description: "Lock is in Office Mode. Access Codes will not unlock doors.",
16403
- properties: {
16404
- message: { type: "string" },
16405
- warning_code: {
16406
- description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
16407
- enum: ["salto_office_mode"],
16408
- type: "string"
16409
- }
16410
- },
16411
- required: ["message", "warning_code"],
16412
- type: "object"
16413
- },
16414
16666
  {
16415
16667
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
16416
16668
  properties: {
16669
+ created_at: { format: "date-time", type: "string" },
16417
16670
  message: { type: "string" },
16418
16671
  warning_code: {
16419
16672
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -16427,6 +16680,7 @@ var openapi_default = {
16427
16680
  {
16428
16681
  description: "Delay in setting code on device.",
16429
16682
  properties: {
16683
+ created_at: { format: "date-time", type: "string" },
16430
16684
  message: { type: "string" },
16431
16685
  warning_code: {
16432
16686
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -16440,6 +16694,7 @@ var openapi_default = {
16440
16694
  {
16441
16695
  description: "Delay in removing code from device.",
16442
16696
  properties: {
16697
+ created_at: { format: "date-time", type: "string" },
16443
16698
  message: { type: "string" },
16444
16699
  warning_code: {
16445
16700
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -16453,6 +16708,7 @@ var openapi_default = {
16453
16708
  {
16454
16709
  description: "Third party integration detected that may cause access codes to fail.",
16455
16710
  properties: {
16711
+ created_at: { format: "date-time", type: "string" },
16456
16712
  message: { type: "string" },
16457
16713
  warning_code: {
16458
16714
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -16466,6 +16722,7 @@ var openapi_default = {
16466
16722
  {
16467
16723
  description: "Access code has not yet been fully moved to the device.",
16468
16724
  properties: {
16725
+ created_at: { format: "date-time", type: "string" },
16469
16726
  message: { type: "string" },
16470
16727
  warning_code: {
16471
16728
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -16476,9 +16733,24 @@ var openapi_default = {
16476
16733
  required: ["message", "warning_code"],
16477
16734
  type: "object"
16478
16735
  },
16736
+ {
16737
+ description: "August lock is temporarily offline.",
16738
+ properties: {
16739
+ created_at: { format: "date-time", type: "string" },
16740
+ message: { type: "string" },
16741
+ warning_code: {
16742
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
16743
+ enum: ["august_lock_temporarily_offline"],
16744
+ type: "string"
16745
+ }
16746
+ },
16747
+ required: ["message", "warning_code"],
16748
+ type: "object"
16749
+ },
16479
16750
  {
16480
16751
  description: "Algopins must be used within 24 hours.",
16481
16752
  properties: {
16753
+ created_at: { format: "date-time", type: "string" },
16482
16754
  message: { type: "string" },
16483
16755
  warning_code: {
16484
16756
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -16492,6 +16764,7 @@ var openapi_default = {
16492
16764
  {
16493
16765
  description: "Management was transferred to another workspace.",
16494
16766
  properties: {
16767
+ created_at: { format: "date-time", type: "string" },
16495
16768
  message: { type: "string" },
16496
16769
  warning_code: {
16497
16770
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -16505,6 +16778,7 @@ var openapi_default = {
16505
16778
  {
16506
16779
  description: "Unable to confirm the access code is set on Kwikset device.",
16507
16780
  properties: {
16781
+ created_at: { format: "date-time", type: "string" },
16508
16782
  message: { type: "string" },
16509
16783
  warning_code: {
16510
16784
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",