@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.
@@ -19329,7 +19329,7 @@ interface Routes {
19329
19329
  code_constraints?: (Array<{
19330
19330
  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';
19331
19331
  } | {
19332
- constraint_type: 'name_length';
19332
+ constraint_type: 'name_length' | 'name_must_be_unique';
19333
19333
  min_length?: number | undefined;
19334
19334
  max_length?: number | undefined;
19335
19335
  }> | undefined) | undefined;
@@ -19866,7 +19866,7 @@ interface Routes {
19866
19866
  code_constraints?: (Array<{
19867
19867
  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';
19868
19868
  } | {
19869
- constraint_type: 'name_length';
19869
+ constraint_type: 'name_length' | 'name_must_be_unique';
19870
19870
  min_length?: number | undefined;
19871
19871
  max_length?: number | undefined;
19872
19872
  }> | undefined) | undefined;
@@ -20707,7 +20707,7 @@ interface Routes {
20707
20707
  code_constraints?: (Array<{
20708
20708
  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';
20709
20709
  } | {
20710
- constraint_type: 'name_length';
20710
+ constraint_type: 'name_length' | 'name_must_be_unique';
20711
20711
  min_length?: number | undefined;
20712
20712
  max_length?: number | undefined;
20713
20713
  }> | undefined) | undefined;
@@ -21219,7 +21219,7 @@ interface Routes {
21219
21219
  code_constraints?: (Array<{
21220
21220
  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';
21221
21221
  } | {
21222
- constraint_type: 'name_length';
21222
+ constraint_type: 'name_length' | 'name_must_be_unique';
21223
21223
  min_length?: number | undefined;
21224
21224
  max_length?: number | undefined;
21225
21225
  }> | undefined) | undefined;
@@ -21756,7 +21756,7 @@ interface Routes {
21756
21756
  code_constraints?: (Array<{
21757
21757
  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';
21758
21758
  } | {
21759
- constraint_type: 'name_length';
21759
+ constraint_type: 'name_length' | 'name_must_be_unique';
21760
21760
  min_length?: number | undefined;
21761
21761
  max_length?: number | undefined;
21762
21762
  }> | undefined) | undefined;
@@ -22268,7 +22268,7 @@ interface Routes {
22268
22268
  code_constraints?: (Array<{
22269
22269
  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';
22270
22270
  } | {
22271
- constraint_type: 'name_length';
22271
+ constraint_type: 'name_length' | 'name_must_be_unique';
22272
22272
  min_length?: number | undefined;
22273
22273
  max_length?: number | undefined;
22274
22274
  }> | undefined) | undefined;
@@ -23423,7 +23423,7 @@ interface Routes {
23423
23423
  code_constraints?: (Array<{
23424
23424
  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';
23425
23425
  } | {
23426
- constraint_type: 'name_length';
23426
+ constraint_type: 'name_length' | 'name_must_be_unique';
23427
23427
  min_length?: number | undefined;
23428
23428
  max_length?: number | undefined;
23429
23429
  }> | undefined) | undefined;
@@ -24036,7 +24036,7 @@ interface Routes {
24036
24036
  code_constraints?: (Array<{
24037
24037
  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';
24038
24038
  } | {
24039
- constraint_type: 'name_length';
24039
+ constraint_type: 'name_length' | 'name_must_be_unique';
24040
24040
  min_length?: number | undefined;
24041
24041
  max_length?: number | undefined;
24042
24042
  }> | undefined) | undefined;
@@ -24832,7 +24832,7 @@ interface Routes {
24832
24832
  code_constraints?: (Array<{
24833
24833
  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';
24834
24834
  } | {
24835
- constraint_type: 'name_length';
24835
+ constraint_type: 'name_length' | 'name_must_be_unique';
24836
24836
  min_length?: number | undefined;
24837
24837
  max_length?: number | undefined;
24838
24838
  }> | undefined) | undefined;
@@ -25349,7 +25349,7 @@ interface Routes {
25349
25349
  code_constraints?: (Array<{
25350
25350
  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';
25351
25351
  } | {
25352
- constraint_type: 'name_length';
25352
+ constraint_type: 'name_length' | 'name_must_be_unique';
25353
25353
  min_length?: number | undefined;
25354
25354
  max_length?: number | undefined;
25355
25355
  }> | undefined) | undefined;
@@ -7,15 +7,15 @@ export declare const access_code_code_constraint: z.ZodObject<{
7
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" | "cannot_contain_089";
8
8
  }>;
9
9
  export declare const access_code_name_constraint: z.ZodObject<{
10
- constraint_type: z.ZodLiteral<"name_length">;
10
+ constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
11
11
  min_length: z.ZodOptional<z.ZodNumber>;
12
12
  max_length: z.ZodOptional<z.ZodNumber>;
13
13
  }, "strip", z.ZodTypeAny, {
14
- constraint_type: "name_length";
14
+ constraint_type: "name_length" | "name_must_be_unique";
15
15
  min_length?: number | undefined;
16
16
  max_length?: number | undefined;
17
17
  }, {
18
- constraint_type: "name_length";
18
+ constraint_type: "name_length" | "name_must_be_unique";
19
19
  min_length?: number | undefined;
20
20
  max_length?: number | undefined;
21
21
  }>;
@@ -26,15 +26,15 @@ export declare const access_code_constraint: z.ZodUnion<[z.ZodObject<{
26
26
  }, {
27
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" | "cannot_contain_089";
28
28
  }>, z.ZodObject<{
29
- constraint_type: z.ZodLiteral<"name_length">;
29
+ constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
30
30
  min_length: z.ZodOptional<z.ZodNumber>;
31
31
  max_length: z.ZodOptional<z.ZodNumber>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- constraint_type: "name_length";
33
+ constraint_type: "name_length" | "name_must_be_unique";
34
34
  min_length?: number | undefined;
35
35
  max_length?: number | undefined;
36
36
  }, {
37
- constraint_type: "name_length";
37
+ constraint_type: "name_length" | "name_must_be_unique";
38
38
  min_length?: number | undefined;
39
39
  max_length?: number | undefined;
40
40
  }>]>;
@@ -48,15 +48,15 @@ export declare const access_code_capability_properties: z.ZodObject<{
48
48
  }, {
49
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" | "cannot_contain_089";
50
50
  }>, z.ZodObject<{
51
- constraint_type: z.ZodLiteral<"name_length">;
51
+ constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
52
52
  min_length: z.ZodOptional<z.ZodNumber>;
53
53
  max_length: z.ZodOptional<z.ZodNumber>;
54
54
  }, "strip", z.ZodTypeAny, {
55
- constraint_type: "name_length";
55
+ constraint_type: "name_length" | "name_must_be_unique";
56
56
  min_length?: number | undefined;
57
57
  max_length?: number | undefined;
58
58
  }, {
59
- constraint_type: "name_length";
59
+ constraint_type: "name_length" | "name_must_be_unique";
60
60
  min_length?: number | undefined;
61
61
  max_length?: number | undefined;
62
62
  }>]>, "many">>;
@@ -69,7 +69,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
69
69
  code_constraints?: ({
70
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" | "cannot_contain_089";
71
71
  } | {
72
- constraint_type: "name_length";
72
+ constraint_type: "name_length" | "name_must_be_unique";
73
73
  min_length?: number | undefined;
74
74
  max_length?: number | undefined;
75
75
  })[] | undefined;
@@ -82,7 +82,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
82
82
  code_constraints?: ({
83
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" | "cannot_contain_089";
84
84
  } | {
85
- constraint_type: "name_length";
85
+ constraint_type: "name_length" | "name_must_be_unique";
86
86
  min_length?: number | undefined;
87
87
  max_length?: number | undefined;
88
88
  })[] | undefined;
@@ -13,7 +13,7 @@ export const access_code_code_constraint = z.object({
13
13
  ]),
14
14
  });
15
15
  export const access_code_name_constraint = z.object({
16
- constraint_type: z.literal('name_length'), // Nuki, Kwikset
16
+ constraint_type: z.enum(['name_length', 'name_must_be_unique']), // Nuki, Kwikset
17
17
  min_length: z.number().optional(),
18
18
  max_length: z.number().optional(),
19
19
  });
@@ -1 +1 @@
1
- {"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/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;QACxC,oBAAoB,EAAE,0CAA0C;KACjE,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/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;QACxC,oBAAoB,EAAE,0CAA0C;KACjE,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,qBAAqB,CAAC,CAAC,EAAE,gBAAgB;IACjF,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"}
@@ -12,15 +12,15 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
12
12
  }, {
13
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" | "cannot_contain_089";
14
14
  }>, z.ZodObject<{
15
- constraint_type: z.ZodLiteral<"name_length">;
15
+ constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
16
16
  min_length: z.ZodOptional<z.ZodNumber>;
17
17
  max_length: z.ZodOptional<z.ZodNumber>;
18
18
  }, "strip", z.ZodTypeAny, {
19
- constraint_type: "name_length";
19
+ constraint_type: "name_length" | "name_must_be_unique";
20
20
  min_length?: number | undefined;
21
21
  max_length?: number | undefined;
22
22
  }, {
23
- constraint_type: "name_length";
23
+ constraint_type: "name_length" | "name_must_be_unique";
24
24
  min_length?: number | undefined;
25
25
  max_length?: number | undefined;
26
26
  }>]>, "many">>>;
@@ -42,7 +42,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
42
42
  code_constraints?: ({
43
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" | "cannot_contain_089";
44
44
  } | {
45
- constraint_type: "name_length";
45
+ constraint_type: "name_length" | "name_must_be_unique";
46
46
  min_length?: number | undefined;
47
47
  max_length?: number | undefined;
48
48
  })[] | undefined;
@@ -60,7 +60,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
60
60
  code_constraints?: ({
61
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" | "cannot_contain_089";
62
62
  } | {
63
- constraint_type: "name_length";
63
+ constraint_type: "name_length" | "name_must_be_unique";
64
64
  min_length?: number | undefined;
65
65
  max_length?: number | undefined;
66
66
  })[] | undefined;
@@ -1388,15 +1388,15 @@ export declare const managed_device: z.ZodObject<{
1388
1388
  }, {
1389
1389
  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";
1390
1390
  }>, z.ZodObject<{
1391
- constraint_type: z.ZodLiteral<"name_length">;
1391
+ constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
1392
1392
  min_length: z.ZodOptional<z.ZodNumber>;
1393
1393
  max_length: z.ZodOptional<z.ZodNumber>;
1394
1394
  }, "strip", z.ZodTypeAny, {
1395
- constraint_type: "name_length";
1395
+ constraint_type: "name_length" | "name_must_be_unique";
1396
1396
  min_length?: number | undefined;
1397
1397
  max_length?: number | undefined;
1398
1398
  }, {
1399
- constraint_type: "name_length";
1399
+ constraint_type: "name_length" | "name_must_be_unique";
1400
1400
  min_length?: number | undefined;
1401
1401
  max_length?: number | undefined;
1402
1402
  }>]>, "many">>>;
@@ -1418,7 +1418,7 @@ export declare const managed_device: z.ZodObject<{
1418
1418
  code_constraints?: ({
1419
1419
  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";
1420
1420
  } | {
1421
- constraint_type: "name_length";
1421
+ constraint_type: "name_length" | "name_must_be_unique";
1422
1422
  min_length?: number | undefined;
1423
1423
  max_length?: number | undefined;
1424
1424
  })[] | undefined;
@@ -1436,7 +1436,7 @@ export declare const managed_device: z.ZodObject<{
1436
1436
  code_constraints?: ({
1437
1437
  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";
1438
1438
  } | {
1439
- constraint_type: "name_length";
1439
+ constraint_type: "name_length" | "name_must_be_unique";
1440
1440
  min_length?: number | undefined;
1441
1441
  max_length?: number | undefined;
1442
1442
  })[] | undefined;
@@ -2455,7 +2455,7 @@ export declare const managed_device: z.ZodObject<{
2455
2455
  code_constraints?: ({
2456
2456
  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";
2457
2457
  } | {
2458
- constraint_type: "name_length";
2458
+ constraint_type: "name_length" | "name_must_be_unique";
2459
2459
  min_length?: number | undefined;
2460
2460
  max_length?: number | undefined;
2461
2461
  })[] | undefined;
@@ -2882,7 +2882,7 @@ export declare const managed_device: z.ZodObject<{
2882
2882
  code_constraints?: ({
2883
2883
  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";
2884
2884
  } | {
2885
- constraint_type: "name_length";
2885
+ constraint_type: "name_length" | "name_must_be_unique";
2886
2886
  min_length?: number | undefined;
2887
2887
  max_length?: number | undefined;
2888
2888
  })[] | undefined;
@@ -3338,7 +3338,7 @@ export declare const managed_device: z.ZodObject<{
3338
3338
  code_constraints?: ({
3339
3339
  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";
3340
3340
  } | {
3341
- constraint_type: "name_length";
3341
+ constraint_type: "name_length" | "name_must_be_unique";
3342
3342
  min_length?: number | undefined;
3343
3343
  max_length?: number | undefined;
3344
3344
  })[] | undefined;
@@ -3765,7 +3765,7 @@ export declare const managed_device: z.ZodObject<{
3765
3765
  code_constraints?: ({
3766
3766
  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";
3767
3767
  } | {
3768
- constraint_type: "name_length";
3768
+ constraint_type: "name_length" | "name_must_be_unique";
3769
3769
  min_length?: number | undefined;
3770
3770
  max_length?: number | undefined;
3771
3771
  })[] | undefined;
@@ -1458,7 +1458,7 @@ export default {
1458
1458
  {
1459
1459
  properties: {
1460
1460
  constraint_type: {
1461
- enum: ['name_length'],
1461
+ enum: ['name_length', 'name_must_be_unique'],
1462
1462
  type: 'string',
1463
1463
  },
1464
1464
  max_length: { type: 'number' },