@seamapi/types 1.154.1 → 1.155.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 +2 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +10 -10
- package/lib/seam/connect/models/capability-properties/access-code.d.ts +11 -11
- package/lib/seam/connect/models/capability-properties/access-code.js +1 -0
- package/lib/seam/connect/models/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/managed-device.d.ts +9 -9
- package/lib/seam/connect/openapi.js +1 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/capability-properties/access-code.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +1 -0
- package/src/lib/seam/connect/route-types.ts +10 -0
|
@@ -2323,7 +2323,7 @@ export interface Routes {
|
|
|
2323
2323
|
}) & ({
|
|
2324
2324
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
2325
2325
|
code_constraints?: (Array<{
|
|
2326
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
2326
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
2327
2327
|
} | {
|
|
2328
2328
|
constraint_type: 'name_length';
|
|
2329
2329
|
min_length?: number | undefined;
|
|
@@ -2857,7 +2857,7 @@ export interface Routes {
|
|
|
2857
2857
|
}) & ({
|
|
2858
2858
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
2859
2859
|
code_constraints?: (Array<{
|
|
2860
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
2860
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
2861
2861
|
} | {
|
|
2862
2862
|
constraint_type: 'name_length';
|
|
2863
2863
|
min_length?: number | undefined;
|
|
@@ -3691,7 +3691,7 @@ export interface Routes {
|
|
|
3691
3691
|
}) & ({
|
|
3692
3692
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
3693
3693
|
code_constraints?: (Array<{
|
|
3694
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
3694
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
3695
3695
|
} | {
|
|
3696
3696
|
constraint_type: 'name_length';
|
|
3697
3697
|
min_length?: number | undefined;
|
|
@@ -4200,7 +4200,7 @@ export interface Routes {
|
|
|
4200
4200
|
}) & ({
|
|
4201
4201
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
4202
4202
|
code_constraints?: (Array<{
|
|
4203
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
4203
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
4204
4204
|
} | {
|
|
4205
4205
|
constraint_type: 'name_length';
|
|
4206
4206
|
min_length?: number | undefined;
|
|
@@ -4734,7 +4734,7 @@ export interface Routes {
|
|
|
4734
4734
|
}) & ({
|
|
4735
4735
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
4736
4736
|
code_constraints?: (Array<{
|
|
4737
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
4737
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
4738
4738
|
} | {
|
|
4739
4739
|
constraint_type: 'name_length';
|
|
4740
4740
|
min_length?: number | undefined;
|
|
@@ -5243,7 +5243,7 @@ export interface Routes {
|
|
|
5243
5243
|
}) & ({
|
|
5244
5244
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
5245
5245
|
code_constraints?: (Array<{
|
|
5246
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
5246
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
5247
5247
|
} | {
|
|
5248
5248
|
constraint_type: 'name_length';
|
|
5249
5249
|
min_length?: number | undefined;
|
|
@@ -6393,7 +6393,7 @@ export interface Routes {
|
|
|
6393
6393
|
}) & ({
|
|
6394
6394
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
6395
6395
|
code_constraints?: (Array<{
|
|
6396
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
6396
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
6397
6397
|
} | {
|
|
6398
6398
|
constraint_type: 'name_length';
|
|
6399
6399
|
min_length?: number | undefined;
|
|
@@ -7003,7 +7003,7 @@ export interface Routes {
|
|
|
7003
7003
|
}) & ({
|
|
7004
7004
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
7005
7005
|
code_constraints?: (Array<{
|
|
7006
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
7006
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
7007
7007
|
} | {
|
|
7008
7008
|
constraint_type: 'name_length';
|
|
7009
7009
|
min_length?: number | undefined;
|
|
@@ -7796,7 +7796,7 @@ export interface Routes {
|
|
|
7796
7796
|
}) & ({
|
|
7797
7797
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
7798
7798
|
code_constraints?: (Array<{
|
|
7799
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
7799
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
7800
7800
|
} | {
|
|
7801
7801
|
constraint_type: 'name_length';
|
|
7802
7802
|
min_length?: number | undefined;
|
|
@@ -8310,7 +8310,7 @@ export interface Routes {
|
|
|
8310
8310
|
}) & ({
|
|
8311
8311
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
8312
8312
|
code_constraints?: (Array<{
|
|
8313
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
8313
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
8314
8314
|
} | {
|
|
8315
8315
|
constraint_type: 'name_length';
|
|
8316
8316
|
min_length?: number | undefined;
|
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@ export const access_code_code_constraint = z.object({
|
|
|
10
10
|
'start_date_in_future', // Kwikset
|
|
11
11
|
'no_ascending_or_descending_sequence', // Tedee
|
|
12
12
|
'at_least_three_unique_digits', // Tedee
|
|
13
|
+
'cannot_contain_089', // TTLock (for some cylinder devices only)
|
|
13
14
|
]),
|
|
14
15
|
})
|
|
15
16
|
|
|
@@ -2721,6 +2721,7 @@ export interface Routes {
|
|
|
2721
2721
|
| 'start_date_in_future'
|
|
2722
2722
|
| 'no_ascending_or_descending_sequence'
|
|
2723
2723
|
| 'at_least_three_unique_digits'
|
|
2724
|
+
| 'cannot_contain_089'
|
|
2724
2725
|
}
|
|
2725
2726
|
| {
|
|
2726
2727
|
constraint_type: 'name_length'
|
|
@@ -3601,6 +3602,7 @@ export interface Routes {
|
|
|
3601
3602
|
| 'start_date_in_future'
|
|
3602
3603
|
| 'no_ascending_or_descending_sequence'
|
|
3603
3604
|
| 'at_least_three_unique_digits'
|
|
3605
|
+
| 'cannot_contain_089'
|
|
3604
3606
|
}
|
|
3605
3607
|
| {
|
|
3606
3608
|
constraint_type: 'name_length'
|
|
@@ -5040,6 +5042,7 @@ export interface Routes {
|
|
|
5040
5042
|
| 'start_date_in_future'
|
|
5041
5043
|
| 'no_ascending_or_descending_sequence'
|
|
5042
5044
|
| 'at_least_three_unique_digits'
|
|
5045
|
+
| 'cannot_contain_089'
|
|
5043
5046
|
}
|
|
5044
5047
|
| {
|
|
5045
5048
|
constraint_type: 'name_length'
|
|
@@ -5768,6 +5771,7 @@ export interface Routes {
|
|
|
5768
5771
|
| 'start_date_in_future'
|
|
5769
5772
|
| 'no_ascending_or_descending_sequence'
|
|
5770
5773
|
| 'at_least_three_unique_digits'
|
|
5774
|
+
| 'cannot_contain_089'
|
|
5771
5775
|
}
|
|
5772
5776
|
| {
|
|
5773
5777
|
constraint_type: 'name_length'
|
|
@@ -6648,6 +6652,7 @@ export interface Routes {
|
|
|
6648
6652
|
| 'start_date_in_future'
|
|
6649
6653
|
| 'no_ascending_or_descending_sequence'
|
|
6650
6654
|
| 'at_least_three_unique_digits'
|
|
6655
|
+
| 'cannot_contain_089'
|
|
6651
6656
|
}
|
|
6652
6657
|
| {
|
|
6653
6658
|
constraint_type: 'name_length'
|
|
@@ -7376,6 +7381,7 @@ export interface Routes {
|
|
|
7376
7381
|
| 'start_date_in_future'
|
|
7377
7382
|
| 'no_ascending_or_descending_sequence'
|
|
7378
7383
|
| 'at_least_three_unique_digits'
|
|
7384
|
+
| 'cannot_contain_089'
|
|
7379
7385
|
}
|
|
7380
7386
|
| {
|
|
7381
7387
|
constraint_type: 'name_length'
|
|
@@ -8781,6 +8787,7 @@ export interface Routes {
|
|
|
8781
8787
|
| 'start_date_in_future'
|
|
8782
8788
|
| 'no_ascending_or_descending_sequence'
|
|
8783
8789
|
| 'at_least_three_unique_digits'
|
|
8790
|
+
| 'cannot_contain_089'
|
|
8784
8791
|
}
|
|
8785
8792
|
| {
|
|
8786
8793
|
constraint_type: 'name_length'
|
|
@@ -9743,6 +9750,7 @@ export interface Routes {
|
|
|
9743
9750
|
| 'start_date_in_future'
|
|
9744
9751
|
| 'no_ascending_or_descending_sequence'
|
|
9745
9752
|
| 'at_least_three_unique_digits'
|
|
9753
|
+
| 'cannot_contain_089'
|
|
9746
9754
|
}
|
|
9747
9755
|
| {
|
|
9748
9756
|
constraint_type: 'name_length'
|
|
@@ -10763,6 +10771,7 @@ export interface Routes {
|
|
|
10763
10771
|
| 'start_date_in_future'
|
|
10764
10772
|
| 'no_ascending_or_descending_sequence'
|
|
10765
10773
|
| 'at_least_three_unique_digits'
|
|
10774
|
+
| 'cannot_contain_089'
|
|
10766
10775
|
}
|
|
10767
10776
|
| {
|
|
10768
10777
|
constraint_type: 'name_length'
|
|
@@ -11496,6 +11505,7 @@ export interface Routes {
|
|
|
11496
11505
|
| 'start_date_in_future'
|
|
11497
11506
|
| 'no_ascending_or_descending_sequence'
|
|
11498
11507
|
| 'at_least_three_unique_digits'
|
|
11508
|
+
| 'cannot_contain_089'
|
|
11499
11509
|
}
|
|
11500
11510
|
| {
|
|
11501
11511
|
constraint_type: 'name_length'
|