@seamapi/types 1.100.0 → 1.101.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.
@@ -2073,7 +2073,7 @@ export interface Routes {
2073
2073
  }) & ({
2074
2074
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
2075
2075
  code_constraints?: (Array<{
2076
- 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';
2076
+ 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';
2077
2077
  } | {
2078
2078
  constraint_type: 'name_length';
2079
2079
  min_length?: number | undefined;
@@ -2557,7 +2557,7 @@ export interface Routes {
2557
2557
  }) & ({
2558
2558
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
2559
2559
  code_constraints?: (Array<{
2560
- 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';
2560
+ 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';
2561
2561
  } | {
2562
2562
  constraint_type: 'name_length';
2563
2563
  min_length?: number | undefined;
@@ -3360,7 +3360,7 @@ export interface Routes {
3360
3360
  }) & ({
3361
3361
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
3362
3362
  code_constraints?: (Array<{
3363
- 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';
3363
+ 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';
3364
3364
  } | {
3365
3365
  constraint_type: 'name_length';
3366
3366
  min_length?: number | undefined;
@@ -3821,7 +3821,7 @@ export interface Routes {
3821
3821
  }) & ({
3822
3822
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
3823
3823
  code_constraints?: (Array<{
3824
- 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';
3824
+ 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';
3825
3825
  } | {
3826
3826
  constraint_type: 'name_length';
3827
3827
  min_length?: number | undefined;
@@ -4305,7 +4305,7 @@ export interface Routes {
4305
4305
  }) & ({
4306
4306
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
4307
4307
  code_constraints?: (Array<{
4308
- 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';
4308
+ 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';
4309
4309
  } | {
4310
4310
  constraint_type: 'name_length';
4311
4311
  min_length?: number | undefined;
@@ -4766,7 +4766,7 @@ export interface Routes {
4766
4766
  }) & ({
4767
4767
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
4768
4768
  code_constraints?: (Array<{
4769
- 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';
4769
+ 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';
4770
4770
  } | {
4771
4771
  constraint_type: 'name_length';
4772
4772
  min_length?: number | undefined;
@@ -5819,7 +5819,7 @@ export interface Routes {
5819
5819
  }) & ({
5820
5820
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
5821
5821
  code_constraints?: (Array<{
5822
- 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';
5822
+ 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';
5823
5823
  } | {
5824
5824
  constraint_type: 'name_length';
5825
5825
  min_length?: number | undefined;
@@ -6333,7 +6333,7 @@ export interface Routes {
6333
6333
  }) & ({
6334
6334
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
6335
6335
  code_constraints?: (Array<{
6336
- 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';
6336
+ 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';
6337
6337
  } | {
6338
6338
  constraint_type: 'name_length';
6339
6339
  min_length?: number | undefined;
@@ -7019,7 +7019,7 @@ export interface Routes {
7019
7019
  }) & ({
7020
7020
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
7021
7021
  code_constraints?: (Array<{
7022
- 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';
7022
+ 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';
7023
7023
  } | {
7024
7024
  constraint_type: 'name_length';
7025
7025
  min_length?: number | undefined;
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  export declare const access_code_code_constraint: z.ZodObject<{
3
- constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future"]>;
3
+ constraint_type: z.ZodEnum<["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"]>;
4
4
  }, "strip", z.ZodTypeAny, {
5
- 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";
5
+ 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";
6
6
  }, {
7
- 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";
7
+ 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";
8
8
  }>;
9
9
  export declare const access_code_name_constraint: z.ZodObject<{
10
10
  constraint_type: z.ZodLiteral<"name_length">;
@@ -20,11 +20,11 @@ export declare const access_code_name_constraint: z.ZodObject<{
20
20
  max_length?: number | undefined;
21
21
  }>;
22
22
  export declare const access_code_constraint: z.ZodUnion<[z.ZodObject<{
23
- constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future"]>;
23
+ constraint_type: z.ZodEnum<["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"]>;
24
24
  }, "strip", z.ZodTypeAny, {
25
- 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";
25
+ 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";
26
26
  }, {
27
- 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";
27
+ 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";
28
28
  }>, z.ZodObject<{
29
29
  constraint_type: z.ZodLiteral<"name_length">;
30
30
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -42,11 +42,11 @@ export type AccessCodeConstraint = z.infer<typeof access_code_constraint>;
42
42
  export declare const access_code_capability_properties: z.ZodObject<{
43
43
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44
44
  code_constraints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
45
- constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future"]>;
45
+ constraint_type: z.ZodEnum<["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"]>;
46
46
  }, "strip", z.ZodTypeAny, {
47
- 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";
47
+ 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";
48
48
  }, {
49
- 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";
49
+ 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";
50
50
  }>, z.ZodObject<{
51
51
  constraint_type: z.ZodLiteral<"name_length">;
52
52
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -67,7 +67,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
67
67
  }, "strip", z.ZodTypeAny, {
68
68
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
69
69
  code_constraints?: ({
70
- 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";
70
+ 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";
71
71
  } | {
72
72
  constraint_type: "name_length";
73
73
  min_length?: number | undefined;
@@ -80,7 +80,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
80
80
  }, {
81
81
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
82
82
  code_constraints?: ({
83
- 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";
83
+ 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";
84
84
  } | {
85
85
  constraint_type: "name_length";
86
86
  min_length?: number | undefined;
@@ -7,6 +7,8 @@ export const access_code_code_constraint = z.object({
7
7
  'cannot_specify_pin_code', // Lockly
8
8
  'pin_code_matches_existing_set', // Salto
9
9
  'start_date_in_future', // Kwikset
10
+ 'no_ascending_or_descending_sequence', // Tedee
11
+ 'at_least_three_unique_digits', // Tedee
10
12
  ]),
11
13
  });
12
14
  export const access_code_name_constraint = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;QACtB,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,SAAS;QACpC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;KACnC,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,gBAAgB;IAC3D,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC5C,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,sDAAsD,EAAE,CAAC;SACtD,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;IACb,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;IAC5D,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAA"}
1
+ {"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;QACtB,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,SAAS;QACpC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;QAClC,qCAAqC,EAAE,QAAQ;QAC/C,8BAA8B,EAAE,QAAQ;KACzC,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,gBAAgB;IAC3D,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC5C,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,sDAAsD,EAAE,CAAC;SACtD,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;IACb,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;IAC5D,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAA"}
@@ -6,11 +6,11 @@ export { access_code_capability_properties, access_code_code_constraint, climate
6
6
  export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
7
7
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
8
8
  code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
9
- constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future"]>;
9
+ constraint_type: z.ZodEnum<["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"]>;
10
10
  }, "strip", z.ZodTypeAny, {
11
- 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";
11
+ 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";
12
12
  }, {
13
- 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";
13
+ 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";
14
14
  }>, z.ZodObject<{
15
15
  constraint_type: z.ZodLiteral<"name_length">;
16
16
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -40,7 +40,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
40
40
  }, "strip", z.ZodTypeAny, {
41
41
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
42
42
  code_constraints?: ({
43
- 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";
43
+ 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";
44
44
  } | {
45
45
  constraint_type: "name_length";
46
46
  min_length?: number | undefined;
@@ -58,7 +58,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
58
58
  }, {
59
59
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
60
60
  code_constraints?: ({
61
- 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";
61
+ 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";
62
62
  } | {
63
63
  constraint_type: "name_length";
64
64
  min_length?: number | undefined;
@@ -1160,11 +1160,11 @@ export declare const managed_device: z.ZodObject<{
1160
1160
  }>>, z.ZodIntersection<z.ZodObject<{
1161
1161
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1162
1162
  code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1163
- constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future"]>;
1163
+ constraint_type: z.ZodEnum<["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"]>;
1164
1164
  }, "strip", z.ZodTypeAny, {
1165
- 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";
1165
+ 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";
1166
1166
  }, {
1167
- 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";
1167
+ 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";
1168
1168
  }>, z.ZodObject<{
1169
1169
  constraint_type: z.ZodLiteral<"name_length">;
1170
1170
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -1194,7 +1194,7 @@ export declare const managed_device: z.ZodObject<{
1194
1194
  }, "strip", z.ZodTypeAny, {
1195
1195
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
1196
1196
  code_constraints?: ({
1197
- 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";
1197
+ 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";
1198
1198
  } | {
1199
1199
  constraint_type: "name_length";
1200
1200
  min_length?: number | undefined;
@@ -1212,7 +1212,7 @@ export declare const managed_device: z.ZodObject<{
1212
1212
  }, {
1213
1213
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
1214
1214
  code_constraints?: ({
1215
- 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";
1215
+ 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";
1216
1216
  } | {
1217
1217
  constraint_type: "name_length";
1218
1218
  min_length?: number | undefined;
@@ -2226,7 +2226,7 @@ export declare const managed_device: z.ZodObject<{
2226
2226
  } & ({
2227
2227
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
2228
2228
  code_constraints?: ({
2229
- 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";
2229
+ 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";
2230
2230
  } | {
2231
2231
  constraint_type: "name_length";
2232
2232
  min_length?: number | undefined;
@@ -2630,7 +2630,7 @@ export declare const managed_device: z.ZodObject<{
2630
2630
  } & ({
2631
2631
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
2632
2632
  code_constraints?: ({
2633
- 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";
2633
+ 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";
2634
2634
  } | {
2635
2635
  constraint_type: "name_length";
2636
2636
  min_length?: number | undefined;
@@ -3056,7 +3056,7 @@ export declare const managed_device: z.ZodObject<{
3056
3056
  } & ({
3057
3057
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
3058
3058
  code_constraints?: ({
3059
- 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";
3059
+ 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";
3060
3060
  } | {
3061
3061
  constraint_type: "name_length";
3062
3062
  min_length?: number | undefined;
@@ -3460,7 +3460,7 @@ export declare const managed_device: z.ZodObject<{
3460
3460
  } & ({
3461
3461
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
3462
3462
  code_constraints?: ({
3463
- 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";
3463
+ 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";
3464
3464
  } | {
3465
3465
  constraint_type: "name_length";
3466
3466
  min_length?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.100.0",
3
+ "version": "1.101.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1202,6 +1202,8 @@ export default {
1202
1202
  'cannot_specify_pin_code',
1203
1203
  'pin_code_matches_existing_set',
1204
1204
  'start_date_in_future',
1205
+ 'no_ascending_or_descending_sequence',
1206
+ 'at_least_three_unique_digits',
1205
1207
  ],
1206
1208
  type: 'string',
1207
1209
  },
@@ -2422,6 +2422,8 @@ export interface Routes {
2422
2422
  | 'cannot_specify_pin_code'
2423
2423
  | 'pin_code_matches_existing_set'
2424
2424
  | 'start_date_in_future'
2425
+ | 'no_ascending_or_descending_sequence'
2426
+ | 'at_least_three_unique_digits'
2425
2427
  }
2426
2428
  | {
2427
2429
  constraint_type: 'name_length'
@@ -3217,6 +3219,8 @@ export interface Routes {
3217
3219
  | 'cannot_specify_pin_code'
3218
3220
  | 'pin_code_matches_existing_set'
3219
3221
  | 'start_date_in_future'
3222
+ | 'no_ascending_or_descending_sequence'
3223
+ | 'at_least_three_unique_digits'
3220
3224
  }
3221
3225
  | {
3222
3226
  constraint_type: 'name_length'
@@ -4511,6 +4515,8 @@ export interface Routes {
4511
4515
  | 'cannot_specify_pin_code'
4512
4516
  | 'pin_code_matches_existing_set'
4513
4517
  | 'start_date_in_future'
4518
+ | 'no_ascending_or_descending_sequence'
4519
+ | 'at_least_three_unique_digits'
4514
4520
  }
4515
4521
  | {
4516
4522
  constraint_type: 'name_length'
@@ -5179,6 +5185,8 @@ export interface Routes {
5179
5185
  | 'cannot_specify_pin_code'
5180
5186
  | 'pin_code_matches_existing_set'
5181
5187
  | 'start_date_in_future'
5188
+ | 'no_ascending_or_descending_sequence'
5189
+ | 'at_least_three_unique_digits'
5182
5190
  }
5183
5191
  | {
5184
5192
  constraint_type: 'name_length'
@@ -5974,6 +5982,8 @@ export interface Routes {
5974
5982
  | 'cannot_specify_pin_code'
5975
5983
  | 'pin_code_matches_existing_set'
5976
5984
  | 'start_date_in_future'
5985
+ | 'no_ascending_or_descending_sequence'
5986
+ | 'at_least_three_unique_digits'
5977
5987
  }
5978
5988
  | {
5979
5989
  constraint_type: 'name_length'
@@ -6642,6 +6652,8 @@ export interface Routes {
6642
6652
  | 'cannot_specify_pin_code'
6643
6653
  | 'pin_code_matches_existing_set'
6644
6654
  | 'start_date_in_future'
6655
+ | 'no_ascending_or_descending_sequence'
6656
+ | 'at_least_three_unique_digits'
6645
6657
  }
6646
6658
  | {
6647
6659
  constraint_type: 'name_length'
@@ -7935,6 +7947,8 @@ export interface Routes {
7935
7947
  | 'cannot_specify_pin_code'
7936
7948
  | 'pin_code_matches_existing_set'
7937
7949
  | 'start_date_in_future'
7950
+ | 'no_ascending_or_descending_sequence'
7951
+ | 'at_least_three_unique_digits'
7938
7952
  }
7939
7953
  | {
7940
7954
  constraint_type: 'name_length'
@@ -8760,6 +8774,8 @@ export interface Routes {
8760
8774
  | 'cannot_specify_pin_code'
8761
8775
  | 'pin_code_matches_existing_set'
8762
8776
  | 'start_date_in_future'
8777
+ | 'no_ascending_or_descending_sequence'
8778
+ | 'at_least_three_unique_digits'
8763
8779
  }
8764
8780
  | {
8765
8781
  constraint_type: 'name_length'
@@ -9655,6 +9671,8 @@ export interface Routes {
9655
9671
  | 'cannot_specify_pin_code'
9656
9672
  | 'pin_code_matches_existing_set'
9657
9673
  | 'start_date_in_future'
9674
+ | 'no_ascending_or_descending_sequence'
9675
+ | 'at_least_three_unique_digits'
9658
9676
  }
9659
9677
  | {
9660
9678
  constraint_type: 'name_length'
@@ -8,6 +8,8 @@ export const access_code_code_constraint = z.object({
8
8
  'cannot_specify_pin_code', // Lockly
9
9
  'pin_code_matches_existing_set', // Salto
10
10
  'start_date_in_future', // Kwikset
11
+ 'no_ascending_or_descending_sequence', // Tedee
12
+ 'at_least_three_unique_digits', // Tedee
11
13
  ]),
12
14
  })
13
15