@seamapi/types 1.442.0 → 1.443.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 (89) hide show
  1. package/dist/connect.cjs +86 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1914 -1913
  4. package/dist/devicedb.cjs.map +1 -1
  5. package/dist/devicedb.d.cts +27 -27
  6. package/dist/index.cjs +86 -2
  7. package/dist/index.cjs.map +1 -1
  8. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
  11. package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
  12. package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
  14. package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
  16. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
  18. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
  19. package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
  20. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
  21. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
  22. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
  23. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
  24. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
  25. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
  26. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
  27. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
  28. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
  29. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
  30. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
  31. package/lib/seam/connect/models/batches/batch.d.ts +128 -120
  32. package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
  33. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
  34. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  35. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
  36. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
  37. package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
  38. package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
  39. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
  40. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
  41. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
  42. package/lib/seam/connect/models/devices/device.d.ts +368 -376
  43. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
  44. package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
  45. package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
  46. package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
  47. package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
  48. package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
  49. package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
  50. package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
  51. package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
  52. package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
  53. package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
  54. package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
  55. package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
  56. package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
  57. package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
  58. package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
  59. package/lib/seam/connect/models/events/devices.d.ts +266 -266
  60. package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
  61. package/lib/seam/connect/models/events/phones.d.ts +8 -8
  62. package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
  63. package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
  64. package/lib/seam/connect/models/spaces/space.d.ts +6 -0
  65. package/lib/seam/connect/models/spaces/space.js +2 -0
  66. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  67. package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
  68. package/lib/seam/connect/openapi.d.ts +35 -0
  69. package/lib/seam/connect/openapi.js +82 -0
  70. package/lib/seam/connect/openapi.js.map +1 -1
  71. package/lib/seam/connect/route-types.d.ts +30 -0
  72. package/lib/seam/devicedb/models/device-model.d.ts +15 -15
  73. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  74. package/package.json +8 -7
  75. package/src/lib/seam/connect/models/spaces/space.ts +2 -0
  76. package/src/lib/seam/connect/openapi.ts +92 -0
  77. package/src/lib/seam/connect/route-types.ts +30 -0
  78. package/lib/seam/connect/internal/enums.d.ts +0 -1
  79. package/lib/seam/connect/internal/enums.js +0 -2
  80. package/lib/seam/connect/internal/enums.js.map +0 -1
  81. package/lib/seam/connect/internal/index.d.ts +0 -4
  82. package/lib/seam/connect/internal/index.js +0 -5
  83. package/lib/seam/connect/internal/index.js.map +0 -1
  84. package/lib/seam/connect/internal/model-types.d.ts +0 -2
  85. package/lib/seam/connect/internal/model-types.js +0 -2
  86. package/lib/seam/connect/internal/model-types.js.map +0 -1
  87. package/lib/seam/connect/internal/schemas.d.ts +0 -2
  88. package/lib/seam/connect/internal/schemas.js +0 -3
  89. package/lib/seam/connect/internal/schemas.js.map +0 -1
@@ -1,21 +1,19 @@
1
1
  import { z } from 'zod';
2
- export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
3
- common_code_key: z.ZodNullable<z.ZodString>;
4
- is_scheduled_on_device: z.ZodOptional<z.ZodBoolean>;
2
+ export declare const unmanaged_access_code: z.ZodObject<{
5
3
  type: z.ZodEnum<["time_bound", "ongoing"]>;
6
- is_waiting_for_code_assignment: z.ZodOptional<z.ZodBoolean>;
7
- access_code_id: z.ZodString;
8
- device_id: z.ZodString;
9
- name: z.ZodNullable<z.ZodString>;
10
4
  code: z.ZodNullable<z.ZodString>;
5
+ name: z.ZodNullable<z.ZodString>;
6
+ device_id: z.ZodString;
11
7
  created_at: z.ZodString;
12
- errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
8
+ starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ ends_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
13
11
  message: z.ZodString;
14
12
  is_access_code_error: z.ZodLiteral<true>;
15
13
  created_at: z.ZodOptional<z.ZodString>;
16
- }, {
14
+ } & {
17
15
  error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
18
- }>, "strip", z.ZodTypeAny, {
16
+ }, "strip", z.ZodTypeAny, {
19
17
  message: string;
20
18
  error_code: "smartthings_failed_to_set_access_code";
21
19
  is_access_code_error: true;
@@ -25,13 +23,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
25
23
  error_code: "smartthings_failed_to_set_access_code";
26
24
  is_access_code_error: true;
27
25
  created_at?: string | undefined;
28
- }>, z.ZodObject<z.objectUtil.extendShape<{
26
+ }>, z.ZodObject<{
29
27
  message: z.ZodString;
30
28
  is_access_code_error: z.ZodLiteral<true>;
31
29
  created_at: z.ZodOptional<z.ZodString>;
32
- }, {
30
+ } & {
33
31
  error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
34
- }>, "strip", z.ZodTypeAny, {
32
+ }, "strip", z.ZodTypeAny, {
35
33
  message: string;
36
34
  error_code: "smartthings_failed_to_set_after_multiple_retries";
37
35
  is_access_code_error: true;
@@ -41,13 +39,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
41
39
  error_code: "smartthings_failed_to_set_after_multiple_retries";
42
40
  is_access_code_error: true;
43
41
  created_at?: string | undefined;
44
- }>, z.ZodObject<z.objectUtil.extendShape<{
42
+ }>, z.ZodObject<{
45
43
  message: z.ZodString;
46
44
  is_access_code_error: z.ZodLiteral<true>;
47
45
  created_at: z.ZodOptional<z.ZodString>;
48
- }, {
46
+ } & {
49
47
  error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
50
- }>, "strip", z.ZodTypeAny, {
48
+ }, "strip", z.ZodTypeAny, {
51
49
  message: string;
52
50
  error_code: "smartthings_no_free_slots_available";
53
51
  is_access_code_error: true;
@@ -57,13 +55,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
57
55
  error_code: "smartthings_no_free_slots_available";
58
56
  is_access_code_error: true;
59
57
  created_at?: string | undefined;
60
- }>, z.ZodObject<z.objectUtil.extendShape<{
58
+ }>, z.ZodObject<{
61
59
  message: z.ZodString;
62
60
  is_access_code_error: z.ZodLiteral<true>;
63
61
  created_at: z.ZodOptional<z.ZodString>;
64
- }, {
62
+ } & {
65
63
  error_code: z.ZodLiteral<"failed_to_set_on_device">;
66
- }>, "strip", z.ZodTypeAny, {
64
+ }, "strip", z.ZodTypeAny, {
67
65
  message: string;
68
66
  error_code: "failed_to_set_on_device";
69
67
  is_access_code_error: true;
@@ -73,13 +71,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
73
71
  error_code: "failed_to_set_on_device";
74
72
  is_access_code_error: true;
75
73
  created_at?: string | undefined;
76
- }>, z.ZodObject<z.objectUtil.extendShape<{
74
+ }>, z.ZodObject<{
77
75
  message: z.ZodString;
78
76
  is_access_code_error: z.ZodLiteral<true>;
79
77
  created_at: z.ZodOptional<z.ZodString>;
80
- }, {
78
+ } & {
81
79
  error_code: z.ZodLiteral<"failed_to_remove_from_device">;
82
- }>, "strip", z.ZodTypeAny, {
80
+ }, "strip", z.ZodTypeAny, {
83
81
  message: string;
84
82
  error_code: "failed_to_remove_from_device";
85
83
  is_access_code_error: true;
@@ -89,13 +87,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
89
87
  error_code: "failed_to_remove_from_device";
90
88
  is_access_code_error: true;
91
89
  created_at?: string | undefined;
92
- }>, z.ZodObject<z.objectUtil.extendShape<{
90
+ }>, z.ZodObject<{
93
91
  message: z.ZodString;
94
92
  is_access_code_error: z.ZodLiteral<true>;
95
93
  created_at: z.ZodOptional<z.ZodString>;
96
- }, {
94
+ } & {
97
95
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
98
- }>, "strip", z.ZodTypeAny, {
96
+ }, "strip", z.ZodTypeAny, {
99
97
  message: string;
100
98
  error_code: "duplicate_code_on_device";
101
99
  is_access_code_error: true;
@@ -105,13 +103,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
105
103
  error_code: "duplicate_code_on_device";
106
104
  is_access_code_error: true;
107
105
  created_at?: string | undefined;
108
- }>, z.ZodObject<z.objectUtil.extendShape<{
106
+ }>, z.ZodObject<{
109
107
  message: z.ZodString;
110
108
  is_access_code_error: z.ZodLiteral<true>;
111
109
  created_at: z.ZodOptional<z.ZodString>;
112
- }, {
110
+ } & {
113
111
  error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
114
- }>, "strip", z.ZodTypeAny, {
112
+ }, "strip", z.ZodTypeAny, {
115
113
  message: string;
116
114
  error_code: "duplicate_code_attempt_prevented";
117
115
  is_access_code_error: true;
@@ -121,13 +119,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
121
119
  error_code: "duplicate_code_attempt_prevented";
122
120
  is_access_code_error: true;
123
121
  created_at?: string | undefined;
124
- }>, z.ZodObject<z.objectUtil.extendShape<{
122
+ }>, z.ZodObject<{
125
123
  message: z.ZodString;
126
124
  is_access_code_error: z.ZodLiteral<true>;
127
125
  created_at: z.ZodOptional<z.ZodString>;
128
- }, {
126
+ } & {
129
127
  error_code: z.ZodLiteral<"no_space_for_access_code_on_device">;
130
- }>, "strip", z.ZodTypeAny, {
128
+ }, "strip", z.ZodTypeAny, {
131
129
  message: string;
132
130
  error_code: "no_space_for_access_code_on_device";
133
131
  is_access_code_error: true;
@@ -137,13 +135,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
137
135
  error_code: "no_space_for_access_code_on_device";
138
136
  is_access_code_error: true;
139
137
  created_at?: string | undefined;
140
- }>, z.ZodObject<z.objectUtil.extendShape<{
138
+ }>, z.ZodObject<{
141
139
  message: z.ZodString;
142
140
  is_access_code_error: z.ZodLiteral<true>;
143
141
  created_at: z.ZodOptional<z.ZodString>;
144
- }, {
142
+ } & {
145
143
  error_code: z.ZodLiteral<"igloohome_bridge_too_many_pending_jobs">;
146
- }>, "strip", z.ZodTypeAny, {
144
+ }, "strip", z.ZodTypeAny, {
147
145
  message: string;
148
146
  error_code: "igloohome_bridge_too_many_pending_jobs";
149
147
  is_access_code_error: true;
@@ -153,13 +151,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
153
151
  error_code: "igloohome_bridge_too_many_pending_jobs";
154
152
  is_access_code_error: true;
155
153
  created_at?: string | undefined;
156
- }>, z.ZodObject<z.objectUtil.extendShape<{
154
+ }>, z.ZodObject<{
157
155
  message: z.ZodString;
158
156
  is_access_code_error: z.ZodLiteral<true>;
159
157
  created_at: z.ZodOptional<z.ZodString>;
160
- }, {
158
+ } & {
161
159
  error_code: z.ZodLiteral<"igloohome_bridge_offline">;
162
- }>, "strip", z.ZodTypeAny, {
160
+ }, "strip", z.ZodTypeAny, {
163
161
  message: string;
164
162
  error_code: "igloohome_bridge_offline";
165
163
  is_access_code_error: true;
@@ -169,13 +167,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
169
167
  error_code: "igloohome_bridge_offline";
170
168
  is_access_code_error: true;
171
169
  created_at?: string | undefined;
172
- }>, z.ZodObject<z.objectUtil.extendShape<{
170
+ }>, z.ZodObject<{
173
171
  message: z.ZodString;
174
172
  is_access_code_error: z.ZodLiteral<true>;
175
173
  created_at: z.ZodOptional<z.ZodString>;
176
- }, {
174
+ } & {
177
175
  error_code: z.ZodLiteral<"igloohome_offline_access_code_no_variance_available">;
178
- }>, "strip", z.ZodTypeAny, {
176
+ }, "strip", z.ZodTypeAny, {
179
177
  message: string;
180
178
  error_code: "igloohome_offline_access_code_no_variance_available";
181
179
  is_access_code_error: true;
@@ -185,13 +183,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
185
183
  error_code: "igloohome_offline_access_code_no_variance_available";
186
184
  is_access_code_error: true;
187
185
  created_at?: string | undefined;
188
- }>, z.ZodObject<z.objectUtil.extendShape<{
186
+ }>, z.ZodObject<{
189
187
  message: z.ZodString;
190
188
  is_access_code_error: z.ZodLiteral<true>;
191
189
  created_at: z.ZodOptional<z.ZodString>;
192
- }, {
190
+ } & {
193
191
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
194
- }>, "strip", z.ZodTypeAny, {
192
+ }, "strip", z.ZodTypeAny, {
195
193
  message: string;
196
194
  error_code: "kwikset_unable_to_confirm_code";
197
195
  is_access_code_error: true;
@@ -201,13 +199,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
201
199
  error_code: "kwikset_unable_to_confirm_code";
202
200
  is_access_code_error: true;
203
201
  created_at?: string | undefined;
204
- }>, z.ZodObject<z.objectUtil.extendShape<{
202
+ }>, z.ZodObject<{
205
203
  message: z.ZodString;
206
204
  is_access_code_error: z.ZodLiteral<true>;
207
205
  created_at: z.ZodOptional<z.ZodString>;
208
- }, {
206
+ } & {
209
207
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
210
- }>, "strip", z.ZodTypeAny, {
208
+ }, "strip", z.ZodTypeAny, {
211
209
  message: string;
212
210
  error_code: "kwikset_unable_to_confirm_deletion";
213
211
  is_access_code_error: true;
@@ -217,13 +215,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
217
215
  error_code: "kwikset_unable_to_confirm_deletion";
218
216
  is_access_code_error: true;
219
217
  created_at?: string | undefined;
220
- }>, z.ZodObject<z.objectUtil.extendShape<{
218
+ }>, z.ZodObject<{
221
219
  message: z.ZodString;
222
220
  is_access_code_error: z.ZodLiteral<true>;
223
221
  created_at: z.ZodOptional<z.ZodString>;
224
- }, {
222
+ } & {
225
223
  error_code: z.ZodLiteral<"code_modified_external_to_seam">;
226
- }>, "strip", z.ZodTypeAny, {
224
+ }, "strip", z.ZodTypeAny, {
227
225
  message: string;
228
226
  error_code: "code_modified_external_to_seam";
229
227
  is_access_code_error: true;
@@ -233,13 +231,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
233
231
  error_code: "code_modified_external_to_seam";
234
232
  is_access_code_error: true;
235
233
  created_at?: string | undefined;
236
- }>, z.ZodObject<z.objectUtil.extendShape<{
234
+ }>, z.ZodObject<{
237
235
  message: z.ZodString;
238
236
  is_access_code_error: z.ZodLiteral<true>;
239
237
  created_at: z.ZodOptional<z.ZodString>;
240
- }, {
238
+ } & {
241
239
  error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
242
- }>, "strip", z.ZodTypeAny, {
240
+ }, "strip", z.ZodTypeAny, {
243
241
  message: string;
244
242
  error_code: "august_lock_invalid_code_length";
245
243
  is_access_code_error: true;
@@ -249,13 +247,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
249
247
  error_code: "august_lock_invalid_code_length";
250
248
  is_access_code_error: true;
251
249
  created_at?: string | undefined;
252
- }>, z.ZodObject<z.objectUtil.extendShape<{
250
+ }>, z.ZodObject<{
253
251
  message: z.ZodString;
254
252
  is_access_code_error: z.ZodLiteral<true>;
255
253
  created_at: z.ZodOptional<z.ZodString>;
256
- }, {
254
+ } & {
257
255
  error_code: z.ZodLiteral<"august_device_programming_delay">;
258
- }>, "strip", z.ZodTypeAny, {
256
+ }, "strip", z.ZodTypeAny, {
259
257
  message: string;
260
258
  error_code: "august_device_programming_delay";
261
259
  is_access_code_error: true;
@@ -265,13 +263,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
265
263
  error_code: "august_device_programming_delay";
266
264
  is_access_code_error: true;
267
265
  created_at?: string | undefined;
268
- }>, z.ZodObject<z.objectUtil.extendShape<{
266
+ }>, z.ZodObject<{
269
267
  message: z.ZodString;
270
268
  is_access_code_error: z.ZodLiteral<true>;
271
269
  created_at: z.ZodOptional<z.ZodString>;
272
- }, {
270
+ } & {
273
271
  error_code: z.ZodLiteral<"august_device_slots_full">;
274
- }>, "strip", z.ZodTypeAny, {
272
+ }, "strip", z.ZodTypeAny, {
275
273
  message: string;
276
274
  error_code: "august_device_slots_full";
277
275
  is_access_code_error: true;
@@ -281,13 +279,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
281
279
  error_code: "august_device_slots_full";
282
280
  is_access_code_error: true;
283
281
  created_at?: string | undefined;
284
- }>, z.ZodObject<z.objectUtil.extendShape<{
282
+ }>, z.ZodObject<{
285
283
  message: z.ZodString;
286
284
  is_access_code_error: z.ZodLiteral<true>;
287
285
  created_at: z.ZodOptional<z.ZodString>;
288
- }, {
286
+ } & {
289
287
  error_code: z.ZodLiteral<"august_lock_missing_keypad">;
290
- }>, "strip", z.ZodTypeAny, {
288
+ }, "strip", z.ZodTypeAny, {
291
289
  message: string;
292
290
  error_code: "august_lock_missing_keypad";
293
291
  is_access_code_error: true;
@@ -297,13 +295,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
297
295
  error_code: "august_lock_missing_keypad";
298
296
  is_access_code_error: true;
299
297
  created_at?: string | undefined;
300
- }>, z.ZodObject<z.objectUtil.extendShape<{
298
+ }>, z.ZodObject<{
301
299
  message: z.ZodString;
302
300
  is_access_code_error: z.ZodLiteral<true>;
303
301
  created_at: z.ZodOptional<z.ZodString>;
304
- }, {
302
+ } & {
305
303
  error_code: z.ZodLiteral<"august_lock_temporarily_offline">;
306
- }>, "strip", z.ZodTypeAny, {
304
+ }, "strip", z.ZodTypeAny, {
307
305
  message: string;
308
306
  error_code: "august_lock_temporarily_offline";
309
307
  is_access_code_error: true;
@@ -313,13 +311,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
313
311
  error_code: "august_lock_temporarily_offline";
314
312
  is_access_code_error: true;
315
313
  created_at?: string | undefined;
316
- }>, z.ZodObject<z.objectUtil.extendShape<{
314
+ }>, z.ZodObject<{
317
315
  message: z.ZodString;
318
316
  is_access_code_error: z.ZodLiteral<true>;
319
317
  created_at: z.ZodOptional<z.ZodString>;
320
- }, {
318
+ } & {
321
319
  error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
322
- }>, "strip", z.ZodTypeAny, {
320
+ }, "strip", z.ZodTypeAny, {
323
321
  message: string;
324
322
  error_code: "salto_ks_user_not_subscribed";
325
323
  is_access_code_error: true;
@@ -329,13 +327,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
329
327
  error_code: "salto_ks_user_not_subscribed";
330
328
  is_access_code_error: true;
331
329
  created_at?: string | undefined;
332
- }>, z.ZodObject<z.objectUtil.extendShape<{
330
+ }>, z.ZodObject<{
333
331
  message: z.ZodString;
334
332
  is_access_code_error: z.ZodLiteral<true>;
335
333
  created_at: z.ZodOptional<z.ZodString>;
336
- }, {
334
+ } & {
337
335
  error_code: z.ZodLiteral<"hubitat_device_programming_delay">;
338
- }>, "strip", z.ZodTypeAny, {
336
+ }, "strip", z.ZodTypeAny, {
339
337
  message: string;
340
338
  error_code: "hubitat_device_programming_delay";
341
339
  is_access_code_error: true;
@@ -345,13 +343,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
345
343
  error_code: "hubitat_device_programming_delay";
346
344
  is_access_code_error: true;
347
345
  created_at?: string | undefined;
348
- }>, z.ZodObject<z.objectUtil.extendShape<{
346
+ }>, z.ZodObject<{
349
347
  message: z.ZodString;
350
348
  is_access_code_error: z.ZodLiteral<true>;
351
349
  created_at: z.ZodOptional<z.ZodString>;
352
- }, {
350
+ } & {
353
351
  error_code: z.ZodLiteral<"hubitat_no_free_positions_available">;
354
- }>, "strip", z.ZodTypeAny, {
352
+ }, "strip", z.ZodTypeAny, {
355
353
  message: string;
356
354
  error_code: "hubitat_no_free_positions_available";
357
355
  is_access_code_error: true;
@@ -361,13 +359,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
361
359
  error_code: "hubitat_no_free_positions_available";
362
360
  is_access_code_error: true;
363
361
  created_at?: string | undefined;
364
- }>, z.ZodObject<z.objectUtil.extendShape<{
362
+ }>, z.ZodObject<{
365
363
  message: z.ZodString;
366
364
  is_access_code_error: z.ZodLiteral<true>;
367
365
  created_at: z.ZodOptional<z.ZodString>;
368
- }, {
366
+ } & {
369
367
  error_code: z.ZodLiteral<"wyze_duplicate_code_name">;
370
- }>, "strip", z.ZodTypeAny, {
368
+ }, "strip", z.ZodTypeAny, {
371
369
  message: string;
372
370
  error_code: "wyze_duplicate_code_name";
373
371
  is_access_code_error: true;
@@ -377,13 +375,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
377
375
  error_code: "wyze_duplicate_code_name";
378
376
  is_access_code_error: true;
379
377
  created_at?: string | undefined;
380
- }>, z.ZodObject<z.objectUtil.extendShape<{
378
+ }>, z.ZodObject<{
381
379
  message: z.ZodString;
382
380
  is_access_code_error: z.ZodLiteral<true>;
383
381
  created_at: z.ZodOptional<z.ZodString>;
384
- }, {
382
+ } & {
385
383
  error_code: z.ZodLiteral<"wyze_potential_duplicate_code">;
386
- }>, "strip", z.ZodTypeAny, {
384
+ }, "strip", z.ZodTypeAny, {
387
385
  message: string;
388
386
  error_code: "wyze_potential_duplicate_code";
389
387
  is_access_code_error: true;
@@ -393,13 +391,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
393
391
  error_code: "wyze_potential_duplicate_code";
394
392
  is_access_code_error: true;
395
393
  created_at?: string | undefined;
396
- }>, z.ZodObject<z.objectUtil.extendShape<{
394
+ }>, z.ZodObject<{
397
395
  message: z.ZodString;
398
396
  is_access_code_error: z.ZodLiteral<true>;
399
397
  created_at: z.ZodOptional<z.ZodString>;
400
- }, {
398
+ } & {
401
399
  error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
402
- }>, "strip", z.ZodTypeAny, {
400
+ }, "strip", z.ZodTypeAny, {
403
401
  message: string;
404
402
  error_code: "dormakaba_oracode_no_valid_user_level";
405
403
  is_access_code_error: true;
@@ -409,14 +407,14 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
409
407
  error_code: "dormakaba_oracode_no_valid_user_level";
410
408
  is_access_code_error: true;
411
409
  created_at?: string | undefined;
412
- }>, ...(z.ZodObject<z.objectUtil.extendShape<{
410
+ }>, ...(z.ZodObject<{
413
411
  created_at: z.ZodString;
414
412
  message: z.ZodString;
415
413
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
416
414
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
417
- }, {
415
+ } & {
418
416
  error_code: z.ZodLiteral<"account_disconnected">;
419
- }>, "strip", z.ZodTypeAny, {
417
+ }, "strip", z.ZodTypeAny, {
420
418
  message: string;
421
419
  created_at: string;
422
420
  error_code: "account_disconnected";
@@ -428,14 +426,14 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
428
426
  error_code: "account_disconnected";
429
427
  is_connected_account_error?: boolean | undefined;
430
428
  is_bridge_error?: boolean | undefined;
431
- }> | z.ZodObject<z.objectUtil.extendShape<{
429
+ }> | z.ZodObject<{
432
430
  created_at: z.ZodString;
433
431
  message: z.ZodString;
434
432
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
435
433
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
436
- }, {
434
+ } & {
437
435
  error_code: z.ZodLiteral<"invalid_credentials">;
438
- }>, "strip", z.ZodTypeAny, {
436
+ }, "strip", z.ZodTypeAny, {
439
437
  message: string;
440
438
  created_at: string;
441
439
  error_code: "invalid_credentials";
@@ -447,14 +445,14 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
447
445
  error_code: "invalid_credentials";
448
446
  is_connected_account_error?: boolean | undefined;
449
447
  is_bridge_error?: boolean | undefined;
450
- }> | z.ZodObject<z.objectUtil.extendShape<{
448
+ }> | z.ZodObject<{
451
449
  created_at: z.ZodString;
452
450
  message: z.ZodString;
453
451
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
454
452
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
455
- }, {
453
+ } & {
456
454
  error_code: z.ZodLiteral<"bridge_disconnected">;
457
- }>, "strip", z.ZodTypeAny, {
455
+ }, "strip", z.ZodTypeAny, {
458
456
  message: string;
459
457
  created_at: string;
460
458
  error_code: "bridge_disconnected";
@@ -466,12 +464,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
466
464
  error_code: "bridge_disconnected";
467
465
  is_connected_account_error?: boolean | undefined;
468
466
  is_bridge_error?: boolean | undefined;
469
- }> | z.ZodObject<z.objectUtil.extendShape<{
467
+ }> | z.ZodObject<{
470
468
  created_at: z.ZodString;
471
469
  message: z.ZodString;
472
470
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
473
471
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
474
- }, {
472
+ } & {
475
473
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
476
474
  salto_ks_metadata: z.ZodObject<{
477
475
  sites: z.ZodArray<z.ZodObject<{
@@ -505,7 +503,7 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
505
503
  site_user_subscription_limit: number;
506
504
  }[];
507
505
  }>;
508
- }>, "strip", z.ZodTypeAny, {
506
+ }, "strip", z.ZodTypeAny, {
509
507
  message: string;
510
508
  created_at: string;
511
509
  error_code: "salto_ks_subscription_limit_exceeded";
@@ -533,13 +531,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
533
531
  };
534
532
  is_connected_account_error?: boolean | undefined;
535
533
  is_bridge_error?: boolean | undefined;
536
- }> | z.ZodObject<z.objectUtil.extendShape<{
534
+ }> | z.ZodObject<{
537
535
  message: z.ZodString;
538
536
  is_device_error: z.ZodLiteral<true>;
539
537
  created_at: z.ZodString;
540
- }, {
538
+ } & {
541
539
  error_code: z.ZodLiteral<"device_offline">;
542
- }>, "strip", z.ZodTypeAny, {
540
+ }, "strip", z.ZodTypeAny, {
543
541
  message: string;
544
542
  created_at: string;
545
543
  error_code: "device_offline";
@@ -549,13 +547,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
549
547
  created_at: string;
550
548
  error_code: "device_offline";
551
549
  is_device_error: true;
552
- }> | z.ZodObject<z.objectUtil.extendShape<{
550
+ }> | z.ZodObject<{
553
551
  message: z.ZodString;
554
552
  is_device_error: z.ZodLiteral<true>;
555
553
  created_at: z.ZodString;
556
- }, {
554
+ } & {
557
555
  error_code: z.ZodLiteral<"device_removed">;
558
- }>, "strip", z.ZodTypeAny, {
556
+ }, "strip", z.ZodTypeAny, {
559
557
  message: string;
560
558
  created_at: string;
561
559
  error_code: "device_removed";
@@ -565,13 +563,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
565
563
  created_at: string;
566
564
  error_code: "device_removed";
567
565
  is_device_error: true;
568
- }> | z.ZodObject<z.objectUtil.extendShape<{
566
+ }> | z.ZodObject<{
569
567
  message: z.ZodString;
570
568
  is_device_error: z.ZodLiteral<true>;
571
569
  created_at: z.ZodString;
572
- }, {
570
+ } & {
573
571
  error_code: z.ZodLiteral<"hub_disconnected">;
574
- }>, "strip", z.ZodTypeAny, {
572
+ }, "strip", z.ZodTypeAny, {
575
573
  message: string;
576
574
  created_at: string;
577
575
  error_code: "hub_disconnected";
@@ -581,13 +579,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
581
579
  created_at: string;
582
580
  error_code: "hub_disconnected";
583
581
  is_device_error: true;
584
- }> | z.ZodObject<z.objectUtil.extendShape<{
582
+ }> | z.ZodObject<{
585
583
  message: z.ZodString;
586
584
  is_device_error: z.ZodLiteral<true>;
587
585
  created_at: z.ZodString;
588
- }, {
586
+ } & {
589
587
  error_code: z.ZodLiteral<"device_disconnected">;
590
- }>, "strip", z.ZodTypeAny, {
588
+ }, "strip", z.ZodTypeAny, {
591
589
  message: string;
592
590
  created_at: string;
593
591
  error_code: "device_disconnected";
@@ -597,15 +595,14 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
597
595
  created_at: string;
598
596
  error_code: "device_disconnected";
599
597
  is_device_error: true;
600
- }> | z.ZodObject<z.objectUtil.extendShape<{
598
+ }> | z.ZodObject<{
601
599
  message: z.ZodString;
602
- is_device_error: z.ZodLiteral<true>;
603
600
  created_at: z.ZodString;
604
- }, {
601
+ } & {
605
602
  error_code: z.ZodLiteral<"account_disconnected">;
606
603
  is_connected_account_error: z.ZodLiteral<true>;
607
604
  is_device_error: z.ZodLiteral<false>;
608
- }>, "strip", z.ZodTypeAny, {
605
+ }, "strip", z.ZodTypeAny, {
609
606
  message: string;
610
607
  created_at: string;
611
608
  error_code: "account_disconnected";
@@ -617,13 +614,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
617
614
  error_code: "account_disconnected";
618
615
  is_connected_account_error: true;
619
616
  is_device_error: false;
620
- }> | z.ZodObject<z.objectUtil.extendShape<{
617
+ }> | z.ZodObject<{
621
618
  message: z.ZodString;
622
619
  is_device_error: z.ZodLiteral<true>;
623
620
  created_at: z.ZodString;
624
- }, {
621
+ } & {
625
622
  error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
626
- }>, "strip", z.ZodTypeAny, {
623
+ }, "strip", z.ZodTypeAny, {
627
624
  message: string;
628
625
  created_at: string;
629
626
  error_code: "empty_backup_access_code_pool";
@@ -633,13 +630,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
633
630
  created_at: string;
634
631
  error_code: "empty_backup_access_code_pool";
635
632
  is_device_error: true;
636
- }> | z.ZodObject<z.objectUtil.extendShape<{
633
+ }> | z.ZodObject<{
637
634
  message: z.ZodString;
638
635
  is_device_error: z.ZodLiteral<true>;
639
636
  created_at: z.ZodString;
640
- }, {
637
+ } & {
641
638
  error_code: z.ZodLiteral<"august_lock_not_authorized">;
642
- }>, "strip", z.ZodTypeAny, {
639
+ }, "strip", z.ZodTypeAny, {
643
640
  message: string;
644
641
  created_at: string;
645
642
  error_code: "august_lock_not_authorized";
@@ -649,13 +646,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
649
646
  created_at: string;
650
647
  error_code: "august_lock_not_authorized";
651
648
  is_device_error: true;
652
- }> | z.ZodObject<z.objectUtil.extendShape<{
649
+ }> | z.ZodObject<{
653
650
  message: z.ZodString;
654
651
  is_device_error: z.ZodLiteral<true>;
655
652
  created_at: z.ZodString;
656
- }, {
653
+ } & {
657
654
  error_code: z.ZodLiteral<"august_lock_missing_bridge">;
658
- }>, "strip", z.ZodTypeAny, {
655
+ }, "strip", z.ZodTypeAny, {
659
656
  message: string;
660
657
  created_at: string;
661
658
  error_code: "august_lock_missing_bridge";
@@ -665,15 +662,14 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
665
662
  created_at: string;
666
663
  error_code: "august_lock_missing_bridge";
667
664
  is_device_error: true;
668
- }> | z.ZodObject<z.objectUtil.extendShape<{
665
+ }> | z.ZodObject<{
669
666
  message: z.ZodString;
670
- is_device_error: z.ZodLiteral<true>;
671
667
  created_at: z.ZodString;
672
- }, {
668
+ } & {
673
669
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
674
670
  is_connected_account_error: z.ZodLiteral<true>;
675
671
  is_device_error: z.ZodLiteral<false>;
676
- }>, "strip", z.ZodTypeAny, {
672
+ }, "strip", z.ZodTypeAny, {
677
673
  message: string;
678
674
  created_at: string;
679
675
  error_code: "salto_ks_subscription_limit_exceeded";
@@ -685,13 +681,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
685
681
  error_code: "salto_ks_subscription_limit_exceeded";
686
682
  is_connected_account_error: true;
687
683
  is_device_error: false;
688
- }> | z.ZodObject<z.objectUtil.extendShape<{
684
+ }> | z.ZodObject<{
689
685
  message: z.ZodString;
690
686
  is_device_error: z.ZodLiteral<true>;
691
687
  created_at: z.ZodString;
692
- }, {
688
+ } & {
693
689
  error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
694
- }>, "strip", z.ZodTypeAny, {
690
+ }, "strip", z.ZodTypeAny, {
695
691
  message: string;
696
692
  created_at: string;
697
693
  error_code: "ttlock_lock_not_paired_to_gateway";
@@ -701,13 +697,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
701
697
  created_at: string;
702
698
  error_code: "ttlock_lock_not_paired_to_gateway";
703
699
  is_device_error: true;
704
- }> | z.ZodObject<z.objectUtil.extendShape<{
700
+ }> | z.ZodObject<{
705
701
  message: z.ZodString;
706
702
  is_device_error: z.ZodLiteral<true>;
707
703
  created_at: z.ZodString;
708
- }, {
704
+ } & {
709
705
  error_code: z.ZodLiteral<"missing_device_credentials">;
710
- }>, "strip", z.ZodTypeAny, {
706
+ }, "strip", z.ZodTypeAny, {
711
707
  message: string;
712
708
  created_at: string;
713
709
  error_code: "missing_device_credentials";
@@ -717,13 +713,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
717
713
  created_at: string;
718
714
  error_code: "missing_device_credentials";
719
715
  is_device_error: true;
720
- }> | z.ZodObject<z.objectUtil.extendShape<{
716
+ }> | z.ZodObject<{
721
717
  message: z.ZodString;
722
718
  is_device_error: z.ZodLiteral<true>;
723
719
  created_at: z.ZodString;
724
- }, {
720
+ } & {
725
721
  error_code: z.ZodLiteral<"auxiliary_heat_running">;
726
- }>, "strip", z.ZodTypeAny, {
722
+ }, "strip", z.ZodTypeAny, {
727
723
  message: string;
728
724
  created_at: string;
729
725
  error_code: "auxiliary_heat_running";
@@ -733,13 +729,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
733
729
  created_at: string;
734
730
  error_code: "auxiliary_heat_running";
735
731
  is_device_error: true;
736
- }> | z.ZodObject<z.objectUtil.extendShape<{
732
+ }> | z.ZodObject<{
737
733
  message: z.ZodString;
738
734
  is_device_error: z.ZodLiteral<true>;
739
735
  created_at: z.ZodString;
740
- }, {
736
+ } & {
741
737
  error_code: z.ZodLiteral<"subscription_required">;
742
- }>, "strip", z.ZodTypeAny, {
738
+ }, "strip", z.ZodTypeAny, {
743
739
  message: string;
744
740
  created_at: string;
745
741
  error_code: "subscription_required";
@@ -749,13 +745,13 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
749
745
  created_at: string;
750
746
  error_code: "subscription_required";
751
747
  is_device_error: true;
752
- }> | z.ZodObject<z.objectUtil.extendShape<{
748
+ }> | z.ZodObject<{
753
749
  message: z.ZodString;
754
750
  is_device_error: z.ZodLiteral<true>;
755
751
  created_at: z.ZodString;
756
- }, {
752
+ } & {
757
753
  error_code: z.ZodLiteral<"lockly_missing_wifi_bridge">;
758
- }>, "strip", z.ZodTypeAny, {
754
+ }, "strip", z.ZodTypeAny, {
759
755
  message: string;
760
756
  created_at: string;
761
757
  error_code: "lockly_missing_wifi_bridge";
@@ -766,12 +762,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
766
762
  error_code: "lockly_missing_wifi_bridge";
767
763
  is_device_error: true;
768
764
  }>)[]]>, "many">;
769
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
765
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
770
766
  message: z.ZodString;
771
767
  created_at: z.ZodOptional<z.ZodString>;
772
- }, {
768
+ } & {
773
769
  warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
774
- }>, "strip", z.ZodTypeAny, {
770
+ }, "strip", z.ZodTypeAny, {
775
771
  message: string;
776
772
  warning_code: "smartthings_failed_to_set_access_code";
777
773
  created_at?: string | undefined;
@@ -779,12 +775,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
779
775
  message: string;
780
776
  warning_code: "smartthings_failed_to_set_access_code";
781
777
  created_at?: string | undefined;
782
- }>, z.ZodObject<z.objectUtil.extendShape<{
778
+ }>, z.ZodObject<{
783
779
  message: z.ZodString;
784
780
  created_at: z.ZodOptional<z.ZodString>;
785
- }, {
781
+ } & {
786
782
  warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
787
- }>, "strip", z.ZodTypeAny, {
783
+ }, "strip", z.ZodTypeAny, {
788
784
  message: string;
789
785
  warning_code: "schlage_detected_duplicate";
790
786
  created_at?: string | undefined;
@@ -792,12 +788,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
792
788
  message: string;
793
789
  warning_code: "schlage_detected_duplicate";
794
790
  created_at?: string | undefined;
795
- }>, z.ZodObject<z.objectUtil.extendShape<{
791
+ }>, z.ZodObject<{
796
792
  message: z.ZodString;
797
793
  created_at: z.ZodOptional<z.ZodString>;
798
- }, {
794
+ } & {
799
795
  warning_code: z.ZodLiteral<"schlage_creation_outage">;
800
- }>, "strip", z.ZodTypeAny, {
796
+ }, "strip", z.ZodTypeAny, {
801
797
  message: string;
802
798
  warning_code: "schlage_creation_outage";
803
799
  created_at?: string | undefined;
@@ -805,12 +801,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
805
801
  message: string;
806
802
  warning_code: "schlage_creation_outage";
807
803
  created_at?: string | undefined;
808
- }>, z.ZodObject<z.objectUtil.extendShape<{
804
+ }>, z.ZodObject<{
809
805
  message: z.ZodString;
810
806
  created_at: z.ZodOptional<z.ZodString>;
811
- }, {
807
+ } & {
812
808
  warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
813
- }>, "strip", z.ZodTypeAny, {
809
+ }, "strip", z.ZodTypeAny, {
814
810
  message: string;
815
811
  warning_code: "code_modified_external_to_seam";
816
812
  created_at?: string | undefined;
@@ -818,12 +814,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
818
814
  message: string;
819
815
  warning_code: "code_modified_external_to_seam";
820
816
  created_at?: string | undefined;
821
- }>, z.ZodObject<z.objectUtil.extendShape<{
817
+ }>, z.ZodObject<{
822
818
  message: z.ZodString;
823
819
  created_at: z.ZodOptional<z.ZodString>;
824
- }, {
820
+ } & {
825
821
  warning_code: z.ZodLiteral<"delay_in_setting_on_device">;
826
- }>, "strip", z.ZodTypeAny, {
822
+ }, "strip", z.ZodTypeAny, {
827
823
  message: string;
828
824
  warning_code: "delay_in_setting_on_device";
829
825
  created_at?: string | undefined;
@@ -831,12 +827,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
831
827
  message: string;
832
828
  warning_code: "delay_in_setting_on_device";
833
829
  created_at?: string | undefined;
834
- }>, z.ZodObject<z.objectUtil.extendShape<{
830
+ }>, z.ZodObject<{
835
831
  message: z.ZodString;
836
832
  created_at: z.ZodOptional<z.ZodString>;
837
- }, {
833
+ } & {
838
834
  warning_code: z.ZodLiteral<"delay_in_removing_from_device">;
839
- }>, "strip", z.ZodTypeAny, {
835
+ }, "strip", z.ZodTypeAny, {
840
836
  message: string;
841
837
  warning_code: "delay_in_removing_from_device";
842
838
  created_at?: string | undefined;
@@ -844,12 +840,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
844
840
  message: string;
845
841
  warning_code: "delay_in_removing_from_device";
846
842
  created_at?: string | undefined;
847
- }>, z.ZodObject<z.objectUtil.extendShape<{
843
+ }>, z.ZodObject<{
848
844
  message: z.ZodString;
849
845
  created_at: z.ZodOptional<z.ZodString>;
850
- }, {
846
+ } & {
851
847
  warning_code: z.ZodLiteral<"third_party_integration_detected">;
852
- }>, "strip", z.ZodTypeAny, {
848
+ }, "strip", z.ZodTypeAny, {
853
849
  message: string;
854
850
  warning_code: "third_party_integration_detected";
855
851
  created_at?: string | undefined;
@@ -857,12 +853,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
857
853
  message: string;
858
854
  warning_code: "third_party_integration_detected";
859
855
  created_at?: string | undefined;
860
- }>, z.ZodObject<z.objectUtil.extendShape<{
856
+ }>, z.ZodObject<{
861
857
  message: z.ZodString;
862
858
  created_at: z.ZodOptional<z.ZodString>;
863
- }, {
859
+ } & {
864
860
  warning_code: z.ZodLiteral<"august_device_programming_delay">;
865
- }>, "strip", z.ZodTypeAny, {
861
+ }, "strip", z.ZodTypeAny, {
866
862
  message: string;
867
863
  warning_code: "august_device_programming_delay";
868
864
  created_at?: string | undefined;
@@ -870,12 +866,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
870
866
  message: string;
871
867
  warning_code: "august_device_programming_delay";
872
868
  created_at?: string | undefined;
873
- }>, z.ZodObject<z.objectUtil.extendShape<{
869
+ }>, z.ZodObject<{
874
870
  message: z.ZodString;
875
871
  created_at: z.ZodOptional<z.ZodString>;
876
- }, {
872
+ } & {
877
873
  warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
878
- }>, "strip", z.ZodTypeAny, {
874
+ }, "strip", z.ZodTypeAny, {
879
875
  message: string;
880
876
  warning_code: "august_lock_temporarily_offline";
881
877
  created_at?: string | undefined;
@@ -883,12 +879,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
883
879
  message: string;
884
880
  warning_code: "august_lock_temporarily_offline";
885
881
  created_at?: string | undefined;
886
- }>, z.ZodObject<z.objectUtil.extendShape<{
882
+ }>, z.ZodObject<{
887
883
  message: z.ZodString;
888
884
  created_at: z.ZodOptional<z.ZodString>;
889
- }, {
885
+ } & {
890
886
  warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
891
- }>, "strip", z.ZodTypeAny, {
887
+ }, "strip", z.ZodTypeAny, {
892
888
  message: string;
893
889
  warning_code: "igloo_algopin_must_be_used_within_24_hours";
894
890
  created_at?: string | undefined;
@@ -896,12 +892,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
896
892
  message: string;
897
893
  warning_code: "igloo_algopin_must_be_used_within_24_hours";
898
894
  created_at?: string | undefined;
899
- }>, z.ZodObject<z.objectUtil.extendShape<{
895
+ }>, z.ZodObject<{
900
896
  message: z.ZodString;
901
897
  created_at: z.ZodOptional<z.ZodString>;
902
- }, {
898
+ } & {
903
899
  warning_code: z.ZodLiteral<"management_transferred">;
904
- }>, "strip", z.ZodTypeAny, {
900
+ }, "strip", z.ZodTypeAny, {
905
901
  message: string;
906
902
  warning_code: "management_transferred";
907
903
  created_at?: string | undefined;
@@ -909,12 +905,12 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
909
905
  message: string;
910
906
  warning_code: "management_transferred";
911
907
  created_at?: string | undefined;
912
- }>, z.ZodObject<z.objectUtil.extendShape<{
908
+ }>, z.ZodObject<{
913
909
  message: z.ZodString;
914
910
  created_at: z.ZodOptional<z.ZodString>;
915
- }, {
911
+ } & {
916
912
  warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
917
- }>, "strip", z.ZodTypeAny, {
913
+ }, "strip", z.ZodTypeAny, {
918
914
  message: string;
919
915
  warning_code: "kwikset_unable_to_confirm_code";
920
916
  created_at?: string | undefined;
@@ -923,20 +919,11 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
923
919
  warning_code: "kwikset_unable_to_confirm_code";
924
920
  created_at?: string | undefined;
925
921
  }>]>, "many">;
926
- is_managed: z.ZodLiteral<true>;
927
- starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
928
- ends_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
- status: z.ZodEnum<["setting", "set", "unset", "removing", "unknown"]>;
930
- is_backup_access_code_available: z.ZodBoolean;
931
- is_backup: z.ZodOptional<z.ZodBoolean>;
932
- pulled_backup_access_code_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
933
- is_external_modification_allowed: z.ZodBoolean;
934
- is_one_time_use: z.ZodBoolean;
935
- is_offline_access_code: z.ZodBoolean;
936
- }, "type" | "code" | "name" | "device_id" | "created_at" | "starts_at" | "ends_at" | "errors" | "warnings" | "is_managed" | "access_code_id">, {
922
+ access_code_id: z.ZodString;
923
+ } & {
937
924
  is_managed: z.ZodLiteral<false>;
938
925
  status: z.ZodEnum<["set"]>;
939
- }>, "strip", z.ZodTypeAny, {
926
+ }, "strip", z.ZodTypeAny, {
940
927
  type: "time_bound" | "ongoing";
941
928
  code: string | null;
942
929
  name: string | null;