@seamapi/types 1.416.2 → 1.418.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.
@@ -4498,6 +4498,7 @@ declare const acs_entrance: z.ZodObject<{
4498
4498
  acs_entrance_id: z.ZodString;
4499
4499
  created_at: z.ZodString;
4500
4500
  display_name: z.ZodString;
4501
+ connected_account_id: z.ZodString;
4501
4502
  errors: z.ZodArray<z.ZodObject<{
4502
4503
  error_code: z.ZodString;
4503
4504
  message: z.ZodString;
@@ -4626,6 +4627,7 @@ declare const acs_entrance: z.ZodObject<{
4626
4627
  message: string;
4627
4628
  error_code: string;
4628
4629
  }[];
4630
+ connected_account_id: string;
4629
4631
  acs_system_id: string;
4630
4632
  acs_entrance_id: string;
4631
4633
  salto_ks_metadata?: {
@@ -4674,6 +4676,7 @@ declare const acs_entrance: z.ZodObject<{
4674
4676
  message: string;
4675
4677
  error_code: string;
4676
4678
  }[];
4679
+ connected_account_id: string;
4677
4680
  acs_system_id: string;
4678
4681
  acs_entrance_id: string;
4679
4682
  salto_ks_metadata?: {
@@ -21751,6 +21754,7 @@ declare const _default: {
21751
21754
  };
21752
21755
  required: string[];
21753
21756
  type: string;
21757
+ 'x-variant-group-key'?: never;
21754
21758
  } | {
21755
21759
  description: string;
21756
21760
  properties: {
@@ -21783,6 +21787,69 @@ declare const _default: {
21783
21787
  };
21784
21788
  required: string[];
21785
21789
  type: string;
21790
+ 'x-variant-group-key'?: never;
21791
+ } | {
21792
+ description: string;
21793
+ properties: {
21794
+ created_at: {
21795
+ description: string;
21796
+ format: string;
21797
+ type: string;
21798
+ };
21799
+ error_code: {
21800
+ description: string;
21801
+ enum: string[];
21802
+ type: string;
21803
+ };
21804
+ is_connected_account_error: {
21805
+ description: string;
21806
+ enum: boolean[];
21807
+ type: string;
21808
+ };
21809
+ is_device_error: {
21810
+ description: string;
21811
+ enum: boolean[];
21812
+ type: string;
21813
+ };
21814
+ message: {
21815
+ description: string;
21816
+ type: string;
21817
+ };
21818
+ is_access_code_error?: never;
21819
+ is_bridge_error?: never;
21820
+ };
21821
+ required: string[];
21822
+ type: string;
21823
+ 'x-variant-group-key': string;
21824
+ } | {
21825
+ description: string;
21826
+ properties: {
21827
+ created_at: {
21828
+ description: string;
21829
+ format: string;
21830
+ type: string;
21831
+ };
21832
+ error_code: {
21833
+ description: string;
21834
+ enum: string[];
21835
+ type: string;
21836
+ };
21837
+ is_device_error: {
21838
+ description: string;
21839
+ enum: boolean[];
21840
+ type: string;
21841
+ };
21842
+ message: {
21843
+ description: string;
21844
+ type: string;
21845
+ };
21846
+ is_access_code_error?: never;
21847
+ is_connected_account_error?: never;
21848
+ is_bridge_error?: never;
21849
+ };
21850
+ required: string[];
21851
+ type: string;
21852
+ 'x-variant-group-key'?: never;
21786
21853
  } | {
21787
21854
  description: string;
21788
21855
  properties: {
@@ -21811,6 +21878,7 @@ declare const _default: {
21811
21878
  };
21812
21879
  required: string[];
21813
21880
  type: string;
21881
+ 'x-variant-group-key': string;
21814
21882
  } | {
21815
21883
  description: string;
21816
21884
  properties: {
@@ -21842,6 +21910,7 @@ declare const _default: {
21842
21910
  };
21843
21911
  required: string[];
21844
21912
  type: string;
21913
+ 'x-variant-group-key'?: never;
21845
21914
  })[];
21846
21915
  };
21847
21916
  type: string;
@@ -22585,6 +22654,11 @@ declare const _default: {
22585
22654
  required: string[];
22586
22655
  type: string;
22587
22656
  };
22657
+ connected_account_id: {
22658
+ description: string;
22659
+ format: string;
22660
+ type: string;
22661
+ };
22588
22662
  created_at: {
22589
22663
  description: string;
22590
22664
  format: string;
@@ -25919,6 +25993,39 @@ declare const _default: {
25919
25993
  };
25920
25994
  required: string[];
25921
25995
  type: string;
25996
+ 'x-variant-group-key'?: never;
25997
+ } | {
25998
+ description: string;
25999
+ properties: {
26000
+ created_at: {
26001
+ description: string;
26002
+ format: string;
26003
+ type: string;
26004
+ };
26005
+ error_code: {
26006
+ description: string;
26007
+ enum: string[];
26008
+ type: string;
26009
+ };
26010
+ is_connected_account_error: {
26011
+ description: string;
26012
+ enum: boolean[];
26013
+ type: string;
26014
+ };
26015
+ is_device_error: {
26016
+ description: string;
26017
+ enum: boolean[];
26018
+ type: string;
26019
+ };
26020
+ message: {
26021
+ description: string;
26022
+ type: string;
26023
+ };
26024
+ is_bridge_error?: never;
26025
+ };
26026
+ required: string[];
26027
+ type: string;
26028
+ 'x-variant-group-key': string;
25922
26029
  } | {
25923
26030
  description: string;
25924
26031
  properties: {
@@ -25946,6 +26053,35 @@ declare const _default: {
25946
26053
  };
25947
26054
  required: string[];
25948
26055
  type: string;
26056
+ 'x-variant-group-key'?: never;
26057
+ } | {
26058
+ description: string;
26059
+ properties: {
26060
+ created_at: {
26061
+ description: string;
26062
+ format: string;
26063
+ type: string;
26064
+ };
26065
+ error_code: {
26066
+ description: string;
26067
+ enum: string[];
26068
+ type: string;
26069
+ };
26070
+ is_device_error: {
26071
+ description: string;
26072
+ enum: boolean[];
26073
+ type: string;
26074
+ };
26075
+ message: {
26076
+ description: string;
26077
+ type: string;
26078
+ };
26079
+ is_connected_account_error?: never;
26080
+ is_bridge_error?: never;
26081
+ };
26082
+ required: string[];
26083
+ type: string;
26084
+ 'x-variant-group-key': string;
25949
26085
  } | {
25950
26086
  description: string;
25951
26087
  properties: {
@@ -25976,9 +26112,33 @@ declare const _default: {
25976
26112
  };
25977
26113
  required: string[];
25978
26114
  type: string;
26115
+ 'x-variant-group-key'?: never;
25979
26116
  })[];
25980
26117
  };
25981
26118
  type: string;
26119
+ 'x-variant-groups': {
26120
+ access_codes: {
26121
+ name: string;
26122
+ };
26123
+ hardware: {
26124
+ name: string;
26125
+ };
26126
+ locks: {
26127
+ name: string;
26128
+ };
26129
+ noise_sensors: {
26130
+ name: string;
26131
+ };
26132
+ phones: {
26133
+ name: string;
26134
+ };
26135
+ provider_metadata: {
26136
+ name: string;
26137
+ };
26138
+ thermostats: {
26139
+ name: string;
26140
+ };
26141
+ };
25982
26142
  };
25983
26143
  is_managed: {
25984
26144
  description: string;
@@ -27945,7 +28105,7 @@ declare const _default: {
27945
28105
  discriminator: {
27946
28106
  propertyName: string;
27947
28107
  };
27948
- oneOf: {
28108
+ oneOf: ({
27949
28109
  description: string;
27950
28110
  properties: {
27951
28111
  created_at: {
@@ -27965,9 +28125,54 @@ declare const _default: {
27965
28125
  };
27966
28126
  required: string[];
27967
28127
  type: string;
27968
- }[];
28128
+ 'x-variant-group-key': string;
28129
+ } | {
28130
+ description: string;
28131
+ properties: {
28132
+ created_at: {
28133
+ description: string;
28134
+ format: string;
28135
+ type: string;
28136
+ };
28137
+ message: {
28138
+ description: string;
28139
+ type: string;
28140
+ };
28141
+ warning_code: {
28142
+ description: string;
28143
+ enum: string[];
28144
+ type: string;
28145
+ };
28146
+ };
28147
+ required: string[];
28148
+ type: string;
28149
+ 'x-variant-group-key'?: never;
28150
+ })[];
27969
28151
  };
27970
28152
  type: string;
28153
+ 'x-variant-groups': {
28154
+ access_codes: {
28155
+ name: string;
28156
+ };
28157
+ hardware: {
28158
+ name: string;
28159
+ };
28160
+ locks: {
28161
+ name: string;
28162
+ };
28163
+ noise_sensors: {
28164
+ name: string;
28165
+ };
28166
+ phones: {
28167
+ name: string;
28168
+ };
28169
+ provider_metadata: {
28170
+ name: string;
28171
+ };
28172
+ thermostats: {
28173
+ name: string;
28174
+ };
28175
+ };
27971
28176
  };
27972
28177
  workspace_id: {
27973
28178
  description: string;
@@ -31651,6 +31856,11 @@ declare const _default: {
31651
31856
  required: string[];
31652
31857
  type: string;
31653
31858
  };
31859
+ connected_account_id: {
31860
+ description: string;
31861
+ format: string;
31862
+ type: string;
31863
+ };
31654
31864
  created_at: {
31655
31865
  description: string;
31656
31866
  format: string;
@@ -32305,6 +32515,7 @@ declare const _default: {
32305
32515
  };
32306
32516
  required: string[];
32307
32517
  type: string;
32518
+ 'x-variant-group-key'?: never;
32308
32519
  } | {
32309
32520
  description: string;
32310
32521
  properties: {
@@ -32337,6 +32548,40 @@ declare const _default: {
32337
32548
  };
32338
32549
  required: string[];
32339
32550
  type: string;
32551
+ 'x-variant-group-key'?: never;
32552
+ } | {
32553
+ description: string;
32554
+ properties: {
32555
+ created_at: {
32556
+ description: string;
32557
+ format: string;
32558
+ type: string;
32559
+ };
32560
+ error_code: {
32561
+ description: string;
32562
+ enum: string[];
32563
+ type: string;
32564
+ };
32565
+ is_connected_account_error: {
32566
+ description: string;
32567
+ enum: boolean[];
32568
+ type: string;
32569
+ };
32570
+ is_device_error: {
32571
+ description: string;
32572
+ enum: boolean[];
32573
+ type: string;
32574
+ };
32575
+ message: {
32576
+ description: string;
32577
+ type: string;
32578
+ };
32579
+ is_access_code_error?: never;
32580
+ is_bridge_error?: never;
32581
+ };
32582
+ required: string[];
32583
+ type: string;
32584
+ 'x-variant-group-key': string;
32340
32585
  } | {
32341
32586
  description: string;
32342
32587
  properties: {
@@ -32365,6 +32610,36 @@ declare const _default: {
32365
32610
  };
32366
32611
  required: string[];
32367
32612
  type: string;
32613
+ 'x-variant-group-key'?: never;
32614
+ } | {
32615
+ description: string;
32616
+ properties: {
32617
+ created_at: {
32618
+ description: string;
32619
+ format: string;
32620
+ type: string;
32621
+ };
32622
+ error_code: {
32623
+ description: string;
32624
+ enum: string[];
32625
+ type: string;
32626
+ };
32627
+ is_device_error: {
32628
+ description: string;
32629
+ enum: boolean[];
32630
+ type: string;
32631
+ };
32632
+ message: {
32633
+ description: string;
32634
+ type: string;
32635
+ };
32636
+ is_access_code_error?: never;
32637
+ is_connected_account_error?: never;
32638
+ is_bridge_error?: never;
32639
+ };
32640
+ required: string[];
32641
+ type: string;
32642
+ 'x-variant-group-key': string;
32368
32643
  } | {
32369
32644
  description: string;
32370
32645
  properties: {
@@ -32396,6 +32671,7 @@ declare const _default: {
32396
32671
  };
32397
32672
  required: string[];
32398
32673
  type: string;
32674
+ 'x-variant-group-key'?: never;
32399
32675
  })[];
32400
32676
  };
32401
32677
  type: string;
@@ -33371,6 +33647,67 @@ declare const _default: {
33371
33647
  };
33372
33648
  required: string[];
33373
33649
  type: string;
33650
+ 'x-variant-group-key'?: never;
33651
+ } | {
33652
+ description: string;
33653
+ properties: {
33654
+ created_at: {
33655
+ description: string;
33656
+ format: string;
33657
+ type: string;
33658
+ };
33659
+ error_code: {
33660
+ description: string;
33661
+ enum: string[];
33662
+ type: string;
33663
+ };
33664
+ is_connected_account_error: {
33665
+ description: string;
33666
+ enum: boolean[];
33667
+ type: string;
33668
+ };
33669
+ is_device_error: {
33670
+ description: string;
33671
+ enum: boolean[];
33672
+ type: string;
33673
+ };
33674
+ message: {
33675
+ description: string;
33676
+ type: string;
33677
+ };
33678
+ is_bridge_error?: never;
33679
+ };
33680
+ required: string[];
33681
+ type: string;
33682
+ 'x-variant-group-key': string;
33683
+ } | {
33684
+ description: string;
33685
+ properties: {
33686
+ created_at: {
33687
+ description: string;
33688
+ format: string;
33689
+ type: string;
33690
+ };
33691
+ error_code: {
33692
+ description: string;
33693
+ enum: string[];
33694
+ type: string;
33695
+ };
33696
+ is_device_error: {
33697
+ description: string;
33698
+ enum: boolean[];
33699
+ type: string;
33700
+ };
33701
+ message: {
33702
+ description: string;
33703
+ type: string;
33704
+ };
33705
+ is_connected_account_error?: never;
33706
+ is_bridge_error?: never;
33707
+ };
33708
+ required: string[];
33709
+ type: string;
33710
+ 'x-variant-group-key'?: never;
33374
33711
  } | {
33375
33712
  description: string;
33376
33713
  properties: {
@@ -33398,6 +33735,7 @@ declare const _default: {
33398
33735
  };
33399
33736
  required: string[];
33400
33737
  type: string;
33738
+ 'x-variant-group-key': string;
33401
33739
  } | {
33402
33740
  description: string;
33403
33741
  properties: {
@@ -33428,9 +33766,33 @@ declare const _default: {
33428
33766
  };
33429
33767
  required: string[];
33430
33768
  type: string;
33769
+ 'x-variant-group-key'?: never;
33431
33770
  })[];
33432
33771
  };
33433
33772
  type: string;
33773
+ 'x-variant-groups': {
33774
+ access_codes: {
33775
+ name: string;
33776
+ };
33777
+ hardware: {
33778
+ name: string;
33779
+ };
33780
+ locks: {
33781
+ name: string;
33782
+ };
33783
+ noise_sensors: {
33784
+ name: string;
33785
+ };
33786
+ phones: {
33787
+ name: string;
33788
+ };
33789
+ provider_metadata: {
33790
+ name: string;
33791
+ };
33792
+ thermostats: {
33793
+ name: string;
33794
+ };
33795
+ };
33434
33796
  };
33435
33797
  is_managed: {
33436
33798
  enum: boolean[];
@@ -33615,7 +33977,7 @@ declare const _default: {
33615
33977
  discriminator: {
33616
33978
  propertyName: string;
33617
33979
  };
33618
- oneOf: {
33980
+ oneOf: ({
33619
33981
  description: string;
33620
33982
  properties: {
33621
33983
  created_at: {
@@ -33635,9 +33997,54 @@ declare const _default: {
33635
33997
  };
33636
33998
  required: string[];
33637
33999
  type: string;
33638
- }[];
34000
+ 'x-variant-group-key': string;
34001
+ } | {
34002
+ description: string;
34003
+ properties: {
34004
+ created_at: {
34005
+ description: string;
34006
+ format: string;
34007
+ type: string;
34008
+ };
34009
+ message: {
34010
+ description: string;
34011
+ type: string;
34012
+ };
34013
+ warning_code: {
34014
+ description: string;
34015
+ enum: string[];
34016
+ type: string;
34017
+ };
34018
+ };
34019
+ required: string[];
34020
+ type: string;
34021
+ 'x-variant-group-key'?: never;
34022
+ })[];
33639
34023
  };
33640
34024
  type: string;
34025
+ 'x-variant-groups': {
34026
+ access_codes: {
34027
+ name: string;
34028
+ };
34029
+ hardware: {
34030
+ name: string;
34031
+ };
34032
+ locks: {
34033
+ name: string;
34034
+ };
34035
+ noise_sensors: {
34036
+ name: string;
34037
+ };
34038
+ phones: {
34039
+ name: string;
34040
+ };
34041
+ provider_metadata: {
34042
+ name: string;
34043
+ };
34044
+ thermostats: {
34045
+ name: string;
34046
+ };
34047
+ };
33641
34048
  };
33642
34049
  workspace_id: {
33643
34050
  description: string;
@@ -67542,6 +67949,8 @@ interface Routes {
67542
67949
  created_at: string;
67543
67950
  /** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
67544
67951
  display_name: string;
67952
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
67953
+ connected_account_id: string;
67545
67954
  /** Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
67546
67955
  errors: Array<{
67547
67956
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -68839,6 +69248,8 @@ interface Routes {
68839
69248
  created_at: string;
68840
69249
  /** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
68841
69250
  display_name: string;
69251
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
69252
+ connected_account_id: string;
68842
69253
  /** Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
68843
69254
  errors: Array<{
68844
69255
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -73653,6 +74064,8 @@ interface Routes {
73653
74064
  created_at: string;
73654
74065
  /** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
73655
74066
  display_name: string;
74067
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
74068
+ connected_account_id: string;
73656
74069
  /** Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
73657
74070
  errors: Array<{
73658
74071
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -73781,6 +74194,8 @@ interface Routes {
73781
74194
  created_at: string;
73782
74195
  /** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
73783
74196
  display_name: string;
74197
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
74198
+ connected_account_id: string;
73784
74199
  /** Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
73785
74200
  errors: Array<{
73786
74201
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -75176,6 +75591,8 @@ interface Routes {
75176
75591
  created_at: string;
75177
75592
  /** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
75178
75593
  display_name: string;
75594
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
75595
+ connected_account_id: string;
75179
75596
  /** Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
75180
75597
  errors: Array<{
75181
75598
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -102475,6 +102892,8 @@ interface Routes {
102475
102892
  created_at: string;
102476
102893
  /** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
102477
102894
  display_name: string;
102895
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
102896
+ connected_account_id: string;
102478
102897
  /** Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
102479
102898
  errors: Array<{
102480
102899
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -4,6 +4,7 @@ export declare const acs_entrance: z.ZodObject<{
4
4
  acs_entrance_id: z.ZodString;
5
5
  created_at: z.ZodString;
6
6
  display_name: z.ZodString;
7
+ connected_account_id: z.ZodString;
7
8
  errors: z.ZodArray<z.ZodObject<{
8
9
  error_code: z.ZodString;
9
10
  message: z.ZodString;
@@ -132,6 +133,7 @@ export declare const acs_entrance: z.ZodObject<{
132
133
  message: string;
133
134
  error_code: string;
134
135
  }[];
136
+ connected_account_id: string;
135
137
  acs_system_id: string;
136
138
  acs_entrance_id: string;
137
139
  salto_ks_metadata?: {
@@ -180,6 +182,7 @@ export declare const acs_entrance: z.ZodObject<{
180
182
  message: string;
181
183
  error_code: string;
182
184
  }[];
185
+ connected_account_id: string;
183
186
  acs_system_id: string;
184
187
  acs_entrance_id: string;
185
188
  salto_ks_metadata?: {
@@ -17,6 +17,10 @@ export const acs_entrance = z.object({
17
17
  display_name: z
18
18
  .string()
19
19
  .describe('Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).'),
20
+ connected_account_id: z
21
+ .string()
22
+ .uuid()
23
+ .describe('ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).'),
20
24
  errors: z
21
25
  .array(z.object({
22
26
  error_code: z