@seamapi/types 1.232.0 → 1.234.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.
@@ -2248,6 +2248,7 @@ export interface Routes {
2248
2248
  email?: string | undefined;
2249
2249
  email_address?: string | undefined;
2250
2250
  phone_number?: string | undefined;
2251
+ is_managed: true;
2251
2252
  }>;
2252
2253
  };
2253
2254
  };
@@ -2349,7 +2350,11 @@ export interface Routes {
2349
2350
  joiner_acs_credential_ids?: string[] | undefined;
2350
2351
  guest_acs_entrance_ids?: string[] | undefined;
2351
2352
  common_acs_entrance_ids?: string[] | undefined;
2353
+ is_valid?: boolean | undefined;
2354
+ card_id?: string | undefined;
2355
+ credential_id?: string | undefined;
2352
2356
  } | undefined;
2357
+ is_managed: true;
2353
2358
  };
2354
2359
  };
2355
2360
  };
@@ -2411,7 +2416,11 @@ export interface Routes {
2411
2416
  joiner_acs_credential_ids?: string[] | undefined;
2412
2417
  guest_acs_entrance_ids?: string[] | undefined;
2413
2418
  common_acs_entrance_ids?: string[] | undefined;
2419
+ is_valid?: boolean | undefined;
2420
+ card_id?: string | undefined;
2421
+ credential_id?: string | undefined;
2414
2422
  } | undefined;
2423
+ is_managed: true;
2415
2424
  };
2416
2425
  };
2417
2426
  };
@@ -2467,7 +2476,11 @@ export interface Routes {
2467
2476
  joiner_acs_credential_ids?: string[] | undefined;
2468
2477
  guest_acs_entrance_ids?: string[] | undefined;
2469
2478
  common_acs_entrance_ids?: string[] | undefined;
2479
+ is_valid?: boolean | undefined;
2480
+ card_id?: string | undefined;
2481
+ credential_id?: string | undefined;
2470
2482
  } | undefined;
2483
+ is_managed: true;
2471
2484
  };
2472
2485
  };
2473
2486
  };
@@ -2523,7 +2536,11 @@ export interface Routes {
2523
2536
  joiner_acs_credential_ids?: string[] | undefined;
2524
2537
  guest_acs_entrance_ids?: string[] | undefined;
2525
2538
  common_acs_entrance_ids?: string[] | undefined;
2539
+ is_valid?: boolean | undefined;
2540
+ card_id?: string | undefined;
2541
+ credential_id?: string | undefined;
2526
2542
  } | undefined;
2543
+ is_managed: true;
2527
2544
  }>;
2528
2545
  };
2529
2546
  };
@@ -2605,10 +2622,119 @@ export interface Routes {
2605
2622
  joiner_acs_credential_ids?: string[] | undefined;
2606
2623
  guest_acs_entrance_ids?: string[] | undefined;
2607
2624
  common_acs_entrance_ids?: string[] | undefined;
2625
+ is_valid?: boolean | undefined;
2626
+ card_id?: string | undefined;
2627
+ credential_id?: string | undefined;
2628
+ } | undefined;
2629
+ is_managed: true;
2630
+ };
2631
+ };
2632
+ };
2633
+ '/acs/credentials/unmanaged/get': {
2634
+ route: '/acs/credentials/unmanaged/get';
2635
+ method: 'GET' | 'POST';
2636
+ queryParams: {};
2637
+ jsonBody: {};
2638
+ commonParams: {
2639
+ acs_credential_id: string;
2640
+ };
2641
+ formData: {};
2642
+ jsonResponse: {
2643
+ acs_credential: {
2644
+ acs_credential_id: string;
2645
+ acs_user_id?: string | undefined;
2646
+ acs_credential_pool_id?: string | undefined;
2647
+ acs_system_id: string;
2648
+ parent_acs_credential_id?: string | undefined;
2649
+ display_name: string;
2650
+ code?: (string | undefined) | null;
2651
+ access_method: 'code' | 'card' | 'mobile_key';
2652
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2653
+ external_type_display_name?: string | undefined;
2654
+ created_at: string;
2655
+ workspace_id: string;
2656
+ starts_at?: string | undefined;
2657
+ ends_at?: string | undefined;
2658
+ errors: Array<{
2659
+ error_code: string;
2660
+ message: string;
2661
+ }>;
2662
+ warnings: Array<{
2663
+ warning_code: string;
2664
+ message: string;
2665
+ }>;
2666
+ is_multi_phone_sync_credential?: boolean | undefined;
2667
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2668
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2669
+ visionline_metadata?: {
2670
+ card_function_type: 'guest' | 'staff';
2671
+ joiner_acs_credential_ids?: string[] | undefined;
2672
+ guest_acs_entrance_ids?: string[] | undefined;
2673
+ common_acs_entrance_ids?: string[] | undefined;
2674
+ is_valid?: boolean | undefined;
2675
+ card_id?: string | undefined;
2676
+ credential_id?: string | undefined;
2608
2677
  } | undefined;
2678
+ is_managed: false;
2609
2679
  };
2610
2680
  };
2611
2681
  };
2682
+ '/acs/credentials/unmanaged/list': {
2683
+ route: '/acs/credentials/unmanaged/list';
2684
+ method: 'GET' | 'POST';
2685
+ queryParams: {};
2686
+ jsonBody: {};
2687
+ commonParams: {
2688
+ acs_user_id: string;
2689
+ } | {
2690
+ acs_system_id: string;
2691
+ } | {
2692
+ acs_user_id: string;
2693
+ acs_system_id: string;
2694
+ } | {
2695
+ user_identity_id: string;
2696
+ };
2697
+ formData: {};
2698
+ jsonResponse: {
2699
+ acs_credentials: Array<{
2700
+ acs_credential_id: string;
2701
+ acs_user_id?: string | undefined;
2702
+ acs_credential_pool_id?: string | undefined;
2703
+ acs_system_id: string;
2704
+ parent_acs_credential_id?: string | undefined;
2705
+ display_name: string;
2706
+ code?: (string | undefined) | null;
2707
+ access_method: 'code' | 'card' | 'mobile_key';
2708
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2709
+ external_type_display_name?: string | undefined;
2710
+ created_at: string;
2711
+ workspace_id: string;
2712
+ starts_at?: string | undefined;
2713
+ ends_at?: string | undefined;
2714
+ errors: Array<{
2715
+ error_code: string;
2716
+ message: string;
2717
+ }>;
2718
+ warnings: Array<{
2719
+ warning_code: string;
2720
+ message: string;
2721
+ }>;
2722
+ is_multi_phone_sync_credential?: boolean | undefined;
2723
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2724
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2725
+ visionline_metadata?: {
2726
+ card_function_type: 'guest' | 'staff';
2727
+ joiner_acs_credential_ids?: string[] | undefined;
2728
+ guest_acs_entrance_ids?: string[] | undefined;
2729
+ common_acs_entrance_ids?: string[] | undefined;
2730
+ is_valid?: boolean | undefined;
2731
+ card_id?: string | undefined;
2732
+ credential_id?: string | undefined;
2733
+ } | undefined;
2734
+ is_managed: false;
2735
+ }>;
2736
+ };
2737
+ };
2612
2738
  '/acs/credentials/update': {
2613
2739
  route: '/acs/credentials/update';
2614
2740
  method: 'PATCH' | 'POST';
@@ -2652,7 +2778,11 @@ export interface Routes {
2652
2778
  joiner_acs_credential_ids?: string[] | undefined;
2653
2779
  guest_acs_entrance_ids?: string[] | undefined;
2654
2780
  common_acs_entrance_ids?: string[] | undefined;
2781
+ is_valid?: boolean | undefined;
2782
+ card_id?: string | undefined;
2783
+ credential_id?: string | undefined;
2655
2784
  } | undefined;
2785
+ is_managed: true;
2656
2786
  };
2657
2787
  };
2658
2788
  };
@@ -2783,7 +2913,11 @@ export interface Routes {
2783
2913
  joiner_acs_credential_ids?: string[] | undefined;
2784
2914
  guest_acs_entrance_ids?: string[] | undefined;
2785
2915
  common_acs_entrance_ids?: string[] | undefined;
2916
+ is_valid?: boolean | undefined;
2917
+ card_id?: string | undefined;
2918
+ credential_id?: string | undefined;
2786
2919
  } | undefined;
2920
+ is_managed: true;
2787
2921
  }>;
2788
2922
  };
2789
2923
  };
@@ -3105,6 +3239,7 @@ export interface Routes {
3105
3239
  email?: string | undefined;
3106
3240
  email_address?: string | undefined;
3107
3241
  phone_number?: string | undefined;
3242
+ is_managed: true;
3108
3243
  };
3109
3244
  };
3110
3245
  };
@@ -3160,6 +3295,7 @@ export interface Routes {
3160
3295
  email?: string | undefined;
3161
3296
  email_address?: string | undefined;
3162
3297
  phone_number?: string | undefined;
3298
+ is_managed: true;
3163
3299
  };
3164
3300
  };
3165
3301
  };
@@ -3209,6 +3345,7 @@ export interface Routes {
3209
3345
  email?: string | undefined;
3210
3346
  email_address?: string | undefined;
3211
3347
  phone_number?: string | undefined;
3348
+ is_managed: true;
3212
3349
  }>;
3213
3350
  };
3214
3351
  };
@@ -3323,6 +3460,7 @@ export interface Routes {
3323
3460
  email?: string | undefined;
3324
3461
  email_address?: string | undefined;
3325
3462
  phone_number?: string | undefined;
3463
+ is_managed: true;
3326
3464
  };
3327
3465
  };
3328
3466
  };
@@ -3332,7 +3470,11 @@ export interface Routes {
3332
3470
  queryParams: {};
3333
3471
  jsonBody: {};
3334
3472
  commonParams: {
3335
- acs_system_id: string;
3473
+ user_identity_id?: string | undefined;
3474
+ user_identity_phone_number?: string | undefined;
3475
+ user_identity_email_address?: string | undefined;
3476
+ acs_system_id?: string | undefined;
3477
+ limit?: number;
3336
3478
  };
3337
3479
  formData: {};
3338
3480
  jsonResponse: {
@@ -3367,6 +3509,7 @@ export interface Routes {
3367
3509
  email?: string | undefined;
3368
3510
  email_address?: string | undefined;
3369
3511
  phone_number?: string | undefined;
3512
+ is_managed: false;
3370
3513
  }>;
3371
3514
  };
3372
3515
  };
@@ -4971,6 +5114,10 @@ export interface Routes {
4971
5114
  can_remotely_lock?: boolean | undefined;
4972
5115
  can_program_offline_access_codes?: boolean | undefined;
4973
5116
  can_program_online_access_codes?: boolean | undefined;
5117
+ can_hvac_heat?: boolean | undefined;
5118
+ can_hvac_cool?: boolean | undefined;
5119
+ can_hvac_heat_cool?: boolean | undefined;
5120
+ can_turn_off_hvac?: boolean | undefined;
4974
5121
  can_simulate_removal?: boolean | undefined;
4975
5122
  can_simulate_connection?: boolean | undefined;
4976
5123
  can_simulate_disconnection?: boolean | undefined;
@@ -4995,8 +5142,8 @@ export interface Routes {
4995
5142
  created_before?: Date | undefined;
4996
5143
  user_identifier_key?: string | undefined;
4997
5144
  custom_metadata_has?: Record<string, string | boolean> | undefined;
4998
- include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
4999
- exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
5145
+ include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
5146
+ exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
5000
5147
  };
5001
5148
  formData: {};
5002
5149
  jsonResponse: {
@@ -5386,6 +5533,10 @@ export interface Routes {
5386
5533
  can_remotely_lock?: boolean | undefined;
5387
5534
  can_program_offline_access_codes?: boolean | undefined;
5388
5535
  can_program_online_access_codes?: boolean | undefined;
5536
+ can_hvac_heat?: boolean | undefined;
5537
+ can_hvac_cool?: boolean | undefined;
5538
+ can_hvac_heat_cool?: boolean | undefined;
5539
+ can_turn_off_hvac?: boolean | undefined;
5389
5540
  can_simulate_removal?: boolean | undefined;
5390
5541
  can_simulate_connection?: boolean | undefined;
5391
5542
  can_simulate_disconnection?: boolean | undefined;
@@ -5411,6 +5562,10 @@ export interface Routes {
5411
5562
  can_remotely_lock?: boolean | undefined;
5412
5563
  can_program_offline_access_codes?: boolean | undefined;
5413
5564
  can_program_online_access_codes?: boolean | undefined;
5565
+ can_hvac_heat?: boolean | undefined;
5566
+ can_hvac_cool?: boolean | undefined;
5567
+ can_hvac_heat_cool?: boolean | undefined;
5568
+ can_turn_off_hvac?: boolean | undefined;
5414
5569
  can_simulate_removal?: boolean | undefined;
5415
5570
  can_simulate_connection?: boolean | undefined;
5416
5571
  can_simulate_disconnection?: boolean | undefined;
@@ -5551,6 +5706,10 @@ export interface Routes {
5551
5706
  can_remotely_lock?: boolean | undefined;
5552
5707
  can_program_offline_access_codes?: boolean | undefined;
5553
5708
  can_program_online_access_codes?: boolean | undefined;
5709
+ can_hvac_heat?: boolean | undefined;
5710
+ can_hvac_cool?: boolean | undefined;
5711
+ can_hvac_heat_cool?: boolean | undefined;
5712
+ can_turn_off_hvac?: boolean | undefined;
5554
5713
  can_simulate_removal?: boolean | undefined;
5555
5714
  can_simulate_connection?: boolean | undefined;
5556
5715
  can_simulate_disconnection?: boolean | undefined;
@@ -5575,8 +5734,8 @@ export interface Routes {
5575
5734
  created_before?: Date | undefined;
5576
5735
  user_identifier_key?: string | undefined;
5577
5736
  custom_metadata_has?: Record<string, string | boolean> | undefined;
5578
- include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
5579
- exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
5737
+ include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
5738
+ exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
5580
5739
  };
5581
5740
  formData: {};
5582
5741
  jsonResponse: {
@@ -5670,6 +5829,10 @@ export interface Routes {
5670
5829
  can_remotely_lock?: boolean | undefined;
5671
5830
  can_program_offline_access_codes?: boolean | undefined;
5672
5831
  can_program_online_access_codes?: boolean | undefined;
5832
+ can_hvac_heat?: boolean | undefined;
5833
+ can_hvac_cool?: boolean | undefined;
5834
+ can_hvac_heat_cool?: boolean | undefined;
5835
+ can_turn_off_hvac?: boolean | undefined;
5673
5836
  can_simulate_removal?: boolean | undefined;
5674
5837
  can_simulate_connection?: boolean | undefined;
5675
5838
  can_simulate_disconnection?: boolean | undefined;
@@ -6169,6 +6332,10 @@ export interface Routes {
6169
6332
  can_remotely_lock?: boolean | undefined;
6170
6333
  can_program_offline_access_codes?: boolean | undefined;
6171
6334
  can_program_online_access_codes?: boolean | undefined;
6335
+ can_hvac_heat?: boolean | undefined;
6336
+ can_hvac_cool?: boolean | undefined;
6337
+ can_hvac_heat_cool?: boolean | undefined;
6338
+ can_turn_off_hvac?: boolean | undefined;
6172
6339
  can_simulate_removal?: boolean | undefined;
6173
6340
  can_simulate_connection?: boolean | undefined;
6174
6341
  can_simulate_disconnection?: boolean | undefined;
@@ -6559,6 +6726,10 @@ export interface Routes {
6559
6726
  can_remotely_lock?: boolean | undefined;
6560
6727
  can_program_offline_access_codes?: boolean | undefined;
6561
6728
  can_program_online_access_codes?: boolean | undefined;
6729
+ can_hvac_heat?: boolean | undefined;
6730
+ can_hvac_cool?: boolean | undefined;
6731
+ can_hvac_heat_cool?: boolean | undefined;
6732
+ can_turn_off_hvac?: boolean | undefined;
6562
6733
  can_simulate_removal?: boolean | undefined;
6563
6734
  can_simulate_connection?: boolean | undefined;
6564
6735
  can_simulate_disconnection?: boolean | undefined;
@@ -6583,8 +6754,8 @@ export interface Routes {
6583
6754
  created_before?: Date | undefined;
6584
6755
  user_identifier_key?: string | undefined;
6585
6756
  custom_metadata_has?: Record<string, string | boolean> | undefined;
6586
- include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
6587
- exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
6757
+ include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
6758
+ exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
6588
6759
  };
6589
6760
  formData: {};
6590
6761
  jsonResponse: {
@@ -6974,6 +7145,10 @@ export interface Routes {
6974
7145
  can_remotely_lock?: boolean | undefined;
6975
7146
  can_program_offline_access_codes?: boolean | undefined;
6976
7147
  can_program_online_access_codes?: boolean | undefined;
7148
+ can_hvac_heat?: boolean | undefined;
7149
+ can_hvac_cool?: boolean | undefined;
7150
+ can_hvac_heat_cool?: boolean | undefined;
7151
+ can_turn_off_hvac?: boolean | undefined;
6977
7152
  can_simulate_removal?: boolean | undefined;
6978
7153
  can_simulate_connection?: boolean | undefined;
6979
7154
  can_simulate_disconnection?: boolean | undefined;
@@ -7364,6 +7539,10 @@ export interface Routes {
7364
7539
  can_remotely_lock?: boolean | undefined;
7365
7540
  can_program_offline_access_codes?: boolean | undefined;
7366
7541
  can_program_online_access_codes?: boolean | undefined;
7542
+ can_hvac_heat?: boolean | undefined;
7543
+ can_hvac_cool?: boolean | undefined;
7544
+ can_hvac_heat_cool?: boolean | undefined;
7545
+ can_turn_off_hvac?: boolean | undefined;
7367
7546
  can_simulate_removal?: boolean | undefined;
7368
7547
  can_simulate_connection?: boolean | undefined;
7369
7548
  can_simulate_disconnection?: boolean | undefined;
@@ -8170,8 +8349,8 @@ export interface Routes {
8170
8349
  created_before?: Date | undefined;
8171
8350
  user_identifier_key?: string | undefined;
8172
8351
  custom_metadata_has?: Record<string, string | boolean> | undefined;
8173
- include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
8174
- exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
8352
+ include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
8353
+ exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
8175
8354
  };
8176
8355
  formData: {};
8177
8356
  jsonResponse: {
@@ -8561,6 +8740,10 @@ export interface Routes {
8561
8740
  can_remotely_lock?: boolean | undefined;
8562
8741
  can_program_offline_access_codes?: boolean | undefined;
8563
8742
  can_program_online_access_codes?: boolean | undefined;
8743
+ can_hvac_heat?: boolean | undefined;
8744
+ can_hvac_cool?: boolean | undefined;
8745
+ can_hvac_heat_cool?: boolean | undefined;
8746
+ can_turn_off_hvac?: boolean | undefined;
8564
8747
  can_simulate_removal?: boolean | undefined;
8565
8748
  can_simulate_connection?: boolean | undefined;
8566
8749
  can_simulate_disconnection?: boolean | undefined;
@@ -8951,6 +9134,10 @@ export interface Routes {
8951
9134
  can_remotely_lock?: boolean | undefined;
8952
9135
  can_program_offline_access_codes?: boolean | undefined;
8953
9136
  can_program_online_access_codes?: boolean | undefined;
9137
+ can_hvac_heat?: boolean | undefined;
9138
+ can_hvac_cool?: boolean | undefined;
9139
+ can_hvac_heat_cool?: boolean | undefined;
9140
+ can_turn_off_hvac?: boolean | undefined;
8954
9141
  can_simulate_removal?: boolean | undefined;
8955
9142
  can_simulate_connection?: boolean | undefined;
8956
9143
  can_simulate_disconnection?: boolean | undefined;
@@ -10228,6 +10415,10 @@ export interface Routes {
10228
10415
  can_remotely_lock?: boolean | undefined;
10229
10416
  can_program_offline_access_codes?: boolean | undefined;
10230
10417
  can_program_online_access_codes?: boolean | undefined;
10418
+ can_hvac_heat?: boolean | undefined;
10419
+ can_hvac_cool?: boolean | undefined;
10420
+ can_hvac_heat_cool?: boolean | undefined;
10421
+ can_turn_off_hvac?: boolean | undefined;
10231
10422
  can_simulate_removal?: boolean | undefined;
10232
10423
  can_simulate_connection?: boolean | undefined;
10233
10424
  can_simulate_disconnection?: boolean | undefined;
@@ -10311,6 +10502,10 @@ export interface Routes {
10311
10502
  can_remotely_lock?: boolean | undefined;
10312
10503
  can_program_offline_access_codes?: boolean | undefined;
10313
10504
  can_program_online_access_codes?: boolean | undefined;
10505
+ can_hvac_heat?: boolean | undefined;
10506
+ can_hvac_cool?: boolean | undefined;
10507
+ can_hvac_heat_cool?: boolean | undefined;
10508
+ can_turn_off_hvac?: boolean | undefined;
10314
10509
  can_simulate_removal?: boolean | undefined;
10315
10510
  can_simulate_connection?: boolean | undefined;
10316
10511
  can_simulate_disconnection?: boolean | undefined;
@@ -11239,6 +11434,10 @@ export interface Routes {
11239
11434
  can_remotely_lock?: boolean | undefined;
11240
11435
  can_program_offline_access_codes?: boolean | undefined;
11241
11436
  can_program_online_access_codes?: boolean | undefined;
11437
+ can_hvac_heat?: boolean | undefined;
11438
+ can_hvac_cool?: boolean | undefined;
11439
+ can_hvac_heat_cool?: boolean | undefined;
11440
+ can_turn_off_hvac?: boolean | undefined;
11242
11441
  can_simulate_removal?: boolean | undefined;
11243
11442
  can_simulate_connection?: boolean | undefined;
11244
11443
  can_simulate_disconnection?: boolean | undefined;
@@ -12017,8 +12216,8 @@ export interface Routes {
12017
12216
  created_before?: Date | undefined;
12018
12217
  user_identifier_key?: string | undefined;
12019
12218
  custom_metadata_has?: Record<string, string | boolean> | undefined;
12020
- include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
12021
- exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
12219
+ include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
12220
+ exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
12022
12221
  };
12023
12222
  formData: {};
12024
12223
  jsonResponse: {
@@ -12408,6 +12607,10 @@ export interface Routes {
12408
12607
  can_remotely_lock?: boolean | undefined;
12409
12608
  can_program_offline_access_codes?: boolean | undefined;
12410
12609
  can_program_online_access_codes?: boolean | undefined;
12610
+ can_hvac_heat?: boolean | undefined;
12611
+ can_hvac_cool?: boolean | undefined;
12612
+ can_hvac_heat_cool?: boolean | undefined;
12613
+ can_turn_off_hvac?: boolean | undefined;
12411
12614
  can_simulate_removal?: boolean | undefined;
12412
12615
  can_simulate_connection?: boolean | undefined;
12413
12616
  can_simulate_disconnection?: boolean | undefined;
@@ -13758,6 +13961,10 @@ export interface Routes {
13758
13961
  can_remotely_lock?: boolean | undefined;
13759
13962
  can_program_offline_access_codes?: boolean | undefined;
13760
13963
  can_program_online_access_codes?: boolean | undefined;
13964
+ can_hvac_heat?: boolean | undefined;
13965
+ can_hvac_cool?: boolean | undefined;
13966
+ can_hvac_heat_cool?: boolean | undefined;
13967
+ can_turn_off_hvac?: boolean | undefined;
13761
13968
  can_simulate_removal?: boolean | undefined;
13762
13969
  can_simulate_connection?: boolean | undefined;
13763
13970
  can_simulate_disconnection?: boolean | undefined;
@@ -14150,6 +14357,10 @@ export interface Routes {
14150
14357
  can_remotely_lock?: boolean | undefined;
14151
14358
  can_program_offline_access_codes?: boolean | undefined;
14152
14359
  can_program_online_access_codes?: boolean | undefined;
14360
+ can_hvac_heat?: boolean | undefined;
14361
+ can_hvac_cool?: boolean | undefined;
14362
+ can_hvac_heat_cool?: boolean | undefined;
14363
+ can_turn_off_hvac?: boolean | undefined;
14153
14364
  can_simulate_removal?: boolean | undefined;
14154
14365
  can_simulate_connection?: boolean | undefined;
14155
14366
  can_simulate_disconnection?: boolean | undefined;
@@ -14280,6 +14491,7 @@ export interface Routes {
14280
14491
  email?: string | undefined;
14281
14492
  email_address?: string | undefined;
14282
14493
  phone_number?: string | undefined;
14494
+ is_managed: true;
14283
14495
  }>;
14284
14496
  };
14285
14497
  };
@@ -1 +1 @@
1
- export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, climate_setting_schedule, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, unmanaged_access_code, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_unmanaged_user, acs_user, action_attempt, client_session, climate_setting_schedule, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, unmanaged_access_code, unmanaged_acs_credential, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
@@ -1,2 +1,2 @@
1
- export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, climate_setting_schedule, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, unmanaged_access_code, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_unmanaged_user, acs_user, action_attempt, client_session, climate_setting_schedule, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, unmanaged_access_code, unmanaged_acs_credential, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
2
2
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,cAAc,EACd,wBAAwB,EACxB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,eAAe,EACf,UAAU,EACV,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,QAAQ,EACR,cAAc,EACd,cAAc,EACd,wBAAwB,EACxB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,eAAe,EACf,UAAU,EACV,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.232.0",
3
+ "version": "1.234.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -21,7 +21,7 @@ export type AcsCredentialExternalType = z.infer<
21
21
  typeof acs_credential_external_type
22
22
  >
23
23
 
24
- export const acs_credential = z.object({
24
+ const common_acs_credential = z.object({
25
25
  acs_credential_id: z.string().uuid(),
26
26
  acs_user_id: z.string().uuid().optional(),
27
27
  acs_credential_pool_id: z.string().uuid().optional(),
@@ -57,4 +57,17 @@ export const acs_credential = z.object({
57
57
  visionline_metadata: acs_credential_visionline_metadata.optional(),
58
58
  })
59
59
 
60
+ export const acs_credential = common_acs_credential.merge(
61
+ z.object({
62
+ is_managed: z.literal(true),
63
+ }),
64
+ )
65
+
66
+ export const unmanaged_acs_credential = common_acs_credential.merge(
67
+ z.object({
68
+ is_managed: z.literal(false),
69
+ }),
70
+ )
71
+
60
72
  export type AcsCredential = z.output<typeof acs_credential>
73
+ export type UnmanagedAcsCredential = z.output<typeof unmanaged_acs_credential>
@@ -45,7 +45,7 @@ const user_fields = z.object({
45
45
  phone_number: phone_number.optional(),
46
46
  })
47
47
 
48
- export const acs_user = z
48
+ const common_acs_user = z
49
49
  .object({
50
50
  acs_user_id: z.string().uuid(),
51
51
  acs_system_id: z.string().uuid(),
@@ -70,4 +70,17 @@ export const acs_user = z
70
70
  })
71
71
  .merge(user_fields)
72
72
 
73
+ export const acs_user = common_acs_user.merge(
74
+ z.object({
75
+ is_managed: z.literal(true),
76
+ }),
77
+ )
78
+
79
+ export const acs_unmanaged_user = common_acs_user.merge(
80
+ z.object({
81
+ is_managed: z.literal(false),
82
+ }),
83
+ )
84
+
73
85
  export type AcsUser = z.output<typeof acs_user>
86
+ export type AcsUnmanagedUser = z.output<typeof acs_unmanaged_user>
@@ -24,6 +24,9 @@ export const acs_credential_visionline_metadata = z.object({
24
24
  joiner_acs_credential_ids: z.array(z.string().uuid()).optional(),
25
25
  guest_acs_entrance_ids: z.array(z.string().uuid()).optional(),
26
26
  common_acs_entrance_ids: z.array(z.string().uuid()).optional(),
27
+ is_valid: z.boolean().optional(),
28
+ card_id: z.string().optional(),
29
+ credential_id: z.string().optional(),
27
30
  })
28
31
 
29
32
  export type AcsCredentialVisionlineMetadata = z.infer<