@seamapi/types 1.201.0 → 1.202.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.
@@ -4656,7 +4656,7 @@ export interface Routes {
4656
4656
  }) & ({
4657
4657
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
4658
4658
  code_constraints?: (Array<{
4659
- 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';
4659
+ 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' | 'cannot_contain_0789';
4660
4660
  } | {
4661
4661
  constraint_type: 'name_length' | 'name_must_be_unique';
4662
4662
  min_length?: number | undefined;
@@ -5196,7 +5196,7 @@ export interface Routes {
5196
5196
  }) & ({
5197
5197
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
5198
5198
  code_constraints?: (Array<{
5199
- 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';
5199
+ 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' | 'cannot_contain_0789';
5200
5200
  } | {
5201
5201
  constraint_type: 'name_length' | 'name_must_be_unique';
5202
5202
  min_length?: number | undefined;
@@ -6080,7 +6080,7 @@ export interface Routes {
6080
6080
  }) & ({
6081
6081
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
6082
6082
  code_constraints?: (Array<{
6083
- 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';
6083
+ 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' | 'cannot_contain_0789';
6084
6084
  } | {
6085
6085
  constraint_type: 'name_length' | 'name_must_be_unique';
6086
6086
  min_length?: number | undefined;
@@ -6595,7 +6595,7 @@ export interface Routes {
6595
6595
  }) & ({
6596
6596
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
6597
6597
  code_constraints?: (Array<{
6598
- 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';
6598
+ 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' | 'cannot_contain_0789';
6599
6599
  } | {
6600
6600
  constraint_type: 'name_length' | 'name_must_be_unique';
6601
6601
  min_length?: number | undefined;
@@ -7135,7 +7135,7 @@ export interface Routes {
7135
7135
  }) & ({
7136
7136
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
7137
7137
  code_constraints?: (Array<{
7138
- 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';
7138
+ 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' | 'cannot_contain_0789';
7139
7139
  } | {
7140
7140
  constraint_type: 'name_length' | 'name_must_be_unique';
7141
7141
  min_length?: number | undefined;
@@ -7650,7 +7650,7 @@ export interface Routes {
7650
7650
  }) & ({
7651
7651
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
7652
7652
  code_constraints?: (Array<{
7653
- 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';
7653
+ 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' | 'cannot_contain_0789';
7654
7654
  } | {
7655
7655
  constraint_type: 'name_length' | 'name_must_be_unique';
7656
7656
  min_length?: number | undefined;
@@ -10856,7 +10856,7 @@ export interface Routes {
10856
10856
  }) & ({
10857
10857
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
10858
10858
  code_constraints?: (Array<{
10859
- 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';
10859
+ 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' | 'cannot_contain_0789';
10860
10860
  } | {
10861
10861
  constraint_type: 'name_length' | 'name_must_be_unique';
10862
10862
  min_length?: number | undefined;
@@ -12150,7 +12150,7 @@ export interface Routes {
12150
12150
  }) & ({
12151
12151
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
12152
12152
  code_constraints?: (Array<{
12153
- 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';
12153
+ 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' | 'cannot_contain_0789';
12154
12154
  } | {
12155
12155
  constraint_type: 'name_length' | 'name_must_be_unique';
12156
12156
  min_length?: number | undefined;
@@ -13627,7 +13627,7 @@ export interface Routes {
13627
13627
  }) & ({
13628
13628
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
13629
13629
  code_constraints?: (Array<{
13630
- 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';
13630
+ 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' | 'cannot_contain_0789';
13631
13631
  } | {
13632
13632
  constraint_type: 'name_length' | 'name_must_be_unique';
13633
13633
  min_length?: number | undefined;
@@ -14144,7 +14144,7 @@ export interface Routes {
14144
14144
  }) & ({
14145
14145
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
14146
14146
  code_constraints?: (Array<{
14147
- 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';
14147
+ 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' | 'cannot_contain_0789';
14148
14148
  } | {
14149
14149
  constraint_type: 'name_length' | 'name_must_be_unique';
14150
14150
  min_length?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.201.0",
3
+ "version": "1.202.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -10,7 +10,8 @@ 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
+ 'cannot_contain_089', // TTLock
14
+ 'cannot_contain_0789', // TTLock (for some cylinder devices only)
14
15
  ]),
15
16
  })
16
17
 
@@ -2802,6 +2802,7 @@ export default {
2802
2802
  'no_ascending_or_descending_sequence',
2803
2803
  'at_least_three_unique_digits',
2804
2804
  'cannot_contain_089',
2805
+ 'cannot_contain_0789',
2805
2806
  ],
2806
2807
  type: 'string',
2807
2808
  },
@@ -5393,6 +5393,7 @@ export interface Routes {
5393
5393
  | 'no_ascending_or_descending_sequence'
5394
5394
  | 'at_least_three_unique_digits'
5395
5395
  | 'cannot_contain_089'
5396
+ | 'cannot_contain_0789'
5396
5397
  }
5397
5398
  | {
5398
5399
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -6289,6 +6290,7 @@ export interface Routes {
6289
6290
  | 'no_ascending_or_descending_sequence'
6290
6291
  | 'at_least_three_unique_digits'
6291
6292
  | 'cannot_contain_089'
6293
+ | 'cannot_contain_0789'
6292
6294
  }
6293
6295
  | {
6294
6296
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -7810,6 +7812,7 @@ export interface Routes {
7810
7812
  | 'no_ascending_or_descending_sequence'
7811
7813
  | 'at_least_three_unique_digits'
7812
7814
  | 'cannot_contain_089'
7815
+ | 'cannot_contain_0789'
7813
7816
  }
7814
7817
  | {
7815
7818
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -8548,6 +8551,7 @@ export interface Routes {
8548
8551
  | 'no_ascending_or_descending_sequence'
8549
8552
  | 'at_least_three_unique_digits'
8550
8553
  | 'cannot_contain_089'
8554
+ | 'cannot_contain_0789'
8551
8555
  }
8552
8556
  | {
8553
8557
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -9444,6 +9448,7 @@ export interface Routes {
9444
9448
  | 'no_ascending_or_descending_sequence'
9445
9449
  | 'at_least_three_unique_digits'
9446
9450
  | 'cannot_contain_089'
9451
+ | 'cannot_contain_0789'
9447
9452
  }
9448
9453
  | {
9449
9454
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -10182,6 +10187,7 @@ export interface Routes {
10182
10187
  | 'no_ascending_or_descending_sequence'
10183
10188
  | 'at_least_three_unique_digits'
10184
10189
  | 'cannot_contain_089'
10190
+ | 'cannot_contain_0789'
10185
10191
  }
10186
10192
  | {
10187
10193
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -13905,6 +13911,7 @@ export interface Routes {
13905
13911
  | 'no_ascending_or_descending_sequence'
13906
13912
  | 'at_least_three_unique_digits'
13907
13913
  | 'cannot_contain_089'
13914
+ | 'cannot_contain_0789'
13908
13915
  }
13909
13916
  | {
13910
13917
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -15645,6 +15652,7 @@ export interface Routes {
15645
15652
  | 'no_ascending_or_descending_sequence'
15646
15653
  | 'at_least_three_unique_digits'
15647
15654
  | 'cannot_contain_089'
15655
+ | 'cannot_contain_0789'
15648
15656
  }
15649
15657
  | {
15650
15658
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -17437,6 +17445,7 @@ export interface Routes {
17437
17445
  | 'no_ascending_or_descending_sequence'
17438
17446
  | 'at_least_three_unique_digits'
17439
17447
  | 'cannot_contain_089'
17448
+ | 'cannot_contain_0789'
17440
17449
  }
17441
17450
  | {
17442
17451
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -18177,6 +18186,7 @@ export interface Routes {
18177
18186
  | 'no_ascending_or_descending_sequence'
18178
18187
  | 'at_least_three_unique_digits'
18179
18188
  | 'cannot_contain_089'
18189
+ | 'cannot_contain_0789'
18180
18190
  }
18181
18191
  | {
18182
18192
  constraint_type: 'name_length' | 'name_must_be_unique'