Skip to content

Commit 6f546c6

Browse files
authored
feat: Sync with Seam API via 1e196736c08d0e73eb17ca7fd8d42307540805ed (#2611)
1 parent 90fad63 commit 6f546c6

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

src/lib/seam/connect/models/devices/capability-properties/access-code.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ export const access_code_code_constraint = z
1010
'cannot_specify_pin_code', // Dormakaba?
1111
'pin_code_matches_existing_set', // Salto
1212
'start_date_in_future', // Kwikset
13-
'no_ascending_or_descending_sequence', // Tedee
13+
'no_ascending_or_descending_sequence', // Tedee, Korelock
1414
'at_least_three_unique_digits', // Tedee
1515
'cannot_contain_089', // TTLock
1616
'cannot_contain_0789', // TTLock (for some cylinder devices only)
1717
'unique_first_four_digits', // Schlage
18+
'no_all_same_digits', // Korelock
1819
])
1920
.describe(`Code constraint type for access codes.`),
2021
})

src/lib/seam/connect/openapi.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12016,6 +12016,7 @@ export default {
1201612016
'cannot_contain_089',
1201712017
'cannot_contain_0789',
1201812018
'unique_first_four_digits',
12019+
'no_all_same_digits',
1201912020
],
1202012021
type: 'string',
1202112022
},
@@ -44964,6 +44965,7 @@ export default {
4496444965
'controlbyweb',
4496544966
'dormakaba_oracode',
4496644967
'tedee',
44968+
'korelock',
4496744969
'akiles',
4496844970
'ecobee',
4496944971
'honeywell_resideo',
@@ -45468,6 +45470,7 @@ export default {
4546845470
'controlbyweb',
4546945471
'dormakaba_oracode',
4547045472
'tedee',
45473+
'korelock',
4547145474
'akiles',
4547245475
'ecobee',
4547345476
'honeywell_resideo',
@@ -46842,6 +46845,7 @@ export default {
4684246845
'controlbyweb',
4684346846
'dormakaba_oracode',
4684446847
'tedee',
46848+
'korelock',
4684546849
'akiles',
4684646850
'ecobee',
4684746851
'honeywell_resideo',
@@ -47345,6 +47349,7 @@ export default {
4734547349
'controlbyweb',
4734647350
'dormakaba_oracode',
4734747351
'tedee',
47352+
'korelock',
4734847353
'akiles',
4734947354
'ecobee',
4735047355
'honeywell_resideo',
@@ -49422,6 +49427,7 @@ export default {
4942249427
'four_suites',
4942349428
'dormakaba_oracode',
4942449429
'tedee',
49430+
'korelock',
4942549431
'akiles',
4942649432
'korelock',
4942749433
'kwikset2',
@@ -49849,6 +49855,7 @@ export default {
4984949855
'four_suites',
4985049856
'dormakaba_oracode',
4985149857
'tedee',
49858+
'korelock',
4985249859
'akiles',
4985349860
'korelock',
4985449861
'kwikset2',

src/lib/seam/connect/route-types.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12117,6 +12117,7 @@ export type Routes = {
1211712117
| 'cannot_contain_089'
1211812118
| 'cannot_contain_0789'
1211912119
| 'unique_first_four_digits'
12120+
| 'no_all_same_digits'
1212012121
}
1212112122
| {
1212212123
constraint_type:
@@ -16303,6 +16304,7 @@ export type Routes = {
1630316304
| 'cannot_contain_089'
1630416305
| 'cannot_contain_0789'
1630516306
| 'unique_first_four_digits'
16307+
| 'no_all_same_digits'
1630616308
}
1630716309
| {
1630816310
constraint_type:
@@ -32390,6 +32392,7 @@ export type Routes = {
3239032392
| 'cannot_contain_089'
3239132393
| 'cannot_contain_0789'
3239232394
| 'unique_first_four_digits'
32395+
| 'no_all_same_digits'
3239332396
}
3239432397
| {
3239532398
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -33345,6 +33348,7 @@ export type Routes = {
3334533348
| 'controlbyweb'
3334633349
| 'dormakaba_oracode'
3334733350
| 'tedee'
33351+
| 'korelock'
3334833352
| 'akiles'
3334933353
| 'ecobee'
3335033354
| 'honeywell_resideo'
@@ -34219,6 +34223,7 @@ export type Routes = {
3421934223
| 'cannot_contain_089'
3422034224
| 'cannot_contain_0789'
3422134225
| 'unique_first_four_digits'
34226+
| 'no_all_same_digits'
3422234227
}
3422334228
| {
3422434229
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -36334,6 +36339,7 @@ export type Routes = {
3633436339
| 'controlbyweb'
3633536340
| 'dormakaba_oracode'
3633636341
| 'tedee'
36342+
| 'korelock'
3633736343
| 'akiles'
3633836344
| 'ecobee'
3633936345
| 'honeywell_resideo'
@@ -42955,6 +42961,7 @@ export type Routes = {
4295542961
| 'cannot_contain_089'
4295642962
| 'cannot_contain_0789'
4295742963
| 'unique_first_four_digits'
42964+
| 'no_all_same_digits'
4295842965
}
4295942966
| {
4296042967
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -44553,6 +44560,7 @@ export type Routes = {
4455344560
| 'cannot_contain_089'
4455444561
| 'cannot_contain_0789'
4455544562
| 'unique_first_four_digits'
44563+
| 'no_all_same_digits'
4455644564
}
4455744565
| {
4455844566
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -45478,6 +45486,7 @@ export type Routes = {
4547845486
| 'four_suites'
4547945487
| 'dormakaba_oracode'
4548045488
| 'tedee'
45489+
| 'korelock'
4548145490
| 'akiles'
4548245491
| 'korelock'
4548345492
| 'kwikset2'
@@ -46344,6 +46353,7 @@ export type Routes = {
4634446353
| 'cannot_contain_089'
4634546354
| 'cannot_contain_0789'
4634646355
| 'unique_first_four_digits'
46356+
| 'no_all_same_digits'
4634746357
}
4634846358
| {
4634946359
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -47941,6 +47951,7 @@ export type Routes = {
4794147951
| 'cannot_contain_089'
4794247952
| 'cannot_contain_0789'
4794347953
| 'unique_first_four_digits'
47954+
| 'no_all_same_digits'
4794447955
}
4794547956
| {
4794647957
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -55481,6 +55492,7 @@ export type Routes = {
5548155492
| 'cannot_contain_089'
5548255493
| 'cannot_contain_0789'
5548355494
| 'unique_first_four_digits'
55495+
| 'no_all_same_digits'
5548455496
}
5548555497
| {
5548655498
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -57078,6 +57090,7 @@ export type Routes = {
5707857090
| 'cannot_contain_089'
5707957091
| 'cannot_contain_0789'
5708057092
| 'unique_first_four_digits'
57093+
| 'no_all_same_digits'
5708157094
}
5708257095
| {
5708357096
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -68962,6 +68975,7 @@ export type Routes = {
6896268975
| 'cannot_contain_089'
6896368976
| 'cannot_contain_0789'
6896468977
| 'unique_first_four_digits'
68978+
| 'no_all_same_digits'
6896568979
}
6896668980
| {
6896768981
constraint_type:
@@ -75717,6 +75731,7 @@ export type Routes = {
7571775731
| 'cannot_contain_089'
7571875732
| 'cannot_contain_0789'
7571975733
| 'unique_first_four_digits'
75734+
| 'no_all_same_digits'
7572075735
}
7572175736
| {
7572275737
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -80374,6 +80389,7 @@ export type Routes = {
8037480389
| 'cannot_contain_089'
8037580390
| 'cannot_contain_0789'
8037680391
| 'unique_first_four_digits'
80392+
| 'no_all_same_digits'
8037780393
}
8037880394
| {
8037980395
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -81971,6 +81987,7 @@ export type Routes = {
8197181987
| 'cannot_contain_089'
8197281988
| 'cannot_contain_0789'
8197381989
| 'unique_first_four_digits'
81990+
| 'no_all_same_digits'
8197481991
}
8197581992
| {
8197681993
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -90388,6 +90405,7 @@ export type Routes = {
9038890405
| 'cannot_contain_089'
9038990406
| 'cannot_contain_0789'
9039090407
| 'unique_first_four_digits'
90408+
| 'no_all_same_digits'
9039190409
}
9039290410
| {
9039390411
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -91987,6 +92005,7 @@ export type Routes = {
9198792005
| 'cannot_contain_089'
9198892006
| 'cannot_contain_0789'
9198992007
| 'unique_first_four_digits'
92008+
| 'no_all_same_digits'
9199092009
}
9199192010
| {
9199292011
constraint_type: 'name_length' | 'name_must_be_unique'
@@ -94665,6 +94684,7 @@ export type Routes = {
9466594684
| 'cannot_contain_089'
9466694685
| 'cannot_contain_0789'
9466794686
| 'unique_first_four_digits'
94687+
| 'no_all_same_digits'
9466894688
}
9466994689
| {
9467094690
constraint_type:

0 commit comments

Comments
 (0)