@seamapi/types 1.908.0 → 1.910.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 +36 -1010
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +33 -2497
- package/dist/index.cjs +36 -1010
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +97 -1168
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -229
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -391
- package/lib/seam/connect/models/customization-profiles/customization-profile.d.ts +4 -0
- package/lib/seam/connect/models/customization-profiles/customization-profile.js +5 -0
- package/lib/seam/connect/models/customization-profiles/customization-profile.js.map +1 -1
- package/lib/seam/connect/openapi.js +140 -948
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -1474
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -276
- package/src/lib/seam/connect/models/customization-profiles/customization-profile.ts +9 -0
- package/src/lib/seam/connect/openapi.ts +144 -1090
- package/src/lib/seam/connect/route-types.ts +45 -1650
|
@@ -28,38 +28,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
28
28
|
message: z.ZodString;
|
|
29
29
|
is_access_code_error: z.ZodLiteral<true>;
|
|
30
30
|
created_at: z.ZodOptional<z.ZodString>;
|
|
31
|
-
} & {
|
|
32
|
-
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
33
|
-
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
message: string;
|
|
35
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
36
|
-
is_access_code_error: true;
|
|
37
|
-
created_at?: string | undefined;
|
|
38
|
-
}, {
|
|
39
|
-
message: string;
|
|
40
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
41
|
-
is_access_code_error: true;
|
|
42
|
-
created_at?: string | undefined;
|
|
43
|
-
}>, z.ZodObject<{
|
|
44
|
-
message: z.ZodString;
|
|
45
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
46
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
47
|
-
} & {
|
|
48
|
-
error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
|
|
49
|
-
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
message: string;
|
|
51
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
52
|
-
is_access_code_error: true;
|
|
53
|
-
created_at?: string | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
message: string;
|
|
56
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
57
|
-
is_access_code_error: true;
|
|
58
|
-
created_at?: string | undefined;
|
|
59
|
-
}>, z.ZodObject<{
|
|
60
|
-
message: z.ZodString;
|
|
61
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
62
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
63
31
|
} & {
|
|
64
32
|
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
65
33
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -162,38 +130,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
162
130
|
message: z.ZodString;
|
|
163
131
|
is_access_code_error: z.ZodLiteral<true>;
|
|
164
132
|
created_at: z.ZodOptional<z.ZodString>;
|
|
165
|
-
} & {
|
|
166
|
-
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
167
|
-
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
message: string;
|
|
169
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
170
|
-
is_access_code_error: true;
|
|
171
|
-
created_at?: string | undefined;
|
|
172
|
-
}, {
|
|
173
|
-
message: string;
|
|
174
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
175
|
-
is_access_code_error: true;
|
|
176
|
-
created_at?: string | undefined;
|
|
177
|
-
}>, z.ZodObject<{
|
|
178
|
-
message: z.ZodString;
|
|
179
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
180
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
181
|
-
} & {
|
|
182
|
-
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
|
|
183
|
-
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
message: string;
|
|
185
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
186
|
-
is_access_code_error: true;
|
|
187
|
-
created_at?: string | undefined;
|
|
188
|
-
}, {
|
|
189
|
-
message: string;
|
|
190
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
191
|
-
is_access_code_error: true;
|
|
192
|
-
created_at?: string | undefined;
|
|
193
|
-
}>, z.ZodObject<{
|
|
194
|
-
message: z.ZodString;
|
|
195
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
196
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
197
133
|
} & {
|
|
198
134
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
199
135
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
@@ -236,54 +172,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
236
172
|
message: z.ZodString;
|
|
237
173
|
is_access_code_error: z.ZodLiteral<true>;
|
|
238
174
|
created_at: z.ZodOptional<z.ZodString>;
|
|
239
|
-
} & {
|
|
240
|
-
error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
|
|
241
|
-
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
message: string;
|
|
243
|
-
error_code: "august_lock_invalid_code_length";
|
|
244
|
-
is_access_code_error: true;
|
|
245
|
-
created_at?: string | undefined;
|
|
246
|
-
}, {
|
|
247
|
-
message: string;
|
|
248
|
-
error_code: "august_lock_invalid_code_length";
|
|
249
|
-
is_access_code_error: true;
|
|
250
|
-
created_at?: string | undefined;
|
|
251
|
-
}>, z.ZodObject<{
|
|
252
|
-
message: z.ZodString;
|
|
253
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
254
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
255
|
-
} & {
|
|
256
|
-
error_code: z.ZodLiteral<"august_lock_missing_keypad">;
|
|
257
|
-
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
message: string;
|
|
259
|
-
error_code: "august_lock_missing_keypad";
|
|
260
|
-
is_access_code_error: true;
|
|
261
|
-
created_at?: string | undefined;
|
|
262
|
-
}, {
|
|
263
|
-
message: string;
|
|
264
|
-
error_code: "august_lock_missing_keypad";
|
|
265
|
-
is_access_code_error: true;
|
|
266
|
-
created_at?: string | undefined;
|
|
267
|
-
}>, z.ZodObject<{
|
|
268
|
-
message: z.ZodString;
|
|
269
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
270
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
271
|
-
} & {
|
|
272
|
-
error_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
273
|
-
}, "strip", z.ZodTypeAny, {
|
|
274
|
-
message: string;
|
|
275
|
-
error_code: "august_lock_temporarily_offline";
|
|
276
|
-
is_access_code_error: true;
|
|
277
|
-
created_at?: string | undefined;
|
|
278
|
-
}, {
|
|
279
|
-
message: string;
|
|
280
|
-
error_code: "august_lock_temporarily_offline";
|
|
281
|
-
is_access_code_error: true;
|
|
282
|
-
created_at?: string | undefined;
|
|
283
|
-
}>, z.ZodObject<{
|
|
284
|
-
message: z.ZodString;
|
|
285
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
286
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
287
175
|
} & {
|
|
288
176
|
error_code: z.ZodLiteral<"access_code_inactive">;
|
|
289
177
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -316,54 +204,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
316
204
|
message: z.ZodString;
|
|
317
205
|
is_access_code_error: z.ZodLiteral<true>;
|
|
318
206
|
created_at: z.ZodOptional<z.ZodString>;
|
|
319
|
-
} & {
|
|
320
|
-
error_code: z.ZodLiteral<"wyze_duplicate_code_name">;
|
|
321
|
-
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
message: string;
|
|
323
|
-
error_code: "wyze_duplicate_code_name";
|
|
324
|
-
is_access_code_error: true;
|
|
325
|
-
created_at?: string | undefined;
|
|
326
|
-
}, {
|
|
327
|
-
message: string;
|
|
328
|
-
error_code: "wyze_duplicate_code_name";
|
|
329
|
-
is_access_code_error: true;
|
|
330
|
-
created_at?: string | undefined;
|
|
331
|
-
}>, z.ZodObject<{
|
|
332
|
-
message: z.ZodString;
|
|
333
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
334
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
335
|
-
} & {
|
|
336
|
-
error_code: z.ZodLiteral<"wyze_potential_duplicate_code">;
|
|
337
|
-
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
message: string;
|
|
339
|
-
error_code: "wyze_potential_duplicate_code";
|
|
340
|
-
is_access_code_error: true;
|
|
341
|
-
created_at?: string | undefined;
|
|
342
|
-
}, {
|
|
343
|
-
message: string;
|
|
344
|
-
error_code: "wyze_potential_duplicate_code";
|
|
345
|
-
is_access_code_error: true;
|
|
346
|
-
created_at?: string | undefined;
|
|
347
|
-
}>, z.ZodObject<{
|
|
348
|
-
message: z.ZodString;
|
|
349
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
350
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
351
|
-
} & {
|
|
352
|
-
error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
|
|
353
|
-
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
message: string;
|
|
355
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
356
|
-
is_access_code_error: true;
|
|
357
|
-
created_at?: string | undefined;
|
|
358
|
-
}, {
|
|
359
|
-
message: string;
|
|
360
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
361
|
-
is_access_code_error: true;
|
|
362
|
-
created_at?: string | undefined;
|
|
363
|
-
}>, z.ZodObject<{
|
|
364
|
-
message: z.ZodString;
|
|
365
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
366
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
367
207
|
} & {
|
|
368
208
|
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
369
209
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -380,22 +220,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
380
220
|
message: z.ZodString;
|
|
381
221
|
is_access_code_error: z.ZodLiteral<true>;
|
|
382
222
|
created_at: z.ZodOptional<z.ZodString>;
|
|
383
|
-
} & {
|
|
384
|
-
error_code: z.ZodLiteral<"keynest_unsupported_third_party_locker">;
|
|
385
|
-
}, "strip", z.ZodTypeAny, {
|
|
386
|
-
message: string;
|
|
387
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
388
|
-
is_access_code_error: true;
|
|
389
|
-
created_at?: string | undefined;
|
|
390
|
-
}, {
|
|
391
|
-
message: string;
|
|
392
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
393
|
-
is_access_code_error: true;
|
|
394
|
-
created_at?: string | undefined;
|
|
395
|
-
}>, z.ZodObject<{
|
|
396
|
-
message: z.ZodString;
|
|
397
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
398
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
399
223
|
} & {
|
|
400
224
|
error_code: z.ZodLiteral<"replaced_by_newer_access_code">;
|
|
401
225
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -779,19 +603,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
779
603
|
}>, z.ZodObject<{
|
|
780
604
|
message: z.ZodString;
|
|
781
605
|
created_at: z.ZodOptional<z.ZodString>;
|
|
782
|
-
} & {
|
|
783
|
-
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
784
|
-
}, "strip", z.ZodTypeAny, {
|
|
785
|
-
message: string;
|
|
786
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
787
|
-
created_at?: string | undefined;
|
|
788
|
-
}, {
|
|
789
|
-
message: string;
|
|
790
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
791
|
-
created_at?: string | undefined;
|
|
792
|
-
}>, z.ZodObject<{
|
|
793
|
-
message: z.ZodString;
|
|
794
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
795
606
|
} & {
|
|
796
607
|
warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
|
|
797
608
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -805,19 +616,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
805
616
|
}>, z.ZodObject<{
|
|
806
617
|
message: z.ZodString;
|
|
807
618
|
created_at: z.ZodOptional<z.ZodString>;
|
|
808
|
-
} & {
|
|
809
|
-
warning_code: z.ZodLiteral<"schlage_creation_outage">;
|
|
810
|
-
}, "strip", z.ZodTypeAny, {
|
|
811
|
-
message: string;
|
|
812
|
-
warning_code: "schlage_creation_outage";
|
|
813
|
-
created_at?: string | undefined;
|
|
814
|
-
}, {
|
|
815
|
-
message: string;
|
|
816
|
-
warning_code: "schlage_creation_outage";
|
|
817
|
-
created_at?: string | undefined;
|
|
818
|
-
}>, z.ZodObject<{
|
|
819
|
-
message: z.ZodString;
|
|
820
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
821
619
|
} & {
|
|
822
620
|
warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
|
|
823
621
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -909,19 +707,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
909
707
|
}>, z.ZodObject<{
|
|
910
708
|
message: z.ZodString;
|
|
911
709
|
created_at: z.ZodOptional<z.ZodString>;
|
|
912
|
-
} & {
|
|
913
|
-
warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
914
|
-
}, "strip", z.ZodTypeAny, {
|
|
915
|
-
message: string;
|
|
916
|
-
warning_code: "august_lock_temporarily_offline";
|
|
917
|
-
created_at?: string | undefined;
|
|
918
|
-
}, {
|
|
919
|
-
message: string;
|
|
920
|
-
warning_code: "august_lock_temporarily_offline";
|
|
921
|
-
created_at?: string | undefined;
|
|
922
|
-
}>, z.ZodObject<{
|
|
923
|
-
message: z.ZodString;
|
|
924
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
925
710
|
} & {
|
|
926
711
|
warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
|
|
927
712
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -948,19 +733,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
948
733
|
}>, z.ZodObject<{
|
|
949
734
|
message: z.ZodString;
|
|
950
735
|
created_at: z.ZodOptional<z.ZodString>;
|
|
951
|
-
} & {
|
|
952
|
-
warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
953
|
-
}, "strip", z.ZodTypeAny, {
|
|
954
|
-
message: string;
|
|
955
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
956
|
-
created_at?: string | undefined;
|
|
957
|
-
}, {
|
|
958
|
-
message: string;
|
|
959
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
960
|
-
created_at?: string | undefined;
|
|
961
|
-
}>, z.ZodObject<{
|
|
962
|
-
message: z.ZodString;
|
|
963
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
964
736
|
} & {
|
|
965
737
|
warning_code: z.ZodLiteral<"access_code_inactive">;
|
|
966
738
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -974,19 +746,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
974
746
|
}>, z.ZodObject<{
|
|
975
747
|
message: z.ZodString;
|
|
976
748
|
created_at: z.ZodOptional<z.ZodString>;
|
|
977
|
-
} & {
|
|
978
|
-
warning_code: z.ZodLiteral<"ultraloq_access_code_disabled">;
|
|
979
|
-
}, "strip", z.ZodTypeAny, {
|
|
980
|
-
message: string;
|
|
981
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
982
|
-
created_at?: string | undefined;
|
|
983
|
-
}, {
|
|
984
|
-
message: string;
|
|
985
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
986
|
-
created_at?: string | undefined;
|
|
987
|
-
}>, z.ZodObject<{
|
|
988
|
-
message: z.ZodString;
|
|
989
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
990
749
|
} & {
|
|
991
750
|
warning_code: z.ZodLiteral<"using_backup_access_code">;
|
|
992
751
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1162,16 +921,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1162
921
|
error_code: "provider_issue";
|
|
1163
922
|
is_access_code_error: true;
|
|
1164
923
|
created_at?: string | undefined;
|
|
1165
|
-
} | {
|
|
1166
|
-
message: string;
|
|
1167
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
1168
|
-
is_access_code_error: true;
|
|
1169
|
-
created_at?: string | undefined;
|
|
1170
|
-
} | {
|
|
1171
|
-
message: string;
|
|
1172
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
1173
|
-
is_access_code_error: true;
|
|
1174
|
-
created_at?: string | undefined;
|
|
1175
924
|
} | {
|
|
1176
925
|
message: string;
|
|
1177
926
|
error_code: "code_modified_external_to_seam";
|
|
@@ -1215,36 +964,11 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1215
964
|
error_code: "access_code_state_unconfirmed";
|
|
1216
965
|
is_access_code_error: true;
|
|
1217
966
|
created_at?: string | undefined;
|
|
1218
|
-
} | {
|
|
1219
|
-
message: string;
|
|
1220
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
1221
|
-
is_access_code_error: true;
|
|
1222
|
-
created_at?: string | undefined;
|
|
1223
|
-
} | {
|
|
1224
|
-
message: string;
|
|
1225
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
1226
|
-
is_access_code_error: true;
|
|
1227
|
-
created_at?: string | undefined;
|
|
1228
967
|
} | {
|
|
1229
968
|
message: string;
|
|
1230
969
|
error_code: "insufficient_permissions";
|
|
1231
970
|
is_access_code_error: true;
|
|
1232
971
|
created_at?: string | undefined;
|
|
1233
|
-
} | {
|
|
1234
|
-
message: string;
|
|
1235
|
-
error_code: "august_lock_invalid_code_length";
|
|
1236
|
-
is_access_code_error: true;
|
|
1237
|
-
created_at?: string | undefined;
|
|
1238
|
-
} | {
|
|
1239
|
-
message: string;
|
|
1240
|
-
error_code: "august_lock_temporarily_offline";
|
|
1241
|
-
is_access_code_error: true;
|
|
1242
|
-
created_at?: string | undefined;
|
|
1243
|
-
} | {
|
|
1244
|
-
message: string;
|
|
1245
|
-
error_code: "august_lock_missing_keypad";
|
|
1246
|
-
is_access_code_error: true;
|
|
1247
|
-
created_at?: string | undefined;
|
|
1248
972
|
} | {
|
|
1249
973
|
message: string;
|
|
1250
974
|
error_code: "access_code_inactive";
|
|
@@ -1255,26 +979,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1255
979
|
error_code: "salto_ks_user_not_subscribed";
|
|
1256
980
|
is_access_code_error: true;
|
|
1257
981
|
created_at?: string | undefined;
|
|
1258
|
-
} | {
|
|
1259
|
-
message: string;
|
|
1260
|
-
error_code: "wyze_duplicate_code_name";
|
|
1261
|
-
is_access_code_error: true;
|
|
1262
|
-
created_at?: string | undefined;
|
|
1263
|
-
} | {
|
|
1264
|
-
message: string;
|
|
1265
|
-
error_code: "wyze_potential_duplicate_code";
|
|
1266
|
-
is_access_code_error: true;
|
|
1267
|
-
created_at?: string | undefined;
|
|
1268
|
-
} | {
|
|
1269
|
-
message: string;
|
|
1270
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
1271
|
-
is_access_code_error: true;
|
|
1272
|
-
created_at?: string | undefined;
|
|
1273
|
-
} | {
|
|
1274
|
-
message: string;
|
|
1275
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
1276
|
-
is_access_code_error: true;
|
|
1277
|
-
created_at?: string | undefined;
|
|
1278
982
|
} | {
|
|
1279
983
|
message: string;
|
|
1280
984
|
error_code: "replaced_by_newer_access_code";
|
|
@@ -1282,14 +986,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1282
986
|
created_at?: string | undefined;
|
|
1283
987
|
})[];
|
|
1284
988
|
warnings: ({
|
|
1285
|
-
message: string;
|
|
1286
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
1287
|
-
created_at?: string | undefined;
|
|
1288
|
-
} | {
|
|
1289
|
-
message: string;
|
|
1290
|
-
warning_code: "august_lock_temporarily_offline";
|
|
1291
|
-
created_at?: string | undefined;
|
|
1292
|
-
} | {
|
|
1293
989
|
message: string;
|
|
1294
990
|
warning_code: "code_modified_external_to_seam";
|
|
1295
991
|
created_at?: string | undefined;
|
|
@@ -1307,10 +1003,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1307
1003
|
message: string;
|
|
1308
1004
|
warning_code: "provider_issue";
|
|
1309
1005
|
created_at?: string | undefined;
|
|
1310
|
-
} | {
|
|
1311
|
-
message: string;
|
|
1312
|
-
warning_code: "schlage_creation_outage";
|
|
1313
|
-
created_at?: string | undefined;
|
|
1314
1006
|
} | {
|
|
1315
1007
|
message: string;
|
|
1316
1008
|
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
@@ -1335,18 +1027,10 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1335
1027
|
message: string;
|
|
1336
1028
|
warning_code: "management_transferred";
|
|
1337
1029
|
created_at?: string | undefined;
|
|
1338
|
-
} | {
|
|
1339
|
-
message: string;
|
|
1340
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
1341
|
-
created_at?: string | undefined;
|
|
1342
1030
|
} | {
|
|
1343
1031
|
message: string;
|
|
1344
1032
|
warning_code: "access_code_inactive";
|
|
1345
1033
|
created_at?: string | undefined;
|
|
1346
|
-
} | {
|
|
1347
|
-
message: string;
|
|
1348
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
1349
|
-
created_at?: string | undefined;
|
|
1350
1034
|
} | {
|
|
1351
1035
|
message: string;
|
|
1352
1036
|
warning_code: "using_backup_access_code";
|
|
@@ -1489,16 +1173,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1489
1173
|
error_code: "provider_issue";
|
|
1490
1174
|
is_access_code_error: true;
|
|
1491
1175
|
created_at?: string | undefined;
|
|
1492
|
-
} | {
|
|
1493
|
-
message: string;
|
|
1494
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
1495
|
-
is_access_code_error: true;
|
|
1496
|
-
created_at?: string | undefined;
|
|
1497
|
-
} | {
|
|
1498
|
-
message: string;
|
|
1499
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
1500
|
-
is_access_code_error: true;
|
|
1501
|
-
created_at?: string | undefined;
|
|
1502
1176
|
} | {
|
|
1503
1177
|
message: string;
|
|
1504
1178
|
error_code: "code_modified_external_to_seam";
|
|
@@ -1542,36 +1216,11 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1542
1216
|
error_code: "access_code_state_unconfirmed";
|
|
1543
1217
|
is_access_code_error: true;
|
|
1544
1218
|
created_at?: string | undefined;
|
|
1545
|
-
} | {
|
|
1546
|
-
message: string;
|
|
1547
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
1548
|
-
is_access_code_error: true;
|
|
1549
|
-
created_at?: string | undefined;
|
|
1550
|
-
} | {
|
|
1551
|
-
message: string;
|
|
1552
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
1553
|
-
is_access_code_error: true;
|
|
1554
|
-
created_at?: string | undefined;
|
|
1555
1219
|
} | {
|
|
1556
1220
|
message: string;
|
|
1557
1221
|
error_code: "insufficient_permissions";
|
|
1558
1222
|
is_access_code_error: true;
|
|
1559
1223
|
created_at?: string | undefined;
|
|
1560
|
-
} | {
|
|
1561
|
-
message: string;
|
|
1562
|
-
error_code: "august_lock_invalid_code_length";
|
|
1563
|
-
is_access_code_error: true;
|
|
1564
|
-
created_at?: string | undefined;
|
|
1565
|
-
} | {
|
|
1566
|
-
message: string;
|
|
1567
|
-
error_code: "august_lock_temporarily_offline";
|
|
1568
|
-
is_access_code_error: true;
|
|
1569
|
-
created_at?: string | undefined;
|
|
1570
|
-
} | {
|
|
1571
|
-
message: string;
|
|
1572
|
-
error_code: "august_lock_missing_keypad";
|
|
1573
|
-
is_access_code_error: true;
|
|
1574
|
-
created_at?: string | undefined;
|
|
1575
1224
|
} | {
|
|
1576
1225
|
message: string;
|
|
1577
1226
|
error_code: "access_code_inactive";
|
|
@@ -1582,26 +1231,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1582
1231
|
error_code: "salto_ks_user_not_subscribed";
|
|
1583
1232
|
is_access_code_error: true;
|
|
1584
1233
|
created_at?: string | undefined;
|
|
1585
|
-
} | {
|
|
1586
|
-
message: string;
|
|
1587
|
-
error_code: "wyze_duplicate_code_name";
|
|
1588
|
-
is_access_code_error: true;
|
|
1589
|
-
created_at?: string | undefined;
|
|
1590
|
-
} | {
|
|
1591
|
-
message: string;
|
|
1592
|
-
error_code: "wyze_potential_duplicate_code";
|
|
1593
|
-
is_access_code_error: true;
|
|
1594
|
-
created_at?: string | undefined;
|
|
1595
|
-
} | {
|
|
1596
|
-
message: string;
|
|
1597
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
1598
|
-
is_access_code_error: true;
|
|
1599
|
-
created_at?: string | undefined;
|
|
1600
|
-
} | {
|
|
1601
|
-
message: string;
|
|
1602
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
1603
|
-
is_access_code_error: true;
|
|
1604
|
-
created_at?: string | undefined;
|
|
1605
1234
|
} | {
|
|
1606
1235
|
message: string;
|
|
1607
1236
|
error_code: "replaced_by_newer_access_code";
|
|
@@ -1609,14 +1238,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1609
1238
|
created_at?: string | undefined;
|
|
1610
1239
|
})[];
|
|
1611
1240
|
warnings: ({
|
|
1612
|
-
message: string;
|
|
1613
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
1614
|
-
created_at?: string | undefined;
|
|
1615
|
-
} | {
|
|
1616
|
-
message: string;
|
|
1617
|
-
warning_code: "august_lock_temporarily_offline";
|
|
1618
|
-
created_at?: string | undefined;
|
|
1619
|
-
} | {
|
|
1620
1241
|
message: string;
|
|
1621
1242
|
warning_code: "code_modified_external_to_seam";
|
|
1622
1243
|
created_at?: string | undefined;
|
|
@@ -1634,10 +1255,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1634
1255
|
message: string;
|
|
1635
1256
|
warning_code: "provider_issue";
|
|
1636
1257
|
created_at?: string | undefined;
|
|
1637
|
-
} | {
|
|
1638
|
-
message: string;
|
|
1639
|
-
warning_code: "schlage_creation_outage";
|
|
1640
|
-
created_at?: string | undefined;
|
|
1641
1258
|
} | {
|
|
1642
1259
|
message: string;
|
|
1643
1260
|
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
@@ -1662,18 +1279,10 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1662
1279
|
message: string;
|
|
1663
1280
|
warning_code: "management_transferred";
|
|
1664
1281
|
created_at?: string | undefined;
|
|
1665
|
-
} | {
|
|
1666
|
-
message: string;
|
|
1667
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
1668
|
-
created_at?: string | undefined;
|
|
1669
1282
|
} | {
|
|
1670
1283
|
message: string;
|
|
1671
1284
|
warning_code: "access_code_inactive";
|
|
1672
1285
|
created_at?: string | undefined;
|
|
1673
|
-
} | {
|
|
1674
|
-
message: string;
|
|
1675
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
1676
|
-
created_at?: string | undefined;
|
|
1677
1286
|
} | {
|
|
1678
1287
|
message: string;
|
|
1679
1288
|
warning_code: "using_backup_access_code";
|
|
@@ -21,6 +21,7 @@ export declare const customer_portal_theme: z.ZodObject<{
|
|
|
21
21
|
font_family?: string | undefined;
|
|
22
22
|
mono_font_family?: string | undefined;
|
|
23
23
|
}>;
|
|
24
|
+
export declare const message_overrides: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
24
25
|
export declare const customization_profile: z.ZodObject<{
|
|
25
26
|
workspace_id: z.ZodString;
|
|
26
27
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -51,6 +52,7 @@ export declare const customization_profile: z.ZodObject<{
|
|
|
51
52
|
font_family?: string | undefined;
|
|
52
53
|
mono_font_family?: string | undefined;
|
|
53
54
|
}>>;
|
|
55
|
+
message_overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
54
56
|
}, "strip", z.ZodTypeAny, {
|
|
55
57
|
name: string | null;
|
|
56
58
|
workspace_id: string;
|
|
@@ -67,6 +69,7 @@ export declare const customization_profile: z.ZodObject<{
|
|
|
67
69
|
font_family?: string | undefined;
|
|
68
70
|
mono_font_family?: string | undefined;
|
|
69
71
|
} | undefined;
|
|
72
|
+
message_overrides?: Record<string, Record<string, string>> | undefined;
|
|
70
73
|
}, {
|
|
71
74
|
name: string | null;
|
|
72
75
|
workspace_id: string;
|
|
@@ -83,5 +86,6 @@ export declare const customization_profile: z.ZodObject<{
|
|
|
83
86
|
font_family?: string | undefined;
|
|
84
87
|
mono_font_family?: string | undefined;
|
|
85
88
|
} | undefined;
|
|
89
|
+
message_overrides?: Record<string, Record<string, string>> | undefined;
|
|
86
90
|
}>;
|
|
87
91
|
export type CustomizationProfile = z.infer<typeof customization_profile>;
|
|
@@ -8,6 +8,10 @@ export const customer_portal_theme = z.object({
|
|
|
8
8
|
font_family: z.string().optional(),
|
|
9
9
|
mono_font_family: z.string().optional(),
|
|
10
10
|
});
|
|
11
|
+
// Per-locale portal label/terminology overrides:
|
|
12
|
+
// { [locale]: { ["Namespace.key"]: "Override string" } }
|
|
13
|
+
// e.g. { "en-US": { "Reservations.reservation": "Booking" } }
|
|
14
|
+
export const message_overrides = z.record(z.string(), z.record(z.string(), z.string()));
|
|
11
15
|
export const customization_profile = z.object({
|
|
12
16
|
workspace_id: z.string().uuid(),
|
|
13
17
|
name: z.string().nullable(),
|
|
@@ -17,6 +21,7 @@ export const customization_profile = z.object({
|
|
|
17
21
|
primary_color: z.string().optional(),
|
|
18
22
|
secondary_color: z.string().optional(),
|
|
19
23
|
customer_portal_theme: customer_portal_theme.optional(),
|
|
24
|
+
message_overrides: message_overrides.optional(),
|
|
20
25
|
}).describe(`
|
|
21
26
|
---
|
|
22
27
|
title: Customization Profile
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customization-profile.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customization-profiles/customization-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,cAAc,CAAC,QAAQ,EAAE;IACxC,wBAAwB,EAAE,cAAc,CAAC,QAAQ,EAAE;IACnD,eAAe,EAAE,cAAc,CAAC,QAAQ,EAAE;IAC1C,0BAA0B,EAAE,cAAc,CAAC,QAAQ,EAAE;IACrD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,qBAAqB,EAAE,qBAAqB,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"customization-profile.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customization-profiles/customization-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,cAAc,CAAC,QAAQ,EAAE;IACxC,wBAAwB,EAAE,cAAc,CAAC,QAAQ,EAAE;IACnD,eAAe,EAAE,cAAc,CAAC,QAAQ,EAAE;IAC1C,0BAA0B,EAAE,cAAc,CAAC,QAAQ,EAAE;IACrD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAA;AAEF,iDAAiD;AACjD,yDAAyD;AACzD,8DAA8D;AAC9D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CACvC,CAAC,CAAC,MAAM,EAAE,EACV,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CACjC,CAAA;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,qBAAqB,EAAE,qBAAqB,CAAC,QAAQ,EAAE;IACvD,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC,QAAQ,CAAC;;;;;;;CAOX,CAAC,CAAA"}
|