@seamapi/types 1.801.0 → 1.802.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 +49 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +190 -0
- package/dist/index.cjs +49 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +58 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +9 -0
- 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 +21 -0
- package/lib/seam/connect/models/batch.d.ts +58 -0
- package/lib/seam/connect/openapi.js +42 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +77 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +50 -0
- package/src/lib/seam/connect/route-types.ts +88 -0
package/dist/connect.d.cts
CHANGED
|
@@ -396,6 +396,19 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
396
396
|
}>, z.ZodObject<{
|
|
397
397
|
message: z.ZodString;
|
|
398
398
|
created_at: z.ZodOptional<z.ZodString>;
|
|
399
|
+
} & {
|
|
400
|
+
warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
|
|
401
|
+
}, "strip", z.ZodTypeAny, {
|
|
402
|
+
message: string;
|
|
403
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
404
|
+
created_at?: string | undefined;
|
|
405
|
+
}, {
|
|
406
|
+
message: string;
|
|
407
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
408
|
+
created_at?: string | undefined;
|
|
409
|
+
}>, z.ZodObject<{
|
|
410
|
+
message: z.ZodString;
|
|
411
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
399
412
|
} & {
|
|
400
413
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
401
414
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1292,6 +1305,19 @@ declare const access_code: z.ZodObject<{
|
|
|
1292
1305
|
}>, z.ZodObject<{
|
|
1293
1306
|
message: z.ZodString;
|
|
1294
1307
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1308
|
+
} & {
|
|
1309
|
+
warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
|
|
1310
|
+
}, "strip", z.ZodTypeAny, {
|
|
1311
|
+
message: string;
|
|
1312
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
1313
|
+
created_at?: string | undefined;
|
|
1314
|
+
}, {
|
|
1315
|
+
message: string;
|
|
1316
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
1317
|
+
created_at?: string | undefined;
|
|
1318
|
+
}>, z.ZodObject<{
|
|
1319
|
+
message: z.ZodString;
|
|
1320
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1295
1321
|
} & {
|
|
1296
1322
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
1297
1323
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1895,6 +1921,10 @@ declare const access_code: z.ZodObject<{
|
|
|
1895
1921
|
message: string;
|
|
1896
1922
|
warning_code: "schlage_creation_outage";
|
|
1897
1923
|
created_at?: string | undefined;
|
|
1924
|
+
} | {
|
|
1925
|
+
message: string;
|
|
1926
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
1927
|
+
created_at?: string | undefined;
|
|
1898
1928
|
} | {
|
|
1899
1929
|
message: string;
|
|
1900
1930
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -2242,6 +2272,10 @@ declare const access_code: z.ZodObject<{
|
|
|
2242
2272
|
message: string;
|
|
2243
2273
|
warning_code: "schlage_creation_outage";
|
|
2244
2274
|
created_at?: string | undefined;
|
|
2275
|
+
} | {
|
|
2276
|
+
message: string;
|
|
2277
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
2278
|
+
created_at?: string | undefined;
|
|
2245
2279
|
} | {
|
|
2246
2280
|
message: string;
|
|
2247
2281
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -3090,6 +3124,19 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3090
3124
|
}>, z.ZodObject<{
|
|
3091
3125
|
message: z.ZodString;
|
|
3092
3126
|
created_at: z.ZodOptional<z.ZodString>;
|
|
3127
|
+
} & {
|
|
3128
|
+
warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
|
|
3129
|
+
}, "strip", z.ZodTypeAny, {
|
|
3130
|
+
message: string;
|
|
3131
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
3132
|
+
created_at?: string | undefined;
|
|
3133
|
+
}, {
|
|
3134
|
+
message: string;
|
|
3135
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
3136
|
+
created_at?: string | undefined;
|
|
3137
|
+
}>, z.ZodObject<{
|
|
3138
|
+
message: z.ZodString;
|
|
3139
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3093
3140
|
} & {
|
|
3094
3141
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
3095
3142
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3517,6 +3564,10 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3517
3564
|
message: string;
|
|
3518
3565
|
warning_code: "schlage_creation_outage";
|
|
3519
3566
|
created_at?: string | undefined;
|
|
3567
|
+
} | {
|
|
3568
|
+
message: string;
|
|
3569
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
3570
|
+
created_at?: string | undefined;
|
|
3520
3571
|
} | {
|
|
3521
3572
|
message: string;
|
|
3522
3573
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -3809,6 +3860,10 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3809
3860
|
message: string;
|
|
3810
3861
|
warning_code: "schlage_creation_outage";
|
|
3811
3862
|
created_at?: string | undefined;
|
|
3863
|
+
} | {
|
|
3864
|
+
message: string;
|
|
3865
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
3866
|
+
created_at?: string | undefined;
|
|
3812
3867
|
} | {
|
|
3813
3868
|
message: string;
|
|
3814
3869
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -35344,6 +35399,19 @@ declare const batch: z.ZodObject<{
|
|
|
35344
35399
|
}>, z.ZodObject<{
|
|
35345
35400
|
message: z.ZodString;
|
|
35346
35401
|
created_at: z.ZodOptional<z.ZodString>;
|
|
35402
|
+
} & {
|
|
35403
|
+
warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
|
|
35404
|
+
}, "strip", z.ZodTypeAny, {
|
|
35405
|
+
message: string;
|
|
35406
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
35407
|
+
created_at?: string | undefined;
|
|
35408
|
+
}, {
|
|
35409
|
+
message: string;
|
|
35410
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
35411
|
+
created_at?: string | undefined;
|
|
35412
|
+
}>, z.ZodObject<{
|
|
35413
|
+
message: z.ZodString;
|
|
35414
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
35347
35415
|
} & {
|
|
35348
35416
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
35349
35417
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -35947,6 +36015,10 @@ declare const batch: z.ZodObject<{
|
|
|
35947
36015
|
message: string;
|
|
35948
36016
|
warning_code: "schlage_creation_outage";
|
|
35949
36017
|
created_at?: string | undefined;
|
|
36018
|
+
} | {
|
|
36019
|
+
message: string;
|
|
36020
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
36021
|
+
created_at?: string | undefined;
|
|
35950
36022
|
} | {
|
|
35951
36023
|
message: string;
|
|
35952
36024
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -36294,6 +36366,10 @@ declare const batch: z.ZodObject<{
|
|
|
36294
36366
|
message: string;
|
|
36295
36367
|
warning_code: "schlage_creation_outage";
|
|
36296
36368
|
created_at?: string | undefined;
|
|
36369
|
+
} | {
|
|
36370
|
+
message: string;
|
|
36371
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
36372
|
+
created_at?: string | undefined;
|
|
36297
36373
|
} | {
|
|
36298
36374
|
message: string;
|
|
36299
36375
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -37140,6 +37216,19 @@ declare const batch: z.ZodObject<{
|
|
|
37140
37216
|
}>, z.ZodObject<{
|
|
37141
37217
|
message: z.ZodString;
|
|
37142
37218
|
created_at: z.ZodOptional<z.ZodString>;
|
|
37219
|
+
} & {
|
|
37220
|
+
warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
|
|
37221
|
+
}, "strip", z.ZodTypeAny, {
|
|
37222
|
+
message: string;
|
|
37223
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
37224
|
+
created_at?: string | undefined;
|
|
37225
|
+
}, {
|
|
37226
|
+
message: string;
|
|
37227
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
37228
|
+
created_at?: string | undefined;
|
|
37229
|
+
}>, z.ZodObject<{
|
|
37230
|
+
message: z.ZodString;
|
|
37231
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
37143
37232
|
} & {
|
|
37144
37233
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
37145
37234
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -37567,6 +37656,10 @@ declare const batch: z.ZodObject<{
|
|
|
37567
37656
|
message: string;
|
|
37568
37657
|
warning_code: "schlage_creation_outage";
|
|
37569
37658
|
created_at?: string | undefined;
|
|
37659
|
+
} | {
|
|
37660
|
+
message: string;
|
|
37661
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
37662
|
+
created_at?: string | undefined;
|
|
37570
37663
|
} | {
|
|
37571
37664
|
message: string;
|
|
37572
37665
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -37859,6 +37952,10 @@ declare const batch: z.ZodObject<{
|
|
|
37859
37952
|
message: string;
|
|
37860
37953
|
warning_code: "schlage_creation_outage";
|
|
37861
37954
|
created_at?: string | undefined;
|
|
37955
|
+
} | {
|
|
37956
|
+
message: string;
|
|
37957
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
37958
|
+
created_at?: string | undefined;
|
|
37862
37959
|
} | {
|
|
37863
37960
|
message: string;
|
|
37864
37961
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -42567,6 +42664,10 @@ declare const batch: z.ZodObject<{
|
|
|
42567
42664
|
message: string;
|
|
42568
42665
|
warning_code: "schlage_creation_outage";
|
|
42569
42666
|
created_at?: string | undefined;
|
|
42667
|
+
} | {
|
|
42668
|
+
message: string;
|
|
42669
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
42670
|
+
created_at?: string | undefined;
|
|
42570
42671
|
} | {
|
|
42571
42672
|
message: string;
|
|
42572
42673
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -42915,6 +43016,10 @@ declare const batch: z.ZodObject<{
|
|
|
42915
43016
|
message: string;
|
|
42916
43017
|
warning_code: "schlage_creation_outage";
|
|
42917
43018
|
created_at?: string | undefined;
|
|
43019
|
+
} | {
|
|
43020
|
+
message: string;
|
|
43021
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
43022
|
+
created_at?: string | undefined;
|
|
42918
43023
|
} | {
|
|
42919
43024
|
message: string;
|
|
42920
43025
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -47496,6 +47601,10 @@ declare const batch: z.ZodObject<{
|
|
|
47496
47601
|
message: string;
|
|
47497
47602
|
warning_code: "schlage_creation_outage";
|
|
47498
47603
|
created_at?: string | undefined;
|
|
47604
|
+
} | {
|
|
47605
|
+
message: string;
|
|
47606
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
47607
|
+
created_at?: string | undefined;
|
|
47499
47608
|
} | {
|
|
47500
47609
|
message: string;
|
|
47501
47610
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -47844,6 +47953,10 @@ declare const batch: z.ZodObject<{
|
|
|
47844
47953
|
message: string;
|
|
47845
47954
|
warning_code: "schlage_creation_outage";
|
|
47846
47955
|
created_at?: string | undefined;
|
|
47956
|
+
} | {
|
|
47957
|
+
message: string;
|
|
47958
|
+
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
47959
|
+
created_at?: string | undefined;
|
|
47847
47960
|
} | {
|
|
47848
47961
|
message: string;
|
|
47849
47962
|
warning_code: "delay_in_setting_on_device";
|
|
@@ -139232,6 +139345,13 @@ type Routes = {
|
|
|
139232
139345
|
created_at?: string | undefined;
|
|
139233
139346
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
139234
139347
|
warning_code: 'schlage_creation_outage';
|
|
139348
|
+
} | {
|
|
139349
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
139350
|
+
message: string;
|
|
139351
|
+
/** Date and time at which Seam created the warning. */
|
|
139352
|
+
created_at?: string | undefined;
|
|
139353
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
139354
|
+
warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
|
|
139235
139355
|
} | {
|
|
139236
139356
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
139237
139357
|
message: string;
|
|
@@ -139860,6 +139980,13 @@ type Routes = {
|
|
|
139860
139980
|
created_at?: string | undefined;
|
|
139861
139981
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
139862
139982
|
warning_code: 'schlage_creation_outage';
|
|
139983
|
+
} | {
|
|
139984
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
139985
|
+
message: string;
|
|
139986
|
+
/** Date and time at which Seam created the warning. */
|
|
139987
|
+
created_at?: string | undefined;
|
|
139988
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
139989
|
+
warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
|
|
139863
139990
|
} | {
|
|
139864
139991
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
139865
139992
|
message: string;
|
|
@@ -141836,6 +141963,13 @@ type Routes = {
|
|
|
141836
141963
|
created_at?: string | undefined;
|
|
141837
141964
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
141838
141965
|
warning_code: 'schlage_creation_outage';
|
|
141966
|
+
} | {
|
|
141967
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
141968
|
+
message: string;
|
|
141969
|
+
/** Date and time at which Seam created the warning. */
|
|
141970
|
+
created_at?: string | undefined;
|
|
141971
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
141972
|
+
warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
|
|
141839
141973
|
} | {
|
|
141840
141974
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
141841
141975
|
message: string;
|
|
@@ -142512,6 +142646,13 @@ type Routes = {
|
|
|
142512
142646
|
created_at?: string | undefined;
|
|
142513
142647
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
142514
142648
|
warning_code: 'schlage_creation_outage';
|
|
142649
|
+
} | {
|
|
142650
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
142651
|
+
message: string;
|
|
142652
|
+
/** Date and time at which Seam created the warning. */
|
|
142653
|
+
created_at?: string | undefined;
|
|
142654
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
142655
|
+
warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
|
|
142515
142656
|
} | {
|
|
142516
142657
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
142517
142658
|
message: string;
|
|
@@ -143131,6 +143272,13 @@ type Routes = {
|
|
|
143131
143272
|
created_at?: string | undefined;
|
|
143132
143273
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
143133
143274
|
warning_code: 'schlage_creation_outage';
|
|
143275
|
+
} | {
|
|
143276
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
143277
|
+
message: string;
|
|
143278
|
+
/** Date and time at which Seam created the warning. */
|
|
143279
|
+
created_at?: string | undefined;
|
|
143280
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
143281
|
+
warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
|
|
143134
143282
|
} | {
|
|
143135
143283
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
143136
143284
|
message: string;
|
|
@@ -143727,6 +143875,13 @@ type Routes = {
|
|
|
143727
143875
|
created_at?: string | undefined;
|
|
143728
143876
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
143729
143877
|
warning_code: 'schlage_creation_outage';
|
|
143878
|
+
} | {
|
|
143879
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
143880
|
+
message: string;
|
|
143881
|
+
/** Date and time at which Seam created the warning. */
|
|
143882
|
+
created_at?: string | undefined;
|
|
143883
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
143884
|
+
warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
|
|
143730
143885
|
} | {
|
|
143731
143886
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
143732
143887
|
message: string;
|
|
@@ -144358,6 +144513,13 @@ type Routes = {
|
|
|
144358
144513
|
created_at?: string | undefined;
|
|
144359
144514
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
144360
144515
|
warning_code: 'schlage_creation_outage';
|
|
144516
|
+
} | {
|
|
144517
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
144518
|
+
message: string;
|
|
144519
|
+
/** Date and time at which Seam created the warning. */
|
|
144520
|
+
created_at?: string | undefined;
|
|
144521
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
144522
|
+
warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
|
|
144361
144523
|
} | {
|
|
144362
144524
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
144363
144525
|
message: string;
|
|
@@ -146241,6 +146403,13 @@ type Routes = {
|
|
|
146241
146403
|
created_at?: string | undefined;
|
|
146242
146404
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
146243
146405
|
warning_code: 'schlage_creation_outage';
|
|
146406
|
+
} | {
|
|
146407
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
146408
|
+
message: string;
|
|
146409
|
+
/** Date and time at which Seam created the warning. */
|
|
146410
|
+
created_at?: string | undefined;
|
|
146411
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
146412
|
+
warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
|
|
146244
146413
|
} | {
|
|
146245
146414
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
146246
146415
|
message: string;
|
|
@@ -146754,6 +146923,13 @@ type Routes = {
|
|
|
146754
146923
|
created_at?: string | undefined;
|
|
146755
146924
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
146756
146925
|
warning_code: 'schlage_creation_outage';
|
|
146926
|
+
} | {
|
|
146927
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
146928
|
+
message: string;
|
|
146929
|
+
/** Date and time at which Seam created the warning. */
|
|
146930
|
+
created_at?: string | undefined;
|
|
146931
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
146932
|
+
warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
|
|
146757
146933
|
} | {
|
|
146758
146934
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
146759
146935
|
message: string;
|
|
@@ -237136,6 +237312,13 @@ type Routes = {
|
|
|
237136
237312
|
created_at?: string | undefined;
|
|
237137
237313
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
237138
237314
|
warning_code: 'schlage_creation_outage';
|
|
237315
|
+
} | {
|
|
237316
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
237317
|
+
message: string;
|
|
237318
|
+
/** Date and time at which Seam created the warning. */
|
|
237319
|
+
created_at?: string | undefined;
|
|
237320
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
237321
|
+
warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
|
|
237139
237322
|
} | {
|
|
237140
237323
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
237141
237324
|
message: string;
|
|
@@ -237633,6 +237816,13 @@ type Routes = {
|
|
|
237633
237816
|
created_at?: string | undefined;
|
|
237634
237817
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
237635
237818
|
warning_code: 'schlage_creation_outage';
|
|
237819
|
+
} | {
|
|
237820
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
237821
|
+
message: string;
|
|
237822
|
+
/** Date and time at which Seam created the warning. */
|
|
237823
|
+
created_at?: string | undefined;
|
|
237824
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
237825
|
+
warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
|
|
237636
237826
|
} | {
|
|
237637
237827
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
237638
237828
|
message: string;
|
package/dist/index.cjs
CHANGED
|
@@ -2382,6 +2382,11 @@ var schlage_detected_duplicate = common_access_code_warning.extend({
|
|
|
2382
2382
|
var schlage_creation_outage = common_access_code_warning.extend({
|
|
2383
2383
|
warning_code: zod.z.literal("schlage_creation_outage").describe(warning_code_description3)
|
|
2384
2384
|
}).describe("Received an error when attempting to create this code.");
|
|
2385
|
+
var schlage_access_code_ambiguous_timezone_dst_risk = common_access_code_warning.extend({
|
|
2386
|
+
warning_code: zod.z.literal("schlage_access_code_ambiguous_timezone_dst_risk").describe(warning_code_description3)
|
|
2387
|
+
}).describe(
|
|
2388
|
+
"The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling."
|
|
2389
|
+
);
|
|
2385
2390
|
var delay_in_setting_on_device = common_access_code_warning.extend({
|
|
2386
2391
|
warning_code: zod.z.literal("delay_in_setting_on_device").describe(warning_code_description3)
|
|
2387
2392
|
}).describe("Delay in setting code on device.");
|
|
@@ -2419,6 +2424,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
2419
2424
|
smartthings_failed_to_set_access_code_warning,
|
|
2420
2425
|
schlage_detected_duplicate,
|
|
2421
2426
|
schlage_creation_outage,
|
|
2427
|
+
schlage_access_code_ambiguous_timezone_dst_risk,
|
|
2422
2428
|
code_modified_external_to_seam_warning,
|
|
2423
2429
|
delay_in_setting_on_device,
|
|
2424
2430
|
delay_in_removing_from_device,
|
|
@@ -2438,6 +2444,7 @@ zod.z.object({
|
|
|
2438
2444
|
smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_warning.optional().nullable(),
|
|
2439
2445
|
schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
|
|
2440
2446
|
schlage_creation_outage: schlage_creation_outage.optional().nullable(),
|
|
2447
|
+
schlage_access_code_ambiguous_timezone_dst_risk: schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
|
|
2441
2448
|
code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
|
|
2442
2449
|
delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
|
|
2443
2450
|
delay_in_removing_from_device: delay_in_removing_from_device.optional().nullable(),
|
|
@@ -8343,6 +8350,27 @@ var openapi_default = {
|
|
|
8343
8350
|
required: ["message", "warning_code"],
|
|
8344
8351
|
type: "object"
|
|
8345
8352
|
},
|
|
8353
|
+
{
|
|
8354
|
+
description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
|
|
8355
|
+
properties: {
|
|
8356
|
+
created_at: {
|
|
8357
|
+
description: "Date and time at which Seam created the warning.",
|
|
8358
|
+
format: "date-time",
|
|
8359
|
+
type: "string"
|
|
8360
|
+
},
|
|
8361
|
+
message: {
|
|
8362
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
8363
|
+
type: "string"
|
|
8364
|
+
},
|
|
8365
|
+
warning_code: {
|
|
8366
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
8367
|
+
enum: ["schlage_access_code_ambiguous_timezone_dst_risk"],
|
|
8368
|
+
type: "string"
|
|
8369
|
+
}
|
|
8370
|
+
},
|
|
8371
|
+
required: ["message", "warning_code"],
|
|
8372
|
+
type: "object"
|
|
8373
|
+
},
|
|
8346
8374
|
{
|
|
8347
8375
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
8348
8376
|
properties: {
|
|
@@ -31439,6 +31467,27 @@ var openapi_default = {
|
|
|
31439
31467
|
required: ["message", "warning_code"],
|
|
31440
31468
|
type: "object"
|
|
31441
31469
|
},
|
|
31470
|
+
{
|
|
31471
|
+
description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
|
|
31472
|
+
properties: {
|
|
31473
|
+
created_at: {
|
|
31474
|
+
description: "Date and time at which Seam created the warning.",
|
|
31475
|
+
format: "date-time",
|
|
31476
|
+
type: "string"
|
|
31477
|
+
},
|
|
31478
|
+
message: {
|
|
31479
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
31480
|
+
type: "string"
|
|
31481
|
+
},
|
|
31482
|
+
warning_code: {
|
|
31483
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
31484
|
+
enum: ["schlage_access_code_ambiguous_timezone_dst_risk"],
|
|
31485
|
+
type: "string"
|
|
31486
|
+
}
|
|
31487
|
+
},
|
|
31488
|
+
required: ["message", "warning_code"],
|
|
31489
|
+
type: "object"
|
|
31490
|
+
},
|
|
31442
31491
|
{
|
|
31443
31492
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
31444
31493
|
properties: {
|