@seamapi/types 1.360.1 → 1.361.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.
Files changed (40) hide show
  1. package/dist/connect.cjs +739 -583
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2320 -1622
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +192 -126
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -4
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +193 -127
  8. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  9. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  10. package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
  11. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
  13. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  14. package/lib/seam/connect/models/acs/acs-user.d.ts +4 -4
  15. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +26 -26
  16. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  17. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
  18. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +42 -42
  19. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
  20. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
  21. package/lib/seam/connect/models/devices/device.d.ts +1760 -389
  22. package/lib/seam/connect/models/devices/device.js +82 -4
  23. package/lib/seam/connect/models/devices/device.js.map +1 -1
  24. package/lib/seam/connect/models/devices/phone.d.ts +4 -4
  25. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +236 -58
  26. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  27. package/lib/seam/connect/models/events/devices.d.ts +152 -152
  28. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  29. package/lib/seam/connect/models/events/seam-event.d.ts +112 -112
  30. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +8 -8
  31. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  32. package/lib/seam/connect/openapi.d.ts +58 -148
  33. package/lib/seam/connect/openapi.js +563 -463
  34. package/lib/seam/connect/openapi.js.map +1 -1
  35. package/lib/seam/connect/route-types.d.ts +840 -648
  36. package/package.json +1 -1
  37. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -4
  38. package/src/lib/seam/connect/models/devices/device.ts +103 -4
  39. package/src/lib/seam/connect/openapi.ts +562 -478
  40. package/src/lib/seam/connect/route-types.ts +888 -720
package/dist/connect.cjs CHANGED
@@ -43,114 +43,6 @@ __export(schemas_exports, {
43
43
  webhook: () => webhook,
44
44
  workspace: () => workspace
45
45
  });
46
- zod.z.record(
47
- zod.z.string().max(40),
48
- zod.z.union([zod.z.string().max(500), zod.z.boolean(), zod.z.null()])
49
- ).refine((val) => Object.keys(val).length <= 50, {
50
- message: "Custom metadata is limited to a maximum of 50 keys"
51
- });
52
- var custom_metadata = zod.z.record(
53
- zod.z.string(),
54
- zod.z.union([zod.z.string(), zod.z.boolean()])
55
- );
56
-
57
- // src/lib/seam/connect/models/connected-accounts/connected-account.ts
58
- var common_connected_account_error = zod.z.object({
59
- created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
60
- message: zod.z.string(),
61
- is_connected_account_error: zod.z.literal(true)
62
- });
63
- var error_code_description = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
64
- var warning_code_description = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
65
- var common_connected_account_warning = zod.z.object({
66
- created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
67
- message: zod.z.string()
68
- });
69
- var account_disconnected = common_connected_account_error.extend({
70
- error_code: zod.z.literal("account_disconnected").describe(error_code_description)
71
- }).describe("Account is disconnected.");
72
- var invalid_credentials = common_connected_account_error.extend({
73
- error_code: zod.z.literal("invalid_credentials").describe(error_code_description)
74
- }).describe("Credentials provided were invalid.");
75
- var salto_ks_subscription_limit_exceeded = common_connected_account_error.extend({
76
- error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description),
77
- salto_ks_metadata: zod.z.object({
78
- sites: zod.z.array(
79
- zod.z.object({
80
- site_id: zod.z.string(),
81
- site_name: zod.z.string(),
82
- subscribed_site_user_count: zod.z.number().int().min(0),
83
- site_user_subscription_limit: zod.z.number().int().min(0)
84
- })
85
- )
86
- })
87
- }).describe(
88
- "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit."
89
- );
90
- var connected_account_error = zod.z.discriminatedUnion("error_code", [
91
- account_disconnected,
92
- invalid_credentials,
93
- salto_ks_subscription_limit_exceeded
94
- ]);
95
- zod.z.object({
96
- account_disconnected: account_disconnected.nullable().optional(),
97
- invalid_credentials: invalid_credentials.nullable().optional(),
98
- salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.nullable().optional()
99
- });
100
- var unknown_issue_with_connected_account = common_connected_account_warning.extend({
101
- warning_code: zod.z.literal("unknown_issue_with_connected_account").describe(warning_code_description)
102
- }).describe(
103
- "An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account."
104
- );
105
- var scheduled_maintenance_window = common_connected_account_warning.extend({
106
- warning_code: zod.z.literal("scheduled_maintenance_window").describe(warning_code_description)
107
- }).describe("Scheduled downtime for account planned.");
108
- var salto_ks_subscription_limit_almost_reached = common_connected_account_warning.extend({
109
- warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(warning_code_description),
110
- salto_ks_metadata: zod.z.object({
111
- sites: zod.z.array(
112
- zod.z.object({
113
- site_id: zod.z.string(),
114
- site_name: zod.z.string(),
115
- site_user_subscription_limit: zod.z.number().int().min(0),
116
- subscribed_site_user_count: zod.z.number().int().min(0)
117
- })
118
- )
119
- })
120
- }).describe(
121
- "Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this."
122
- );
123
- var connected_account_warning = zod.z.discriminatedUnion("warning_code", [
124
- scheduled_maintenance_window,
125
- unknown_issue_with_connected_account,
126
- salto_ks_subscription_limit_almost_reached
127
- ]).describe("Warning associated with the `connected_account`.");
128
- zod.z.object({
129
- scheduled_maintenance_window: scheduled_maintenance_window.nullable().optional(),
130
- unknown_issue_with_connected_account: unknown_issue_with_connected_account.nullable().optional(),
131
- salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.nullable().optional()
132
- });
133
- var connected_account = zod.z.object({
134
- connected_account_id: zod.z.string().uuid().optional(),
135
- created_at: zod.z.string().datetime().optional(),
136
- user_identifier: zod.z.object({
137
- username: zod.z.string().optional(),
138
- api_url: zod.z.string().optional(),
139
- email: zod.z.string().optional(),
140
- phone: zod.z.string().optional(),
141
- exclusive: zod.z.boolean().optional()
142
- }).optional(),
143
- account_type: zod.z.string().optional(),
144
- account_type_display_name: zod.z.string(),
145
- errors: zod.z.array(connected_account_error),
146
- warnings: zod.z.array(connected_account_warning),
147
- custom_metadata,
148
- automatically_manage_new_devices: zod.z.boolean()
149
- }).describe(`
150
- ---
151
- route_path: /connected_accounts
152
- ---
153
- `);
154
46
  var capabilities = zod.z.enum([
155
47
  "access_code",
156
48
  "lock",
@@ -575,6 +467,114 @@ var base_device_model_v1 = zod.z.object({
575
467
  var device_model_v1 = base_device_model_v1.and(
576
468
  device_model_category_specific_properties
577
469
  );
470
+ zod.z.record(
471
+ zod.z.string().max(40),
472
+ zod.z.union([zod.z.string().max(500), zod.z.boolean(), zod.z.null()])
473
+ ).refine((val) => Object.keys(val).length <= 50, {
474
+ message: "Custom metadata is limited to a maximum of 50 keys"
475
+ });
476
+ var custom_metadata = zod.z.record(
477
+ zod.z.string(),
478
+ zod.z.union([zod.z.string(), zod.z.boolean()])
479
+ );
480
+
481
+ // src/lib/seam/connect/models/connected-accounts/connected-account.ts
482
+ var common_connected_account_error = zod.z.object({
483
+ created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
484
+ message: zod.z.string(),
485
+ is_connected_account_error: zod.z.literal(true)
486
+ });
487
+ var error_code_description = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
488
+ var warning_code_description = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
489
+ var common_connected_account_warning = zod.z.object({
490
+ created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
491
+ message: zod.z.string()
492
+ });
493
+ var account_disconnected = common_connected_account_error.extend({
494
+ error_code: zod.z.literal("account_disconnected").describe(error_code_description)
495
+ }).describe("Account is disconnected.");
496
+ var invalid_credentials = common_connected_account_error.extend({
497
+ error_code: zod.z.literal("invalid_credentials").describe(error_code_description)
498
+ }).describe("Credentials provided were invalid.");
499
+ var salto_ks_subscription_limit_exceeded = common_connected_account_error.extend({
500
+ error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description),
501
+ salto_ks_metadata: zod.z.object({
502
+ sites: zod.z.array(
503
+ zod.z.object({
504
+ site_id: zod.z.string(),
505
+ site_name: zod.z.string(),
506
+ subscribed_site_user_count: zod.z.number().int().min(0),
507
+ site_user_subscription_limit: zod.z.number().int().min(0)
508
+ })
509
+ )
510
+ })
511
+ }).describe(
512
+ "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit."
513
+ );
514
+ var connected_account_error = zod.z.discriminatedUnion("error_code", [
515
+ account_disconnected,
516
+ invalid_credentials,
517
+ salto_ks_subscription_limit_exceeded
518
+ ]);
519
+ zod.z.object({
520
+ account_disconnected: account_disconnected.nullable().optional(),
521
+ invalid_credentials: invalid_credentials.nullable().optional(),
522
+ salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.nullable().optional()
523
+ });
524
+ var unknown_issue_with_connected_account = common_connected_account_warning.extend({
525
+ warning_code: zod.z.literal("unknown_issue_with_connected_account").describe(warning_code_description)
526
+ }).describe(
527
+ "An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account."
528
+ );
529
+ var scheduled_maintenance_window = common_connected_account_warning.extend({
530
+ warning_code: zod.z.literal("scheduled_maintenance_window").describe(warning_code_description)
531
+ }).describe("Scheduled downtime for account planned.");
532
+ var salto_ks_subscription_limit_almost_reached = common_connected_account_warning.extend({
533
+ warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(warning_code_description),
534
+ salto_ks_metadata: zod.z.object({
535
+ sites: zod.z.array(
536
+ zod.z.object({
537
+ site_id: zod.z.string(),
538
+ site_name: zod.z.string(),
539
+ site_user_subscription_limit: zod.z.number().int().min(0),
540
+ subscribed_site_user_count: zod.z.number().int().min(0)
541
+ })
542
+ )
543
+ })
544
+ }).describe(
545
+ "Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this."
546
+ );
547
+ var connected_account_warning = zod.z.discriminatedUnion("warning_code", [
548
+ scheduled_maintenance_window,
549
+ unknown_issue_with_connected_account,
550
+ salto_ks_subscription_limit_almost_reached
551
+ ]).describe("Warning associated with the `connected_account`.");
552
+ zod.z.object({
553
+ scheduled_maintenance_window: scheduled_maintenance_window.nullable().optional(),
554
+ unknown_issue_with_connected_account: unknown_issue_with_connected_account.nullable().optional(),
555
+ salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.nullable().optional()
556
+ });
557
+ var connected_account = zod.z.object({
558
+ connected_account_id: zod.z.string().uuid().optional(),
559
+ created_at: zod.z.string().datetime().optional(),
560
+ user_identifier: zod.z.object({
561
+ username: zod.z.string().optional(),
562
+ api_url: zod.z.string().optional(),
563
+ email: zod.z.string().optional(),
564
+ phone: zod.z.string().optional(),
565
+ exclusive: zod.z.boolean().optional()
566
+ }).optional(),
567
+ account_type: zod.z.string().optional(),
568
+ account_type_display_name: zod.z.string(),
569
+ errors: zod.z.array(connected_account_error),
570
+ warnings: zod.z.array(connected_account_warning),
571
+ custom_metadata,
572
+ automatically_manage_new_devices: zod.z.boolean()
573
+ }).describe(`
574
+ ---
575
+ route_path: /connected_accounts
576
+ ---
577
+ `);
578
578
  var dormakaba_oracode_time_slot = zod.z.object({
579
579
  name: zod.z.string(),
580
580
  prefix: zod.z.number(),
@@ -906,7 +906,8 @@ var device_capability_flags2 = models_exports.device_capability_flags.extend({
906
906
  var battery_status = zod.z.enum(["critical", "low", "good", "full"]);
907
907
  var common_device_error = zod.z.object({
908
908
  message: zod.z.string(),
909
- is_device_error: zod.z.literal(true)
909
+ is_device_error: zod.z.literal(true),
910
+ created_at: zod.z.string().datetime()
910
911
  });
911
912
  var error_code_description2 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
912
913
  var device_offline = common_device_error.extend({
@@ -921,6 +922,11 @@ var hub_disconnected = common_device_error.extend({
921
922
  var device_disconnected = common_device_error.extend({
922
923
  error_code: zod.z.literal("device_disconnected").describe(error_code_description2)
923
924
  }).describe("Device is disconnected");
925
+ var account_disconnected2 = common_device_error.extend({
926
+ error_code: zod.z.literal("account_disconnected").describe(error_code_description2),
927
+ is_connected_account_error: zod.z.literal(true),
928
+ is_device_error: zod.z.literal(false)
929
+ }).describe("Account is disconnected");
924
930
  var empty_backup_access_code_pool = common_device_error.extend({
925
931
  error_code: zod.z.literal("empty_backup_access_code_pool").describe(error_code_description2)
926
932
  }).describe("The backup access code pool is empty.");
@@ -930,8 +936,10 @@ var august_lock_not_authorized = common_device_error.extend({
930
936
  var august_lock_missing_bridge = common_device_error.extend({
931
937
  error_code: zod.z.literal("august_lock_missing_bridge").describe(error_code_description2)
932
938
  }).describe("Lock is not connected to the Seam Bridge.");
933
- var salto_site_user_limit_reached = common_device_error.extend({
934
- error_code: zod.z.literal("salto_site_user_limit_reached").describe(error_code_description2)
939
+ var salto_ks_subscription_limit_exceeded2 = common_device_error.extend({
940
+ error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description2),
941
+ is_connected_account_error: zod.z.literal(true),
942
+ is_device_error: zod.z.literal(false)
935
943
  }).describe("Salto site user limit reached.");
936
944
  var ttlock_lock_not_paired_to_gateway = common_device_error.extend({
937
945
  error_code: zod.z.literal("ttlock_lock_not_paired_to_gateway").describe(error_code_description2)
@@ -946,6 +954,8 @@ var subscription_required = common_device_error.extend({
946
954
  error_code: zod.z.literal("subscription_required").describe(error_code_description2)
947
955
  }).describe("Subscription required to connect.");
948
956
  var device_error = zod.z.discriminatedUnion("error_code", [
957
+ account_disconnected2,
958
+ salto_ks_subscription_limit_exceeded2,
949
959
  device_offline,
950
960
  device_removed,
951
961
  hub_disconnected,
@@ -953,15 +963,30 @@ var device_error = zod.z.discriminatedUnion("error_code", [
953
963
  empty_backup_access_code_pool,
954
964
  august_lock_not_authorized,
955
965
  august_lock_missing_bridge,
956
- salto_site_user_limit_reached,
957
966
  ttlock_lock_not_paired_to_gateway,
958
967
  missing_device_credentials,
959
968
  auxiliary_heat_running,
960
969
  subscription_required
961
970
  ]).describe("Error associated with the `device`.");
971
+ zod.z.object({
972
+ device_offline: device_offline.optional().nullable(),
973
+ device_removed: device_removed.optional().nullable(),
974
+ hub_disconnected: hub_disconnected.optional().nullable(),
975
+ device_disconnected: device_disconnected.optional().nullable(),
976
+ account_disconnected: account_disconnected2.optional().nullable(),
977
+ empty_backup_access_code_pool: empty_backup_access_code_pool.optional().nullable(),
978
+ august_lock_not_authorized: august_lock_not_authorized.optional().nullable(),
979
+ august_lock_missing_bridge: august_lock_missing_bridge.optional().nullable(),
980
+ salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded2.optional().nullable(),
981
+ ttlock_lock_not_paired_to_gateway: ttlock_lock_not_paired_to_gateway.optional().nullable(),
982
+ missing_device_credentials: missing_device_credentials.optional().nullable(),
983
+ auxiliary_heat_running: auxiliary_heat_running.optional().nullable(),
984
+ subscription_required: subscription_required.optional().nullable()
985
+ });
962
986
  var warning_code_description2 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
963
987
  var common_device_warning = zod.z.object({
964
- message: zod.z.string()
988
+ message: zod.z.string(),
989
+ created_at: zod.z.string().datetime()
965
990
  });
966
991
  var partial_backup_access_code_pool = common_device_warning.extend({
967
992
  warning_code: zod.z.literal("partial_backup_access_code_pool").describe(warning_code_description2)
@@ -1031,6 +1056,26 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
1031
1056
  salto_privacy_mode,
1032
1057
  unknown_issue_with_phone
1033
1058
  ]);
1059
+ zod.z.object({
1060
+ partial_backup_access_code_pool: partial_backup_access_code_pool.optional().nullable(),
1061
+ many_active_backup_codes: many_active_backup_codes.optional().nullable(),
1062
+ salto_unknown_device_type: salto_unknown_device_type.optional().nullable(),
1063
+ wyze_device_missing_gateway: wyze_device_missing_gateway.optional().nullable(),
1064
+ functional_offline_device: functional_offline_device.optional().nullable(),
1065
+ third_party_integration_detected: third_party_integration_detected.optional().nullable(),
1066
+ nest_thermostat_in_manual_eco_mode: nest_thermostat_in_manual_eco_mode.optional().nullable(),
1067
+ ttlock_lock_gateway_unlocking_not_enabled: ttlock_lock_gateway_unlocking_not_enabled.optional().nullable(),
1068
+ ttlock_weak_gateway_signal: ttlock_weak_gateway_signal.optional().nullable(),
1069
+ temperature_threshold_exceeded: temperature_threshold_exceeded.optional().nullable(),
1070
+ device_communication_degraded: device_communication_degraded.optional().nullable(),
1071
+ scheduled_maintenance_window: scheduled_maintenance_window2.optional().nullable(),
1072
+ device_has_flaky_connection: device_has_flaky_connection.extend({
1073
+ _event_id: zod.z.string().uuid().optional()
1074
+ }).optional().nullable(),
1075
+ salto_office_mode: salto_office_mode.optional().nullable(),
1076
+ salto_privacy_mode: salto_privacy_mode.optional().nullable(),
1077
+ unknown_issue_with_phone: unknown_issue_with_phone.optional().nullable()
1078
+ });
1034
1079
  var common_device_properties = zod.z.object({
1035
1080
  online: zod.z.boolean().describe("Indicates whether the device is online."),
1036
1081
  name: zod.z.string().describe(`
@@ -1112,6 +1157,14 @@ var common_device_properties = zod.z.object({
1112
1157
  ).optional(),
1113
1158
  currently_triggering_noise_threshold_ids: zod.z.array(zod.z.string()).describe("Array of noise threshold IDs that are currently triggering.").optional()
1114
1159
  });
1160
+ var device_and_connected_account_error_options = [
1161
+ ...device_error.options,
1162
+ ...connected_account_error.options.filter(
1163
+ (_connected_account_error) => !device_error.options.some(
1164
+ (_device_error) => _device_error.shape.error_code.value === _connected_account_error.shape.error_code.value
1165
+ )
1166
+ )
1167
+ ];
1115
1168
  var device = zod.z.object({
1116
1169
  device_id: zod.z.string().uuid().describe("Unique identifier for the device."),
1117
1170
  device_type: any_device_type.describe("Type of the device."),
@@ -1138,7 +1191,11 @@ var device = zod.z.object({
1138
1191
  errors: zod.z.array(
1139
1192
  zod.z.discriminatedUnion("error_code", [
1140
1193
  ...device_error.options,
1141
- ...connected_account_error.options
1194
+ ...connected_account_error.options.filter(
1195
+ (_connected_account_error) => !device_error.options.some(
1196
+ (_device_error) => _device_error.shape.error_code.value === _connected_account_error.shape.error_code.value
1197
+ )
1198
+ )
1142
1199
  ])
1143
1200
  ).describe(
1144
1201
  'Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.'
@@ -1476,8 +1533,7 @@ var access_code = zod.z.object({
1476
1533
  errors: zod.z.array(
1477
1534
  zod.z.discriminatedUnion("error_code", [
1478
1535
  ...access_code_error.options,
1479
- ...device_error.options,
1480
- ...connected_account_error.options
1536
+ ...device_and_connected_account_error_options
1481
1537
  ])
1482
1538
  ).describe(
1483
1539
  'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.'
@@ -2045,7 +2101,7 @@ var visionline_instance_unreachable = common_acs_system_error.extend({
2045
2101
  }).describe(`Indicates that [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) is functioning correctly and the Seam API can communicate with Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/latest/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
2046
2102
  For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
2047
2103
  See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
2048
- var salto_ks_subscription_limit_exceeded2 = common_acs_system_error.extend({
2104
+ var salto_ks_subscription_limit_exceeded3 = common_acs_system_error.extend({
2049
2105
  error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description5)
2050
2106
  }).describe(
2051
2107
  "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit."
@@ -2055,7 +2111,7 @@ var acs_system_disconnected = common_acs_system_error.extend({
2055
2111
  }).describe(
2056
2112
  "Indicates that the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) has been disconnected. See [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system) to resolve the issue."
2057
2113
  );
2058
- var account_disconnected2 = common_acs_system_error.extend({
2114
+ var account_disconnected3 = common_acs_system_error.extend({
2059
2115
  error_code: zod.z.literal("account_disconnected").describe(error_code_description5)
2060
2116
  }).describe(
2061
2117
  "Indicates that the login credentials are invalid. Reconnect the account using a [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews) to restore access."
@@ -2068,9 +2124,9 @@ var salto_ks_certification_expired = common_acs_system_error.extend({
2068
2124
  var acs_system_error = zod.z.discriminatedUnion("error_code", [
2069
2125
  seam_bridge_disconnected,
2070
2126
  visionline_instance_unreachable,
2071
- salto_ks_subscription_limit_exceeded2,
2127
+ salto_ks_subscription_limit_exceeded3,
2072
2128
  acs_system_disconnected,
2073
- account_disconnected2,
2129
+ account_disconnected3,
2074
2130
  salto_ks_certification_expired
2075
2131
  ]).describe(
2076
2132
  "Error associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
@@ -2078,9 +2134,9 @@ var acs_system_error = zod.z.discriminatedUnion("error_code", [
2078
2134
  zod.z.object({
2079
2135
  seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
2080
2136
  visionline_instance_unreachable: visionline_instance_unreachable.optional().nullable(),
2081
- salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded2.optional().nullable(),
2137
+ salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded3.optional().nullable(),
2082
2138
  acs_system_disconnected: acs_system_disconnected.optional().nullable(),
2083
- account_disconnected: account_disconnected2.optional().nullable(),
2139
+ account_disconnected: account_disconnected3.optional().nullable(),
2084
2140
  salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable()
2085
2141
  });
2086
2142
  var common_acs_system_warning = zod.z.object({
@@ -4174,229 +4230,277 @@ var openapi_default = {
4174
4230
  type: "object"
4175
4231
  },
4176
4232
  {
4177
- description: "Device is offline",
4233
+ description: "Account is disconnected",
4178
4234
  properties: {
4235
+ created_at: { format: "date-time", type: "string" },
4179
4236
  error_code: {
4180
4237
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4181
- enum: ["device_offline"],
4238
+ enum: ["account_disconnected"],
4182
4239
  type: "string"
4183
4240
  },
4184
- is_device_error: { enum: [true], type: "boolean" },
4241
+ is_connected_account_error: {
4242
+ enum: [true],
4243
+ type: "boolean"
4244
+ },
4245
+ is_device_error: { enum: [false], type: "boolean" },
4185
4246
  message: { type: "string" }
4186
4247
  },
4187
- required: ["message", "is_device_error", "error_code"],
4248
+ required: [
4249
+ "message",
4250
+ "is_device_error",
4251
+ "created_at",
4252
+ "error_code",
4253
+ "is_connected_account_error"
4254
+ ],
4188
4255
  type: "object"
4189
4256
  },
4190
4257
  {
4191
- description: "Device has been removed",
4258
+ description: "Salto site user limit reached.",
4192
4259
  properties: {
4260
+ created_at: { format: "date-time", type: "string" },
4193
4261
  error_code: {
4194
4262
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4195
- enum: ["device_removed"],
4263
+ enum: ["salto_ks_subscription_limit_exceeded"],
4196
4264
  type: "string"
4197
4265
  },
4198
- is_device_error: { enum: [true], type: "boolean" },
4199
- message: { type: "string" }
4200
- },
4201
- required: ["message", "is_device_error", "error_code"],
4202
- type: "object"
4203
- },
4204
- {
4205
- description: "Hub is disconnected",
4206
- properties: {
4207
- error_code: {
4208
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4209
- enum: ["hub_disconnected"],
4210
- type: "string"
4266
+ is_connected_account_error: {
4267
+ enum: [true],
4268
+ type: "boolean"
4211
4269
  },
4212
- is_device_error: { enum: [true], type: "boolean" },
4270
+ is_device_error: { enum: [false], type: "boolean" },
4213
4271
  message: { type: "string" }
4214
4272
  },
4215
- required: ["message", "is_device_error", "error_code"],
4273
+ required: [
4274
+ "message",
4275
+ "is_device_error",
4276
+ "created_at",
4277
+ "error_code",
4278
+ "is_connected_account_error"
4279
+ ],
4216
4280
  type: "object"
4217
4281
  },
4218
4282
  {
4219
- description: "Device is disconnected",
4283
+ description: "Device is offline",
4220
4284
  properties: {
4285
+ created_at: { format: "date-time", type: "string" },
4221
4286
  error_code: {
4222
4287
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4223
- enum: ["device_disconnected"],
4288
+ enum: ["device_offline"],
4224
4289
  type: "string"
4225
4290
  },
4226
4291
  is_device_error: { enum: [true], type: "boolean" },
4227
4292
  message: { type: "string" }
4228
4293
  },
4229
- required: ["message", "is_device_error", "error_code"],
4294
+ required: [
4295
+ "message",
4296
+ "is_device_error",
4297
+ "created_at",
4298
+ "error_code"
4299
+ ],
4230
4300
  type: "object"
4231
4301
  },
4232
4302
  {
4233
- description: "The backup access code pool is empty.",
4303
+ description: "Device has been removed",
4234
4304
  properties: {
4305
+ created_at: { format: "date-time", type: "string" },
4235
4306
  error_code: {
4236
4307
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4237
- enum: ["empty_backup_access_code_pool"],
4308
+ enum: ["device_removed"],
4238
4309
  type: "string"
4239
4310
  },
4240
4311
  is_device_error: { enum: [true], type: "boolean" },
4241
4312
  message: { type: "string" }
4242
4313
  },
4243
- required: ["message", "is_device_error", "error_code"],
4314
+ required: [
4315
+ "message",
4316
+ "is_device_error",
4317
+ "created_at",
4318
+ "error_code"
4319
+ ],
4244
4320
  type: "object"
4245
4321
  },
4246
4322
  {
4247
- description: "User is not authorized to use the August Lock.",
4323
+ description: "Hub is disconnected",
4248
4324
  properties: {
4325
+ created_at: { format: "date-time", type: "string" },
4249
4326
  error_code: {
4250
4327
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4251
- enum: ["august_lock_not_authorized"],
4328
+ enum: ["hub_disconnected"],
4252
4329
  type: "string"
4253
4330
  },
4254
4331
  is_device_error: { enum: [true], type: "boolean" },
4255
4332
  message: { type: "string" }
4256
4333
  },
4257
- required: ["message", "is_device_error", "error_code"],
4334
+ required: [
4335
+ "message",
4336
+ "is_device_error",
4337
+ "created_at",
4338
+ "error_code"
4339
+ ],
4258
4340
  type: "object"
4259
4341
  },
4260
4342
  {
4261
- description: "Lock is not connected to the Seam Bridge.",
4343
+ description: "Device is disconnected",
4262
4344
  properties: {
4345
+ created_at: { format: "date-time", type: "string" },
4263
4346
  error_code: {
4264
4347
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4265
- enum: ["august_lock_missing_bridge"],
4348
+ enum: ["device_disconnected"],
4266
4349
  type: "string"
4267
4350
  },
4268
4351
  is_device_error: { enum: [true], type: "boolean" },
4269
4352
  message: { type: "string" }
4270
4353
  },
4271
- required: ["message", "is_device_error", "error_code"],
4354
+ required: [
4355
+ "message",
4356
+ "is_device_error",
4357
+ "created_at",
4358
+ "error_code"
4359
+ ],
4272
4360
  type: "object"
4273
4361
  },
4274
4362
  {
4275
- description: "Salto site user limit reached.",
4363
+ description: "The backup access code pool is empty.",
4276
4364
  properties: {
4365
+ created_at: { format: "date-time", type: "string" },
4277
4366
  error_code: {
4278
4367
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4279
- enum: ["salto_site_user_limit_reached"],
4368
+ enum: ["empty_backup_access_code_pool"],
4280
4369
  type: "string"
4281
4370
  },
4282
4371
  is_device_error: { enum: [true], type: "boolean" },
4283
4372
  message: { type: "string" }
4284
4373
  },
4285
- required: ["message", "is_device_error", "error_code"],
4374
+ required: [
4375
+ "message",
4376
+ "is_device_error",
4377
+ "created_at",
4378
+ "error_code"
4379
+ ],
4286
4380
  type: "object"
4287
4381
  },
4288
4382
  {
4289
- description: "Lock is not paired with a Gateway.",
4383
+ description: "User is not authorized to use the August Lock.",
4290
4384
  properties: {
4385
+ created_at: { format: "date-time", type: "string" },
4291
4386
  error_code: {
4292
4387
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4293
- enum: ["ttlock_lock_not_paired_to_gateway"],
4388
+ enum: ["august_lock_not_authorized"],
4294
4389
  type: "string"
4295
4390
  },
4296
4391
  is_device_error: { enum: [true], type: "boolean" },
4297
4392
  message: { type: "string" }
4298
4393
  },
4299
- required: ["message", "is_device_error", "error_code"],
4394
+ required: [
4395
+ "message",
4396
+ "is_device_error",
4397
+ "created_at",
4398
+ "error_code"
4399
+ ],
4300
4400
  type: "object"
4301
4401
  },
4302
4402
  {
4303
- description: "Missing device credentials.",
4403
+ description: "Lock is not connected to the Seam Bridge.",
4304
4404
  properties: {
4405
+ created_at: { format: "date-time", type: "string" },
4305
4406
  error_code: {
4306
4407
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4307
- enum: ["missing_device_credentials"],
4408
+ enum: ["august_lock_missing_bridge"],
4308
4409
  type: "string"
4309
4410
  },
4310
4411
  is_device_error: { enum: [true], type: "boolean" },
4311
4412
  message: { type: "string" }
4312
4413
  },
4313
- required: ["message", "is_device_error", "error_code"],
4414
+ required: [
4415
+ "message",
4416
+ "is_device_error",
4417
+ "created_at",
4418
+ "error_code"
4419
+ ],
4314
4420
  type: "object"
4315
4421
  },
4316
4422
  {
4317
- description: "The auxiliary heat is running.",
4423
+ description: "Lock is not paired with a Gateway.",
4318
4424
  properties: {
4425
+ created_at: { format: "date-time", type: "string" },
4319
4426
  error_code: {
4320
4427
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4321
- enum: ["auxiliary_heat_running"],
4428
+ enum: ["ttlock_lock_not_paired_to_gateway"],
4322
4429
  type: "string"
4323
4430
  },
4324
4431
  is_device_error: { enum: [true], type: "boolean" },
4325
4432
  message: { type: "string" }
4326
4433
  },
4327
- required: ["message", "is_device_error", "error_code"],
4434
+ required: [
4435
+ "message",
4436
+ "is_device_error",
4437
+ "created_at",
4438
+ "error_code"
4439
+ ],
4328
4440
  type: "object"
4329
4441
  },
4330
4442
  {
4331
- description: "Subscription required to connect.",
4443
+ description: "Missing device credentials.",
4332
4444
  properties: {
4445
+ created_at: { format: "date-time", type: "string" },
4333
4446
  error_code: {
4334
4447
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4335
- enum: ["subscription_required"],
4448
+ enum: ["missing_device_credentials"],
4336
4449
  type: "string"
4337
4450
  },
4338
4451
  is_device_error: { enum: [true], type: "boolean" },
4339
4452
  message: { type: "string" }
4340
4453
  },
4341
- required: ["message", "is_device_error", "error_code"],
4454
+ required: [
4455
+ "message",
4456
+ "is_device_error",
4457
+ "created_at",
4458
+ "error_code"
4459
+ ],
4342
4460
  type: "object"
4343
4461
  },
4344
4462
  {
4345
- description: "Account is disconnected.",
4463
+ description: "The auxiliary heat is running.",
4346
4464
  properties: {
4347
- created_at: {
4348
- description: "Date and time at which Seam created the error.",
4349
- format: "date-time",
4350
- type: "string"
4351
- },
4465
+ created_at: { format: "date-time", type: "string" },
4352
4466
  error_code: {
4353
4467
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4354
- enum: ["account_disconnected"],
4468
+ enum: ["auxiliary_heat_running"],
4355
4469
  type: "string"
4356
4470
  },
4357
- is_connected_account_error: {
4358
- enum: [true],
4359
- type: "boolean"
4360
- },
4471
+ is_device_error: { enum: [true], type: "boolean" },
4361
4472
  message: { type: "string" }
4362
4473
  },
4363
4474
  required: [
4364
- "created_at",
4365
4475
  "message",
4366
- "is_connected_account_error",
4476
+ "is_device_error",
4477
+ "created_at",
4367
4478
  "error_code"
4368
4479
  ],
4369
4480
  type: "object"
4370
4481
  },
4371
4482
  {
4372
- description: "Credentials provided were invalid.",
4483
+ description: "Subscription required to connect.",
4373
4484
  properties: {
4374
- created_at: {
4375
- description: "Date and time at which Seam created the error.",
4376
- format: "date-time",
4377
- type: "string"
4378
- },
4485
+ created_at: { format: "date-time", type: "string" },
4379
4486
  error_code: {
4380
4487
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4381
- enum: ["invalid_credentials"],
4488
+ enum: ["subscription_required"],
4382
4489
  type: "string"
4383
4490
  },
4384
- is_connected_account_error: {
4385
- enum: [true],
4386
- type: "boolean"
4387
- },
4491
+ is_device_error: { enum: [true], type: "boolean" },
4388
4492
  message: { type: "string" }
4389
4493
  },
4390
4494
  required: [
4391
- "created_at",
4392
4495
  "message",
4393
- "is_connected_account_error",
4496
+ "is_device_error",
4497
+ "created_at",
4394
4498
  "error_code"
4395
4499
  ],
4396
4500
  type: "object"
4397
4501
  },
4398
4502
  {
4399
- description: "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.",
4503
+ description: "Credentials provided were invalid.",
4400
4504
  properties: {
4401
4505
  created_at: {
4402
4506
  description: "Date and time at which Seam created the error.",
@@ -4405,51 +4509,20 @@ var openapi_default = {
4405
4509
  },
4406
4510
  error_code: {
4407
4511
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4408
- enum: ["salto_ks_subscription_limit_exceeded"],
4512
+ enum: ["invalid_credentials"],
4409
4513
  type: "string"
4410
4514
  },
4411
4515
  is_connected_account_error: {
4412
4516
  enum: [true],
4413
4517
  type: "boolean"
4414
4518
  },
4415
- message: { type: "string" },
4416
- salto_ks_metadata: {
4417
- properties: {
4418
- sites: {
4419
- items: {
4420
- properties: {
4421
- site_id: { type: "string" },
4422
- site_name: { type: "string" },
4423
- site_user_subscription_limit: {
4424
- minimum: 0,
4425
- type: "integer"
4426
- },
4427
- subscribed_site_user_count: {
4428
- minimum: 0,
4429
- type: "integer"
4430
- }
4431
- },
4432
- required: [
4433
- "site_id",
4434
- "site_name",
4435
- "subscribed_site_user_count",
4436
- "site_user_subscription_limit"
4437
- ],
4438
- type: "object"
4439
- },
4440
- type: "array"
4441
- }
4442
- },
4443
- required: ["sites"],
4444
- type: "object"
4445
- }
4519
+ message: { type: "string" }
4446
4520
  },
4447
4521
  required: [
4448
4522
  "created_at",
4449
4523
  "message",
4450
4524
  "is_connected_account_error",
4451
- "error_code",
4452
- "salto_ks_metadata"
4525
+ "error_code"
4453
4526
  ],
4454
4527
  type: "object"
4455
4528
  }
@@ -9256,9 +9329,60 @@ var openapi_default = {
9256
9329
  items: {
9257
9330
  discriminator: { propertyName: "error_code" },
9258
9331
  oneOf: [
9332
+ {
9333
+ description: "Account is disconnected",
9334
+ properties: {
9335
+ created_at: { format: "date-time", type: "string" },
9336
+ error_code: {
9337
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9338
+ enum: ["account_disconnected"],
9339
+ type: "string"
9340
+ },
9341
+ is_connected_account_error: {
9342
+ enum: [true],
9343
+ type: "boolean"
9344
+ },
9345
+ is_device_error: { enum: [false], type: "boolean" },
9346
+ message: { type: "string" }
9347
+ },
9348
+ required: [
9349
+ "message",
9350
+ "is_device_error",
9351
+ "created_at",
9352
+ "error_code",
9353
+ "is_connected_account_error"
9354
+ ],
9355
+ type: "object"
9356
+ },
9357
+ {
9358
+ description: "Salto site user limit reached.",
9359
+ properties: {
9360
+ created_at: { format: "date-time", type: "string" },
9361
+ error_code: {
9362
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9363
+ enum: ["salto_ks_subscription_limit_exceeded"],
9364
+ type: "string"
9365
+ },
9366
+ is_connected_account_error: {
9367
+ enum: [true],
9368
+ type: "boolean"
9369
+ },
9370
+ is_device_error: { enum: [false], type: "boolean" },
9371
+ message: { type: "string" }
9372
+ },
9373
+ required: [
9374
+ "message",
9375
+ "is_device_error",
9376
+ "created_at",
9377
+ "error_code",
9378
+ "is_connected_account_error"
9379
+ ],
9380
+ type: "object"
9381
+ },
9259
9382
  {
9260
9383
  description: "Device is offline",
9261
9384
  properties: {
9385
+ created_at: { format: "date-time", type: "string" },
9262
9386
  error_code: {
9263
9387
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9264
9388
  enum: ["device_offline"],
@@ -9267,12 +9391,18 @@ var openapi_default = {
9267
9391
  is_device_error: { enum: [true], type: "boolean" },
9268
9392
  message: { type: "string" }
9269
9393
  },
9270
- required: ["message", "is_device_error", "error_code"],
9394
+ required: [
9395
+ "message",
9396
+ "is_device_error",
9397
+ "created_at",
9398
+ "error_code"
9399
+ ],
9271
9400
  type: "object"
9272
9401
  },
9273
9402
  {
9274
9403
  description: "Device has been removed",
9275
9404
  properties: {
9405
+ created_at: { format: "date-time", type: "string" },
9276
9406
  error_code: {
9277
9407
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9278
9408
  enum: ["device_removed"],
@@ -9281,12 +9411,18 @@ var openapi_default = {
9281
9411
  is_device_error: { enum: [true], type: "boolean" },
9282
9412
  message: { type: "string" }
9283
9413
  },
9284
- required: ["message", "is_device_error", "error_code"],
9414
+ required: [
9415
+ "message",
9416
+ "is_device_error",
9417
+ "created_at",
9418
+ "error_code"
9419
+ ],
9285
9420
  type: "object"
9286
9421
  },
9287
9422
  {
9288
9423
  description: "Hub is disconnected",
9289
9424
  properties: {
9425
+ created_at: { format: "date-time", type: "string" },
9290
9426
  error_code: {
9291
9427
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9292
9428
  enum: ["hub_disconnected"],
@@ -9295,12 +9431,18 @@ var openapi_default = {
9295
9431
  is_device_error: { enum: [true], type: "boolean" },
9296
9432
  message: { type: "string" }
9297
9433
  },
9298
- required: ["message", "is_device_error", "error_code"],
9434
+ required: [
9435
+ "message",
9436
+ "is_device_error",
9437
+ "created_at",
9438
+ "error_code"
9439
+ ],
9299
9440
  type: "object"
9300
9441
  },
9301
9442
  {
9302
9443
  description: "Device is disconnected",
9303
9444
  properties: {
9445
+ created_at: { format: "date-time", type: "string" },
9304
9446
  error_code: {
9305
9447
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9306
9448
  enum: ["device_disconnected"],
@@ -9309,12 +9451,18 @@ var openapi_default = {
9309
9451
  is_device_error: { enum: [true], type: "boolean" },
9310
9452
  message: { type: "string" }
9311
9453
  },
9312
- required: ["message", "is_device_error", "error_code"],
9454
+ required: [
9455
+ "message",
9456
+ "is_device_error",
9457
+ "created_at",
9458
+ "error_code"
9459
+ ],
9313
9460
  type: "object"
9314
9461
  },
9315
9462
  {
9316
9463
  description: "The backup access code pool is empty.",
9317
9464
  properties: {
9465
+ created_at: { format: "date-time", type: "string" },
9318
9466
  error_code: {
9319
9467
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9320
9468
  enum: ["empty_backup_access_code_pool"],
@@ -9323,12 +9471,18 @@ var openapi_default = {
9323
9471
  is_device_error: { enum: [true], type: "boolean" },
9324
9472
  message: { type: "string" }
9325
9473
  },
9326
- required: ["message", "is_device_error", "error_code"],
9474
+ required: [
9475
+ "message",
9476
+ "is_device_error",
9477
+ "created_at",
9478
+ "error_code"
9479
+ ],
9327
9480
  type: "object"
9328
9481
  },
9329
9482
  {
9330
9483
  description: "User is not authorized to use the August Lock.",
9331
9484
  properties: {
9485
+ created_at: { format: "date-time", type: "string" },
9332
9486
  error_code: {
9333
9487
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9334
9488
  enum: ["august_lock_not_authorized"],
@@ -9337,12 +9491,18 @@ var openapi_default = {
9337
9491
  is_device_error: { enum: [true], type: "boolean" },
9338
9492
  message: { type: "string" }
9339
9493
  },
9340
- required: ["message", "is_device_error", "error_code"],
9494
+ required: [
9495
+ "message",
9496
+ "is_device_error",
9497
+ "created_at",
9498
+ "error_code"
9499
+ ],
9341
9500
  type: "object"
9342
9501
  },
9343
9502
  {
9344
9503
  description: "Lock is not connected to the Seam Bridge.",
9345
9504
  properties: {
9505
+ created_at: { format: "date-time", type: "string" },
9346
9506
  error_code: {
9347
9507
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9348
9508
  enum: ["august_lock_missing_bridge"],
@@ -9351,40 +9511,38 @@ var openapi_default = {
9351
9511
  is_device_error: { enum: [true], type: "boolean" },
9352
9512
  message: { type: "string" }
9353
9513
  },
9354
- required: ["message", "is_device_error", "error_code"],
9514
+ required: [
9515
+ "message",
9516
+ "is_device_error",
9517
+ "created_at",
9518
+ "error_code"
9519
+ ],
9355
9520
  type: "object"
9356
9521
  },
9357
9522
  {
9358
- description: "Salto site user limit reached.",
9523
+ description: "Lock is not paired with a Gateway.",
9359
9524
  properties: {
9525
+ created_at: { format: "date-time", type: "string" },
9360
9526
  error_code: {
9361
9527
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9362
- enum: ["salto_site_user_limit_reached"],
9528
+ enum: ["ttlock_lock_not_paired_to_gateway"],
9363
9529
  type: "string"
9364
9530
  },
9365
9531
  is_device_error: { enum: [true], type: "boolean" },
9366
9532
  message: { type: "string" }
9367
9533
  },
9368
- required: ["message", "is_device_error", "error_code"],
9369
- type: "object"
9370
- },
9371
- {
9372
- description: "Lock is not paired with a Gateway.",
9373
- properties: {
9374
- error_code: {
9375
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9376
- enum: ["ttlock_lock_not_paired_to_gateway"],
9377
- type: "string"
9378
- },
9379
- is_device_error: { enum: [true], type: "boolean" },
9380
- message: { type: "string" }
9381
- },
9382
- required: ["message", "is_device_error", "error_code"],
9534
+ required: [
9535
+ "message",
9536
+ "is_device_error",
9537
+ "created_at",
9538
+ "error_code"
9539
+ ],
9383
9540
  type: "object"
9384
9541
  },
9385
9542
  {
9386
9543
  description: "Missing device credentials.",
9387
9544
  properties: {
9545
+ created_at: { format: "date-time", type: "string" },
9388
9546
  error_code: {
9389
9547
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9390
9548
  enum: ["missing_device_credentials"],
@@ -9393,12 +9551,18 @@ var openapi_default = {
9393
9551
  is_device_error: { enum: [true], type: "boolean" },
9394
9552
  message: { type: "string" }
9395
9553
  },
9396
- required: ["message", "is_device_error", "error_code"],
9554
+ required: [
9555
+ "message",
9556
+ "is_device_error",
9557
+ "created_at",
9558
+ "error_code"
9559
+ ],
9397
9560
  type: "object"
9398
9561
  },
9399
9562
  {
9400
9563
  description: "The auxiliary heat is running.",
9401
9564
  properties: {
9565
+ created_at: { format: "date-time", type: "string" },
9402
9566
  error_code: {
9403
9567
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9404
9568
  enum: ["auxiliary_heat_running"],
@@ -9407,12 +9571,18 @@ var openapi_default = {
9407
9571
  is_device_error: { enum: [true], type: "boolean" },
9408
9572
  message: { type: "string" }
9409
9573
  },
9410
- required: ["message", "is_device_error", "error_code"],
9574
+ required: [
9575
+ "message",
9576
+ "is_device_error",
9577
+ "created_at",
9578
+ "error_code"
9579
+ ],
9411
9580
  type: "object"
9412
9581
  },
9413
9582
  {
9414
9583
  description: "Subscription required to connect.",
9415
9584
  properties: {
9585
+ created_at: { format: "date-time", type: "string" },
9416
9586
  error_code: {
9417
9587
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9418
9588
  enum: ["subscription_required"],
@@ -9421,32 +9591,10 @@ var openapi_default = {
9421
9591
  is_device_error: { enum: [true], type: "boolean" },
9422
9592
  message: { type: "string" }
9423
9593
  },
9424
- required: ["message", "is_device_error", "error_code"],
9425
- type: "object"
9426
- },
9427
- {
9428
- description: "Account is disconnected.",
9429
- properties: {
9430
- created_at: {
9431
- description: "Date and time at which Seam created the error.",
9432
- format: "date-time",
9433
- type: "string"
9434
- },
9435
- error_code: {
9436
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9437
- enum: ["account_disconnected"],
9438
- type: "string"
9439
- },
9440
- is_connected_account_error: {
9441
- enum: [true],
9442
- type: "boolean"
9443
- },
9444
- message: { type: "string" }
9445
- },
9446
9594
  required: [
9447
- "created_at",
9448
9595
  "message",
9449
- "is_connected_account_error",
9596
+ "is_device_error",
9597
+ "created_at",
9450
9598
  "error_code"
9451
9599
  ],
9452
9600
  type: "object"
@@ -9477,64 +9625,6 @@ var openapi_default = {
9477
9625
  "error_code"
9478
9626
  ],
9479
9627
  type: "object"
9480
- },
9481
- {
9482
- description: "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.",
9483
- properties: {
9484
- created_at: {
9485
- description: "Date and time at which Seam created the error.",
9486
- format: "date-time",
9487
- type: "string"
9488
- },
9489
- error_code: {
9490
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9491
- enum: ["salto_ks_subscription_limit_exceeded"],
9492
- type: "string"
9493
- },
9494
- is_connected_account_error: {
9495
- enum: [true],
9496
- type: "boolean"
9497
- },
9498
- message: { type: "string" },
9499
- salto_ks_metadata: {
9500
- properties: {
9501
- sites: {
9502
- items: {
9503
- properties: {
9504
- site_id: { type: "string" },
9505
- site_name: { type: "string" },
9506
- site_user_subscription_limit: {
9507
- minimum: 0,
9508
- type: "integer"
9509
- },
9510
- subscribed_site_user_count: {
9511
- minimum: 0,
9512
- type: "integer"
9513
- }
9514
- },
9515
- required: [
9516
- "site_id",
9517
- "site_name",
9518
- "subscribed_site_user_count",
9519
- "site_user_subscription_limit"
9520
- ],
9521
- type: "object"
9522
- },
9523
- type: "array"
9524
- }
9525
- },
9526
- required: ["sites"],
9527
- type: "object"
9528
- }
9529
- },
9530
- required: [
9531
- "created_at",
9532
- "message",
9533
- "is_connected_account_error",
9534
- "error_code",
9535
- "salto_ks_metadata"
9536
- ],
9537
- type: "object"
9538
9628
  }
9539
9629
  ]
9540
9630
  },
@@ -10795,6 +10885,7 @@ var openapi_default = {
10795
10885
  {
10796
10886
  description: "Backup access code unhealthy.",
10797
10887
  properties: {
10888
+ created_at: { format: "date-time", type: "string" },
10798
10889
  message: { type: "string" },
10799
10890
  warning_code: {
10800
10891
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10802,12 +10893,13 @@ var openapi_default = {
10802
10893
  type: "string"
10803
10894
  }
10804
10895
  },
10805
- required: ["message", "warning_code"],
10896
+ required: ["message", "created_at", "warning_code"],
10806
10897
  type: "object"
10807
10898
  },
10808
10899
  {
10809
10900
  description: "Too many backup codes.",
10810
10901
  properties: {
10902
+ created_at: { format: "date-time", type: "string" },
10811
10903
  message: { type: "string" },
10812
10904
  warning_code: {
10813
10905
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10815,12 +10907,13 @@ var openapi_default = {
10815
10907
  type: "string"
10816
10908
  }
10817
10909
  },
10818
- required: ["message", "warning_code"],
10910
+ required: ["message", "created_at", "warning_code"],
10819
10911
  type: "object"
10820
10912
  },
10821
10913
  {
10822
10914
  description: "A Salto Lock displaying an unknown device type.",
10823
10915
  properties: {
10916
+ created_at: { format: "date-time", type: "string" },
10824
10917
  message: { type: "string" },
10825
10918
  warning_code: {
10826
10919
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10828,12 +10921,13 @@ var openapi_default = {
10828
10921
  type: "string"
10829
10922
  }
10830
10923
  },
10831
- required: ["message", "warning_code"],
10924
+ required: ["message", "created_at", "warning_code"],
10832
10925
  type: "object"
10833
10926
  },
10834
10927
  {
10835
10928
  description: "Wyze Lock is not connected to a gateway.",
10836
10929
  properties: {
10930
+ created_at: { format: "date-time", type: "string" },
10837
10931
  message: { type: "string" },
10838
10932
  warning_code: {
10839
10933
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10841,12 +10935,13 @@ var openapi_default = {
10841
10935
  type: "string"
10842
10936
  }
10843
10937
  },
10844
- required: ["message", "warning_code"],
10938
+ required: ["message", "created_at", "warning_code"],
10845
10939
  type: "object"
10846
10940
  },
10847
10941
  {
10848
10942
  description: "Device is offline, but has some functionality available.",
10849
10943
  properties: {
10944
+ created_at: { format: "date-time", type: "string" },
10850
10945
  message: { type: "string" },
10851
10946
  warning_code: {
10852
10947
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10854,12 +10949,13 @@ var openapi_default = {
10854
10949
  type: "string"
10855
10950
  }
10856
10951
  },
10857
- required: ["message", "warning_code"],
10952
+ required: ["message", "created_at", "warning_code"],
10858
10953
  type: "object"
10859
10954
  },
10860
10955
  {
10861
10956
  description: "Third-party integration detected.",
10862
10957
  properties: {
10958
+ created_at: { format: "date-time", type: "string" },
10863
10959
  message: { type: "string" },
10864
10960
  warning_code: {
10865
10961
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10867,12 +10963,13 @@ var openapi_default = {
10867
10963
  type: "string"
10868
10964
  }
10869
10965
  },
10870
- required: ["message", "warning_code"],
10966
+ required: ["message", "created_at", "warning_code"],
10871
10967
  type: "object"
10872
10968
  },
10873
10969
  {
10874
10970
  description: "Nest thermostat in manual eco mode.",
10875
10971
  properties: {
10972
+ created_at: { format: "date-time", type: "string" },
10876
10973
  message: { type: "string" },
10877
10974
  warning_code: {
10878
10975
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10880,12 +10977,13 @@ var openapi_default = {
10880
10977
  type: "string"
10881
10978
  }
10882
10979
  },
10883
- required: ["message", "warning_code"],
10980
+ required: ["message", "created_at", "warning_code"],
10884
10981
  type: "object"
10885
10982
  },
10886
10983
  {
10887
10984
  description: "Remote Unlock feature not enabled in settings.",
10888
10985
  properties: {
10986
+ created_at: { format: "date-time", type: "string" },
10889
10987
  message: { type: "string" },
10890
10988
  warning_code: {
10891
10989
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10893,12 +10991,13 @@ var openapi_default = {
10893
10991
  type: "string"
10894
10992
  }
10895
10993
  },
10896
- required: ["message", "warning_code"],
10994
+ required: ["message", "created_at", "warning_code"],
10897
10995
  type: "object"
10898
10996
  },
10899
10997
  {
10900
10998
  description: "Gateway signal is weak.",
10901
10999
  properties: {
11000
+ created_at: { format: "date-time", type: "string" },
10902
11001
  message: { type: "string" },
10903
11002
  warning_code: {
10904
11003
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10906,12 +11005,13 @@ var openapi_default = {
10906
11005
  type: "string"
10907
11006
  }
10908
11007
  },
10909
- required: ["message", "warning_code"],
11008
+ required: ["message", "created_at", "warning_code"],
10910
11009
  type: "object"
10911
11010
  },
10912
11011
  {
10913
11012
  description: "Temperature threshold exceeded.",
10914
11013
  properties: {
11014
+ created_at: { format: "date-time", type: "string" },
10915
11015
  message: { type: "string" },
10916
11016
  warning_code: {
10917
11017
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10919,12 +11019,13 @@ var openapi_default = {
10919
11019
  type: "string"
10920
11020
  }
10921
11021
  },
10922
- required: ["message", "warning_code"],
11022
+ required: ["message", "created_at", "warning_code"],
10923
11023
  type: "object"
10924
11024
  },
10925
11025
  {
10926
11026
  description: "Device appears to be unresponsive.",
10927
11027
  properties: {
11028
+ created_at: { format: "date-time", type: "string" },
10928
11029
  message: { type: "string" },
10929
11030
  warning_code: {
10930
11031
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10932,12 +11033,13 @@ var openapi_default = {
10932
11033
  type: "string"
10933
11034
  }
10934
11035
  },
10935
- required: ["message", "warning_code"],
11036
+ required: ["message", "created_at", "warning_code"],
10936
11037
  type: "object"
10937
11038
  },
10938
11039
  {
10939
11040
  description: "Scheduled maintenance window detected.",
10940
11041
  properties: {
11042
+ created_at: { format: "date-time", type: "string" },
10941
11043
  message: { type: "string" },
10942
11044
  warning_code: {
10943
11045
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10945,12 +11047,13 @@ var openapi_default = {
10945
11047
  type: "string"
10946
11048
  }
10947
11049
  },
10948
- required: ["message", "warning_code"],
11050
+ required: ["message", "created_at", "warning_code"],
10949
11051
  type: "object"
10950
11052
  },
10951
11053
  {
10952
11054
  description: "Device has flaky connection.",
10953
11055
  properties: {
11056
+ created_at: { format: "date-time", type: "string" },
10954
11057
  message: { type: "string" },
10955
11058
  warning_code: {
10956
11059
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10958,12 +11061,13 @@ var openapi_default = {
10958
11061
  type: "string"
10959
11062
  }
10960
11063
  },
10961
- required: ["message", "warning_code"],
11064
+ required: ["message", "created_at", "warning_code"],
10962
11065
  type: "object"
10963
11066
  },
10964
11067
  {
10965
11068
  description: "Lock is in Office Mode. Access Codes will not unlock doors.",
10966
11069
  properties: {
11070
+ created_at: { format: "date-time", type: "string" },
10967
11071
  message: { type: "string" },
10968
11072
  warning_code: {
10969
11073
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10971,12 +11075,13 @@ var openapi_default = {
10971
11075
  type: "string"
10972
11076
  }
10973
11077
  },
10974
- required: ["message", "warning_code"],
11078
+ required: ["message", "created_at", "warning_code"],
10975
11079
  type: "object"
10976
11080
  },
10977
11081
  {
10978
11082
  description: "Lock is in Privacy Mode. Access Codes will not unlock doors.",
10979
11083
  properties: {
11084
+ created_at: { format: "date-time", type: "string" },
10980
11085
  message: { type: "string" },
10981
11086
  warning_code: {
10982
11087
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10984,12 +11089,13 @@ var openapi_default = {
10984
11089
  type: "string"
10985
11090
  }
10986
11091
  },
10987
- required: ["message", "warning_code"],
11092
+ required: ["message", "created_at", "warning_code"],
10988
11093
  type: "object"
10989
11094
  },
10990
11095
  {
10991
11096
  description: "An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.",
10992
11097
  properties: {
11098
+ created_at: { format: "date-time", type: "string" },
10993
11099
  message: { type: "string" },
10994
11100
  warning_code: {
10995
11101
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -10997,7 +11103,7 @@ var openapi_default = {
10997
11103
  type: "string"
10998
11104
  }
10999
11105
  },
11000
- required: ["message", "warning_code"],
11106
+ required: ["message", "created_at", "warning_code"],
11001
11107
  type: "object"
11002
11108
  }
11003
11109
  ]
@@ -15804,9 +15910,60 @@ var openapi_default = {
15804
15910
  required: ["message", "is_access_code_error", "error_code"],
15805
15911
  type: "object"
15806
15912
  },
15913
+ {
15914
+ description: "Account is disconnected",
15915
+ properties: {
15916
+ created_at: { format: "date-time", type: "string" },
15917
+ error_code: {
15918
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15919
+ enum: ["account_disconnected"],
15920
+ type: "string"
15921
+ },
15922
+ is_connected_account_error: {
15923
+ enum: [true],
15924
+ type: "boolean"
15925
+ },
15926
+ is_device_error: { enum: [false], type: "boolean" },
15927
+ message: { type: "string" }
15928
+ },
15929
+ required: [
15930
+ "message",
15931
+ "is_device_error",
15932
+ "created_at",
15933
+ "error_code",
15934
+ "is_connected_account_error"
15935
+ ],
15936
+ type: "object"
15937
+ },
15938
+ {
15939
+ description: "Salto site user limit reached.",
15940
+ properties: {
15941
+ created_at: { format: "date-time", type: "string" },
15942
+ error_code: {
15943
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15944
+ enum: ["salto_ks_subscription_limit_exceeded"],
15945
+ type: "string"
15946
+ },
15947
+ is_connected_account_error: {
15948
+ enum: [true],
15949
+ type: "boolean"
15950
+ },
15951
+ is_device_error: { enum: [false], type: "boolean" },
15952
+ message: { type: "string" }
15953
+ },
15954
+ required: [
15955
+ "message",
15956
+ "is_device_error",
15957
+ "created_at",
15958
+ "error_code",
15959
+ "is_connected_account_error"
15960
+ ],
15961
+ type: "object"
15962
+ },
15807
15963
  {
15808
15964
  description: "Device is offline",
15809
15965
  properties: {
15966
+ created_at: { format: "date-time", type: "string" },
15810
15967
  error_code: {
15811
15968
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15812
15969
  enum: ["device_offline"],
@@ -15815,12 +15972,18 @@ var openapi_default = {
15815
15972
  is_device_error: { enum: [true], type: "boolean" },
15816
15973
  message: { type: "string" }
15817
15974
  },
15818
- required: ["message", "is_device_error", "error_code"],
15975
+ required: [
15976
+ "message",
15977
+ "is_device_error",
15978
+ "created_at",
15979
+ "error_code"
15980
+ ],
15819
15981
  type: "object"
15820
15982
  },
15821
15983
  {
15822
15984
  description: "Device has been removed",
15823
15985
  properties: {
15986
+ created_at: { format: "date-time", type: "string" },
15824
15987
  error_code: {
15825
15988
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15826
15989
  enum: ["device_removed"],
@@ -15829,12 +15992,18 @@ var openapi_default = {
15829
15992
  is_device_error: { enum: [true], type: "boolean" },
15830
15993
  message: { type: "string" }
15831
15994
  },
15832
- required: ["message", "is_device_error", "error_code"],
15995
+ required: [
15996
+ "message",
15997
+ "is_device_error",
15998
+ "created_at",
15999
+ "error_code"
16000
+ ],
15833
16001
  type: "object"
15834
16002
  },
15835
16003
  {
15836
16004
  description: "Hub is disconnected",
15837
16005
  properties: {
16006
+ created_at: { format: "date-time", type: "string" },
15838
16007
  error_code: {
15839
16008
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15840
16009
  enum: ["hub_disconnected"],
@@ -15843,12 +16012,18 @@ var openapi_default = {
15843
16012
  is_device_error: { enum: [true], type: "boolean" },
15844
16013
  message: { type: "string" }
15845
16014
  },
15846
- required: ["message", "is_device_error", "error_code"],
16015
+ required: [
16016
+ "message",
16017
+ "is_device_error",
16018
+ "created_at",
16019
+ "error_code"
16020
+ ],
15847
16021
  type: "object"
15848
16022
  },
15849
16023
  {
15850
16024
  description: "Device is disconnected",
15851
16025
  properties: {
16026
+ created_at: { format: "date-time", type: "string" },
15852
16027
  error_code: {
15853
16028
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15854
16029
  enum: ["device_disconnected"],
@@ -15857,12 +16032,18 @@ var openapi_default = {
15857
16032
  is_device_error: { enum: [true], type: "boolean" },
15858
16033
  message: { type: "string" }
15859
16034
  },
15860
- required: ["message", "is_device_error", "error_code"],
16035
+ required: [
16036
+ "message",
16037
+ "is_device_error",
16038
+ "created_at",
16039
+ "error_code"
16040
+ ],
15861
16041
  type: "object"
15862
16042
  },
15863
16043
  {
15864
16044
  description: "The backup access code pool is empty.",
15865
16045
  properties: {
16046
+ created_at: { format: "date-time", type: "string" },
15866
16047
  error_code: {
15867
16048
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15868
16049
  enum: ["empty_backup_access_code_pool"],
@@ -15871,12 +16052,18 @@ var openapi_default = {
15871
16052
  is_device_error: { enum: [true], type: "boolean" },
15872
16053
  message: { type: "string" }
15873
16054
  },
15874
- required: ["message", "is_device_error", "error_code"],
16055
+ required: [
16056
+ "message",
16057
+ "is_device_error",
16058
+ "created_at",
16059
+ "error_code"
16060
+ ],
15875
16061
  type: "object"
15876
16062
  },
15877
16063
  {
15878
16064
  description: "User is not authorized to use the August Lock.",
15879
16065
  properties: {
16066
+ created_at: { format: "date-time", type: "string" },
15880
16067
  error_code: {
15881
16068
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15882
16069
  enum: ["august_lock_not_authorized"],
@@ -15885,12 +16072,18 @@ var openapi_default = {
15885
16072
  is_device_error: { enum: [true], type: "boolean" },
15886
16073
  message: { type: "string" }
15887
16074
  },
15888
- required: ["message", "is_device_error", "error_code"],
16075
+ required: [
16076
+ "message",
16077
+ "is_device_error",
16078
+ "created_at",
16079
+ "error_code"
16080
+ ],
15889
16081
  type: "object"
15890
16082
  },
15891
16083
  {
15892
16084
  description: "Lock is not connected to the Seam Bridge.",
15893
16085
  properties: {
16086
+ created_at: { format: "date-time", type: "string" },
15894
16087
  error_code: {
15895
16088
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15896
16089
  enum: ["august_lock_missing_bridge"],
@@ -15899,26 +16092,18 @@ var openapi_default = {
15899
16092
  is_device_error: { enum: [true], type: "boolean" },
15900
16093
  message: { type: "string" }
15901
16094
  },
15902
- required: ["message", "is_device_error", "error_code"],
15903
- type: "object"
15904
- },
15905
- {
15906
- description: "Salto site user limit reached.",
15907
- properties: {
15908
- error_code: {
15909
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15910
- enum: ["salto_site_user_limit_reached"],
15911
- type: "string"
15912
- },
15913
- is_device_error: { enum: [true], type: "boolean" },
15914
- message: { type: "string" }
15915
- },
15916
- required: ["message", "is_device_error", "error_code"],
16095
+ required: [
16096
+ "message",
16097
+ "is_device_error",
16098
+ "created_at",
16099
+ "error_code"
16100
+ ],
15917
16101
  type: "object"
15918
16102
  },
15919
16103
  {
15920
16104
  description: "Lock is not paired with a Gateway.",
15921
16105
  properties: {
16106
+ created_at: { format: "date-time", type: "string" },
15922
16107
  error_code: {
15923
16108
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15924
16109
  enum: ["ttlock_lock_not_paired_to_gateway"],
@@ -15927,12 +16112,18 @@ var openapi_default = {
15927
16112
  is_device_error: { enum: [true], type: "boolean" },
15928
16113
  message: { type: "string" }
15929
16114
  },
15930
- required: ["message", "is_device_error", "error_code"],
16115
+ required: [
16116
+ "message",
16117
+ "is_device_error",
16118
+ "created_at",
16119
+ "error_code"
16120
+ ],
15931
16121
  type: "object"
15932
16122
  },
15933
16123
  {
15934
16124
  description: "Missing device credentials.",
15935
16125
  properties: {
16126
+ created_at: { format: "date-time", type: "string" },
15936
16127
  error_code: {
15937
16128
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15938
16129
  enum: ["missing_device_credentials"],
@@ -15941,12 +16132,18 @@ var openapi_default = {
15941
16132
  is_device_error: { enum: [true], type: "boolean" },
15942
16133
  message: { type: "string" }
15943
16134
  },
15944
- required: ["message", "is_device_error", "error_code"],
16135
+ required: [
16136
+ "message",
16137
+ "is_device_error",
16138
+ "created_at",
16139
+ "error_code"
16140
+ ],
15945
16141
  type: "object"
15946
16142
  },
15947
16143
  {
15948
16144
  description: "The auxiliary heat is running.",
15949
16145
  properties: {
16146
+ created_at: { format: "date-time", type: "string" },
15950
16147
  error_code: {
15951
16148
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15952
16149
  enum: ["auxiliary_heat_running"],
@@ -15955,12 +16152,18 @@ var openapi_default = {
15955
16152
  is_device_error: { enum: [true], type: "boolean" },
15956
16153
  message: { type: "string" }
15957
16154
  },
15958
- required: ["message", "is_device_error", "error_code"],
16155
+ required: [
16156
+ "message",
16157
+ "is_device_error",
16158
+ "created_at",
16159
+ "error_code"
16160
+ ],
15959
16161
  type: "object"
15960
16162
  },
15961
16163
  {
15962
16164
  description: "Subscription required to connect.",
15963
16165
  properties: {
16166
+ created_at: { format: "date-time", type: "string" },
15964
16167
  error_code: {
15965
16168
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15966
16169
  enum: ["subscription_required"],
@@ -15969,32 +16172,10 @@ var openapi_default = {
15969
16172
  is_device_error: { enum: [true], type: "boolean" },
15970
16173
  message: { type: "string" }
15971
16174
  },
15972
- required: ["message", "is_device_error", "error_code"],
15973
- type: "object"
15974
- },
15975
- {
15976
- description: "Account is disconnected.",
15977
- properties: {
15978
- created_at: {
15979
- description: "Date and time at which Seam created the error.",
15980
- format: "date-time",
15981
- type: "string"
15982
- },
15983
- error_code: {
15984
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15985
- enum: ["account_disconnected"],
15986
- type: "string"
15987
- },
15988
- is_connected_account_error: {
15989
- enum: [true],
15990
- type: "boolean"
15991
- },
15992
- message: { type: "string" }
15993
- },
15994
16175
  required: [
15995
- "created_at",
15996
16176
  "message",
15997
- "is_connected_account_error",
16177
+ "is_device_error",
16178
+ "created_at",
15998
16179
  "error_code"
15999
16180
  ],
16000
16181
  type: "object"
@@ -16025,64 +16206,6 @@ var openapi_default = {
16025
16206
  "error_code"
16026
16207
  ],
16027
16208
  type: "object"
16028
- },
16029
- {
16030
- description: "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.",
16031
- properties: {
16032
- created_at: {
16033
- description: "Date and time at which Seam created the error.",
16034
- format: "date-time",
16035
- type: "string"
16036
- },
16037
- error_code: {
16038
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
16039
- enum: ["salto_ks_subscription_limit_exceeded"],
16040
- type: "string"
16041
- },
16042
- is_connected_account_error: {
16043
- enum: [true],
16044
- type: "boolean"
16045
- },
16046
- message: { type: "string" },
16047
- salto_ks_metadata: {
16048
- properties: {
16049
- sites: {
16050
- items: {
16051
- properties: {
16052
- site_id: { type: "string" },
16053
- site_name: { type: "string" },
16054
- site_user_subscription_limit: {
16055
- minimum: 0,
16056
- type: "integer"
16057
- },
16058
- subscribed_site_user_count: {
16059
- minimum: 0,
16060
- type: "integer"
16061
- }
16062
- },
16063
- required: [
16064
- "site_id",
16065
- "site_name",
16066
- "subscribed_site_user_count",
16067
- "site_user_subscription_limit"
16068
- ],
16069
- type: "object"
16070
- },
16071
- type: "array"
16072
- }
16073
- },
16074
- required: ["sites"],
16075
- type: "object"
16076
- }
16077
- },
16078
- required: [
16079
- "created_at",
16080
- "message",
16081
- "is_connected_account_error",
16082
- "error_code",
16083
- "salto_ks_metadata"
16084
- ],
16085
- type: "object"
16086
16209
  }
16087
16210
  ]
16088
16211
  },
@@ -17110,9 +17233,60 @@ var openapi_default = {
17110
17233
  items: {
17111
17234
  discriminator: { propertyName: "error_code" },
17112
17235
  oneOf: [
17236
+ {
17237
+ description: "Account is disconnected",
17238
+ properties: {
17239
+ created_at: { format: "date-time", type: "string" },
17240
+ error_code: {
17241
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17242
+ enum: ["account_disconnected"],
17243
+ type: "string"
17244
+ },
17245
+ is_connected_account_error: {
17246
+ enum: [true],
17247
+ type: "boolean"
17248
+ },
17249
+ is_device_error: { enum: [false], type: "boolean" },
17250
+ message: { type: "string" }
17251
+ },
17252
+ required: [
17253
+ "message",
17254
+ "is_device_error",
17255
+ "created_at",
17256
+ "error_code",
17257
+ "is_connected_account_error"
17258
+ ],
17259
+ type: "object"
17260
+ },
17261
+ {
17262
+ description: "Salto site user limit reached.",
17263
+ properties: {
17264
+ created_at: { format: "date-time", type: "string" },
17265
+ error_code: {
17266
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17267
+ enum: ["salto_ks_subscription_limit_exceeded"],
17268
+ type: "string"
17269
+ },
17270
+ is_connected_account_error: {
17271
+ enum: [true],
17272
+ type: "boolean"
17273
+ },
17274
+ is_device_error: { enum: [false], type: "boolean" },
17275
+ message: { type: "string" }
17276
+ },
17277
+ required: [
17278
+ "message",
17279
+ "is_device_error",
17280
+ "created_at",
17281
+ "error_code",
17282
+ "is_connected_account_error"
17283
+ ],
17284
+ type: "object"
17285
+ },
17113
17286
  {
17114
17287
  description: "Device is offline",
17115
17288
  properties: {
17289
+ created_at: { format: "date-time", type: "string" },
17116
17290
  error_code: {
17117
17291
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17118
17292
  enum: ["device_offline"],
@@ -17121,12 +17295,18 @@ var openapi_default = {
17121
17295
  is_device_error: { enum: [true], type: "boolean" },
17122
17296
  message: { type: "string" }
17123
17297
  },
17124
- required: ["message", "is_device_error", "error_code"],
17298
+ required: [
17299
+ "message",
17300
+ "is_device_error",
17301
+ "created_at",
17302
+ "error_code"
17303
+ ],
17125
17304
  type: "object"
17126
17305
  },
17127
17306
  {
17128
17307
  description: "Device has been removed",
17129
17308
  properties: {
17309
+ created_at: { format: "date-time", type: "string" },
17130
17310
  error_code: {
17131
17311
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17132
17312
  enum: ["device_removed"],
@@ -17135,12 +17315,18 @@ var openapi_default = {
17135
17315
  is_device_error: { enum: [true], type: "boolean" },
17136
17316
  message: { type: "string" }
17137
17317
  },
17138
- required: ["message", "is_device_error", "error_code"],
17318
+ required: [
17319
+ "message",
17320
+ "is_device_error",
17321
+ "created_at",
17322
+ "error_code"
17323
+ ],
17139
17324
  type: "object"
17140
17325
  },
17141
17326
  {
17142
17327
  description: "Hub is disconnected",
17143
17328
  properties: {
17329
+ created_at: { format: "date-time", type: "string" },
17144
17330
  error_code: {
17145
17331
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17146
17332
  enum: ["hub_disconnected"],
@@ -17149,12 +17335,18 @@ var openapi_default = {
17149
17335
  is_device_error: { enum: [true], type: "boolean" },
17150
17336
  message: { type: "string" }
17151
17337
  },
17152
- required: ["message", "is_device_error", "error_code"],
17338
+ required: [
17339
+ "message",
17340
+ "is_device_error",
17341
+ "created_at",
17342
+ "error_code"
17343
+ ],
17153
17344
  type: "object"
17154
17345
  },
17155
17346
  {
17156
17347
  description: "Device is disconnected",
17157
17348
  properties: {
17349
+ created_at: { format: "date-time", type: "string" },
17158
17350
  error_code: {
17159
17351
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17160
17352
  enum: ["device_disconnected"],
@@ -17163,12 +17355,18 @@ var openapi_default = {
17163
17355
  is_device_error: { enum: [true], type: "boolean" },
17164
17356
  message: { type: "string" }
17165
17357
  },
17166
- required: ["message", "is_device_error", "error_code"],
17358
+ required: [
17359
+ "message",
17360
+ "is_device_error",
17361
+ "created_at",
17362
+ "error_code"
17363
+ ],
17167
17364
  type: "object"
17168
17365
  },
17169
17366
  {
17170
17367
  description: "The backup access code pool is empty.",
17171
17368
  properties: {
17369
+ created_at: { format: "date-time", type: "string" },
17172
17370
  error_code: {
17173
17371
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17174
17372
  enum: ["empty_backup_access_code_pool"],
@@ -17177,12 +17375,18 @@ var openapi_default = {
17177
17375
  is_device_error: { enum: [true], type: "boolean" },
17178
17376
  message: { type: "string" }
17179
17377
  },
17180
- required: ["message", "is_device_error", "error_code"],
17378
+ required: [
17379
+ "message",
17380
+ "is_device_error",
17381
+ "created_at",
17382
+ "error_code"
17383
+ ],
17181
17384
  type: "object"
17182
17385
  },
17183
17386
  {
17184
17387
  description: "User is not authorized to use the August Lock.",
17185
17388
  properties: {
17389
+ created_at: { format: "date-time", type: "string" },
17186
17390
  error_code: {
17187
17391
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17188
17392
  enum: ["august_lock_not_authorized"],
@@ -17191,12 +17395,18 @@ var openapi_default = {
17191
17395
  is_device_error: { enum: [true], type: "boolean" },
17192
17396
  message: { type: "string" }
17193
17397
  },
17194
- required: ["message", "is_device_error", "error_code"],
17398
+ required: [
17399
+ "message",
17400
+ "is_device_error",
17401
+ "created_at",
17402
+ "error_code"
17403
+ ],
17195
17404
  type: "object"
17196
17405
  },
17197
17406
  {
17198
17407
  description: "Lock is not connected to the Seam Bridge.",
17199
17408
  properties: {
17409
+ created_at: { format: "date-time", type: "string" },
17200
17410
  error_code: {
17201
17411
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17202
17412
  enum: ["august_lock_missing_bridge"],
@@ -17205,26 +17415,18 @@ var openapi_default = {
17205
17415
  is_device_error: { enum: [true], type: "boolean" },
17206
17416
  message: { type: "string" }
17207
17417
  },
17208
- required: ["message", "is_device_error", "error_code"],
17209
- type: "object"
17210
- },
17211
- {
17212
- description: "Salto site user limit reached.",
17213
- properties: {
17214
- error_code: {
17215
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17216
- enum: ["salto_site_user_limit_reached"],
17217
- type: "string"
17218
- },
17219
- is_device_error: { enum: [true], type: "boolean" },
17220
- message: { type: "string" }
17221
- },
17222
- required: ["message", "is_device_error", "error_code"],
17418
+ required: [
17419
+ "message",
17420
+ "is_device_error",
17421
+ "created_at",
17422
+ "error_code"
17423
+ ],
17223
17424
  type: "object"
17224
17425
  },
17225
17426
  {
17226
17427
  description: "Lock is not paired with a Gateway.",
17227
17428
  properties: {
17429
+ created_at: { format: "date-time", type: "string" },
17228
17430
  error_code: {
17229
17431
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17230
17432
  enum: ["ttlock_lock_not_paired_to_gateway"],
@@ -17233,12 +17435,18 @@ var openapi_default = {
17233
17435
  is_device_error: { enum: [true], type: "boolean" },
17234
17436
  message: { type: "string" }
17235
17437
  },
17236
- required: ["message", "is_device_error", "error_code"],
17438
+ required: [
17439
+ "message",
17440
+ "is_device_error",
17441
+ "created_at",
17442
+ "error_code"
17443
+ ],
17237
17444
  type: "object"
17238
17445
  },
17239
17446
  {
17240
17447
  description: "Missing device credentials.",
17241
17448
  properties: {
17449
+ created_at: { format: "date-time", type: "string" },
17242
17450
  error_code: {
17243
17451
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17244
17452
  enum: ["missing_device_credentials"],
@@ -17247,12 +17455,18 @@ var openapi_default = {
17247
17455
  is_device_error: { enum: [true], type: "boolean" },
17248
17456
  message: { type: "string" }
17249
17457
  },
17250
- required: ["message", "is_device_error", "error_code"],
17458
+ required: [
17459
+ "message",
17460
+ "is_device_error",
17461
+ "created_at",
17462
+ "error_code"
17463
+ ],
17251
17464
  type: "object"
17252
17465
  },
17253
17466
  {
17254
17467
  description: "The auxiliary heat is running.",
17255
17468
  properties: {
17469
+ created_at: { format: "date-time", type: "string" },
17256
17470
  error_code: {
17257
17471
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17258
17472
  enum: ["auxiliary_heat_running"],
@@ -17261,12 +17475,18 @@ var openapi_default = {
17261
17475
  is_device_error: { enum: [true], type: "boolean" },
17262
17476
  message: { type: "string" }
17263
17477
  },
17264
- required: ["message", "is_device_error", "error_code"],
17478
+ required: [
17479
+ "message",
17480
+ "is_device_error",
17481
+ "created_at",
17482
+ "error_code"
17483
+ ],
17265
17484
  type: "object"
17266
17485
  },
17267
17486
  {
17268
17487
  description: "Subscription required to connect.",
17269
17488
  properties: {
17489
+ created_at: { format: "date-time", type: "string" },
17270
17490
  error_code: {
17271
17491
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17272
17492
  enum: ["subscription_required"],
@@ -17275,32 +17495,10 @@ var openapi_default = {
17275
17495
  is_device_error: { enum: [true], type: "boolean" },
17276
17496
  message: { type: "string" }
17277
17497
  },
17278
- required: ["message", "is_device_error", "error_code"],
17279
- type: "object"
17280
- },
17281
- {
17282
- description: "Account is disconnected.",
17283
- properties: {
17284
- created_at: {
17285
- description: "Date and time at which Seam created the error.",
17286
- format: "date-time",
17287
- type: "string"
17288
- },
17289
- error_code: {
17290
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17291
- enum: ["account_disconnected"],
17292
- type: "string"
17293
- },
17294
- is_connected_account_error: {
17295
- enum: [true],
17296
- type: "boolean"
17297
- },
17298
- message: { type: "string" }
17299
- },
17300
17498
  required: [
17301
- "created_at",
17302
17499
  "message",
17303
- "is_connected_account_error",
17500
+ "is_device_error",
17501
+ "created_at",
17304
17502
  "error_code"
17305
17503
  ],
17306
17504
  type: "object"
@@ -17331,64 +17529,6 @@ var openapi_default = {
17331
17529
  "error_code"
17332
17530
  ],
17333
17531
  type: "object"
17334
- },
17335
- {
17336
- description: "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.",
17337
- properties: {
17338
- created_at: {
17339
- description: "Date and time at which Seam created the error.",
17340
- format: "date-time",
17341
- type: "string"
17342
- },
17343
- error_code: {
17344
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
17345
- enum: ["salto_ks_subscription_limit_exceeded"],
17346
- type: "string"
17347
- },
17348
- is_connected_account_error: {
17349
- enum: [true],
17350
- type: "boolean"
17351
- },
17352
- message: { type: "string" },
17353
- salto_ks_metadata: {
17354
- properties: {
17355
- sites: {
17356
- items: {
17357
- properties: {
17358
- site_id: { type: "string" },
17359
- site_name: { type: "string" },
17360
- site_user_subscription_limit: {
17361
- minimum: 0,
17362
- type: "integer"
17363
- },
17364
- subscribed_site_user_count: {
17365
- minimum: 0,
17366
- type: "integer"
17367
- }
17368
- },
17369
- required: [
17370
- "site_id",
17371
- "site_name",
17372
- "subscribed_site_user_count",
17373
- "site_user_subscription_limit"
17374
- ],
17375
- type: "object"
17376
- },
17377
- type: "array"
17378
- }
17379
- },
17380
- required: ["sites"],
17381
- type: "object"
17382
- }
17383
- },
17384
- required: [
17385
- "created_at",
17386
- "message",
17387
- "is_connected_account_error",
17388
- "error_code",
17389
- "salto_ks_metadata"
17390
- ],
17391
- type: "object"
17392
17532
  }
17393
17533
  ]
17394
17534
  },
@@ -17538,6 +17678,7 @@ var openapi_default = {
17538
17678
  {
17539
17679
  description: "Backup access code unhealthy.",
17540
17680
  properties: {
17681
+ created_at: { format: "date-time", type: "string" },
17541
17682
  message: { type: "string" },
17542
17683
  warning_code: {
17543
17684
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17545,12 +17686,13 @@ var openapi_default = {
17545
17686
  type: "string"
17546
17687
  }
17547
17688
  },
17548
- required: ["message", "warning_code"],
17689
+ required: ["message", "created_at", "warning_code"],
17549
17690
  type: "object"
17550
17691
  },
17551
17692
  {
17552
17693
  description: "Too many backup codes.",
17553
17694
  properties: {
17695
+ created_at: { format: "date-time", type: "string" },
17554
17696
  message: { type: "string" },
17555
17697
  warning_code: {
17556
17698
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17558,12 +17700,13 @@ var openapi_default = {
17558
17700
  type: "string"
17559
17701
  }
17560
17702
  },
17561
- required: ["message", "warning_code"],
17703
+ required: ["message", "created_at", "warning_code"],
17562
17704
  type: "object"
17563
17705
  },
17564
17706
  {
17565
17707
  description: "A Salto Lock displaying an unknown device type.",
17566
17708
  properties: {
17709
+ created_at: { format: "date-time", type: "string" },
17567
17710
  message: { type: "string" },
17568
17711
  warning_code: {
17569
17712
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17571,12 +17714,13 @@ var openapi_default = {
17571
17714
  type: "string"
17572
17715
  }
17573
17716
  },
17574
- required: ["message", "warning_code"],
17717
+ required: ["message", "created_at", "warning_code"],
17575
17718
  type: "object"
17576
17719
  },
17577
17720
  {
17578
17721
  description: "Wyze Lock is not connected to a gateway.",
17579
17722
  properties: {
17723
+ created_at: { format: "date-time", type: "string" },
17580
17724
  message: { type: "string" },
17581
17725
  warning_code: {
17582
17726
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17584,12 +17728,13 @@ var openapi_default = {
17584
17728
  type: "string"
17585
17729
  }
17586
17730
  },
17587
- required: ["message", "warning_code"],
17731
+ required: ["message", "created_at", "warning_code"],
17588
17732
  type: "object"
17589
17733
  },
17590
17734
  {
17591
17735
  description: "Device is offline, but has some functionality available.",
17592
17736
  properties: {
17737
+ created_at: { format: "date-time", type: "string" },
17593
17738
  message: { type: "string" },
17594
17739
  warning_code: {
17595
17740
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17597,12 +17742,13 @@ var openapi_default = {
17597
17742
  type: "string"
17598
17743
  }
17599
17744
  },
17600
- required: ["message", "warning_code"],
17745
+ required: ["message", "created_at", "warning_code"],
17601
17746
  type: "object"
17602
17747
  },
17603
17748
  {
17604
17749
  description: "Third-party integration detected.",
17605
17750
  properties: {
17751
+ created_at: { format: "date-time", type: "string" },
17606
17752
  message: { type: "string" },
17607
17753
  warning_code: {
17608
17754
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17610,12 +17756,13 @@ var openapi_default = {
17610
17756
  type: "string"
17611
17757
  }
17612
17758
  },
17613
- required: ["message", "warning_code"],
17759
+ required: ["message", "created_at", "warning_code"],
17614
17760
  type: "object"
17615
17761
  },
17616
17762
  {
17617
17763
  description: "Nest thermostat in manual eco mode.",
17618
17764
  properties: {
17765
+ created_at: { format: "date-time", type: "string" },
17619
17766
  message: { type: "string" },
17620
17767
  warning_code: {
17621
17768
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17623,12 +17770,13 @@ var openapi_default = {
17623
17770
  type: "string"
17624
17771
  }
17625
17772
  },
17626
- required: ["message", "warning_code"],
17773
+ required: ["message", "created_at", "warning_code"],
17627
17774
  type: "object"
17628
17775
  },
17629
17776
  {
17630
17777
  description: "Remote Unlock feature not enabled in settings.",
17631
17778
  properties: {
17779
+ created_at: { format: "date-time", type: "string" },
17632
17780
  message: { type: "string" },
17633
17781
  warning_code: {
17634
17782
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17636,12 +17784,13 @@ var openapi_default = {
17636
17784
  type: "string"
17637
17785
  }
17638
17786
  },
17639
- required: ["message", "warning_code"],
17787
+ required: ["message", "created_at", "warning_code"],
17640
17788
  type: "object"
17641
17789
  },
17642
17790
  {
17643
17791
  description: "Gateway signal is weak.",
17644
17792
  properties: {
17793
+ created_at: { format: "date-time", type: "string" },
17645
17794
  message: { type: "string" },
17646
17795
  warning_code: {
17647
17796
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17649,12 +17798,13 @@ var openapi_default = {
17649
17798
  type: "string"
17650
17799
  }
17651
17800
  },
17652
- required: ["message", "warning_code"],
17801
+ required: ["message", "created_at", "warning_code"],
17653
17802
  type: "object"
17654
17803
  },
17655
17804
  {
17656
17805
  description: "Temperature threshold exceeded.",
17657
17806
  properties: {
17807
+ created_at: { format: "date-time", type: "string" },
17658
17808
  message: { type: "string" },
17659
17809
  warning_code: {
17660
17810
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17662,12 +17812,13 @@ var openapi_default = {
17662
17812
  type: "string"
17663
17813
  }
17664
17814
  },
17665
- required: ["message", "warning_code"],
17815
+ required: ["message", "created_at", "warning_code"],
17666
17816
  type: "object"
17667
17817
  },
17668
17818
  {
17669
17819
  description: "Device appears to be unresponsive.",
17670
17820
  properties: {
17821
+ created_at: { format: "date-time", type: "string" },
17671
17822
  message: { type: "string" },
17672
17823
  warning_code: {
17673
17824
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17675,12 +17826,13 @@ var openapi_default = {
17675
17826
  type: "string"
17676
17827
  }
17677
17828
  },
17678
- required: ["message", "warning_code"],
17829
+ required: ["message", "created_at", "warning_code"],
17679
17830
  type: "object"
17680
17831
  },
17681
17832
  {
17682
17833
  description: "Scheduled maintenance window detected.",
17683
17834
  properties: {
17835
+ created_at: { format: "date-time", type: "string" },
17684
17836
  message: { type: "string" },
17685
17837
  warning_code: {
17686
17838
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17688,12 +17840,13 @@ var openapi_default = {
17688
17840
  type: "string"
17689
17841
  }
17690
17842
  },
17691
- required: ["message", "warning_code"],
17843
+ required: ["message", "created_at", "warning_code"],
17692
17844
  type: "object"
17693
17845
  },
17694
17846
  {
17695
17847
  description: "Device has flaky connection.",
17696
17848
  properties: {
17849
+ created_at: { format: "date-time", type: "string" },
17697
17850
  message: { type: "string" },
17698
17851
  warning_code: {
17699
17852
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17701,12 +17854,13 @@ var openapi_default = {
17701
17854
  type: "string"
17702
17855
  }
17703
17856
  },
17704
- required: ["message", "warning_code"],
17857
+ required: ["message", "created_at", "warning_code"],
17705
17858
  type: "object"
17706
17859
  },
17707
17860
  {
17708
17861
  description: "Lock is in Office Mode. Access Codes will not unlock doors.",
17709
17862
  properties: {
17863
+ created_at: { format: "date-time", type: "string" },
17710
17864
  message: { type: "string" },
17711
17865
  warning_code: {
17712
17866
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17714,12 +17868,13 @@ var openapi_default = {
17714
17868
  type: "string"
17715
17869
  }
17716
17870
  },
17717
- required: ["message", "warning_code"],
17871
+ required: ["message", "created_at", "warning_code"],
17718
17872
  type: "object"
17719
17873
  },
17720
17874
  {
17721
17875
  description: "Lock is in Privacy Mode. Access Codes will not unlock doors.",
17722
17876
  properties: {
17877
+ created_at: { format: "date-time", type: "string" },
17723
17878
  message: { type: "string" },
17724
17879
  warning_code: {
17725
17880
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17727,12 +17882,13 @@ var openapi_default = {
17727
17882
  type: "string"
17728
17883
  }
17729
17884
  },
17730
- required: ["message", "warning_code"],
17885
+ required: ["message", "created_at", "warning_code"],
17731
17886
  type: "object"
17732
17887
  },
17733
17888
  {
17734
17889
  description: "An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.",
17735
17890
  properties: {
17891
+ created_at: { format: "date-time", type: "string" },
17736
17892
  message: { type: "string" },
17737
17893
  warning_code: {
17738
17894
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -17740,7 +17896,7 @@ var openapi_default = {
17740
17896
  type: "string"
17741
17897
  }
17742
17898
  },
17743
- required: ["message", "warning_code"],
17899
+ required: ["message", "created_at", "warning_code"],
17744
17900
  type: "object"
17745
17901
  }
17746
17902
  ]