@seamapi/types 1.200.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.
@@ -2199,6 +2199,8 @@ export interface Routes {
2199
2199
  user_identity_full_name?: (string | null) | undefined;
2200
2200
  user_identity_email_address?: (string | null) | undefined;
2201
2201
  user_identity_phone_number?: (string | null) | undefined;
2202
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2203
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2202
2204
  full_name?: string | undefined;
2203
2205
  /**
2204
2206
  * @deprecated use email_address. */
@@ -2989,6 +2991,8 @@ export interface Routes {
2989
2991
  user_identity_full_name?: (string | null) | undefined;
2990
2992
  user_identity_email_address?: (string | null) | undefined;
2991
2993
  user_identity_phone_number?: (string | null) | undefined;
2994
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2995
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2992
2996
  full_name?: string | undefined;
2993
2997
  /**
2994
2998
  * @deprecated use email_address. */
@@ -3037,6 +3041,8 @@ export interface Routes {
3037
3041
  user_identity_full_name?: (string | null) | undefined;
3038
3042
  user_identity_email_address?: (string | null) | undefined;
3039
3043
  user_identity_phone_number?: (string | null) | undefined;
3044
+ latest_desired_state_synced_with_provider_at?: string | undefined;
3045
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
3040
3046
  full_name?: string | undefined;
3041
3047
  /**
3042
3048
  * @deprecated use email_address. */
@@ -3077,6 +3083,8 @@ export interface Routes {
3077
3083
  user_identity_full_name?: (string | null) | undefined;
3078
3084
  user_identity_email_address?: (string | null) | undefined;
3079
3085
  user_identity_phone_number?: (string | null) | undefined;
3086
+ latest_desired_state_synced_with_provider_at?: string | undefined;
3087
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
3080
3088
  full_name?: string | undefined;
3081
3089
  /**
3082
3090
  * @deprecated use email_address. */
@@ -4648,7 +4656,7 @@ export interface Routes {
4648
4656
  }) & ({
4649
4657
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
4650
4658
  code_constraints?: (Array<{
4651
- 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';
4652
4660
  } | {
4653
4661
  constraint_type: 'name_length' | 'name_must_be_unique';
4654
4662
  min_length?: number | undefined;
@@ -5188,7 +5196,7 @@ export interface Routes {
5188
5196
  }) & ({
5189
5197
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
5190
5198
  code_constraints?: (Array<{
5191
- 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';
5192
5200
  } | {
5193
5201
  constraint_type: 'name_length' | 'name_must_be_unique';
5194
5202
  min_length?: number | undefined;
@@ -6072,7 +6080,7 @@ export interface Routes {
6072
6080
  }) & ({
6073
6081
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
6074
6082
  code_constraints?: (Array<{
6075
- 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';
6076
6084
  } | {
6077
6085
  constraint_type: 'name_length' | 'name_must_be_unique';
6078
6086
  min_length?: number | undefined;
@@ -6587,7 +6595,7 @@ export interface Routes {
6587
6595
  }) & ({
6588
6596
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
6589
6597
  code_constraints?: (Array<{
6590
- 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';
6591
6599
  } | {
6592
6600
  constraint_type: 'name_length' | 'name_must_be_unique';
6593
6601
  min_length?: number | undefined;
@@ -7127,7 +7135,7 @@ export interface Routes {
7127
7135
  }) & ({
7128
7136
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
7129
7137
  code_constraints?: (Array<{
7130
- 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';
7131
7139
  } | {
7132
7140
  constraint_type: 'name_length' | 'name_must_be_unique';
7133
7141
  min_length?: number | undefined;
@@ -7642,7 +7650,7 @@ export interface Routes {
7642
7650
  }) & ({
7643
7651
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
7644
7652
  code_constraints?: (Array<{
7645
- 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';
7646
7654
  } | {
7647
7655
  constraint_type: 'name_length' | 'name_must_be_unique';
7648
7656
  min_length?: number | undefined;
@@ -10848,7 +10856,7 @@ export interface Routes {
10848
10856
  }) & ({
10849
10857
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
10850
10858
  code_constraints?: (Array<{
10851
- 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';
10852
10860
  } | {
10853
10861
  constraint_type: 'name_length' | 'name_must_be_unique';
10854
10862
  min_length?: number | undefined;
@@ -12142,7 +12150,7 @@ export interface Routes {
12142
12150
  }) & ({
12143
12151
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
12144
12152
  code_constraints?: (Array<{
12145
- 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';
12146
12154
  } | {
12147
12155
  constraint_type: 'name_length' | 'name_must_be_unique';
12148
12156
  min_length?: number | undefined;
@@ -13619,7 +13627,7 @@ export interface Routes {
13619
13627
  }) & ({
13620
13628
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
13621
13629
  code_constraints?: (Array<{
13622
- 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';
13623
13631
  } | {
13624
13632
  constraint_type: 'name_length' | 'name_must_be_unique';
13625
13633
  min_length?: number | undefined;
@@ -14136,7 +14144,7 @@ export interface Routes {
14136
14144
  }) & ({
14137
14145
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
14138
14146
  code_constraints?: (Array<{
14139
- 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';
14140
14148
  } | {
14141
14149
  constraint_type: 'name_length' | 'name_must_be_unique';
14142
14150
  min_length?: number | undefined;
@@ -14465,6 +14473,8 @@ export interface Routes {
14465
14473
  user_identity_full_name?: (string | null) | undefined;
14466
14474
  user_identity_email_address?: (string | null) | undefined;
14467
14475
  user_identity_phone_number?: (string | null) | undefined;
14476
+ latest_desired_state_synced_with_provider_at?: string | undefined;
14477
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
14468
14478
  full_name?: string | undefined;
14469
14479
  /**
14470
14480
  * @deprecated use email_address. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.200.0",
3
+ "version": "1.202.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -40,6 +40,11 @@ export const acs_user = z
40
40
  user_identity_full_name: z.string().nullable().optional(),
41
41
  user_identity_email_address: z.string().nullable().optional(),
42
42
  user_identity_phone_number: z.string().nullable().optional(),
43
+ latest_desired_state_synced_with_provider_at: z
44
+ .string()
45
+ .datetime()
46
+ .optional(),
47
+ is_latest_desired_state_synced_with_provider: z.boolean().optional(),
43
48
  })
44
49
  .merge(user_fields)
45
50
 
@@ -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
 
@@ -651,7 +651,12 @@ export default {
651
651
  external_type_display_name: { type: 'string' },
652
652
  full_name: { type: 'string' },
653
653
  hid_acs_system_id: { format: 'uuid', type: 'string' },
654
+ is_latest_desired_state_synced_with_provider: { type: 'boolean' },
654
655
  is_suspended: { type: 'boolean' },
656
+ latest_desired_state_synced_with_provider_at: {
657
+ format: 'date-time',
658
+ type: 'string',
659
+ },
655
660
  phone_number: { type: 'string' },
656
661
  user_identity_email_address: { nullable: true, type: 'string' },
657
662
  user_identity_full_name: { nullable: true, type: 'string' },
@@ -2797,6 +2802,7 @@ export default {
2797
2802
  'no_ascending_or_descending_sequence',
2798
2803
  'at_least_three_unique_digits',
2799
2804
  'cannot_contain_089',
2805
+ 'cannot_contain_0789',
2800
2806
  ],
2801
2807
  type: 'string',
2802
2808
  },
@@ -2437,6 +2437,8 @@ export interface Routes {
2437
2437
  user_identity_full_name?: (string | null) | undefined
2438
2438
  user_identity_email_address?: (string | null) | undefined
2439
2439
  user_identity_phone_number?: (string | null) | undefined
2440
+ latest_desired_state_synced_with_provider_at?: string | undefined
2441
+ is_latest_desired_state_synced_with_provider?: boolean | undefined
2440
2442
  full_name?: string | undefined
2441
2443
  /**
2442
2444
  * @deprecated use email_address. */
@@ -3419,6 +3421,8 @@ export interface Routes {
3419
3421
  user_identity_full_name?: (string | null) | undefined
3420
3422
  user_identity_email_address?: (string | null) | undefined
3421
3423
  user_identity_phone_number?: (string | null) | undefined
3424
+ latest_desired_state_synced_with_provider_at?: string | undefined
3425
+ is_latest_desired_state_synced_with_provider?: boolean | undefined
3422
3426
  full_name?: string | undefined
3423
3427
  /**
3424
3428
  * @deprecated use email_address. */
@@ -3477,6 +3481,8 @@ export interface Routes {
3477
3481
  user_identity_full_name?: (string | null) | undefined
3478
3482
  user_identity_email_address?: (string | null) | undefined
3479
3483
  user_identity_phone_number?: (string | null) | undefined
3484
+ latest_desired_state_synced_with_provider_at?: string | undefined
3485
+ is_latest_desired_state_synced_with_provider?: boolean | undefined
3480
3486
  full_name?: string | undefined
3481
3487
  /**
3482
3488
  * @deprecated use email_address. */
@@ -3527,6 +3533,8 @@ export interface Routes {
3527
3533
  user_identity_full_name?: (string | null) | undefined
3528
3534
  user_identity_email_address?: (string | null) | undefined
3529
3535
  user_identity_phone_number?: (string | null) | undefined
3536
+ latest_desired_state_synced_with_provider_at?: string | undefined
3537
+ is_latest_desired_state_synced_with_provider?: boolean | undefined
3530
3538
  full_name?: string | undefined
3531
3539
  /**
3532
3540
  * @deprecated use email_address. */
@@ -5385,6 +5393,7 @@ export interface Routes {
5385
5393
  | 'no_ascending_or_descending_sequence'
5386
5394
  | 'at_least_three_unique_digits'
5387
5395
  | 'cannot_contain_089'
5396
+ | 'cannot_contain_0789'
5388
5397
  }
5389
5398
  | {
5390
5399
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -6281,6 +6290,7 @@ export interface Routes {
6281
6290
  | 'no_ascending_or_descending_sequence'
6282
6291
  | 'at_least_three_unique_digits'
6283
6292
  | 'cannot_contain_089'
6293
+ | 'cannot_contain_0789'
6284
6294
  }
6285
6295
  | {
6286
6296
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -7802,6 +7812,7 @@ export interface Routes {
7802
7812
  | 'no_ascending_or_descending_sequence'
7803
7813
  | 'at_least_three_unique_digits'
7804
7814
  | 'cannot_contain_089'
7815
+ | 'cannot_contain_0789'
7805
7816
  }
7806
7817
  | {
7807
7818
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -8540,6 +8551,7 @@ export interface Routes {
8540
8551
  | 'no_ascending_or_descending_sequence'
8541
8552
  | 'at_least_three_unique_digits'
8542
8553
  | 'cannot_contain_089'
8554
+ | 'cannot_contain_0789'
8543
8555
  }
8544
8556
  | {
8545
8557
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -9436,6 +9448,7 @@ export interface Routes {
9436
9448
  | 'no_ascending_or_descending_sequence'
9437
9449
  | 'at_least_three_unique_digits'
9438
9450
  | 'cannot_contain_089'
9451
+ | 'cannot_contain_0789'
9439
9452
  }
9440
9453
  | {
9441
9454
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -10174,6 +10187,7 @@ export interface Routes {
10174
10187
  | 'no_ascending_or_descending_sequence'
10175
10188
  | 'at_least_three_unique_digits'
10176
10189
  | 'cannot_contain_089'
10190
+ | 'cannot_contain_0789'
10177
10191
  }
10178
10192
  | {
10179
10193
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -13897,6 +13911,7 @@ export interface Routes {
13897
13911
  | 'no_ascending_or_descending_sequence'
13898
13912
  | 'at_least_three_unique_digits'
13899
13913
  | 'cannot_contain_089'
13914
+ | 'cannot_contain_0789'
13900
13915
  }
13901
13916
  | {
13902
13917
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -15637,6 +15652,7 @@ export interface Routes {
15637
15652
  | 'no_ascending_or_descending_sequence'
15638
15653
  | 'at_least_three_unique_digits'
15639
15654
  | 'cannot_contain_089'
15655
+ | 'cannot_contain_0789'
15640
15656
  }
15641
15657
  | {
15642
15658
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -17429,6 +17445,7 @@ export interface Routes {
17429
17445
  | 'no_ascending_or_descending_sequence'
17430
17446
  | 'at_least_three_unique_digits'
17431
17447
  | 'cannot_contain_089'
17448
+ | 'cannot_contain_0789'
17432
17449
  }
17433
17450
  | {
17434
17451
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -18169,6 +18186,7 @@ export interface Routes {
18169
18186
  | 'no_ascending_or_descending_sequence'
18170
18187
  | 'at_least_three_unique_digits'
18171
18188
  | 'cannot_contain_089'
18189
+ | 'cannot_contain_0789'
18172
18190
  }
18173
18191
  | {
18174
18192
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -18633,6 +18651,8 @@ export interface Routes {
18633
18651
  user_identity_full_name?: (string | null) | undefined
18634
18652
  user_identity_email_address?: (string | null) | undefined
18635
18653
  user_identity_phone_number?: (string | null) | undefined
18654
+ latest_desired_state_synced_with_provider_at?: string | undefined
18655
+ is_latest_desired_state_synced_with_provider?: boolean | undefined
18636
18656
  full_name?: string | undefined
18637
18657
  /**
18638
18658
  * @deprecated use email_address. */