@seamapi/types 1.164.0 → 1.165.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 +1 -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 -1
- 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 -1
- 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 -1
- package/src/lib/seam/connect/openapi.ts +1 -1
- package/src/lib/seam/connect/route-types.ts +10 -10
|
@@ -2347,7 +2347,7 @@ export interface Routes {
|
|
|
2347
2347
|
code_constraints?: (Array<{
|
|
2348
2348
|
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';
|
|
2349
2349
|
} | {
|
|
2350
|
-
constraint_type: 'name_length';
|
|
2350
|
+
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
2351
2351
|
min_length?: number | undefined;
|
|
2352
2352
|
max_length?: number | undefined;
|
|
2353
2353
|
}> | undefined) | undefined;
|
|
@@ -2884,7 +2884,7 @@ export interface Routes {
|
|
|
2884
2884
|
code_constraints?: (Array<{
|
|
2885
2885
|
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';
|
|
2886
2886
|
} | {
|
|
2887
|
-
constraint_type: 'name_length';
|
|
2887
|
+
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
2888
2888
|
min_length?: number | undefined;
|
|
2889
2889
|
max_length?: number | undefined;
|
|
2890
2890
|
}> | undefined) | undefined;
|
|
@@ -3725,7 +3725,7 @@ export interface Routes {
|
|
|
3725
3725
|
code_constraints?: (Array<{
|
|
3726
3726
|
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';
|
|
3727
3727
|
} | {
|
|
3728
|
-
constraint_type: 'name_length';
|
|
3728
|
+
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
3729
3729
|
min_length?: number | undefined;
|
|
3730
3730
|
max_length?: number | undefined;
|
|
3731
3731
|
}> | undefined) | undefined;
|
|
@@ -4237,7 +4237,7 @@ export interface Routes {
|
|
|
4237
4237
|
code_constraints?: (Array<{
|
|
4238
4238
|
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';
|
|
4239
4239
|
} | {
|
|
4240
|
-
constraint_type: 'name_length';
|
|
4240
|
+
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
4241
4241
|
min_length?: number | undefined;
|
|
4242
4242
|
max_length?: number | undefined;
|
|
4243
4243
|
}> | undefined) | undefined;
|
|
@@ -4774,7 +4774,7 @@ export interface Routes {
|
|
|
4774
4774
|
code_constraints?: (Array<{
|
|
4775
4775
|
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';
|
|
4776
4776
|
} | {
|
|
4777
|
-
constraint_type: 'name_length';
|
|
4777
|
+
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
4778
4778
|
min_length?: number | undefined;
|
|
4779
4779
|
max_length?: number | undefined;
|
|
4780
4780
|
}> | undefined) | undefined;
|
|
@@ -5286,7 +5286,7 @@ export interface Routes {
|
|
|
5286
5286
|
code_constraints?: (Array<{
|
|
5287
5287
|
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';
|
|
5288
5288
|
} | {
|
|
5289
|
-
constraint_type: 'name_length';
|
|
5289
|
+
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
5290
5290
|
min_length?: number | undefined;
|
|
5291
5291
|
max_length?: number | undefined;
|
|
5292
5292
|
}> | undefined) | undefined;
|
|
@@ -6441,7 +6441,7 @@ export interface Routes {
|
|
|
6441
6441
|
code_constraints?: (Array<{
|
|
6442
6442
|
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';
|
|
6443
6443
|
} | {
|
|
6444
|
-
constraint_type: 'name_length';
|
|
6444
|
+
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
6445
6445
|
min_length?: number | undefined;
|
|
6446
6446
|
max_length?: number | undefined;
|
|
6447
6447
|
}> | undefined) | undefined;
|
|
@@ -7054,7 +7054,7 @@ export interface Routes {
|
|
|
7054
7054
|
code_constraints?: (Array<{
|
|
7055
7055
|
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';
|
|
7056
7056
|
} | {
|
|
7057
|
-
constraint_type: 'name_length';
|
|
7057
|
+
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
7058
7058
|
min_length?: number | undefined;
|
|
7059
7059
|
max_length?: number | undefined;
|
|
7060
7060
|
}> | undefined) | undefined;
|
|
@@ -7850,7 +7850,7 @@ export interface Routes {
|
|
|
7850
7850
|
code_constraints?: (Array<{
|
|
7851
7851
|
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';
|
|
7852
7852
|
} | {
|
|
7853
|
-
constraint_type: 'name_length';
|
|
7853
|
+
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
7854
7854
|
min_length?: number | undefined;
|
|
7855
7855
|
max_length?: number | undefined;
|
|
7856
7856
|
}> | undefined) | undefined;
|
|
@@ -8367,7 +8367,7 @@ export interface Routes {
|
|
|
8367
8367
|
code_constraints?: (Array<{
|
|
8368
8368
|
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';
|
|
8369
8369
|
} | {
|
|
8370
|
-
constraint_type: 'name_length';
|
|
8370
|
+
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
8371
8371
|
min_length?: number | undefined;
|
|
8372
8372
|
max_length?: number | undefined;
|
|
8373
8373
|
}> | undefined) | undefined;
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ export const access_code_code_constraint = z.object({
|
|
|
15
15
|
})
|
|
16
16
|
|
|
17
17
|
export const access_code_name_constraint = z.object({
|
|
18
|
-
constraint_type: z.
|
|
18
|
+
constraint_type: z.enum(['name_length', 'name_must_be_unique']), // Nuki, Kwikset
|
|
19
19
|
min_length: z.number().optional(),
|
|
20
20
|
max_length: z.number().optional(),
|
|
21
21
|
})
|
|
@@ -2746,7 +2746,7 @@ export interface Routes {
|
|
|
2746
2746
|
| 'cannot_contain_089'
|
|
2747
2747
|
}
|
|
2748
2748
|
| {
|
|
2749
|
-
constraint_type: 'name_length'
|
|
2749
|
+
constraint_type: 'name_length' | 'name_must_be_unique'
|
|
2750
2750
|
min_length?: number | undefined
|
|
2751
2751
|
max_length?: number | undefined
|
|
2752
2752
|
}
|
|
@@ -3632,7 +3632,7 @@ export interface Routes {
|
|
|
3632
3632
|
| 'cannot_contain_089'
|
|
3633
3633
|
}
|
|
3634
3634
|
| {
|
|
3635
|
-
constraint_type: 'name_length'
|
|
3635
|
+
constraint_type: 'name_length' | 'name_must_be_unique'
|
|
3636
3636
|
min_length?: number | undefined
|
|
3637
3637
|
max_length?: number | undefined
|
|
3638
3638
|
}
|
|
@@ -5085,7 +5085,7 @@ export interface Routes {
|
|
|
5085
5085
|
| 'cannot_contain_089'
|
|
5086
5086
|
}
|
|
5087
5087
|
| {
|
|
5088
|
-
constraint_type: 'name_length'
|
|
5088
|
+
constraint_type: 'name_length' | 'name_must_be_unique'
|
|
5089
5089
|
min_length?: number | undefined
|
|
5090
5090
|
max_length?: number | undefined
|
|
5091
5091
|
}
|
|
@@ -5817,7 +5817,7 @@ export interface Routes {
|
|
|
5817
5817
|
| 'cannot_contain_089'
|
|
5818
5818
|
}
|
|
5819
5819
|
| {
|
|
5820
|
-
constraint_type: 'name_length'
|
|
5820
|
+
constraint_type: 'name_length' | 'name_must_be_unique'
|
|
5821
5821
|
min_length?: number | undefined
|
|
5822
5822
|
max_length?: number | undefined
|
|
5823
5823
|
}
|
|
@@ -6703,7 +6703,7 @@ export interface Routes {
|
|
|
6703
6703
|
| 'cannot_contain_089'
|
|
6704
6704
|
}
|
|
6705
6705
|
| {
|
|
6706
|
-
constraint_type: 'name_length'
|
|
6706
|
+
constraint_type: 'name_length' | 'name_must_be_unique'
|
|
6707
6707
|
min_length?: number | undefined
|
|
6708
6708
|
max_length?: number | undefined
|
|
6709
6709
|
}
|
|
@@ -7435,7 +7435,7 @@ export interface Routes {
|
|
|
7435
7435
|
| 'cannot_contain_089'
|
|
7436
7436
|
}
|
|
7437
7437
|
| {
|
|
7438
|
-
constraint_type: 'name_length'
|
|
7438
|
+
constraint_type: 'name_length' | 'name_must_be_unique'
|
|
7439
7439
|
min_length?: number | undefined
|
|
7440
7440
|
max_length?: number | undefined
|
|
7441
7441
|
}
|
|
@@ -8846,7 +8846,7 @@ export interface Routes {
|
|
|
8846
8846
|
| 'cannot_contain_089'
|
|
8847
8847
|
}
|
|
8848
8848
|
| {
|
|
8849
|
-
constraint_type: 'name_length'
|
|
8849
|
+
constraint_type: 'name_length' | 'name_must_be_unique'
|
|
8850
8850
|
min_length?: number | undefined
|
|
8851
8851
|
max_length?: number | undefined
|
|
8852
8852
|
}
|
|
@@ -9814,7 +9814,7 @@ export interface Routes {
|
|
|
9814
9814
|
| 'cannot_contain_089'
|
|
9815
9815
|
}
|
|
9816
9816
|
| {
|
|
9817
|
-
constraint_type: 'name_length'
|
|
9817
|
+
constraint_type: 'name_length' | 'name_must_be_unique'
|
|
9818
9818
|
min_length?: number | undefined
|
|
9819
9819
|
max_length?: number | undefined
|
|
9820
9820
|
}
|
|
@@ -10838,7 +10838,7 @@ export interface Routes {
|
|
|
10838
10838
|
| 'cannot_contain_089'
|
|
10839
10839
|
}
|
|
10840
10840
|
| {
|
|
10841
|
-
constraint_type: 'name_length'
|
|
10841
|
+
constraint_type: 'name_length' | 'name_must_be_unique'
|
|
10842
10842
|
min_length?: number | undefined
|
|
10843
10843
|
max_length?: number | undefined
|
|
10844
10844
|
}
|
|
@@ -11575,7 +11575,7 @@ export interface Routes {
|
|
|
11575
11575
|
| 'cannot_contain_089'
|
|
11576
11576
|
}
|
|
11577
11577
|
| {
|
|
11578
|
-
constraint_type: 'name_length'
|
|
11578
|
+
constraint_type: 'name_length' | 'name_must_be_unique'
|
|
11579
11579
|
min_length?: number | undefined
|
|
11580
11580
|
max_length?: number | undefined
|
|
11581
11581
|
}
|