@seamapi/types 1.441.2 → 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.
- package/dist/connect.cjs +127 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1966 -1914
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +27 -27
- package/dist/index.cjs +127 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
- package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
- package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
- package/lib/seam/connect/models/batches/batch.d.ts +128 -120
- package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
- package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
- package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
- package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
- package/lib/seam/connect/models/devices/device.d.ts +368 -376
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
- package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
- package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
- package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
- package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
- package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
- package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
- package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
- package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
- package/lib/seam/connect/models/events/devices.d.ts +266 -266
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
- package/lib/seam/connect/models/events/phones.d.ts +8 -8
- package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
- package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
- package/lib/seam/connect/models/spaces/space.d.ts +6 -0
- package/lib/seam/connect/models/spaces/space.js +2 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
- package/lib/seam/connect/openapi.d.ts +81 -0
- package/lib/seam/connect/openapi.js +123 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -1
- package/lib/seam/devicedb/models/device-model.d.ts +15 -15
- package/lib/seam/devicedb/route-specs.d.ts +12 -12
- package/package.json +8 -7
- package/src/lib/seam/connect/models/spaces/space.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +137 -0
- package/src/lib/seam/connect/route-types.ts +36 -1
- package/lib/seam/connect/internal/enums.d.ts +0 -1
- package/lib/seam/connect/internal/enums.js +0 -2
- package/lib/seam/connect/internal/enums.js.map +0 -1
- package/lib/seam/connect/internal/index.d.ts +0 -4
- package/lib/seam/connect/internal/index.js +0 -5
- package/lib/seam/connect/internal/index.js.map +0 -1
- package/lib/seam/connect/internal/model-types.d.ts +0 -2
- package/lib/seam/connect/internal/model-types.js +0 -2
- package/lib/seam/connect/internal/model-types.js.map +0 -1
- package/lib/seam/connect/internal/schemas.d.ts +0 -2
- package/lib/seam/connect/internal/schemas.js +0 -3
- package/lib/seam/connect/internal/schemas.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<
|
|
2
|
+
declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
3
3
|
message: z.ZodString;
|
|
4
4
|
is_access_code_error: z.ZodLiteral<true>;
|
|
5
5
|
created_at: z.ZodOptional<z.ZodString>;
|
|
6
|
-
}
|
|
6
|
+
} & {
|
|
7
7
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
8
|
-
}
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
message: string;
|
|
10
10
|
error_code: "smartthings_failed_to_set_access_code";
|
|
11
11
|
is_access_code_error: true;
|
|
@@ -15,13 +15,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
15
15
|
error_code: "smartthings_failed_to_set_access_code";
|
|
16
16
|
is_access_code_error: true;
|
|
17
17
|
created_at?: string | undefined;
|
|
18
|
-
}>, z.ZodObject<
|
|
18
|
+
}>, z.ZodObject<{
|
|
19
19
|
message: z.ZodString;
|
|
20
20
|
is_access_code_error: z.ZodLiteral<true>;
|
|
21
21
|
created_at: z.ZodOptional<z.ZodString>;
|
|
22
|
-
}
|
|
22
|
+
} & {
|
|
23
23
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
|
|
24
|
-
}
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
message: string;
|
|
26
26
|
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
27
27
|
is_access_code_error: true;
|
|
@@ -31,13 +31,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
31
31
|
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
32
32
|
is_access_code_error: true;
|
|
33
33
|
created_at?: string | undefined;
|
|
34
|
-
}>, z.ZodObject<
|
|
34
|
+
}>, z.ZodObject<{
|
|
35
35
|
message: z.ZodString;
|
|
36
36
|
is_access_code_error: z.ZodLiteral<true>;
|
|
37
37
|
created_at: z.ZodOptional<z.ZodString>;
|
|
38
|
-
}
|
|
38
|
+
} & {
|
|
39
39
|
error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
|
|
40
|
-
}
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
41
|
message: string;
|
|
42
42
|
error_code: "smartthings_no_free_slots_available";
|
|
43
43
|
is_access_code_error: true;
|
|
@@ -47,13 +47,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
47
47
|
error_code: "smartthings_no_free_slots_available";
|
|
48
48
|
is_access_code_error: true;
|
|
49
49
|
created_at?: string | undefined;
|
|
50
|
-
}>, z.ZodObject<
|
|
50
|
+
}>, z.ZodObject<{
|
|
51
51
|
message: z.ZodString;
|
|
52
52
|
is_access_code_error: z.ZodLiteral<true>;
|
|
53
53
|
created_at: z.ZodOptional<z.ZodString>;
|
|
54
|
-
}
|
|
54
|
+
} & {
|
|
55
55
|
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
56
|
-
}
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
message: string;
|
|
58
58
|
error_code: "failed_to_set_on_device";
|
|
59
59
|
is_access_code_error: true;
|
|
@@ -63,13 +63,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
63
63
|
error_code: "failed_to_set_on_device";
|
|
64
64
|
is_access_code_error: true;
|
|
65
65
|
created_at?: string | undefined;
|
|
66
|
-
}>, z.ZodObject<
|
|
66
|
+
}>, z.ZodObject<{
|
|
67
67
|
message: z.ZodString;
|
|
68
68
|
is_access_code_error: z.ZodLiteral<true>;
|
|
69
69
|
created_at: z.ZodOptional<z.ZodString>;
|
|
70
|
-
}
|
|
70
|
+
} & {
|
|
71
71
|
error_code: z.ZodLiteral<"failed_to_remove_from_device">;
|
|
72
|
-
}
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
73
|
message: string;
|
|
74
74
|
error_code: "failed_to_remove_from_device";
|
|
75
75
|
is_access_code_error: true;
|
|
@@ -79,13 +79,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
79
79
|
error_code: "failed_to_remove_from_device";
|
|
80
80
|
is_access_code_error: true;
|
|
81
81
|
created_at?: string | undefined;
|
|
82
|
-
}>, z.ZodObject<
|
|
82
|
+
}>, z.ZodObject<{
|
|
83
83
|
message: z.ZodString;
|
|
84
84
|
is_access_code_error: z.ZodLiteral<true>;
|
|
85
85
|
created_at: z.ZodOptional<z.ZodString>;
|
|
86
|
-
}
|
|
86
|
+
} & {
|
|
87
87
|
error_code: z.ZodLiteral<"duplicate_code_on_device">;
|
|
88
|
-
}
|
|
88
|
+
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
message: string;
|
|
90
90
|
error_code: "duplicate_code_on_device";
|
|
91
91
|
is_access_code_error: true;
|
|
@@ -95,13 +95,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
95
95
|
error_code: "duplicate_code_on_device";
|
|
96
96
|
is_access_code_error: true;
|
|
97
97
|
created_at?: string | undefined;
|
|
98
|
-
}>, z.ZodObject<
|
|
98
|
+
}>, z.ZodObject<{
|
|
99
99
|
message: z.ZodString;
|
|
100
100
|
is_access_code_error: z.ZodLiteral<true>;
|
|
101
101
|
created_at: z.ZodOptional<z.ZodString>;
|
|
102
|
-
}
|
|
102
|
+
} & {
|
|
103
103
|
error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
|
|
104
|
-
}
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
105
|
message: string;
|
|
106
106
|
error_code: "duplicate_code_attempt_prevented";
|
|
107
107
|
is_access_code_error: true;
|
|
@@ -111,13 +111,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
111
111
|
error_code: "duplicate_code_attempt_prevented";
|
|
112
112
|
is_access_code_error: true;
|
|
113
113
|
created_at?: string | undefined;
|
|
114
|
-
}>, z.ZodObject<
|
|
114
|
+
}>, z.ZodObject<{
|
|
115
115
|
message: z.ZodString;
|
|
116
116
|
is_access_code_error: z.ZodLiteral<true>;
|
|
117
117
|
created_at: z.ZodOptional<z.ZodString>;
|
|
118
|
-
}
|
|
118
|
+
} & {
|
|
119
119
|
error_code: z.ZodLiteral<"no_space_for_access_code_on_device">;
|
|
120
|
-
}
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
121
|
message: string;
|
|
122
122
|
error_code: "no_space_for_access_code_on_device";
|
|
123
123
|
is_access_code_error: true;
|
|
@@ -127,13 +127,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
127
127
|
error_code: "no_space_for_access_code_on_device";
|
|
128
128
|
is_access_code_error: true;
|
|
129
129
|
created_at?: string | undefined;
|
|
130
|
-
}>, z.ZodObject<
|
|
130
|
+
}>, z.ZodObject<{
|
|
131
131
|
message: z.ZodString;
|
|
132
132
|
is_access_code_error: z.ZodLiteral<true>;
|
|
133
133
|
created_at: z.ZodOptional<z.ZodString>;
|
|
134
|
-
}
|
|
134
|
+
} & {
|
|
135
135
|
error_code: z.ZodLiteral<"igloohome_bridge_too_many_pending_jobs">;
|
|
136
|
-
}
|
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
|
137
137
|
message: string;
|
|
138
138
|
error_code: "igloohome_bridge_too_many_pending_jobs";
|
|
139
139
|
is_access_code_error: true;
|
|
@@ -143,13 +143,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
143
143
|
error_code: "igloohome_bridge_too_many_pending_jobs";
|
|
144
144
|
is_access_code_error: true;
|
|
145
145
|
created_at?: string | undefined;
|
|
146
|
-
}>, z.ZodObject<
|
|
146
|
+
}>, z.ZodObject<{
|
|
147
147
|
message: z.ZodString;
|
|
148
148
|
is_access_code_error: z.ZodLiteral<true>;
|
|
149
149
|
created_at: z.ZodOptional<z.ZodString>;
|
|
150
|
-
}
|
|
150
|
+
} & {
|
|
151
151
|
error_code: z.ZodLiteral<"igloohome_bridge_offline">;
|
|
152
|
-
}
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
153
|
message: string;
|
|
154
154
|
error_code: "igloohome_bridge_offline";
|
|
155
155
|
is_access_code_error: true;
|
|
@@ -159,13 +159,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
159
159
|
error_code: "igloohome_bridge_offline";
|
|
160
160
|
is_access_code_error: true;
|
|
161
161
|
created_at?: string | undefined;
|
|
162
|
-
}>, z.ZodObject<
|
|
162
|
+
}>, z.ZodObject<{
|
|
163
163
|
message: z.ZodString;
|
|
164
164
|
is_access_code_error: z.ZodLiteral<true>;
|
|
165
165
|
created_at: z.ZodOptional<z.ZodString>;
|
|
166
|
-
}
|
|
166
|
+
} & {
|
|
167
167
|
error_code: z.ZodLiteral<"igloohome_offline_access_code_no_variance_available">;
|
|
168
|
-
}
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
169
|
message: string;
|
|
170
170
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
171
171
|
is_access_code_error: true;
|
|
@@ -175,13 +175,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
175
175
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
176
176
|
is_access_code_error: true;
|
|
177
177
|
created_at?: string | undefined;
|
|
178
|
-
}>, z.ZodObject<
|
|
178
|
+
}>, z.ZodObject<{
|
|
179
179
|
message: z.ZodString;
|
|
180
180
|
is_access_code_error: z.ZodLiteral<true>;
|
|
181
181
|
created_at: z.ZodOptional<z.ZodString>;
|
|
182
|
-
}
|
|
182
|
+
} & {
|
|
183
183
|
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
184
|
-
}
|
|
184
|
+
}, "strip", z.ZodTypeAny, {
|
|
185
185
|
message: string;
|
|
186
186
|
error_code: "kwikset_unable_to_confirm_code";
|
|
187
187
|
is_access_code_error: true;
|
|
@@ -191,13 +191,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
191
191
|
error_code: "kwikset_unable_to_confirm_code";
|
|
192
192
|
is_access_code_error: true;
|
|
193
193
|
created_at?: string | undefined;
|
|
194
|
-
}>, z.ZodObject<
|
|
194
|
+
}>, z.ZodObject<{
|
|
195
195
|
message: z.ZodString;
|
|
196
196
|
is_access_code_error: z.ZodLiteral<true>;
|
|
197
197
|
created_at: z.ZodOptional<z.ZodString>;
|
|
198
|
-
}
|
|
198
|
+
} & {
|
|
199
199
|
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
|
|
200
|
-
}
|
|
200
|
+
}, "strip", z.ZodTypeAny, {
|
|
201
201
|
message: string;
|
|
202
202
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
203
203
|
is_access_code_error: true;
|
|
@@ -207,13 +207,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
207
207
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
208
208
|
is_access_code_error: true;
|
|
209
209
|
created_at?: string | undefined;
|
|
210
|
-
}>, z.ZodObject<
|
|
210
|
+
}>, z.ZodObject<{
|
|
211
211
|
message: z.ZodString;
|
|
212
212
|
is_access_code_error: z.ZodLiteral<true>;
|
|
213
213
|
created_at: z.ZodOptional<z.ZodString>;
|
|
214
|
-
}
|
|
214
|
+
} & {
|
|
215
215
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
216
|
-
}
|
|
216
|
+
}, "strip", z.ZodTypeAny, {
|
|
217
217
|
message: string;
|
|
218
218
|
error_code: "code_modified_external_to_seam";
|
|
219
219
|
is_access_code_error: true;
|
|
@@ -223,13 +223,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
223
223
|
error_code: "code_modified_external_to_seam";
|
|
224
224
|
is_access_code_error: true;
|
|
225
225
|
created_at?: string | undefined;
|
|
226
|
-
}>, z.ZodObject<
|
|
226
|
+
}>, z.ZodObject<{
|
|
227
227
|
message: z.ZodString;
|
|
228
228
|
is_access_code_error: z.ZodLiteral<true>;
|
|
229
229
|
created_at: z.ZodOptional<z.ZodString>;
|
|
230
|
-
}
|
|
230
|
+
} & {
|
|
231
231
|
error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
|
|
232
|
-
}
|
|
232
|
+
}, "strip", z.ZodTypeAny, {
|
|
233
233
|
message: string;
|
|
234
234
|
error_code: "august_lock_invalid_code_length";
|
|
235
235
|
is_access_code_error: true;
|
|
@@ -239,13 +239,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
239
239
|
error_code: "august_lock_invalid_code_length";
|
|
240
240
|
is_access_code_error: true;
|
|
241
241
|
created_at?: string | undefined;
|
|
242
|
-
}>, z.ZodObject<
|
|
242
|
+
}>, z.ZodObject<{
|
|
243
243
|
message: z.ZodString;
|
|
244
244
|
is_access_code_error: z.ZodLiteral<true>;
|
|
245
245
|
created_at: z.ZodOptional<z.ZodString>;
|
|
246
|
-
}
|
|
246
|
+
} & {
|
|
247
247
|
error_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
248
|
-
}
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
249
|
message: string;
|
|
250
250
|
error_code: "august_device_programming_delay";
|
|
251
251
|
is_access_code_error: true;
|
|
@@ -255,13 +255,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
255
255
|
error_code: "august_device_programming_delay";
|
|
256
256
|
is_access_code_error: true;
|
|
257
257
|
created_at?: string | undefined;
|
|
258
|
-
}>, z.ZodObject<
|
|
258
|
+
}>, z.ZodObject<{
|
|
259
259
|
message: z.ZodString;
|
|
260
260
|
is_access_code_error: z.ZodLiteral<true>;
|
|
261
261
|
created_at: z.ZodOptional<z.ZodString>;
|
|
262
|
-
}
|
|
262
|
+
} & {
|
|
263
263
|
error_code: z.ZodLiteral<"august_device_slots_full">;
|
|
264
|
-
}
|
|
264
|
+
}, "strip", z.ZodTypeAny, {
|
|
265
265
|
message: string;
|
|
266
266
|
error_code: "august_device_slots_full";
|
|
267
267
|
is_access_code_error: true;
|
|
@@ -271,13 +271,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
271
271
|
error_code: "august_device_slots_full";
|
|
272
272
|
is_access_code_error: true;
|
|
273
273
|
created_at?: string | undefined;
|
|
274
|
-
}>, z.ZodObject<
|
|
274
|
+
}>, z.ZodObject<{
|
|
275
275
|
message: z.ZodString;
|
|
276
276
|
is_access_code_error: z.ZodLiteral<true>;
|
|
277
277
|
created_at: z.ZodOptional<z.ZodString>;
|
|
278
|
-
}
|
|
278
|
+
} & {
|
|
279
279
|
error_code: z.ZodLiteral<"august_lock_missing_keypad">;
|
|
280
|
-
}
|
|
280
|
+
}, "strip", z.ZodTypeAny, {
|
|
281
281
|
message: string;
|
|
282
282
|
error_code: "august_lock_missing_keypad";
|
|
283
283
|
is_access_code_error: true;
|
|
@@ -287,13 +287,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
287
287
|
error_code: "august_lock_missing_keypad";
|
|
288
288
|
is_access_code_error: true;
|
|
289
289
|
created_at?: string | undefined;
|
|
290
|
-
}>, z.ZodObject<
|
|
290
|
+
}>, z.ZodObject<{
|
|
291
291
|
message: z.ZodString;
|
|
292
292
|
is_access_code_error: z.ZodLiteral<true>;
|
|
293
293
|
created_at: z.ZodOptional<z.ZodString>;
|
|
294
|
-
}
|
|
294
|
+
} & {
|
|
295
295
|
error_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
296
|
-
}
|
|
296
|
+
}, "strip", z.ZodTypeAny, {
|
|
297
297
|
message: string;
|
|
298
298
|
error_code: "august_lock_temporarily_offline";
|
|
299
299
|
is_access_code_error: true;
|
|
@@ -303,13 +303,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
303
303
|
error_code: "august_lock_temporarily_offline";
|
|
304
304
|
is_access_code_error: true;
|
|
305
305
|
created_at?: string | undefined;
|
|
306
|
-
}>, z.ZodObject<
|
|
306
|
+
}>, z.ZodObject<{
|
|
307
307
|
message: z.ZodString;
|
|
308
308
|
is_access_code_error: z.ZodLiteral<true>;
|
|
309
309
|
created_at: z.ZodOptional<z.ZodString>;
|
|
310
|
-
}
|
|
310
|
+
} & {
|
|
311
311
|
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
312
|
-
}
|
|
312
|
+
}, "strip", z.ZodTypeAny, {
|
|
313
313
|
message: string;
|
|
314
314
|
error_code: "salto_ks_user_not_subscribed";
|
|
315
315
|
is_access_code_error: true;
|
|
@@ -319,13 +319,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
319
319
|
error_code: "salto_ks_user_not_subscribed";
|
|
320
320
|
is_access_code_error: true;
|
|
321
321
|
created_at?: string | undefined;
|
|
322
|
-
}>, z.ZodObject<
|
|
322
|
+
}>, z.ZodObject<{
|
|
323
323
|
message: z.ZodString;
|
|
324
324
|
is_access_code_error: z.ZodLiteral<true>;
|
|
325
325
|
created_at: z.ZodOptional<z.ZodString>;
|
|
326
|
-
}
|
|
326
|
+
} & {
|
|
327
327
|
error_code: z.ZodLiteral<"hubitat_device_programming_delay">;
|
|
328
|
-
}
|
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
|
329
329
|
message: string;
|
|
330
330
|
error_code: "hubitat_device_programming_delay";
|
|
331
331
|
is_access_code_error: true;
|
|
@@ -335,13 +335,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
335
335
|
error_code: "hubitat_device_programming_delay";
|
|
336
336
|
is_access_code_error: true;
|
|
337
337
|
created_at?: string | undefined;
|
|
338
|
-
}>, z.ZodObject<
|
|
338
|
+
}>, z.ZodObject<{
|
|
339
339
|
message: z.ZodString;
|
|
340
340
|
is_access_code_error: z.ZodLiteral<true>;
|
|
341
341
|
created_at: z.ZodOptional<z.ZodString>;
|
|
342
|
-
}
|
|
342
|
+
} & {
|
|
343
343
|
error_code: z.ZodLiteral<"hubitat_no_free_positions_available">;
|
|
344
|
-
}
|
|
344
|
+
}, "strip", z.ZodTypeAny, {
|
|
345
345
|
message: string;
|
|
346
346
|
error_code: "hubitat_no_free_positions_available";
|
|
347
347
|
is_access_code_error: true;
|
|
@@ -351,13 +351,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
351
351
|
error_code: "hubitat_no_free_positions_available";
|
|
352
352
|
is_access_code_error: true;
|
|
353
353
|
created_at?: string | undefined;
|
|
354
|
-
}>, z.ZodObject<
|
|
354
|
+
}>, z.ZodObject<{
|
|
355
355
|
message: z.ZodString;
|
|
356
356
|
is_access_code_error: z.ZodLiteral<true>;
|
|
357
357
|
created_at: z.ZodOptional<z.ZodString>;
|
|
358
|
-
}
|
|
358
|
+
} & {
|
|
359
359
|
error_code: z.ZodLiteral<"wyze_duplicate_code_name">;
|
|
360
|
-
}
|
|
360
|
+
}, "strip", z.ZodTypeAny, {
|
|
361
361
|
message: string;
|
|
362
362
|
error_code: "wyze_duplicate_code_name";
|
|
363
363
|
is_access_code_error: true;
|
|
@@ -367,13 +367,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
367
367
|
error_code: "wyze_duplicate_code_name";
|
|
368
368
|
is_access_code_error: true;
|
|
369
369
|
created_at?: string | undefined;
|
|
370
|
-
}>, z.ZodObject<
|
|
370
|
+
}>, z.ZodObject<{
|
|
371
371
|
message: z.ZodString;
|
|
372
372
|
is_access_code_error: z.ZodLiteral<true>;
|
|
373
373
|
created_at: z.ZodOptional<z.ZodString>;
|
|
374
|
-
}
|
|
374
|
+
} & {
|
|
375
375
|
error_code: z.ZodLiteral<"wyze_potential_duplicate_code">;
|
|
376
|
-
}
|
|
376
|
+
}, "strip", z.ZodTypeAny, {
|
|
377
377
|
message: string;
|
|
378
378
|
error_code: "wyze_potential_duplicate_code";
|
|
379
379
|
is_access_code_error: true;
|
|
@@ -383,13 +383,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
383
383
|
error_code: "wyze_potential_duplicate_code";
|
|
384
384
|
is_access_code_error: true;
|
|
385
385
|
created_at?: string | undefined;
|
|
386
|
-
}>, z.ZodObject<
|
|
386
|
+
}>, z.ZodObject<{
|
|
387
387
|
message: z.ZodString;
|
|
388
388
|
is_access_code_error: z.ZodLiteral<true>;
|
|
389
389
|
created_at: z.ZodOptional<z.ZodString>;
|
|
390
|
-
}
|
|
390
|
+
} & {
|
|
391
391
|
error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
|
|
392
|
-
}
|
|
392
|
+
}, "strip", z.ZodTypeAny, {
|
|
393
393
|
message: string;
|
|
394
394
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
395
395
|
is_access_code_error: true;
|
|
@@ -402,13 +402,13 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
402
402
|
}>]>;
|
|
403
403
|
export type AccessCodeError = z.infer<typeof access_code_error>;
|
|
404
404
|
declare const access_code_error_map: z.ZodObject<{
|
|
405
|
-
smartthings_failed_to_set_access_code: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
405
|
+
smartthings_failed_to_set_access_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
406
406
|
message: z.ZodString;
|
|
407
407
|
is_access_code_error: z.ZodLiteral<true>;
|
|
408
408
|
created_at: z.ZodOptional<z.ZodString>;
|
|
409
|
-
}
|
|
409
|
+
} & {
|
|
410
410
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
411
|
-
}
|
|
411
|
+
}, "strip", z.ZodTypeAny, {
|
|
412
412
|
message: string;
|
|
413
413
|
error_code: "smartthings_failed_to_set_access_code";
|
|
414
414
|
is_access_code_error: true;
|
|
@@ -419,13 +419,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
419
419
|
is_access_code_error: true;
|
|
420
420
|
created_at?: string | undefined;
|
|
421
421
|
}>>>;
|
|
422
|
-
smartthings_failed_to_set_after_multiple_retries: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
422
|
+
smartthings_failed_to_set_after_multiple_retries: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
423
423
|
message: z.ZodString;
|
|
424
424
|
is_access_code_error: z.ZodLiteral<true>;
|
|
425
425
|
created_at: z.ZodOptional<z.ZodString>;
|
|
426
|
-
}
|
|
426
|
+
} & {
|
|
427
427
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
|
|
428
|
-
}
|
|
428
|
+
}, "strip", z.ZodTypeAny, {
|
|
429
429
|
message: string;
|
|
430
430
|
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
431
431
|
is_access_code_error: true;
|
|
@@ -436,13 +436,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
436
436
|
is_access_code_error: true;
|
|
437
437
|
created_at?: string | undefined;
|
|
438
438
|
}>>>;
|
|
439
|
-
smartthings_no_free_slots_available: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
439
|
+
smartthings_no_free_slots_available: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
440
440
|
message: z.ZodString;
|
|
441
441
|
is_access_code_error: z.ZodLiteral<true>;
|
|
442
442
|
created_at: z.ZodOptional<z.ZodString>;
|
|
443
|
-
}
|
|
443
|
+
} & {
|
|
444
444
|
error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
|
|
445
|
-
}
|
|
445
|
+
}, "strip", z.ZodTypeAny, {
|
|
446
446
|
message: string;
|
|
447
447
|
error_code: "smartthings_no_free_slots_available";
|
|
448
448
|
is_access_code_error: true;
|
|
@@ -453,13 +453,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
453
453
|
is_access_code_error: true;
|
|
454
454
|
created_at?: string | undefined;
|
|
455
455
|
}>>>;
|
|
456
|
-
failed_to_set_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
456
|
+
failed_to_set_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
457
457
|
message: z.ZodString;
|
|
458
458
|
is_access_code_error: z.ZodLiteral<true>;
|
|
459
459
|
created_at: z.ZodOptional<z.ZodString>;
|
|
460
|
-
}
|
|
460
|
+
} & {
|
|
461
461
|
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
462
|
-
}
|
|
462
|
+
}, "strip", z.ZodTypeAny, {
|
|
463
463
|
message: string;
|
|
464
464
|
error_code: "failed_to_set_on_device";
|
|
465
465
|
is_access_code_error: true;
|
|
@@ -470,13 +470,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
470
470
|
is_access_code_error: true;
|
|
471
471
|
created_at?: string | undefined;
|
|
472
472
|
}>>>;
|
|
473
|
-
failed_to_remove_from_device: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
473
|
+
failed_to_remove_from_device: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
474
474
|
message: z.ZodString;
|
|
475
475
|
is_access_code_error: z.ZodLiteral<true>;
|
|
476
476
|
created_at: z.ZodOptional<z.ZodString>;
|
|
477
|
-
}
|
|
477
|
+
} & {
|
|
478
478
|
error_code: z.ZodLiteral<"failed_to_remove_from_device">;
|
|
479
|
-
}
|
|
479
|
+
}, "strip", z.ZodTypeAny, {
|
|
480
480
|
message: string;
|
|
481
481
|
error_code: "failed_to_remove_from_device";
|
|
482
482
|
is_access_code_error: true;
|
|
@@ -487,13 +487,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
487
487
|
is_access_code_error: true;
|
|
488
488
|
created_at?: string | undefined;
|
|
489
489
|
}>>>;
|
|
490
|
-
no_space_for_access_code_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
490
|
+
no_space_for_access_code_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
491
491
|
message: z.ZodString;
|
|
492
492
|
is_access_code_error: z.ZodLiteral<true>;
|
|
493
493
|
created_at: z.ZodOptional<z.ZodString>;
|
|
494
|
-
}
|
|
494
|
+
} & {
|
|
495
495
|
error_code: z.ZodLiteral<"no_space_for_access_code_on_device">;
|
|
496
|
-
}
|
|
496
|
+
}, "strip", z.ZodTypeAny, {
|
|
497
497
|
message: string;
|
|
498
498
|
error_code: "no_space_for_access_code_on_device";
|
|
499
499
|
is_access_code_error: true;
|
|
@@ -504,13 +504,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
504
504
|
is_access_code_error: true;
|
|
505
505
|
created_at?: string | undefined;
|
|
506
506
|
}>>>;
|
|
507
|
-
duplicate_code_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
507
|
+
duplicate_code_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
508
508
|
message: z.ZodString;
|
|
509
509
|
is_access_code_error: z.ZodLiteral<true>;
|
|
510
510
|
created_at: z.ZodOptional<z.ZodString>;
|
|
511
|
-
}
|
|
511
|
+
} & {
|
|
512
512
|
error_code: z.ZodLiteral<"duplicate_code_on_device">;
|
|
513
|
-
}
|
|
513
|
+
}, "strip", z.ZodTypeAny, {
|
|
514
514
|
message: string;
|
|
515
515
|
error_code: "duplicate_code_on_device";
|
|
516
516
|
is_access_code_error: true;
|
|
@@ -521,13 +521,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
521
521
|
is_access_code_error: true;
|
|
522
522
|
created_at?: string | undefined;
|
|
523
523
|
}>>>;
|
|
524
|
-
duplicate_code_attempt_prevented: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
524
|
+
duplicate_code_attempt_prevented: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
525
525
|
message: z.ZodString;
|
|
526
526
|
is_access_code_error: z.ZodLiteral<true>;
|
|
527
527
|
created_at: z.ZodOptional<z.ZodString>;
|
|
528
|
-
}
|
|
528
|
+
} & {
|
|
529
529
|
error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
|
|
530
|
-
}
|
|
530
|
+
}, "strip", z.ZodTypeAny, {
|
|
531
531
|
message: string;
|
|
532
532
|
error_code: "duplicate_code_attempt_prevented";
|
|
533
533
|
is_access_code_error: true;
|
|
@@ -538,13 +538,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
538
538
|
is_access_code_error: true;
|
|
539
539
|
created_at?: string | undefined;
|
|
540
540
|
}>>>;
|
|
541
|
-
igloohome_bridge_too_many_pending_jobs: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
541
|
+
igloohome_bridge_too_many_pending_jobs: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
542
542
|
message: z.ZodString;
|
|
543
543
|
is_access_code_error: z.ZodLiteral<true>;
|
|
544
544
|
created_at: z.ZodOptional<z.ZodString>;
|
|
545
|
-
}
|
|
545
|
+
} & {
|
|
546
546
|
error_code: z.ZodLiteral<"igloohome_bridge_too_many_pending_jobs">;
|
|
547
|
-
}
|
|
547
|
+
}, "strip", z.ZodTypeAny, {
|
|
548
548
|
message: string;
|
|
549
549
|
error_code: "igloohome_bridge_too_many_pending_jobs";
|
|
550
550
|
is_access_code_error: true;
|
|
@@ -555,13 +555,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
555
555
|
is_access_code_error: true;
|
|
556
556
|
created_at?: string | undefined;
|
|
557
557
|
}>>>;
|
|
558
|
-
igloohome_bridge_offline: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
558
|
+
igloohome_bridge_offline: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
559
559
|
message: z.ZodString;
|
|
560
560
|
is_access_code_error: z.ZodLiteral<true>;
|
|
561
561
|
created_at: z.ZodOptional<z.ZodString>;
|
|
562
|
-
}
|
|
562
|
+
} & {
|
|
563
563
|
error_code: z.ZodLiteral<"igloohome_bridge_offline">;
|
|
564
|
-
}
|
|
564
|
+
}, "strip", z.ZodTypeAny, {
|
|
565
565
|
message: string;
|
|
566
566
|
error_code: "igloohome_bridge_offline";
|
|
567
567
|
is_access_code_error: true;
|
|
@@ -572,13 +572,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
572
572
|
is_access_code_error: true;
|
|
573
573
|
created_at?: string | undefined;
|
|
574
574
|
}>>>;
|
|
575
|
-
igloohome_offline_access_code_no_variance_available: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
575
|
+
igloohome_offline_access_code_no_variance_available: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
576
576
|
message: z.ZodString;
|
|
577
577
|
is_access_code_error: z.ZodLiteral<true>;
|
|
578
578
|
created_at: z.ZodOptional<z.ZodString>;
|
|
579
|
-
}
|
|
579
|
+
} & {
|
|
580
580
|
error_code: z.ZodLiteral<"igloohome_offline_access_code_no_variance_available">;
|
|
581
|
-
}
|
|
581
|
+
}, "strip", z.ZodTypeAny, {
|
|
582
582
|
message: string;
|
|
583
583
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
584
584
|
is_access_code_error: true;
|
|
@@ -589,13 +589,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
589
589
|
is_access_code_error: true;
|
|
590
590
|
created_at?: string | undefined;
|
|
591
591
|
}>>>;
|
|
592
|
-
kwikset_unable_to_confirm_code: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
592
|
+
kwikset_unable_to_confirm_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
593
593
|
message: z.ZodString;
|
|
594
594
|
is_access_code_error: z.ZodLiteral<true>;
|
|
595
595
|
created_at: z.ZodOptional<z.ZodString>;
|
|
596
|
-
}
|
|
596
|
+
} & {
|
|
597
597
|
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
598
|
-
}
|
|
598
|
+
}, "strip", z.ZodTypeAny, {
|
|
599
599
|
message: string;
|
|
600
600
|
error_code: "kwikset_unable_to_confirm_code";
|
|
601
601
|
is_access_code_error: true;
|
|
@@ -606,13 +606,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
606
606
|
is_access_code_error: true;
|
|
607
607
|
created_at?: string | undefined;
|
|
608
608
|
}>>>;
|
|
609
|
-
kwikset_unable_to_confirm_deletion: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
609
|
+
kwikset_unable_to_confirm_deletion: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
610
610
|
message: z.ZodString;
|
|
611
611
|
is_access_code_error: z.ZodLiteral<true>;
|
|
612
612
|
created_at: z.ZodOptional<z.ZodString>;
|
|
613
|
-
}
|
|
613
|
+
} & {
|
|
614
614
|
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
|
|
615
|
-
}
|
|
615
|
+
}, "strip", z.ZodTypeAny, {
|
|
616
616
|
message: string;
|
|
617
617
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
618
618
|
is_access_code_error: true;
|
|
@@ -623,13 +623,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
623
623
|
is_access_code_error: true;
|
|
624
624
|
created_at?: string | undefined;
|
|
625
625
|
}>>>;
|
|
626
|
-
code_modified_external_to_seam_error: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
626
|
+
code_modified_external_to_seam_error: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
627
627
|
message: z.ZodString;
|
|
628
628
|
is_access_code_error: z.ZodLiteral<true>;
|
|
629
629
|
created_at: z.ZodOptional<z.ZodString>;
|
|
630
|
-
}
|
|
630
|
+
} & {
|
|
631
631
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
632
|
-
}
|
|
632
|
+
}, "strip", z.ZodTypeAny, {
|
|
633
633
|
message: string;
|
|
634
634
|
error_code: "code_modified_external_to_seam";
|
|
635
635
|
is_access_code_error: true;
|
|
@@ -640,13 +640,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
640
640
|
is_access_code_error: true;
|
|
641
641
|
created_at?: string | undefined;
|
|
642
642
|
}>>>;
|
|
643
|
-
august_lock_invalid_code_length: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
643
|
+
august_lock_invalid_code_length: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
644
644
|
message: z.ZodString;
|
|
645
645
|
is_access_code_error: z.ZodLiteral<true>;
|
|
646
646
|
created_at: z.ZodOptional<z.ZodString>;
|
|
647
|
-
}
|
|
647
|
+
} & {
|
|
648
648
|
error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
|
|
649
|
-
}
|
|
649
|
+
}, "strip", z.ZodTypeAny, {
|
|
650
650
|
message: string;
|
|
651
651
|
error_code: "august_lock_invalid_code_length";
|
|
652
652
|
is_access_code_error: true;
|
|
@@ -657,13 +657,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
657
657
|
is_access_code_error: true;
|
|
658
658
|
created_at?: string | undefined;
|
|
659
659
|
}>>>;
|
|
660
|
-
august_device_programming_delay: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
660
|
+
august_device_programming_delay: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
661
661
|
message: z.ZodString;
|
|
662
662
|
is_access_code_error: z.ZodLiteral<true>;
|
|
663
663
|
created_at: z.ZodOptional<z.ZodString>;
|
|
664
|
-
}
|
|
664
|
+
} & {
|
|
665
665
|
error_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
666
|
-
}
|
|
666
|
+
}, "strip", z.ZodTypeAny, {
|
|
667
667
|
message: string;
|
|
668
668
|
error_code: "august_device_programming_delay";
|
|
669
669
|
is_access_code_error: true;
|
|
@@ -674,13 +674,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
674
674
|
is_access_code_error: true;
|
|
675
675
|
created_at?: string | undefined;
|
|
676
676
|
}>>>;
|
|
677
|
-
august_lock_temporarily_offline: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
677
|
+
august_lock_temporarily_offline: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
678
678
|
message: z.ZodString;
|
|
679
679
|
is_access_code_error: z.ZodLiteral<true>;
|
|
680
680
|
created_at: z.ZodOptional<z.ZodString>;
|
|
681
|
-
}
|
|
681
|
+
} & {
|
|
682
682
|
error_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
683
|
-
}
|
|
683
|
+
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
message: string;
|
|
685
685
|
error_code: "august_lock_temporarily_offline";
|
|
686
686
|
is_access_code_error: true;
|
|
@@ -691,13 +691,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
691
691
|
is_access_code_error: true;
|
|
692
692
|
created_at?: string | undefined;
|
|
693
693
|
}>>>;
|
|
694
|
-
august_device_slots_full: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
694
|
+
august_device_slots_full: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
695
695
|
message: z.ZodString;
|
|
696
696
|
is_access_code_error: z.ZodLiteral<true>;
|
|
697
697
|
created_at: z.ZodOptional<z.ZodString>;
|
|
698
|
-
}
|
|
698
|
+
} & {
|
|
699
699
|
error_code: z.ZodLiteral<"august_device_slots_full">;
|
|
700
|
-
}
|
|
700
|
+
}, "strip", z.ZodTypeAny, {
|
|
701
701
|
message: string;
|
|
702
702
|
error_code: "august_device_slots_full";
|
|
703
703
|
is_access_code_error: true;
|
|
@@ -708,13 +708,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
708
708
|
is_access_code_error: true;
|
|
709
709
|
created_at?: string | undefined;
|
|
710
710
|
}>>>;
|
|
711
|
-
august_lock_missing_keypad: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
711
|
+
august_lock_missing_keypad: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
712
712
|
message: z.ZodString;
|
|
713
713
|
is_access_code_error: z.ZodLiteral<true>;
|
|
714
714
|
created_at: z.ZodOptional<z.ZodString>;
|
|
715
|
-
}
|
|
715
|
+
} & {
|
|
716
716
|
error_code: z.ZodLiteral<"august_lock_missing_keypad">;
|
|
717
|
-
}
|
|
717
|
+
}, "strip", z.ZodTypeAny, {
|
|
718
718
|
message: string;
|
|
719
719
|
error_code: "august_lock_missing_keypad";
|
|
720
720
|
is_access_code_error: true;
|
|
@@ -725,13 +725,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
725
725
|
is_access_code_error: true;
|
|
726
726
|
created_at?: string | undefined;
|
|
727
727
|
}>>>;
|
|
728
|
-
salto_ks_user_not_subscribed: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
728
|
+
salto_ks_user_not_subscribed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
729
729
|
message: z.ZodString;
|
|
730
730
|
is_access_code_error: z.ZodLiteral<true>;
|
|
731
731
|
created_at: z.ZodOptional<z.ZodString>;
|
|
732
|
-
}
|
|
732
|
+
} & {
|
|
733
733
|
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
734
|
-
}
|
|
734
|
+
}, "strip", z.ZodTypeAny, {
|
|
735
735
|
message: string;
|
|
736
736
|
error_code: "salto_ks_user_not_subscribed";
|
|
737
737
|
is_access_code_error: true;
|
|
@@ -742,13 +742,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
742
742
|
is_access_code_error: true;
|
|
743
743
|
created_at?: string | undefined;
|
|
744
744
|
}>>>;
|
|
745
|
-
hubitat_device_programming_delay: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
745
|
+
hubitat_device_programming_delay: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
746
746
|
message: z.ZodString;
|
|
747
747
|
is_access_code_error: z.ZodLiteral<true>;
|
|
748
748
|
created_at: z.ZodOptional<z.ZodString>;
|
|
749
|
-
}
|
|
749
|
+
} & {
|
|
750
750
|
error_code: z.ZodLiteral<"hubitat_device_programming_delay">;
|
|
751
|
-
}
|
|
751
|
+
}, "strip", z.ZodTypeAny, {
|
|
752
752
|
message: string;
|
|
753
753
|
error_code: "hubitat_device_programming_delay";
|
|
754
754
|
is_access_code_error: true;
|
|
@@ -759,13 +759,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
759
759
|
is_access_code_error: true;
|
|
760
760
|
created_at?: string | undefined;
|
|
761
761
|
}>>>;
|
|
762
|
-
hubitat_no_free_positions_available: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
762
|
+
hubitat_no_free_positions_available: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
763
763
|
message: z.ZodString;
|
|
764
764
|
is_access_code_error: z.ZodLiteral<true>;
|
|
765
765
|
created_at: z.ZodOptional<z.ZodString>;
|
|
766
|
-
}
|
|
766
|
+
} & {
|
|
767
767
|
error_code: z.ZodLiteral<"hubitat_no_free_positions_available">;
|
|
768
|
-
}
|
|
768
|
+
}, "strip", z.ZodTypeAny, {
|
|
769
769
|
message: string;
|
|
770
770
|
error_code: "hubitat_no_free_positions_available";
|
|
771
771
|
is_access_code_error: true;
|
|
@@ -776,13 +776,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
776
776
|
is_access_code_error: true;
|
|
777
777
|
created_at?: string | undefined;
|
|
778
778
|
}>>>;
|
|
779
|
-
wyze_duplicate_code_name: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
779
|
+
wyze_duplicate_code_name: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
780
780
|
message: z.ZodString;
|
|
781
781
|
is_access_code_error: z.ZodLiteral<true>;
|
|
782
782
|
created_at: z.ZodOptional<z.ZodString>;
|
|
783
|
-
}
|
|
783
|
+
} & {
|
|
784
784
|
error_code: z.ZodLiteral<"wyze_duplicate_code_name">;
|
|
785
|
-
}
|
|
785
|
+
}, "strip", z.ZodTypeAny, {
|
|
786
786
|
message: string;
|
|
787
787
|
error_code: "wyze_duplicate_code_name";
|
|
788
788
|
is_access_code_error: true;
|
|
@@ -793,13 +793,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
793
793
|
is_access_code_error: true;
|
|
794
794
|
created_at?: string | undefined;
|
|
795
795
|
}>>>;
|
|
796
|
-
wyze_potential_duplicate_code: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
796
|
+
wyze_potential_duplicate_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
797
797
|
message: z.ZodString;
|
|
798
798
|
is_access_code_error: z.ZodLiteral<true>;
|
|
799
799
|
created_at: z.ZodOptional<z.ZodString>;
|
|
800
|
-
}
|
|
800
|
+
} & {
|
|
801
801
|
error_code: z.ZodLiteral<"wyze_potential_duplicate_code">;
|
|
802
|
-
}
|
|
802
|
+
}, "strip", z.ZodTypeAny, {
|
|
803
803
|
message: string;
|
|
804
804
|
error_code: "wyze_potential_duplicate_code";
|
|
805
805
|
is_access_code_error: true;
|
|
@@ -810,13 +810,13 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
810
810
|
is_access_code_error: true;
|
|
811
811
|
created_at?: string | undefined;
|
|
812
812
|
}>>>;
|
|
813
|
-
dormakaba_oracode_no_valid_user_level: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
813
|
+
dormakaba_oracode_no_valid_user_level: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
814
814
|
message: z.ZodString;
|
|
815
815
|
is_access_code_error: z.ZodLiteral<true>;
|
|
816
816
|
created_at: z.ZodOptional<z.ZodString>;
|
|
817
|
-
}
|
|
817
|
+
} & {
|
|
818
818
|
error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
|
|
819
|
-
}
|
|
819
|
+
}, "strip", z.ZodTypeAny, {
|
|
820
820
|
message: string;
|
|
821
821
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
822
822
|
is_access_code_error: true;
|
|
@@ -1131,12 +1131,12 @@ declare const access_code_error_map: z.ZodObject<{
|
|
|
1131
1131
|
} | null | undefined;
|
|
1132
1132
|
}>;
|
|
1133
1133
|
export type AccessCodeErrorMap = z.infer<typeof access_code_error_map>;
|
|
1134
|
-
declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<
|
|
1134
|
+
declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
1135
1135
|
message: z.ZodString;
|
|
1136
1136
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1137
|
-
}
|
|
1137
|
+
} & {
|
|
1138
1138
|
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
1139
|
-
}
|
|
1139
|
+
}, "strip", z.ZodTypeAny, {
|
|
1140
1140
|
message: string;
|
|
1141
1141
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
1142
1142
|
created_at?: string | undefined;
|
|
@@ -1144,12 +1144,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1144
1144
|
message: string;
|
|
1145
1145
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
1146
1146
|
created_at?: string | undefined;
|
|
1147
|
-
}>, z.ZodObject<
|
|
1147
|
+
}>, z.ZodObject<{
|
|
1148
1148
|
message: z.ZodString;
|
|
1149
1149
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1150
|
-
}
|
|
1150
|
+
} & {
|
|
1151
1151
|
warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
|
|
1152
|
-
}
|
|
1152
|
+
}, "strip", z.ZodTypeAny, {
|
|
1153
1153
|
message: string;
|
|
1154
1154
|
warning_code: "schlage_detected_duplicate";
|
|
1155
1155
|
created_at?: string | undefined;
|
|
@@ -1157,12 +1157,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1157
1157
|
message: string;
|
|
1158
1158
|
warning_code: "schlage_detected_duplicate";
|
|
1159
1159
|
created_at?: string | undefined;
|
|
1160
|
-
}>, z.ZodObject<
|
|
1160
|
+
}>, z.ZodObject<{
|
|
1161
1161
|
message: z.ZodString;
|
|
1162
1162
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1163
|
-
}
|
|
1163
|
+
} & {
|
|
1164
1164
|
warning_code: z.ZodLiteral<"schlage_creation_outage">;
|
|
1165
|
-
}
|
|
1165
|
+
}, "strip", z.ZodTypeAny, {
|
|
1166
1166
|
message: string;
|
|
1167
1167
|
warning_code: "schlage_creation_outage";
|
|
1168
1168
|
created_at?: string | undefined;
|
|
@@ -1170,12 +1170,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1170
1170
|
message: string;
|
|
1171
1171
|
warning_code: "schlage_creation_outage";
|
|
1172
1172
|
created_at?: string | undefined;
|
|
1173
|
-
}>, z.ZodObject<
|
|
1173
|
+
}>, z.ZodObject<{
|
|
1174
1174
|
message: z.ZodString;
|
|
1175
1175
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1176
|
-
}
|
|
1176
|
+
} & {
|
|
1177
1177
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
1178
|
-
}
|
|
1178
|
+
}, "strip", z.ZodTypeAny, {
|
|
1179
1179
|
message: string;
|
|
1180
1180
|
warning_code: "code_modified_external_to_seam";
|
|
1181
1181
|
created_at?: string | undefined;
|
|
@@ -1183,12 +1183,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1183
1183
|
message: string;
|
|
1184
1184
|
warning_code: "code_modified_external_to_seam";
|
|
1185
1185
|
created_at?: string | undefined;
|
|
1186
|
-
}>, z.ZodObject<
|
|
1186
|
+
}>, z.ZodObject<{
|
|
1187
1187
|
message: z.ZodString;
|
|
1188
1188
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1189
|
-
}
|
|
1189
|
+
} & {
|
|
1190
1190
|
warning_code: z.ZodLiteral<"delay_in_setting_on_device">;
|
|
1191
|
-
}
|
|
1191
|
+
}, "strip", z.ZodTypeAny, {
|
|
1192
1192
|
message: string;
|
|
1193
1193
|
warning_code: "delay_in_setting_on_device";
|
|
1194
1194
|
created_at?: string | undefined;
|
|
@@ -1196,12 +1196,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1196
1196
|
message: string;
|
|
1197
1197
|
warning_code: "delay_in_setting_on_device";
|
|
1198
1198
|
created_at?: string | undefined;
|
|
1199
|
-
}>, z.ZodObject<
|
|
1199
|
+
}>, z.ZodObject<{
|
|
1200
1200
|
message: z.ZodString;
|
|
1201
1201
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1202
|
-
}
|
|
1202
|
+
} & {
|
|
1203
1203
|
warning_code: z.ZodLiteral<"delay_in_removing_from_device">;
|
|
1204
|
-
}
|
|
1204
|
+
}, "strip", z.ZodTypeAny, {
|
|
1205
1205
|
message: string;
|
|
1206
1206
|
warning_code: "delay_in_removing_from_device";
|
|
1207
1207
|
created_at?: string | undefined;
|
|
@@ -1209,12 +1209,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1209
1209
|
message: string;
|
|
1210
1210
|
warning_code: "delay_in_removing_from_device";
|
|
1211
1211
|
created_at?: string | undefined;
|
|
1212
|
-
}>, z.ZodObject<
|
|
1212
|
+
}>, z.ZodObject<{
|
|
1213
1213
|
message: z.ZodString;
|
|
1214
1214
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1215
|
-
}
|
|
1215
|
+
} & {
|
|
1216
1216
|
warning_code: z.ZodLiteral<"third_party_integration_detected">;
|
|
1217
|
-
}
|
|
1217
|
+
}, "strip", z.ZodTypeAny, {
|
|
1218
1218
|
message: string;
|
|
1219
1219
|
warning_code: "third_party_integration_detected";
|
|
1220
1220
|
created_at?: string | undefined;
|
|
@@ -1222,12 +1222,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1222
1222
|
message: string;
|
|
1223
1223
|
warning_code: "third_party_integration_detected";
|
|
1224
1224
|
created_at?: string | undefined;
|
|
1225
|
-
}>, z.ZodObject<
|
|
1225
|
+
}>, z.ZodObject<{
|
|
1226
1226
|
message: z.ZodString;
|
|
1227
1227
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1228
|
-
}
|
|
1228
|
+
} & {
|
|
1229
1229
|
warning_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
1230
|
-
}
|
|
1230
|
+
}, "strip", z.ZodTypeAny, {
|
|
1231
1231
|
message: string;
|
|
1232
1232
|
warning_code: "august_device_programming_delay";
|
|
1233
1233
|
created_at?: string | undefined;
|
|
@@ -1235,12 +1235,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1235
1235
|
message: string;
|
|
1236
1236
|
warning_code: "august_device_programming_delay";
|
|
1237
1237
|
created_at?: string | undefined;
|
|
1238
|
-
}>, z.ZodObject<
|
|
1238
|
+
}>, z.ZodObject<{
|
|
1239
1239
|
message: z.ZodString;
|
|
1240
1240
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1241
|
-
}
|
|
1241
|
+
} & {
|
|
1242
1242
|
warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
1243
|
-
}
|
|
1243
|
+
}, "strip", z.ZodTypeAny, {
|
|
1244
1244
|
message: string;
|
|
1245
1245
|
warning_code: "august_lock_temporarily_offline";
|
|
1246
1246
|
created_at?: string | undefined;
|
|
@@ -1248,12 +1248,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1248
1248
|
message: string;
|
|
1249
1249
|
warning_code: "august_lock_temporarily_offline";
|
|
1250
1250
|
created_at?: string | undefined;
|
|
1251
|
-
}>, z.ZodObject<
|
|
1251
|
+
}>, z.ZodObject<{
|
|
1252
1252
|
message: z.ZodString;
|
|
1253
1253
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1254
|
-
}
|
|
1254
|
+
} & {
|
|
1255
1255
|
warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
|
|
1256
|
-
}
|
|
1256
|
+
}, "strip", z.ZodTypeAny, {
|
|
1257
1257
|
message: string;
|
|
1258
1258
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
1259
1259
|
created_at?: string | undefined;
|
|
@@ -1261,12 +1261,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1261
1261
|
message: string;
|
|
1262
1262
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
1263
1263
|
created_at?: string | undefined;
|
|
1264
|
-
}>, z.ZodObject<
|
|
1264
|
+
}>, z.ZodObject<{
|
|
1265
1265
|
message: z.ZodString;
|
|
1266
1266
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1267
|
-
}
|
|
1267
|
+
} & {
|
|
1268
1268
|
warning_code: z.ZodLiteral<"management_transferred">;
|
|
1269
|
-
}
|
|
1269
|
+
}, "strip", z.ZodTypeAny, {
|
|
1270
1270
|
message: string;
|
|
1271
1271
|
warning_code: "management_transferred";
|
|
1272
1272
|
created_at?: string | undefined;
|
|
@@ -1274,12 +1274,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1274
1274
|
message: string;
|
|
1275
1275
|
warning_code: "management_transferred";
|
|
1276
1276
|
created_at?: string | undefined;
|
|
1277
|
-
}>, z.ZodObject<
|
|
1277
|
+
}>, z.ZodObject<{
|
|
1278
1278
|
message: z.ZodString;
|
|
1279
1279
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1280
|
-
}
|
|
1280
|
+
} & {
|
|
1281
1281
|
warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
1282
|
-
}
|
|
1282
|
+
}, "strip", z.ZodTypeAny, {
|
|
1283
1283
|
message: string;
|
|
1284
1284
|
warning_code: "kwikset_unable_to_confirm_code";
|
|
1285
1285
|
created_at?: string | undefined;
|
|
@@ -1290,12 +1290,12 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1290
1290
|
}>]>;
|
|
1291
1291
|
export type AccessCodeWarning = z.infer<typeof access_code_warning>;
|
|
1292
1292
|
declare const access_code_warning_map: z.ZodObject<{
|
|
1293
|
-
smartthings_failed_to_set_access_code: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1293
|
+
smartthings_failed_to_set_access_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1294
1294
|
message: z.ZodString;
|
|
1295
1295
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1296
|
-
}
|
|
1296
|
+
} & {
|
|
1297
1297
|
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
1298
|
-
}
|
|
1298
|
+
}, "strip", z.ZodTypeAny, {
|
|
1299
1299
|
message: string;
|
|
1300
1300
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
1301
1301
|
created_at?: string | undefined;
|
|
@@ -1304,12 +1304,12 @@ declare const access_code_warning_map: z.ZodObject<{
|
|
|
1304
1304
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
1305
1305
|
created_at?: string | undefined;
|
|
1306
1306
|
}>>>;
|
|
1307
|
-
schlage_detected_duplicate: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1307
|
+
schlage_detected_duplicate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1308
1308
|
message: z.ZodString;
|
|
1309
1309
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1310
|
-
}
|
|
1310
|
+
} & {
|
|
1311
1311
|
warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
|
|
1312
|
-
}
|
|
1312
|
+
}, "strip", z.ZodTypeAny, {
|
|
1313
1313
|
message: string;
|
|
1314
1314
|
warning_code: "schlage_detected_duplicate";
|
|
1315
1315
|
created_at?: string | undefined;
|
|
@@ -1318,12 +1318,12 @@ declare const access_code_warning_map: z.ZodObject<{
|
|
|
1318
1318
|
warning_code: "schlage_detected_duplicate";
|
|
1319
1319
|
created_at?: string | undefined;
|
|
1320
1320
|
}>>>;
|
|
1321
|
-
schlage_creation_outage: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1321
|
+
schlage_creation_outage: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1322
1322
|
message: z.ZodString;
|
|
1323
1323
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1324
|
-
}
|
|
1324
|
+
} & {
|
|
1325
1325
|
warning_code: z.ZodLiteral<"schlage_creation_outage">;
|
|
1326
|
-
}
|
|
1326
|
+
}, "strip", z.ZodTypeAny, {
|
|
1327
1327
|
message: string;
|
|
1328
1328
|
warning_code: "schlage_creation_outage";
|
|
1329
1329
|
created_at?: string | undefined;
|
|
@@ -1332,12 +1332,12 @@ declare const access_code_warning_map: z.ZodObject<{
|
|
|
1332
1332
|
warning_code: "schlage_creation_outage";
|
|
1333
1333
|
created_at?: string | undefined;
|
|
1334
1334
|
}>>>;
|
|
1335
|
-
code_modified_external_to_seam_warning: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1335
|
+
code_modified_external_to_seam_warning: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1336
1336
|
message: z.ZodString;
|
|
1337
1337
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1338
|
-
}
|
|
1338
|
+
} & {
|
|
1339
1339
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
1340
|
-
}
|
|
1340
|
+
}, "strip", z.ZodTypeAny, {
|
|
1341
1341
|
message: string;
|
|
1342
1342
|
warning_code: "code_modified_external_to_seam";
|
|
1343
1343
|
created_at?: string | undefined;
|
|
@@ -1346,12 +1346,12 @@ declare const access_code_warning_map: z.ZodObject<{
|
|
|
1346
1346
|
warning_code: "code_modified_external_to_seam";
|
|
1347
1347
|
created_at?: string | undefined;
|
|
1348
1348
|
}>>>;
|
|
1349
|
-
delay_in_setting_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1349
|
+
delay_in_setting_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1350
1350
|
message: z.ZodString;
|
|
1351
1351
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1352
|
-
}
|
|
1352
|
+
} & {
|
|
1353
1353
|
warning_code: z.ZodLiteral<"delay_in_setting_on_device">;
|
|
1354
|
-
}
|
|
1354
|
+
}, "strip", z.ZodTypeAny, {
|
|
1355
1355
|
message: string;
|
|
1356
1356
|
warning_code: "delay_in_setting_on_device";
|
|
1357
1357
|
created_at?: string | undefined;
|
|
@@ -1360,12 +1360,12 @@ declare const access_code_warning_map: z.ZodObject<{
|
|
|
1360
1360
|
warning_code: "delay_in_setting_on_device";
|
|
1361
1361
|
created_at?: string | undefined;
|
|
1362
1362
|
}>>>;
|
|
1363
|
-
delay_in_removing_from_device: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1363
|
+
delay_in_removing_from_device: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1364
1364
|
message: z.ZodString;
|
|
1365
1365
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1366
|
-
}
|
|
1366
|
+
} & {
|
|
1367
1367
|
warning_code: z.ZodLiteral<"delay_in_removing_from_device">;
|
|
1368
|
-
}
|
|
1368
|
+
}, "strip", z.ZodTypeAny, {
|
|
1369
1369
|
message: string;
|
|
1370
1370
|
warning_code: "delay_in_removing_from_device";
|
|
1371
1371
|
created_at?: string | undefined;
|
|
@@ -1374,12 +1374,12 @@ declare const access_code_warning_map: z.ZodObject<{
|
|
|
1374
1374
|
warning_code: "delay_in_removing_from_device";
|
|
1375
1375
|
created_at?: string | undefined;
|
|
1376
1376
|
}>>>;
|
|
1377
|
-
third_party_integration_detected: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1377
|
+
third_party_integration_detected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1378
1378
|
message: z.ZodString;
|
|
1379
1379
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1380
|
-
}
|
|
1380
|
+
} & {
|
|
1381
1381
|
warning_code: z.ZodLiteral<"third_party_integration_detected">;
|
|
1382
|
-
}
|
|
1382
|
+
}, "strip", z.ZodTypeAny, {
|
|
1383
1383
|
message: string;
|
|
1384
1384
|
warning_code: "third_party_integration_detected";
|
|
1385
1385
|
created_at?: string | undefined;
|
|
@@ -1388,12 +1388,12 @@ declare const access_code_warning_map: z.ZodObject<{
|
|
|
1388
1388
|
warning_code: "third_party_integration_detected";
|
|
1389
1389
|
created_at?: string | undefined;
|
|
1390
1390
|
}>>>;
|
|
1391
|
-
august_device_programming_delay: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1391
|
+
august_device_programming_delay: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1392
1392
|
message: z.ZodString;
|
|
1393
1393
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1394
|
-
}
|
|
1394
|
+
} & {
|
|
1395
1395
|
warning_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
1396
|
-
}
|
|
1396
|
+
}, "strip", z.ZodTypeAny, {
|
|
1397
1397
|
message: string;
|
|
1398
1398
|
warning_code: "august_device_programming_delay";
|
|
1399
1399
|
created_at?: string | undefined;
|
|
@@ -1402,12 +1402,12 @@ declare const access_code_warning_map: z.ZodObject<{
|
|
|
1402
1402
|
warning_code: "august_device_programming_delay";
|
|
1403
1403
|
created_at?: string | undefined;
|
|
1404
1404
|
}>>>;
|
|
1405
|
-
august_lock_temporarily_offline: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1405
|
+
august_lock_temporarily_offline: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1406
1406
|
message: z.ZodString;
|
|
1407
1407
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1408
|
-
}
|
|
1408
|
+
} & {
|
|
1409
1409
|
warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
1410
|
-
}
|
|
1410
|
+
}, "strip", z.ZodTypeAny, {
|
|
1411
1411
|
message: string;
|
|
1412
1412
|
warning_code: "august_lock_temporarily_offline";
|
|
1413
1413
|
created_at?: string | undefined;
|
|
@@ -1416,12 +1416,12 @@ declare const access_code_warning_map: z.ZodObject<{
|
|
|
1416
1416
|
warning_code: "august_lock_temporarily_offline";
|
|
1417
1417
|
created_at?: string | undefined;
|
|
1418
1418
|
}>>>;
|
|
1419
|
-
igloo_algopin_must_be_used_within_24_hours: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1419
|
+
igloo_algopin_must_be_used_within_24_hours: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1420
1420
|
message: z.ZodString;
|
|
1421
1421
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1422
|
-
}
|
|
1422
|
+
} & {
|
|
1423
1423
|
warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
|
|
1424
|
-
}
|
|
1424
|
+
}, "strip", z.ZodTypeAny, {
|
|
1425
1425
|
message: string;
|
|
1426
1426
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
1427
1427
|
created_at?: string | undefined;
|
|
@@ -1430,12 +1430,12 @@ declare const access_code_warning_map: z.ZodObject<{
|
|
|
1430
1430
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
1431
1431
|
created_at?: string | undefined;
|
|
1432
1432
|
}>>>;
|
|
1433
|
-
management_transferred: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1433
|
+
management_transferred: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1434
1434
|
message: z.ZodString;
|
|
1435
1435
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1436
|
-
}
|
|
1436
|
+
} & {
|
|
1437
1437
|
warning_code: z.ZodLiteral<"management_transferred">;
|
|
1438
|
-
}
|
|
1438
|
+
}, "strip", z.ZodTypeAny, {
|
|
1439
1439
|
message: string;
|
|
1440
1440
|
warning_code: "management_transferred";
|
|
1441
1441
|
created_at?: string | undefined;
|
|
@@ -1444,12 +1444,12 @@ declare const access_code_warning_map: z.ZodObject<{
|
|
|
1444
1444
|
warning_code: "management_transferred";
|
|
1445
1445
|
created_at?: string | undefined;
|
|
1446
1446
|
}>>>;
|
|
1447
|
-
kwikset_unable_to_confirm_code_warning: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
1447
|
+
kwikset_unable_to_confirm_code_warning: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1448
1448
|
message: z.ZodString;
|
|
1449
1449
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1450
|
-
}
|
|
1450
|
+
} & {
|
|
1451
1451
|
warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
1452
|
-
}
|
|
1452
|
+
}, "strip", z.ZodTypeAny, {
|
|
1453
1453
|
message: string;
|
|
1454
1454
|
warning_code: "kwikset_unable_to_confirm_code";
|
|
1455
1455
|
created_at?: string | undefined;
|
|
@@ -1592,13 +1592,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1592
1592
|
name: z.ZodNullable<z.ZodString>;
|
|
1593
1593
|
code: z.ZodNullable<z.ZodString>;
|
|
1594
1594
|
created_at: z.ZodString;
|
|
1595
|
-
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<
|
|
1595
|
+
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
1596
1596
|
message: z.ZodString;
|
|
1597
1597
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1598
1598
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1599
|
-
}
|
|
1599
|
+
} & {
|
|
1600
1600
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
1601
|
-
}
|
|
1601
|
+
}, "strip", z.ZodTypeAny, {
|
|
1602
1602
|
message: string;
|
|
1603
1603
|
error_code: "smartthings_failed_to_set_access_code";
|
|
1604
1604
|
is_access_code_error: true;
|
|
@@ -1608,13 +1608,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1608
1608
|
error_code: "smartthings_failed_to_set_access_code";
|
|
1609
1609
|
is_access_code_error: true;
|
|
1610
1610
|
created_at?: string | undefined;
|
|
1611
|
-
}>, z.ZodObject<
|
|
1611
|
+
}>, z.ZodObject<{
|
|
1612
1612
|
message: z.ZodString;
|
|
1613
1613
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1614
1614
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1615
|
-
}
|
|
1615
|
+
} & {
|
|
1616
1616
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
|
|
1617
|
-
}
|
|
1617
|
+
}, "strip", z.ZodTypeAny, {
|
|
1618
1618
|
message: string;
|
|
1619
1619
|
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
1620
1620
|
is_access_code_error: true;
|
|
@@ -1624,13 +1624,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1624
1624
|
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
1625
1625
|
is_access_code_error: true;
|
|
1626
1626
|
created_at?: string | undefined;
|
|
1627
|
-
}>, z.ZodObject<
|
|
1627
|
+
}>, z.ZodObject<{
|
|
1628
1628
|
message: z.ZodString;
|
|
1629
1629
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1630
1630
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1631
|
-
}
|
|
1631
|
+
} & {
|
|
1632
1632
|
error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
|
|
1633
|
-
}
|
|
1633
|
+
}, "strip", z.ZodTypeAny, {
|
|
1634
1634
|
message: string;
|
|
1635
1635
|
error_code: "smartthings_no_free_slots_available";
|
|
1636
1636
|
is_access_code_error: true;
|
|
@@ -1640,13 +1640,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1640
1640
|
error_code: "smartthings_no_free_slots_available";
|
|
1641
1641
|
is_access_code_error: true;
|
|
1642
1642
|
created_at?: string | undefined;
|
|
1643
|
-
}>, z.ZodObject<
|
|
1643
|
+
}>, z.ZodObject<{
|
|
1644
1644
|
message: z.ZodString;
|
|
1645
1645
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1646
1646
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1647
|
-
}
|
|
1647
|
+
} & {
|
|
1648
1648
|
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
1649
|
-
}
|
|
1649
|
+
}, "strip", z.ZodTypeAny, {
|
|
1650
1650
|
message: string;
|
|
1651
1651
|
error_code: "failed_to_set_on_device";
|
|
1652
1652
|
is_access_code_error: true;
|
|
@@ -1656,13 +1656,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1656
1656
|
error_code: "failed_to_set_on_device";
|
|
1657
1657
|
is_access_code_error: true;
|
|
1658
1658
|
created_at?: string | undefined;
|
|
1659
|
-
}>, z.ZodObject<
|
|
1659
|
+
}>, z.ZodObject<{
|
|
1660
1660
|
message: z.ZodString;
|
|
1661
1661
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1662
1662
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1663
|
-
}
|
|
1663
|
+
} & {
|
|
1664
1664
|
error_code: z.ZodLiteral<"failed_to_remove_from_device">;
|
|
1665
|
-
}
|
|
1665
|
+
}, "strip", z.ZodTypeAny, {
|
|
1666
1666
|
message: string;
|
|
1667
1667
|
error_code: "failed_to_remove_from_device";
|
|
1668
1668
|
is_access_code_error: true;
|
|
@@ -1672,13 +1672,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1672
1672
|
error_code: "failed_to_remove_from_device";
|
|
1673
1673
|
is_access_code_error: true;
|
|
1674
1674
|
created_at?: string | undefined;
|
|
1675
|
-
}>, z.ZodObject<
|
|
1675
|
+
}>, z.ZodObject<{
|
|
1676
1676
|
message: z.ZodString;
|
|
1677
1677
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1678
1678
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1679
|
-
}
|
|
1679
|
+
} & {
|
|
1680
1680
|
error_code: z.ZodLiteral<"duplicate_code_on_device">;
|
|
1681
|
-
}
|
|
1681
|
+
}, "strip", z.ZodTypeAny, {
|
|
1682
1682
|
message: string;
|
|
1683
1683
|
error_code: "duplicate_code_on_device";
|
|
1684
1684
|
is_access_code_error: true;
|
|
@@ -1688,13 +1688,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1688
1688
|
error_code: "duplicate_code_on_device";
|
|
1689
1689
|
is_access_code_error: true;
|
|
1690
1690
|
created_at?: string | undefined;
|
|
1691
|
-
}>, z.ZodObject<
|
|
1691
|
+
}>, z.ZodObject<{
|
|
1692
1692
|
message: z.ZodString;
|
|
1693
1693
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1694
1694
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1695
|
-
}
|
|
1695
|
+
} & {
|
|
1696
1696
|
error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
|
|
1697
|
-
}
|
|
1697
|
+
}, "strip", z.ZodTypeAny, {
|
|
1698
1698
|
message: string;
|
|
1699
1699
|
error_code: "duplicate_code_attempt_prevented";
|
|
1700
1700
|
is_access_code_error: true;
|
|
@@ -1704,13 +1704,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1704
1704
|
error_code: "duplicate_code_attempt_prevented";
|
|
1705
1705
|
is_access_code_error: true;
|
|
1706
1706
|
created_at?: string | undefined;
|
|
1707
|
-
}>, z.ZodObject<
|
|
1707
|
+
}>, z.ZodObject<{
|
|
1708
1708
|
message: z.ZodString;
|
|
1709
1709
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1710
1710
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1711
|
-
}
|
|
1711
|
+
} & {
|
|
1712
1712
|
error_code: z.ZodLiteral<"no_space_for_access_code_on_device">;
|
|
1713
|
-
}
|
|
1713
|
+
}, "strip", z.ZodTypeAny, {
|
|
1714
1714
|
message: string;
|
|
1715
1715
|
error_code: "no_space_for_access_code_on_device";
|
|
1716
1716
|
is_access_code_error: true;
|
|
@@ -1720,13 +1720,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1720
1720
|
error_code: "no_space_for_access_code_on_device";
|
|
1721
1721
|
is_access_code_error: true;
|
|
1722
1722
|
created_at?: string | undefined;
|
|
1723
|
-
}>, z.ZodObject<
|
|
1723
|
+
}>, z.ZodObject<{
|
|
1724
1724
|
message: z.ZodString;
|
|
1725
1725
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1726
1726
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1727
|
-
}
|
|
1727
|
+
} & {
|
|
1728
1728
|
error_code: z.ZodLiteral<"igloohome_bridge_too_many_pending_jobs">;
|
|
1729
|
-
}
|
|
1729
|
+
}, "strip", z.ZodTypeAny, {
|
|
1730
1730
|
message: string;
|
|
1731
1731
|
error_code: "igloohome_bridge_too_many_pending_jobs";
|
|
1732
1732
|
is_access_code_error: true;
|
|
@@ -1736,13 +1736,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1736
1736
|
error_code: "igloohome_bridge_too_many_pending_jobs";
|
|
1737
1737
|
is_access_code_error: true;
|
|
1738
1738
|
created_at?: string | undefined;
|
|
1739
|
-
}>, z.ZodObject<
|
|
1739
|
+
}>, z.ZodObject<{
|
|
1740
1740
|
message: z.ZodString;
|
|
1741
1741
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1742
1742
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1743
|
-
}
|
|
1743
|
+
} & {
|
|
1744
1744
|
error_code: z.ZodLiteral<"igloohome_bridge_offline">;
|
|
1745
|
-
}
|
|
1745
|
+
}, "strip", z.ZodTypeAny, {
|
|
1746
1746
|
message: string;
|
|
1747
1747
|
error_code: "igloohome_bridge_offline";
|
|
1748
1748
|
is_access_code_error: true;
|
|
@@ -1752,13 +1752,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1752
1752
|
error_code: "igloohome_bridge_offline";
|
|
1753
1753
|
is_access_code_error: true;
|
|
1754
1754
|
created_at?: string | undefined;
|
|
1755
|
-
}>, z.ZodObject<
|
|
1755
|
+
}>, z.ZodObject<{
|
|
1756
1756
|
message: z.ZodString;
|
|
1757
1757
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1758
1758
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1759
|
-
}
|
|
1759
|
+
} & {
|
|
1760
1760
|
error_code: z.ZodLiteral<"igloohome_offline_access_code_no_variance_available">;
|
|
1761
|
-
}
|
|
1761
|
+
}, "strip", z.ZodTypeAny, {
|
|
1762
1762
|
message: string;
|
|
1763
1763
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
1764
1764
|
is_access_code_error: true;
|
|
@@ -1768,13 +1768,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1768
1768
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
1769
1769
|
is_access_code_error: true;
|
|
1770
1770
|
created_at?: string | undefined;
|
|
1771
|
-
}>, z.ZodObject<
|
|
1771
|
+
}>, z.ZodObject<{
|
|
1772
1772
|
message: z.ZodString;
|
|
1773
1773
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1774
1774
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1775
|
-
}
|
|
1775
|
+
} & {
|
|
1776
1776
|
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
1777
|
-
}
|
|
1777
|
+
}, "strip", z.ZodTypeAny, {
|
|
1778
1778
|
message: string;
|
|
1779
1779
|
error_code: "kwikset_unable_to_confirm_code";
|
|
1780
1780
|
is_access_code_error: true;
|
|
@@ -1784,13 +1784,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1784
1784
|
error_code: "kwikset_unable_to_confirm_code";
|
|
1785
1785
|
is_access_code_error: true;
|
|
1786
1786
|
created_at?: string | undefined;
|
|
1787
|
-
}>, z.ZodObject<
|
|
1787
|
+
}>, z.ZodObject<{
|
|
1788
1788
|
message: z.ZodString;
|
|
1789
1789
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1790
1790
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1791
|
-
}
|
|
1791
|
+
} & {
|
|
1792
1792
|
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
|
|
1793
|
-
}
|
|
1793
|
+
}, "strip", z.ZodTypeAny, {
|
|
1794
1794
|
message: string;
|
|
1795
1795
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
1796
1796
|
is_access_code_error: true;
|
|
@@ -1800,13 +1800,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1800
1800
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
1801
1801
|
is_access_code_error: true;
|
|
1802
1802
|
created_at?: string | undefined;
|
|
1803
|
-
}>, z.ZodObject<
|
|
1803
|
+
}>, z.ZodObject<{
|
|
1804
1804
|
message: z.ZodString;
|
|
1805
1805
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1806
1806
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1807
|
-
}
|
|
1807
|
+
} & {
|
|
1808
1808
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
1809
|
-
}
|
|
1809
|
+
}, "strip", z.ZodTypeAny, {
|
|
1810
1810
|
message: string;
|
|
1811
1811
|
error_code: "code_modified_external_to_seam";
|
|
1812
1812
|
is_access_code_error: true;
|
|
@@ -1816,13 +1816,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1816
1816
|
error_code: "code_modified_external_to_seam";
|
|
1817
1817
|
is_access_code_error: true;
|
|
1818
1818
|
created_at?: string | undefined;
|
|
1819
|
-
}>, z.ZodObject<
|
|
1819
|
+
}>, z.ZodObject<{
|
|
1820
1820
|
message: z.ZodString;
|
|
1821
1821
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1822
1822
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1823
|
-
}
|
|
1823
|
+
} & {
|
|
1824
1824
|
error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
|
|
1825
|
-
}
|
|
1825
|
+
}, "strip", z.ZodTypeAny, {
|
|
1826
1826
|
message: string;
|
|
1827
1827
|
error_code: "august_lock_invalid_code_length";
|
|
1828
1828
|
is_access_code_error: true;
|
|
@@ -1832,13 +1832,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1832
1832
|
error_code: "august_lock_invalid_code_length";
|
|
1833
1833
|
is_access_code_error: true;
|
|
1834
1834
|
created_at?: string | undefined;
|
|
1835
|
-
}>, z.ZodObject<
|
|
1835
|
+
}>, z.ZodObject<{
|
|
1836
1836
|
message: z.ZodString;
|
|
1837
1837
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1838
1838
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1839
|
-
}
|
|
1839
|
+
} & {
|
|
1840
1840
|
error_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
1841
|
-
}
|
|
1841
|
+
}, "strip", z.ZodTypeAny, {
|
|
1842
1842
|
message: string;
|
|
1843
1843
|
error_code: "august_device_programming_delay";
|
|
1844
1844
|
is_access_code_error: true;
|
|
@@ -1848,13 +1848,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1848
1848
|
error_code: "august_device_programming_delay";
|
|
1849
1849
|
is_access_code_error: true;
|
|
1850
1850
|
created_at?: string | undefined;
|
|
1851
|
-
}>, z.ZodObject<
|
|
1851
|
+
}>, z.ZodObject<{
|
|
1852
1852
|
message: z.ZodString;
|
|
1853
1853
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1854
1854
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1855
|
-
}
|
|
1855
|
+
} & {
|
|
1856
1856
|
error_code: z.ZodLiteral<"august_device_slots_full">;
|
|
1857
|
-
}
|
|
1857
|
+
}, "strip", z.ZodTypeAny, {
|
|
1858
1858
|
message: string;
|
|
1859
1859
|
error_code: "august_device_slots_full";
|
|
1860
1860
|
is_access_code_error: true;
|
|
@@ -1864,13 +1864,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1864
1864
|
error_code: "august_device_slots_full";
|
|
1865
1865
|
is_access_code_error: true;
|
|
1866
1866
|
created_at?: string | undefined;
|
|
1867
|
-
}>, z.ZodObject<
|
|
1867
|
+
}>, z.ZodObject<{
|
|
1868
1868
|
message: z.ZodString;
|
|
1869
1869
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1870
1870
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1871
|
-
}
|
|
1871
|
+
} & {
|
|
1872
1872
|
error_code: z.ZodLiteral<"august_lock_missing_keypad">;
|
|
1873
|
-
}
|
|
1873
|
+
}, "strip", z.ZodTypeAny, {
|
|
1874
1874
|
message: string;
|
|
1875
1875
|
error_code: "august_lock_missing_keypad";
|
|
1876
1876
|
is_access_code_error: true;
|
|
@@ -1880,13 +1880,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1880
1880
|
error_code: "august_lock_missing_keypad";
|
|
1881
1881
|
is_access_code_error: true;
|
|
1882
1882
|
created_at?: string | undefined;
|
|
1883
|
-
}>, z.ZodObject<
|
|
1883
|
+
}>, z.ZodObject<{
|
|
1884
1884
|
message: z.ZodString;
|
|
1885
1885
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1886
1886
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1887
|
-
}
|
|
1887
|
+
} & {
|
|
1888
1888
|
error_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
1889
|
-
}
|
|
1889
|
+
}, "strip", z.ZodTypeAny, {
|
|
1890
1890
|
message: string;
|
|
1891
1891
|
error_code: "august_lock_temporarily_offline";
|
|
1892
1892
|
is_access_code_error: true;
|
|
@@ -1896,13 +1896,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1896
1896
|
error_code: "august_lock_temporarily_offline";
|
|
1897
1897
|
is_access_code_error: true;
|
|
1898
1898
|
created_at?: string | undefined;
|
|
1899
|
-
}>, z.ZodObject<
|
|
1899
|
+
}>, z.ZodObject<{
|
|
1900
1900
|
message: z.ZodString;
|
|
1901
1901
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1902
1902
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1903
|
-
}
|
|
1903
|
+
} & {
|
|
1904
1904
|
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
1905
|
-
}
|
|
1905
|
+
}, "strip", z.ZodTypeAny, {
|
|
1906
1906
|
message: string;
|
|
1907
1907
|
error_code: "salto_ks_user_not_subscribed";
|
|
1908
1908
|
is_access_code_error: true;
|
|
@@ -1912,13 +1912,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1912
1912
|
error_code: "salto_ks_user_not_subscribed";
|
|
1913
1913
|
is_access_code_error: true;
|
|
1914
1914
|
created_at?: string | undefined;
|
|
1915
|
-
}>, z.ZodObject<
|
|
1915
|
+
}>, z.ZodObject<{
|
|
1916
1916
|
message: z.ZodString;
|
|
1917
1917
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1918
1918
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1919
|
-
}
|
|
1919
|
+
} & {
|
|
1920
1920
|
error_code: z.ZodLiteral<"hubitat_device_programming_delay">;
|
|
1921
|
-
}
|
|
1921
|
+
}, "strip", z.ZodTypeAny, {
|
|
1922
1922
|
message: string;
|
|
1923
1923
|
error_code: "hubitat_device_programming_delay";
|
|
1924
1924
|
is_access_code_error: true;
|
|
@@ -1928,13 +1928,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1928
1928
|
error_code: "hubitat_device_programming_delay";
|
|
1929
1929
|
is_access_code_error: true;
|
|
1930
1930
|
created_at?: string | undefined;
|
|
1931
|
-
}>, z.ZodObject<
|
|
1931
|
+
}>, z.ZodObject<{
|
|
1932
1932
|
message: z.ZodString;
|
|
1933
1933
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1934
1934
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1935
|
-
}
|
|
1935
|
+
} & {
|
|
1936
1936
|
error_code: z.ZodLiteral<"hubitat_no_free_positions_available">;
|
|
1937
|
-
}
|
|
1937
|
+
}, "strip", z.ZodTypeAny, {
|
|
1938
1938
|
message: string;
|
|
1939
1939
|
error_code: "hubitat_no_free_positions_available";
|
|
1940
1940
|
is_access_code_error: true;
|
|
@@ -1944,13 +1944,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1944
1944
|
error_code: "hubitat_no_free_positions_available";
|
|
1945
1945
|
is_access_code_error: true;
|
|
1946
1946
|
created_at?: string | undefined;
|
|
1947
|
-
}>, z.ZodObject<
|
|
1947
|
+
}>, z.ZodObject<{
|
|
1948
1948
|
message: z.ZodString;
|
|
1949
1949
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1950
1950
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1951
|
-
}
|
|
1951
|
+
} & {
|
|
1952
1952
|
error_code: z.ZodLiteral<"wyze_duplicate_code_name">;
|
|
1953
|
-
}
|
|
1953
|
+
}, "strip", z.ZodTypeAny, {
|
|
1954
1954
|
message: string;
|
|
1955
1955
|
error_code: "wyze_duplicate_code_name";
|
|
1956
1956
|
is_access_code_error: true;
|
|
@@ -1960,13 +1960,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1960
1960
|
error_code: "wyze_duplicate_code_name";
|
|
1961
1961
|
is_access_code_error: true;
|
|
1962
1962
|
created_at?: string | undefined;
|
|
1963
|
-
}>, z.ZodObject<
|
|
1963
|
+
}>, z.ZodObject<{
|
|
1964
1964
|
message: z.ZodString;
|
|
1965
1965
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1966
1966
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1967
|
-
}
|
|
1967
|
+
} & {
|
|
1968
1968
|
error_code: z.ZodLiteral<"wyze_potential_duplicate_code">;
|
|
1969
|
-
}
|
|
1969
|
+
}, "strip", z.ZodTypeAny, {
|
|
1970
1970
|
message: string;
|
|
1971
1971
|
error_code: "wyze_potential_duplicate_code";
|
|
1972
1972
|
is_access_code_error: true;
|
|
@@ -1976,13 +1976,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
1976
1976
|
error_code: "wyze_potential_duplicate_code";
|
|
1977
1977
|
is_access_code_error: true;
|
|
1978
1978
|
created_at?: string | undefined;
|
|
1979
|
-
}>, z.ZodObject<
|
|
1979
|
+
}>, z.ZodObject<{
|
|
1980
1980
|
message: z.ZodString;
|
|
1981
1981
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1982
1982
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1983
|
-
}
|
|
1983
|
+
} & {
|
|
1984
1984
|
error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
|
|
1985
|
-
}
|
|
1985
|
+
}, "strip", z.ZodTypeAny, {
|
|
1986
1986
|
message: string;
|
|
1987
1987
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
1988
1988
|
is_access_code_error: true;
|
|
@@ -1992,14 +1992,14 @@ export declare const access_code: z.ZodObject<{
|
|
|
1992
1992
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
1993
1993
|
is_access_code_error: true;
|
|
1994
1994
|
created_at?: string | undefined;
|
|
1995
|
-
}>, ...(z.ZodObject<
|
|
1995
|
+
}>, ...(z.ZodObject<{
|
|
1996
1996
|
created_at: z.ZodString;
|
|
1997
1997
|
message: z.ZodString;
|
|
1998
1998
|
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
1999
1999
|
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
2000
|
-
}
|
|
2000
|
+
} & {
|
|
2001
2001
|
error_code: z.ZodLiteral<"account_disconnected">;
|
|
2002
|
-
}
|
|
2002
|
+
}, "strip", z.ZodTypeAny, {
|
|
2003
2003
|
message: string;
|
|
2004
2004
|
created_at: string;
|
|
2005
2005
|
error_code: "account_disconnected";
|
|
@@ -2011,14 +2011,14 @@ export declare const access_code: z.ZodObject<{
|
|
|
2011
2011
|
error_code: "account_disconnected";
|
|
2012
2012
|
is_connected_account_error?: boolean | undefined;
|
|
2013
2013
|
is_bridge_error?: boolean | undefined;
|
|
2014
|
-
}> | z.ZodObject<
|
|
2014
|
+
}> | z.ZodObject<{
|
|
2015
2015
|
created_at: z.ZodString;
|
|
2016
2016
|
message: z.ZodString;
|
|
2017
2017
|
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
2018
2018
|
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
2019
|
-
}
|
|
2019
|
+
} & {
|
|
2020
2020
|
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
2021
|
-
}
|
|
2021
|
+
}, "strip", z.ZodTypeAny, {
|
|
2022
2022
|
message: string;
|
|
2023
2023
|
created_at: string;
|
|
2024
2024
|
error_code: "invalid_credentials";
|
|
@@ -2030,14 +2030,14 @@ export declare const access_code: z.ZodObject<{
|
|
|
2030
2030
|
error_code: "invalid_credentials";
|
|
2031
2031
|
is_connected_account_error?: boolean | undefined;
|
|
2032
2032
|
is_bridge_error?: boolean | undefined;
|
|
2033
|
-
}> | z.ZodObject<
|
|
2033
|
+
}> | z.ZodObject<{
|
|
2034
2034
|
created_at: z.ZodString;
|
|
2035
2035
|
message: z.ZodString;
|
|
2036
2036
|
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
2037
2037
|
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
2038
|
-
}
|
|
2038
|
+
} & {
|
|
2039
2039
|
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
2040
|
-
}
|
|
2040
|
+
}, "strip", z.ZodTypeAny, {
|
|
2041
2041
|
message: string;
|
|
2042
2042
|
created_at: string;
|
|
2043
2043
|
error_code: "bridge_disconnected";
|
|
@@ -2049,12 +2049,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2049
2049
|
error_code: "bridge_disconnected";
|
|
2050
2050
|
is_connected_account_error?: boolean | undefined;
|
|
2051
2051
|
is_bridge_error?: boolean | undefined;
|
|
2052
|
-
}> | z.ZodObject<
|
|
2052
|
+
}> | z.ZodObject<{
|
|
2053
2053
|
created_at: z.ZodString;
|
|
2054
2054
|
message: z.ZodString;
|
|
2055
2055
|
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
2056
2056
|
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
2057
|
-
}
|
|
2057
|
+
} & {
|
|
2058
2058
|
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
2059
2059
|
salto_ks_metadata: z.ZodObject<{
|
|
2060
2060
|
sites: z.ZodArray<z.ZodObject<{
|
|
@@ -2088,7 +2088,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
2088
2088
|
site_user_subscription_limit: number;
|
|
2089
2089
|
}[];
|
|
2090
2090
|
}>;
|
|
2091
|
-
}
|
|
2091
|
+
}, "strip", z.ZodTypeAny, {
|
|
2092
2092
|
message: string;
|
|
2093
2093
|
created_at: string;
|
|
2094
2094
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
@@ -2116,13 +2116,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2116
2116
|
};
|
|
2117
2117
|
is_connected_account_error?: boolean | undefined;
|
|
2118
2118
|
is_bridge_error?: boolean | undefined;
|
|
2119
|
-
}> | z.ZodObject<
|
|
2119
|
+
}> | z.ZodObject<{
|
|
2120
2120
|
message: z.ZodString;
|
|
2121
2121
|
is_device_error: z.ZodLiteral<true>;
|
|
2122
2122
|
created_at: z.ZodString;
|
|
2123
|
-
}
|
|
2123
|
+
} & {
|
|
2124
2124
|
error_code: z.ZodLiteral<"device_offline">;
|
|
2125
|
-
}
|
|
2125
|
+
}, "strip", z.ZodTypeAny, {
|
|
2126
2126
|
message: string;
|
|
2127
2127
|
created_at: string;
|
|
2128
2128
|
error_code: "device_offline";
|
|
@@ -2132,13 +2132,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2132
2132
|
created_at: string;
|
|
2133
2133
|
error_code: "device_offline";
|
|
2134
2134
|
is_device_error: true;
|
|
2135
|
-
}> | z.ZodObject<
|
|
2135
|
+
}> | z.ZodObject<{
|
|
2136
2136
|
message: z.ZodString;
|
|
2137
2137
|
is_device_error: z.ZodLiteral<true>;
|
|
2138
2138
|
created_at: z.ZodString;
|
|
2139
|
-
}
|
|
2139
|
+
} & {
|
|
2140
2140
|
error_code: z.ZodLiteral<"device_removed">;
|
|
2141
|
-
}
|
|
2141
|
+
}, "strip", z.ZodTypeAny, {
|
|
2142
2142
|
message: string;
|
|
2143
2143
|
created_at: string;
|
|
2144
2144
|
error_code: "device_removed";
|
|
@@ -2148,13 +2148,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2148
2148
|
created_at: string;
|
|
2149
2149
|
error_code: "device_removed";
|
|
2150
2150
|
is_device_error: true;
|
|
2151
|
-
}> | z.ZodObject<
|
|
2151
|
+
}> | z.ZodObject<{
|
|
2152
2152
|
message: z.ZodString;
|
|
2153
2153
|
is_device_error: z.ZodLiteral<true>;
|
|
2154
2154
|
created_at: z.ZodString;
|
|
2155
|
-
}
|
|
2155
|
+
} & {
|
|
2156
2156
|
error_code: z.ZodLiteral<"hub_disconnected">;
|
|
2157
|
-
}
|
|
2157
|
+
}, "strip", z.ZodTypeAny, {
|
|
2158
2158
|
message: string;
|
|
2159
2159
|
created_at: string;
|
|
2160
2160
|
error_code: "hub_disconnected";
|
|
@@ -2164,13 +2164,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2164
2164
|
created_at: string;
|
|
2165
2165
|
error_code: "hub_disconnected";
|
|
2166
2166
|
is_device_error: true;
|
|
2167
|
-
}> | z.ZodObject<
|
|
2167
|
+
}> | z.ZodObject<{
|
|
2168
2168
|
message: z.ZodString;
|
|
2169
2169
|
is_device_error: z.ZodLiteral<true>;
|
|
2170
2170
|
created_at: z.ZodString;
|
|
2171
|
-
}
|
|
2171
|
+
} & {
|
|
2172
2172
|
error_code: z.ZodLiteral<"device_disconnected">;
|
|
2173
|
-
}
|
|
2173
|
+
}, "strip", z.ZodTypeAny, {
|
|
2174
2174
|
message: string;
|
|
2175
2175
|
created_at: string;
|
|
2176
2176
|
error_code: "device_disconnected";
|
|
@@ -2180,15 +2180,14 @@ export declare const access_code: z.ZodObject<{
|
|
|
2180
2180
|
created_at: string;
|
|
2181
2181
|
error_code: "device_disconnected";
|
|
2182
2182
|
is_device_error: true;
|
|
2183
|
-
}> | z.ZodObject<
|
|
2183
|
+
}> | z.ZodObject<{
|
|
2184
2184
|
message: z.ZodString;
|
|
2185
|
-
is_device_error: z.ZodLiteral<true>;
|
|
2186
2185
|
created_at: z.ZodString;
|
|
2187
|
-
}
|
|
2186
|
+
} & {
|
|
2188
2187
|
error_code: z.ZodLiteral<"account_disconnected">;
|
|
2189
2188
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
2190
2189
|
is_device_error: z.ZodLiteral<false>;
|
|
2191
|
-
}
|
|
2190
|
+
}, "strip", z.ZodTypeAny, {
|
|
2192
2191
|
message: string;
|
|
2193
2192
|
created_at: string;
|
|
2194
2193
|
error_code: "account_disconnected";
|
|
@@ -2200,13 +2199,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2200
2199
|
error_code: "account_disconnected";
|
|
2201
2200
|
is_connected_account_error: true;
|
|
2202
2201
|
is_device_error: false;
|
|
2203
|
-
}> | z.ZodObject<
|
|
2202
|
+
}> | z.ZodObject<{
|
|
2204
2203
|
message: z.ZodString;
|
|
2205
2204
|
is_device_error: z.ZodLiteral<true>;
|
|
2206
2205
|
created_at: z.ZodString;
|
|
2207
|
-
}
|
|
2206
|
+
} & {
|
|
2208
2207
|
error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
|
|
2209
|
-
}
|
|
2208
|
+
}, "strip", z.ZodTypeAny, {
|
|
2210
2209
|
message: string;
|
|
2211
2210
|
created_at: string;
|
|
2212
2211
|
error_code: "empty_backup_access_code_pool";
|
|
@@ -2216,13 +2215,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2216
2215
|
created_at: string;
|
|
2217
2216
|
error_code: "empty_backup_access_code_pool";
|
|
2218
2217
|
is_device_error: true;
|
|
2219
|
-
}> | z.ZodObject<
|
|
2218
|
+
}> | z.ZodObject<{
|
|
2220
2219
|
message: z.ZodString;
|
|
2221
2220
|
is_device_error: z.ZodLiteral<true>;
|
|
2222
2221
|
created_at: z.ZodString;
|
|
2223
|
-
}
|
|
2222
|
+
} & {
|
|
2224
2223
|
error_code: z.ZodLiteral<"august_lock_not_authorized">;
|
|
2225
|
-
}
|
|
2224
|
+
}, "strip", z.ZodTypeAny, {
|
|
2226
2225
|
message: string;
|
|
2227
2226
|
created_at: string;
|
|
2228
2227
|
error_code: "august_lock_not_authorized";
|
|
@@ -2232,13 +2231,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2232
2231
|
created_at: string;
|
|
2233
2232
|
error_code: "august_lock_not_authorized";
|
|
2234
2233
|
is_device_error: true;
|
|
2235
|
-
}> | z.ZodObject<
|
|
2234
|
+
}> | z.ZodObject<{
|
|
2236
2235
|
message: z.ZodString;
|
|
2237
2236
|
is_device_error: z.ZodLiteral<true>;
|
|
2238
2237
|
created_at: z.ZodString;
|
|
2239
|
-
}
|
|
2238
|
+
} & {
|
|
2240
2239
|
error_code: z.ZodLiteral<"august_lock_missing_bridge">;
|
|
2241
|
-
}
|
|
2240
|
+
}, "strip", z.ZodTypeAny, {
|
|
2242
2241
|
message: string;
|
|
2243
2242
|
created_at: string;
|
|
2244
2243
|
error_code: "august_lock_missing_bridge";
|
|
@@ -2248,15 +2247,14 @@ export declare const access_code: z.ZodObject<{
|
|
|
2248
2247
|
created_at: string;
|
|
2249
2248
|
error_code: "august_lock_missing_bridge";
|
|
2250
2249
|
is_device_error: true;
|
|
2251
|
-
}> | z.ZodObject<
|
|
2250
|
+
}> | z.ZodObject<{
|
|
2252
2251
|
message: z.ZodString;
|
|
2253
|
-
is_device_error: z.ZodLiteral<true>;
|
|
2254
2252
|
created_at: z.ZodString;
|
|
2255
|
-
}
|
|
2253
|
+
} & {
|
|
2256
2254
|
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
2257
2255
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
2258
2256
|
is_device_error: z.ZodLiteral<false>;
|
|
2259
|
-
}
|
|
2257
|
+
}, "strip", z.ZodTypeAny, {
|
|
2260
2258
|
message: string;
|
|
2261
2259
|
created_at: string;
|
|
2262
2260
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
@@ -2268,13 +2266,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2268
2266
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
2269
2267
|
is_connected_account_error: true;
|
|
2270
2268
|
is_device_error: false;
|
|
2271
|
-
}> | z.ZodObject<
|
|
2269
|
+
}> | z.ZodObject<{
|
|
2272
2270
|
message: z.ZodString;
|
|
2273
2271
|
is_device_error: z.ZodLiteral<true>;
|
|
2274
2272
|
created_at: z.ZodString;
|
|
2275
|
-
}
|
|
2273
|
+
} & {
|
|
2276
2274
|
error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
|
|
2277
|
-
}
|
|
2275
|
+
}, "strip", z.ZodTypeAny, {
|
|
2278
2276
|
message: string;
|
|
2279
2277
|
created_at: string;
|
|
2280
2278
|
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
@@ -2284,13 +2282,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2284
2282
|
created_at: string;
|
|
2285
2283
|
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
2286
2284
|
is_device_error: true;
|
|
2287
|
-
}> | z.ZodObject<
|
|
2285
|
+
}> | z.ZodObject<{
|
|
2288
2286
|
message: z.ZodString;
|
|
2289
2287
|
is_device_error: z.ZodLiteral<true>;
|
|
2290
2288
|
created_at: z.ZodString;
|
|
2291
|
-
}
|
|
2289
|
+
} & {
|
|
2292
2290
|
error_code: z.ZodLiteral<"missing_device_credentials">;
|
|
2293
|
-
}
|
|
2291
|
+
}, "strip", z.ZodTypeAny, {
|
|
2294
2292
|
message: string;
|
|
2295
2293
|
created_at: string;
|
|
2296
2294
|
error_code: "missing_device_credentials";
|
|
@@ -2300,13 +2298,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2300
2298
|
created_at: string;
|
|
2301
2299
|
error_code: "missing_device_credentials";
|
|
2302
2300
|
is_device_error: true;
|
|
2303
|
-
}> | z.ZodObject<
|
|
2301
|
+
}> | z.ZodObject<{
|
|
2304
2302
|
message: z.ZodString;
|
|
2305
2303
|
is_device_error: z.ZodLiteral<true>;
|
|
2306
2304
|
created_at: z.ZodString;
|
|
2307
|
-
}
|
|
2305
|
+
} & {
|
|
2308
2306
|
error_code: z.ZodLiteral<"auxiliary_heat_running">;
|
|
2309
|
-
}
|
|
2307
|
+
}, "strip", z.ZodTypeAny, {
|
|
2310
2308
|
message: string;
|
|
2311
2309
|
created_at: string;
|
|
2312
2310
|
error_code: "auxiliary_heat_running";
|
|
@@ -2316,13 +2314,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2316
2314
|
created_at: string;
|
|
2317
2315
|
error_code: "auxiliary_heat_running";
|
|
2318
2316
|
is_device_error: true;
|
|
2319
|
-
}> | z.ZodObject<
|
|
2317
|
+
}> | z.ZodObject<{
|
|
2320
2318
|
message: z.ZodString;
|
|
2321
2319
|
is_device_error: z.ZodLiteral<true>;
|
|
2322
2320
|
created_at: z.ZodString;
|
|
2323
|
-
}
|
|
2321
|
+
} & {
|
|
2324
2322
|
error_code: z.ZodLiteral<"subscription_required">;
|
|
2325
|
-
}
|
|
2323
|
+
}, "strip", z.ZodTypeAny, {
|
|
2326
2324
|
message: string;
|
|
2327
2325
|
created_at: string;
|
|
2328
2326
|
error_code: "subscription_required";
|
|
@@ -2332,13 +2330,13 @@ export declare const access_code: z.ZodObject<{
|
|
|
2332
2330
|
created_at: string;
|
|
2333
2331
|
error_code: "subscription_required";
|
|
2334
2332
|
is_device_error: true;
|
|
2335
|
-
}> | z.ZodObject<
|
|
2333
|
+
}> | z.ZodObject<{
|
|
2336
2334
|
message: z.ZodString;
|
|
2337
2335
|
is_device_error: z.ZodLiteral<true>;
|
|
2338
2336
|
created_at: z.ZodString;
|
|
2339
|
-
}
|
|
2337
|
+
} & {
|
|
2340
2338
|
error_code: z.ZodLiteral<"lockly_missing_wifi_bridge">;
|
|
2341
|
-
}
|
|
2339
|
+
}, "strip", z.ZodTypeAny, {
|
|
2342
2340
|
message: string;
|
|
2343
2341
|
created_at: string;
|
|
2344
2342
|
error_code: "lockly_missing_wifi_bridge";
|
|
@@ -2349,12 +2347,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2349
2347
|
error_code: "lockly_missing_wifi_bridge";
|
|
2350
2348
|
is_device_error: true;
|
|
2351
2349
|
}>)[]]>, "many">;
|
|
2352
|
-
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<
|
|
2350
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
2353
2351
|
message: z.ZodString;
|
|
2354
2352
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2355
|
-
}
|
|
2353
|
+
} & {
|
|
2356
2354
|
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
2357
|
-
}
|
|
2355
|
+
}, "strip", z.ZodTypeAny, {
|
|
2358
2356
|
message: string;
|
|
2359
2357
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
2360
2358
|
created_at?: string | undefined;
|
|
@@ -2362,12 +2360,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2362
2360
|
message: string;
|
|
2363
2361
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
2364
2362
|
created_at?: string | undefined;
|
|
2365
|
-
}>, z.ZodObject<
|
|
2363
|
+
}>, z.ZodObject<{
|
|
2366
2364
|
message: z.ZodString;
|
|
2367
2365
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2368
|
-
}
|
|
2366
|
+
} & {
|
|
2369
2367
|
warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
|
|
2370
|
-
}
|
|
2368
|
+
}, "strip", z.ZodTypeAny, {
|
|
2371
2369
|
message: string;
|
|
2372
2370
|
warning_code: "schlage_detected_duplicate";
|
|
2373
2371
|
created_at?: string | undefined;
|
|
@@ -2375,12 +2373,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2375
2373
|
message: string;
|
|
2376
2374
|
warning_code: "schlage_detected_duplicate";
|
|
2377
2375
|
created_at?: string | undefined;
|
|
2378
|
-
}>, z.ZodObject<
|
|
2376
|
+
}>, z.ZodObject<{
|
|
2379
2377
|
message: z.ZodString;
|
|
2380
2378
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2381
|
-
}
|
|
2379
|
+
} & {
|
|
2382
2380
|
warning_code: z.ZodLiteral<"schlage_creation_outage">;
|
|
2383
|
-
}
|
|
2381
|
+
}, "strip", z.ZodTypeAny, {
|
|
2384
2382
|
message: string;
|
|
2385
2383
|
warning_code: "schlage_creation_outage";
|
|
2386
2384
|
created_at?: string | undefined;
|
|
@@ -2388,12 +2386,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2388
2386
|
message: string;
|
|
2389
2387
|
warning_code: "schlage_creation_outage";
|
|
2390
2388
|
created_at?: string | undefined;
|
|
2391
|
-
}>, z.ZodObject<
|
|
2389
|
+
}>, z.ZodObject<{
|
|
2392
2390
|
message: z.ZodString;
|
|
2393
2391
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2394
|
-
}
|
|
2392
|
+
} & {
|
|
2395
2393
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
2396
|
-
}
|
|
2394
|
+
}, "strip", z.ZodTypeAny, {
|
|
2397
2395
|
message: string;
|
|
2398
2396
|
warning_code: "code_modified_external_to_seam";
|
|
2399
2397
|
created_at?: string | undefined;
|
|
@@ -2401,12 +2399,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2401
2399
|
message: string;
|
|
2402
2400
|
warning_code: "code_modified_external_to_seam";
|
|
2403
2401
|
created_at?: string | undefined;
|
|
2404
|
-
}>, z.ZodObject<
|
|
2402
|
+
}>, z.ZodObject<{
|
|
2405
2403
|
message: z.ZodString;
|
|
2406
2404
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2407
|
-
}
|
|
2405
|
+
} & {
|
|
2408
2406
|
warning_code: z.ZodLiteral<"delay_in_setting_on_device">;
|
|
2409
|
-
}
|
|
2407
|
+
}, "strip", z.ZodTypeAny, {
|
|
2410
2408
|
message: string;
|
|
2411
2409
|
warning_code: "delay_in_setting_on_device";
|
|
2412
2410
|
created_at?: string | undefined;
|
|
@@ -2414,12 +2412,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2414
2412
|
message: string;
|
|
2415
2413
|
warning_code: "delay_in_setting_on_device";
|
|
2416
2414
|
created_at?: string | undefined;
|
|
2417
|
-
}>, z.ZodObject<
|
|
2415
|
+
}>, z.ZodObject<{
|
|
2418
2416
|
message: z.ZodString;
|
|
2419
2417
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2420
|
-
}
|
|
2418
|
+
} & {
|
|
2421
2419
|
warning_code: z.ZodLiteral<"delay_in_removing_from_device">;
|
|
2422
|
-
}
|
|
2420
|
+
}, "strip", z.ZodTypeAny, {
|
|
2423
2421
|
message: string;
|
|
2424
2422
|
warning_code: "delay_in_removing_from_device";
|
|
2425
2423
|
created_at?: string | undefined;
|
|
@@ -2427,12 +2425,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2427
2425
|
message: string;
|
|
2428
2426
|
warning_code: "delay_in_removing_from_device";
|
|
2429
2427
|
created_at?: string | undefined;
|
|
2430
|
-
}>, z.ZodObject<
|
|
2428
|
+
}>, z.ZodObject<{
|
|
2431
2429
|
message: z.ZodString;
|
|
2432
2430
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2433
|
-
}
|
|
2431
|
+
} & {
|
|
2434
2432
|
warning_code: z.ZodLiteral<"third_party_integration_detected">;
|
|
2435
|
-
}
|
|
2433
|
+
}, "strip", z.ZodTypeAny, {
|
|
2436
2434
|
message: string;
|
|
2437
2435
|
warning_code: "third_party_integration_detected";
|
|
2438
2436
|
created_at?: string | undefined;
|
|
@@ -2440,12 +2438,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2440
2438
|
message: string;
|
|
2441
2439
|
warning_code: "third_party_integration_detected";
|
|
2442
2440
|
created_at?: string | undefined;
|
|
2443
|
-
}>, z.ZodObject<
|
|
2441
|
+
}>, z.ZodObject<{
|
|
2444
2442
|
message: z.ZodString;
|
|
2445
2443
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2446
|
-
}
|
|
2444
|
+
} & {
|
|
2447
2445
|
warning_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
2448
|
-
}
|
|
2446
|
+
}, "strip", z.ZodTypeAny, {
|
|
2449
2447
|
message: string;
|
|
2450
2448
|
warning_code: "august_device_programming_delay";
|
|
2451
2449
|
created_at?: string | undefined;
|
|
@@ -2453,12 +2451,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2453
2451
|
message: string;
|
|
2454
2452
|
warning_code: "august_device_programming_delay";
|
|
2455
2453
|
created_at?: string | undefined;
|
|
2456
|
-
}>, z.ZodObject<
|
|
2454
|
+
}>, z.ZodObject<{
|
|
2457
2455
|
message: z.ZodString;
|
|
2458
2456
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2459
|
-
}
|
|
2457
|
+
} & {
|
|
2460
2458
|
warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
2461
|
-
}
|
|
2459
|
+
}, "strip", z.ZodTypeAny, {
|
|
2462
2460
|
message: string;
|
|
2463
2461
|
warning_code: "august_lock_temporarily_offline";
|
|
2464
2462
|
created_at?: string | undefined;
|
|
@@ -2466,12 +2464,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2466
2464
|
message: string;
|
|
2467
2465
|
warning_code: "august_lock_temporarily_offline";
|
|
2468
2466
|
created_at?: string | undefined;
|
|
2469
|
-
}>, z.ZodObject<
|
|
2467
|
+
}>, z.ZodObject<{
|
|
2470
2468
|
message: z.ZodString;
|
|
2471
2469
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2472
|
-
}
|
|
2470
|
+
} & {
|
|
2473
2471
|
warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
|
|
2474
|
-
}
|
|
2472
|
+
}, "strip", z.ZodTypeAny, {
|
|
2475
2473
|
message: string;
|
|
2476
2474
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
2477
2475
|
created_at?: string | undefined;
|
|
@@ -2479,12 +2477,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2479
2477
|
message: string;
|
|
2480
2478
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
2481
2479
|
created_at?: string | undefined;
|
|
2482
|
-
}>, z.ZodObject<
|
|
2480
|
+
}>, z.ZodObject<{
|
|
2483
2481
|
message: z.ZodString;
|
|
2484
2482
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2485
|
-
}
|
|
2483
|
+
} & {
|
|
2486
2484
|
warning_code: z.ZodLiteral<"management_transferred">;
|
|
2487
|
-
}
|
|
2485
|
+
}, "strip", z.ZodTypeAny, {
|
|
2488
2486
|
message: string;
|
|
2489
2487
|
warning_code: "management_transferred";
|
|
2490
2488
|
created_at?: string | undefined;
|
|
@@ -2492,12 +2490,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
2492
2490
|
message: string;
|
|
2493
2491
|
warning_code: "management_transferred";
|
|
2494
2492
|
created_at?: string | undefined;
|
|
2495
|
-
}>, z.ZodObject<
|
|
2493
|
+
}>, z.ZodObject<{
|
|
2496
2494
|
message: z.ZodString;
|
|
2497
2495
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2498
|
-
}
|
|
2496
|
+
} & {
|
|
2499
2497
|
warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
2500
|
-
}
|
|
2498
|
+
}, "strip", z.ZodTypeAny, {
|
|
2501
2499
|
message: string;
|
|
2502
2500
|
warning_code: "kwikset_unable_to_confirm_code";
|
|
2503
2501
|
created_at?: string | undefined;
|