@seamapi/types 1.772.0 → 1.774.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.
@@ -11738,14 +11738,17 @@ export type Routes = {
11738
11738
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
11739
11739
  });
11740
11740
  /** Location information for the device. */
11741
- location: {
11741
+ location?: {
11742
11742
  /** Name of the device location.
11743
11743
  */
11744
11744
  location_name?: string | undefined;
11745
11745
  /** Time zone of the device location.
11746
11746
  */
11747
+ time_zone?: string | undefined;
11748
+ /** Time zone of the device location.
11749
+ * @deprecated Use `time_zone` instead.*/
11747
11750
  timezone?: string | undefined;
11748
- } | null;
11751
+ } | undefined;
11749
11752
  /** Unique identifier for the account associated with the device. */
11750
11753
  connected_account_id: string;
11751
11754
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -16042,14 +16045,17 @@ export type Routes = {
16042
16045
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
16043
16046
  });
16044
16047
  /** Location information for the device. */
16045
- location: {
16048
+ location?: {
16046
16049
  /** Name of the device location.
16047
16050
  */
16048
16051
  location_name?: string | undefined;
16049
16052
  /** Time zone of the device location.
16050
16053
  */
16054
+ time_zone?: string | undefined;
16055
+ /** Time zone of the device location.
16056
+ * @deprecated Use `time_zone` instead.*/
16051
16057
  timezone?: string | undefined;
16052
- } | null;
16058
+ } | undefined;
16053
16059
  /** Unique identifier for the account associated with the device. */
16054
16060
  connected_account_id: string;
16055
16061
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -32504,14 +32510,17 @@ export type Routes = {
32504
32510
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
32505
32511
  });
32506
32512
  /** Location information for the device. */
32507
- location: {
32513
+ location?: {
32508
32514
  /** Name of the device location.
32509
32515
  */
32510
32516
  location_name?: string | undefined;
32511
32517
  /** Time zone of the device location.
32512
32518
  */
32519
+ time_zone?: string | undefined;
32520
+ /** Time zone of the device location.
32521
+ * @deprecated Use `time_zone` instead.*/
32513
32522
  timezone?: string | undefined;
32514
- } | null;
32523
+ } | undefined;
32515
32524
  /** Unique identifier for the account associated with the device. */
32516
32525
  connected_account_id: string;
32517
32526
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -33874,14 +33883,17 @@ export type Routes = {
33874
33883
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
33875
33884
  });
33876
33885
  /** Location information for the device. */
33877
- location: {
33886
+ location?: {
33878
33887
  /** Name of the device location.
33879
33888
  */
33880
33889
  location_name?: string | undefined;
33881
33890
  /** Time zone of the device location.
33882
33891
  */
33892
+ time_zone?: string | undefined;
33893
+ /** Time zone of the device location.
33894
+ * @deprecated Use `time_zone` instead.*/
33883
33895
  timezone?: string | undefined;
33884
- } | null;
33896
+ } | undefined;
33885
33897
  /** Unique identifier for the account associated with the device. */
33886
33898
  connected_account_id: string;
33887
33899
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -34418,14 +34430,17 @@ export type Routes = {
34418
34430
  /** Unique identifier for the account associated with the device. */
34419
34431
  connected_account_id: string;
34420
34432
  /** Location information for the device. */
34421
- location: {
34433
+ location?: {
34422
34434
  /** Name of the device location.
34423
34435
  */
34424
34436
  location_name?: string | undefined;
34425
34437
  /** Time zone of the device location.
34426
34438
  */
34439
+ time_zone?: string | undefined;
34440
+ /** Time zone of the device location.
34441
+ * @deprecated Use `time_zone` instead.*/
34427
34442
  timezone?: string | undefined;
34428
- } | null;
34443
+ } | undefined;
34429
34444
  /**
34430
34445
  Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).
34431
34446
  */
@@ -34899,14 +34914,17 @@ export type Routes = {
34899
34914
  /** Unique identifier for the account associated with the device. */
34900
34915
  connected_account_id: string;
34901
34916
  /** Location information for the device. */
34902
- location: {
34917
+ location?: {
34903
34918
  /** Name of the device location.
34904
34919
  */
34905
34920
  location_name?: string | undefined;
34906
34921
  /** Time zone of the device location.
34907
34922
  */
34923
+ time_zone?: string | undefined;
34924
+ /** Time zone of the device location.
34925
+ * @deprecated Use `time_zone` instead.*/
34908
34926
  timezone?: string | undefined;
34909
- } | null;
34927
+ } | undefined;
34910
34928
  /**
34911
34929
  Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).
34912
34930
  */
@@ -43386,14 +43404,17 @@ export type Routes = {
43386
43404
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
43387
43405
  });
43388
43406
  /** Location information for the device. */
43389
- location: {
43407
+ location?: {
43390
43408
  /** Name of the device location.
43391
43409
  */
43392
43410
  location_name?: string | undefined;
43393
43411
  /** Time zone of the device location.
43394
43412
  */
43413
+ time_zone?: string | undefined;
43414
+ /** Time zone of the device location.
43415
+ * @deprecated Use `time_zone` instead.*/
43395
43416
  timezone?: string | undefined;
43396
- } | null;
43417
+ } | undefined;
43397
43418
  /** Unique identifier for the account associated with the device. */
43398
43419
  connected_account_id: string;
43399
43420
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -44706,14 +44727,17 @@ export type Routes = {
44706
44727
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
44707
44728
  });
44708
44729
  /** Location information for the device. */
44709
- location: {
44730
+ location?: {
44710
44731
  /** Name of the device location.
44711
44732
  */
44712
44733
  location_name?: string | undefined;
44713
44734
  /** Time zone of the device location.
44714
44735
  */
44736
+ time_zone?: string | undefined;
44737
+ /** Time zone of the device location.
44738
+ * @deprecated Use `time_zone` instead.*/
44715
44739
  timezone?: string | undefined;
44716
- } | null;
44740
+ } | undefined;
44717
44741
  /** Unique identifier for the account associated with the device. */
44718
44742
  connected_account_id: string;
44719
44743
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -46076,14 +46100,17 @@ export type Routes = {
46076
46100
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
46077
46101
  });
46078
46102
  /** Location information for the device. */
46079
- location: {
46103
+ location?: {
46080
46104
  /** Name of the device location.
46081
46105
  */
46082
46106
  location_name?: string | undefined;
46083
46107
  /** Time zone of the device location.
46084
46108
  */
46109
+ time_zone?: string | undefined;
46110
+ /** Time zone of the device location.
46111
+ * @deprecated Use `time_zone` instead.*/
46085
46112
  timezone?: string | undefined;
46086
- } | null;
46113
+ } | undefined;
46087
46114
  /** Unique identifier for the account associated with the device. */
46088
46115
  connected_account_id: string;
46089
46116
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -47395,14 +47422,17 @@ export type Routes = {
47395
47422
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
47396
47423
  });
47397
47424
  /** Location information for the device. */
47398
- location: {
47425
+ location?: {
47399
47426
  /** Name of the device location.
47400
47427
  */
47401
47428
  location_name?: string | undefined;
47402
47429
  /** Time zone of the device location.
47403
47430
  */
47431
+ time_zone?: string | undefined;
47432
+ /** Time zone of the device location.
47433
+ * @deprecated Use `time_zone` instead.*/
47404
47434
  timezone?: string | undefined;
47405
- } | null;
47435
+ } | undefined;
47406
47436
  /** Unique identifier for the account associated with the device. */
47407
47437
  connected_account_id: string;
47408
47438
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -54111,14 +54141,17 @@ export type Routes = {
54111
54141
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
54112
54142
  });
54113
54143
  /** Location information for the device. */
54114
- location: {
54144
+ location?: {
54115
54145
  /** Name of the device location.
54116
54146
  */
54117
54147
  location_name?: string | undefined;
54118
54148
  /** Time zone of the device location.
54119
54149
  */
54150
+ time_zone?: string | undefined;
54151
+ /** Time zone of the device location.
54152
+ * @deprecated Use `time_zone` instead.*/
54120
54153
  timezone?: string | undefined;
54121
- } | null;
54154
+ } | undefined;
54122
54155
  /** Unique identifier for the account associated with the device. */
54123
54156
  connected_account_id: string;
54124
54157
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -55430,14 +55463,17 @@ export type Routes = {
55430
55463
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
55431
55464
  });
55432
55465
  /** Location information for the device. */
55433
- location: {
55466
+ location?: {
55434
55467
  /** Name of the device location.
55435
55468
  */
55436
55469
  location_name?: string | undefined;
55437
55470
  /** Time zone of the device location.
55438
55471
  */
55472
+ time_zone?: string | undefined;
55473
+ /** Time zone of the device location.
55474
+ * @deprecated Use `time_zone` instead.*/
55439
55475
  timezone?: string | undefined;
55440
- } | null;
55476
+ } | undefined;
55441
55477
  /** Unique identifier for the account associated with the device. */
55442
55478
  connected_account_id: string;
55443
55479
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -62589,6 +62625,195 @@ export type Routes = {
62589
62625
  };
62590
62626
  maxDuration: undefined;
62591
62627
  };
62628
+ '/seam/customer/v1/connectors/ical/generate-config': {
62629
+ route: '/seam/customer/v1/connectors/ical/generate-config';
62630
+ method: 'POST';
62631
+ queryParams: {};
62632
+ jsonBody: {
62633
+ /** iCal feed URL to analyze */
62634
+ ical_url: string;
62635
+ };
62636
+ commonParams: {};
62637
+ formData: {};
62638
+ jsonResponse: {
62639
+ generated_config: {
62640
+ ical_config: {
62641
+ /** Optional filter to skip non-matching events */
62642
+ filter?: {
62643
+ /** iCal property name to match against */
62644
+ source: string;
62645
+ /** Regex pattern — events not matching are skipped */
62646
+ pattern: string;
62647
+ } | undefined;
62648
+ fields: {
62649
+ /** How to extract the reservation key (falls back to UID) */
62650
+ reservation_key?: {
62651
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62652
+ source: string;
62653
+ /** Regex with capture group to extract value from the property */
62654
+ pattern?: string | undefined;
62655
+ /** Special type handling — 'date' parses iCal date formats */
62656
+ type?: 'date' | undefined;
62657
+ } | undefined;
62658
+ /** How to extract guest name */
62659
+ guest_name?: {
62660
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62661
+ source: string;
62662
+ /** Regex with capture group to extract value from the property */
62663
+ pattern?: string | undefined;
62664
+ /** Special type handling — 'date' parses iCal date formats */
62665
+ type?: 'date' | undefined;
62666
+ } | undefined;
62667
+ /** How to extract guest email */
62668
+ guest_email?: {
62669
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62670
+ source: string;
62671
+ /** Regex with capture group to extract value from the property */
62672
+ pattern?: string | undefined;
62673
+ /** Special type handling — 'date' parses iCal date formats */
62674
+ type?: 'date' | undefined;
62675
+ } | undefined;
62676
+ /** How to extract guest phone */
62677
+ guest_phone?: {
62678
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62679
+ source: string;
62680
+ /** Regex with capture group to extract value from the property */
62681
+ pattern?: string | undefined;
62682
+ /** Special type handling — 'date' parses iCal date formats */
62683
+ type?: 'date' | undefined;
62684
+ } | undefined;
62685
+ /** How to extract check-in date */
62686
+ starts_at: {
62687
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62688
+ source: string;
62689
+ /** Regex with capture group to extract value from the property */
62690
+ pattern?: string | undefined;
62691
+ /** Special type handling — 'date' parses iCal date formats */
62692
+ type?: 'date' | undefined;
62693
+ };
62694
+ /** How to extract check-out date */
62695
+ ends_at: {
62696
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62697
+ source: string;
62698
+ /** Regex with capture group to extract value from the property */
62699
+ pattern?: string | undefined;
62700
+ /** Special type handling — 'date' parses iCal date formats */
62701
+ type?: 'date' | undefined;
62702
+ };
62703
+ };
62704
+ /** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
62705
+ time_zone?: string | undefined;
62706
+ /** Default check-in time (HH:MM) used when iCal gives date-only values */
62707
+ default_check_in_time?: string | undefined;
62708
+ /** Default check-out time (HH:MM) used when iCal gives date-only values */
62709
+ default_check_out_time?: string | undefined;
62710
+ };
62711
+ };
62712
+ };
62713
+ maxDuration: undefined;
62714
+ };
62715
+ '/seam/customer/v1/connectors/ical/validate-config': {
62716
+ route: '/seam/customer/v1/connectors/ical/validate-config';
62717
+ method: 'POST';
62718
+ queryParams: {};
62719
+ jsonBody: {
62720
+ /** iCal feed URL to validate against */
62721
+ ical_url: string;
62722
+ /** Config to validate */
62723
+ ical_config: {
62724
+ /** Optional filter to skip non-matching events */
62725
+ filter?: {
62726
+ /** iCal property name to match against */
62727
+ source: string;
62728
+ /** Regex pattern — events not matching are skipped */
62729
+ pattern: string;
62730
+ } | undefined;
62731
+ fields: {
62732
+ /** How to extract the reservation key (falls back to UID) */
62733
+ reservation_key?: {
62734
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62735
+ source: string;
62736
+ /** Regex with capture group to extract value from the property */
62737
+ pattern?: string | undefined;
62738
+ /** Special type handling — 'date' parses iCal date formats */
62739
+ type?: 'date' | undefined;
62740
+ } | undefined;
62741
+ /** How to extract guest name */
62742
+ guest_name?: {
62743
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62744
+ source: string;
62745
+ /** Regex with capture group to extract value from the property */
62746
+ pattern?: string | undefined;
62747
+ /** Special type handling — 'date' parses iCal date formats */
62748
+ type?: 'date' | undefined;
62749
+ } | undefined;
62750
+ /** How to extract guest email */
62751
+ guest_email?: {
62752
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62753
+ source: string;
62754
+ /** Regex with capture group to extract value from the property */
62755
+ pattern?: string | undefined;
62756
+ /** Special type handling — 'date' parses iCal date formats */
62757
+ type?: 'date' | undefined;
62758
+ } | undefined;
62759
+ /** How to extract guest phone */
62760
+ guest_phone?: {
62761
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62762
+ source: string;
62763
+ /** Regex with capture group to extract value from the property */
62764
+ pattern?: string | undefined;
62765
+ /** Special type handling — 'date' parses iCal date formats */
62766
+ type?: 'date' | undefined;
62767
+ } | undefined;
62768
+ /** How to extract check-in date */
62769
+ starts_at: {
62770
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62771
+ source: string;
62772
+ /** Regex with capture group to extract value from the property */
62773
+ pattern?: string | undefined;
62774
+ /** Special type handling — 'date' parses iCal date formats */
62775
+ type?: 'date' | undefined;
62776
+ };
62777
+ /** How to extract check-out date */
62778
+ ends_at: {
62779
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
62780
+ source: string;
62781
+ /** Regex with capture group to extract value from the property */
62782
+ pattern?: string | undefined;
62783
+ /** Special type handling — 'date' parses iCal date formats */
62784
+ type?: 'date' | undefined;
62785
+ };
62786
+ };
62787
+ /** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
62788
+ time_zone?: string | undefined;
62789
+ /** Default check-in time (HH:MM) used when iCal gives date-only values */
62790
+ default_check_in_time?: string | undefined;
62791
+ /** Default check-out time (HH:MM) used when iCal gives date-only values */
62792
+ default_check_out_time?: string | undefined;
62793
+ };
62794
+ };
62795
+ commonParams: {};
62796
+ formData: {};
62797
+ jsonResponse: {
62798
+ validation_result: {
62799
+ is_valid: boolean;
62800
+ total_events: number;
62801
+ matched_events: number;
62802
+ filtered_events: number;
62803
+ reservations: {
62804
+ uid: string;
62805
+ reservation_key: string | null;
62806
+ guest_name: string | null;
62807
+ guest_email: string | null;
62808
+ guest_phone: string | null;
62809
+ starts_at: string | null;
62810
+ ends_at: string | null;
62811
+ }[];
62812
+ errors: string[];
62813
+ };
62814
+ };
62815
+ maxDuration: undefined;
62816
+ };
62592
62817
  '/seam/customer/v1/connectors/list': {
62593
62818
  route: '/seam/customer/v1/connectors/list';
62594
62819
  method: 'GET' | 'POST';
@@ -68548,14 +68773,17 @@ export type Routes = {
68548
68773
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
68549
68774
  });
68550
68775
  /** Location information for the device. */
68551
- location: {
68776
+ location?: {
68552
68777
  /** Name of the device location.
68553
68778
  */
68554
68779
  location_name?: string | undefined;
68555
68780
  /** Time zone of the device location.
68556
68781
  */
68782
+ time_zone?: string | undefined;
68783
+ /** Time zone of the device location.
68784
+ * @deprecated Use `time_zone` instead.*/
68557
68785
  timezone?: string | undefined;
68558
- } | null;
68786
+ } | undefined;
68559
68787
  /** Unique identifier for the account associated with the device. */
68560
68788
  connected_account_id: string;
68561
68789
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -74641,14 +74869,17 @@ export type Routes = {
74641
74869
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
74642
74870
  });
74643
74871
  /** Location information for the device. */
74644
- location: {
74872
+ location?: {
74645
74873
  /** Name of the device location.
74646
74874
  */
74647
74875
  location_name?: string | undefined;
74648
74876
  /** Time zone of the device location.
74649
74877
  */
74878
+ time_zone?: string | undefined;
74879
+ /** Time zone of the device location.
74880
+ * @deprecated Use `time_zone` instead.*/
74650
74881
  timezone?: string | undefined;
74651
- } | null;
74882
+ } | undefined;
74652
74883
  /** Unique identifier for the account associated with the device. */
74653
74884
  connected_account_id: string;
74654
74885
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -78697,14 +78928,17 @@ export type Routes = {
78697
78928
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
78698
78929
  });
78699
78930
  /** Location information for the device. */
78700
- location: {
78931
+ location?: {
78701
78932
  /** Name of the device location.
78702
78933
  */
78703
78934
  location_name?: string | undefined;
78704
78935
  /** Time zone of the device location.
78705
78936
  */
78937
+ time_zone?: string | undefined;
78938
+ /** Time zone of the device location.
78939
+ * @deprecated Use `time_zone` instead.*/
78706
78940
  timezone?: string | undefined;
78707
- } | null;
78941
+ } | undefined;
78708
78942
  /** Unique identifier for the account associated with the device. */
78709
78943
  connected_account_id: string;
78710
78944
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -80016,14 +80250,17 @@ export type Routes = {
80016
80250
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
80017
80251
  });
80018
80252
  /** Location information for the device. */
80019
- location: {
80253
+ location?: {
80020
80254
  /** Name of the device location.
80021
80255
  */
80022
80256
  location_name?: string | undefined;
80023
80257
  /** Time zone of the device location.
80024
80258
  */
80259
+ time_zone?: string | undefined;
80260
+ /** Time zone of the device location.
80261
+ * @deprecated Use `time_zone` instead.*/
80025
80262
  timezone?: string | undefined;
80026
- } | null;
80263
+ } | undefined;
80027
80264
  /** Unique identifier for the account associated with the device. */
80028
80265
  connected_account_id: string;
80029
80266
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -87621,14 +87858,17 @@ export type Routes = {
87621
87858
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
87622
87859
  });
87623
87860
  /** Location information for the device. */
87624
- location: {
87861
+ location?: {
87625
87862
  /** Name of the device location.
87626
87863
  */
87627
87864
  location_name?: string | undefined;
87628
87865
  /** Time zone of the device location.
87629
87866
  */
87867
+ time_zone?: string | undefined;
87868
+ /** Time zone of the device location.
87869
+ * @deprecated Use `time_zone` instead.*/
87630
87870
  timezone?: string | undefined;
87631
- } | null;
87871
+ } | undefined;
87632
87872
  /** Unique identifier for the account associated with the device. */
87633
87873
  connected_account_id: string;
87634
87874
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -88942,14 +89182,17 @@ export type Routes = {
88942
89182
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
88943
89183
  });
88944
89184
  /** Location information for the device. */
88945
- location: {
89185
+ location?: {
88946
89186
  /** Name of the device location.
88947
89187
  */
88948
89188
  location_name?: string | undefined;
88949
89189
  /** Time zone of the device location.
88950
89190
  */
89191
+ time_zone?: string | undefined;
89192
+ /** Time zone of the device location.
89193
+ * @deprecated Use `time_zone` instead.*/
88951
89194
  timezone?: string | undefined;
88952
- } | null;
89195
+ } | undefined;
88953
89196
  /** Unique identifier for the account associated with the device. */
88954
89197
  connected_account_id: string;
88955
89198
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -91241,14 +91484,17 @@ export type Routes = {
91241
91484
  max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
91242
91485
  });
91243
91486
  /** Location information for the device. */
91244
- location: {
91487
+ location?: {
91245
91488
  /** Name of the device location.
91246
91489
  */
91247
91490
  location_name?: string | undefined;
91248
91491
  /** Time zone of the device location.
91249
91492
  */
91493
+ time_zone?: string | undefined;
91494
+ /** Time zone of the device location.
91495
+ * @deprecated Use `time_zone` instead.*/
91250
91496
  timezone?: string | undefined;
91251
- } | null;
91497
+ } | undefined;
91252
91498
  /** Unique identifier for the account associated with the device. */
91253
91499
  connected_account_id: string;
91254
91500
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -94015,14 +94261,17 @@ export type Routes = {
94015
94261
  /** Unique identifier for the account associated with the device. */
94016
94262
  connected_account_id: string;
94017
94263
  /** Location information for the device. */
94018
- location: {
94264
+ location?: {
94019
94265
  /** Name of the device location.
94020
94266
  */
94021
94267
  location_name?: string | undefined;
94022
94268
  /** Time zone of the device location.
94023
94269
  */
94270
+ time_zone?: string | undefined;
94271
+ /** Time zone of the device location.
94272
+ * @deprecated Use `time_zone` instead.*/
94024
94273
  timezone?: string | undefined;
94025
- } | null;
94274
+ } | undefined;
94026
94275
  /**
94027
94276
  Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).
94028
94277
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.772.0",
3
+ "version": "1.774.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -879,16 +879,21 @@ export const device = z
879
879
  Properties of the device.
880
880
  `),
881
881
  location: z
882
- // todo: optional instead of nullable
883
882
  .object({
884
883
  location_name: z.string().optional()
885
884
  .describe(`Name of the device location.
886
885
  `),
887
- timezone: z.string().optional()
886
+ time_zone: z.string().optional()
888
887
  .describe(`Time zone of the device location.
889
888
  `),
889
+ timezone: z.string().optional().describe(`
890
+ ---
891
+ deprecated: Use \`time_zone\` instead.
892
+ ---
893
+ Time zone of the device location.
894
+ `),
890
895
  })
891
- .nullable().describe(`
896
+ .optional().describe(`
892
897
  ---
893
898
  property_group_key: hardware
894
899
  ---