@seamapi/types 1.20.0 → 1.21.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.
@@ -182,7 +182,7 @@ declare const _default: {
182
182
  full_name: {
183
183
  type: string;
184
184
  };
185
- is_being_deleted: {
185
+ is_suspended: {
186
186
  type: string;
187
187
  };
188
188
  phone_number: {
@@ -2455,17 +2455,24 @@ declare const _default: {
2455
2455
  };
2456
2456
  };
2457
2457
  '/access_codes/generate_code': {
2458
- get: {
2458
+ post: {
2459
2459
  operationId: string;
2460
- parameters: {
2461
- in: string;
2462
- name: string;
2463
- required: boolean;
2464
- schema: {
2465
- format: string;
2466
- type: string;
2460
+ requestBody: {
2461
+ content: {
2462
+ 'application/json': {
2463
+ schema: {
2464
+ properties: {
2465
+ device_id: {
2466
+ format: string;
2467
+ type: string;
2468
+ };
2469
+ };
2470
+ required: string[];
2471
+ type: string;
2472
+ };
2473
+ };
2467
2474
  };
2468
- }[];
2475
+ };
2469
2476
  responses: {
2470
2477
  200: {
2471
2478
  content: {
@@ -3525,6 +3532,114 @@ declare const _default: {
3525
3532
  };
3526
3533
  };
3527
3534
  '/access_codes/update': {
3535
+ patch: {
3536
+ operationId: string;
3537
+ requestBody: {
3538
+ content: {
3539
+ 'application/json': {
3540
+ schema: {
3541
+ properties: {
3542
+ access_code_id: {
3543
+ format: string;
3544
+ type: string;
3545
+ };
3546
+ allow_external_modification: {
3547
+ type: string;
3548
+ };
3549
+ attempt_for_offline_device: {
3550
+ default: boolean;
3551
+ type: string;
3552
+ };
3553
+ code: {
3554
+ maxLength: number;
3555
+ minLength: number;
3556
+ pattern: string;
3557
+ type: string;
3558
+ };
3559
+ device_id: {
3560
+ format: string;
3561
+ type: string;
3562
+ };
3563
+ ends_at: {
3564
+ type: string;
3565
+ };
3566
+ is_managed: {
3567
+ type: string;
3568
+ };
3569
+ name: {
3570
+ type: string;
3571
+ };
3572
+ prefer_native_scheduling: {
3573
+ type: string;
3574
+ };
3575
+ starts_at: {
3576
+ type: string;
3577
+ };
3578
+ sync: {
3579
+ default: boolean;
3580
+ type: string;
3581
+ };
3582
+ type: {
3583
+ enum: string[];
3584
+ type: string;
3585
+ };
3586
+ use_backup_access_code_pool: {
3587
+ type: string;
3588
+ };
3589
+ };
3590
+ required: string[];
3591
+ type: string;
3592
+ };
3593
+ };
3594
+ };
3595
+ };
3596
+ responses: {
3597
+ 200: {
3598
+ content: {
3599
+ 'application/json': {
3600
+ schema: {
3601
+ properties: {
3602
+ action_attempt: {
3603
+ $ref: string;
3604
+ };
3605
+ ok: {
3606
+ type: string;
3607
+ };
3608
+ };
3609
+ required: string[];
3610
+ type: string;
3611
+ };
3612
+ };
3613
+ };
3614
+ description: string;
3615
+ };
3616
+ 400: {
3617
+ description: string;
3618
+ };
3619
+ 401: {
3620
+ description: string;
3621
+ };
3622
+ };
3623
+ security: ({
3624
+ access_token: never[];
3625
+ seam_workspace: never[];
3626
+ seam_client_session_token?: never;
3627
+ client_session_token?: never;
3628
+ } | {
3629
+ seam_client_session_token: never[];
3630
+ access_token?: never;
3631
+ seam_workspace?: never;
3632
+ client_session_token?: never;
3633
+ } | {
3634
+ client_session_token: never[];
3635
+ access_token?: never;
3636
+ seam_workspace?: never;
3637
+ seam_client_session_token?: never;
3638
+ })[];
3639
+ summary: string;
3640
+ tags: string[];
3641
+ 'x-fern-ignore': boolean;
3642
+ };
3528
3643
  post: {
3529
3644
  operationId: string;
3530
3645
  requestBody: {
@@ -3745,7 +3860,7 @@ declare const _default: {
3745
3860
  };
3746
3861
  };
3747
3862
  '/acs/access_groups/add_user': {
3748
- patch: {
3863
+ post: {
3749
3864
  operationId: string;
3750
3865
  requestBody: {
3751
3866
  content: {
@@ -3809,9 +3924,10 @@ declare const _default: {
3809
3924
  })[];
3810
3925
  summary: string;
3811
3926
  tags: never[];
3812
- 'x-fern-ignore': boolean;
3927
+ 'x-fern-sdk-group-name': string[];
3928
+ 'x-fern-sdk-method-name': string;
3813
3929
  };
3814
- post: {
3930
+ put: {
3815
3931
  operationId: string;
3816
3932
  requestBody: {
3817
3933
  content: {
@@ -3875,8 +3991,7 @@ declare const _default: {
3875
3991
  })[];
3876
3992
  summary: string;
3877
3993
  tags: never[];
3878
- 'x-fern-sdk-group-name': string[];
3879
- 'x-fern-sdk-method-name': string;
3994
+ 'x-fern-ignore': boolean;
3880
3995
  };
3881
3996
  };
3882
3997
  '/acs/access_groups/create': {
@@ -4949,7 +5064,7 @@ declare const _default: {
4949
5064
  };
4950
5065
  };
4951
5066
  '/acs/users/add_to_access_group': {
4952
- patch: {
5067
+ post: {
4953
5068
  operationId: string;
4954
5069
  requestBody: {
4955
5070
  content: {
@@ -5000,9 +5115,10 @@ declare const _default: {
5000
5115
  })[];
5001
5116
  summary: string;
5002
5117
  tags: never[];
5003
- 'x-fern-ignore': boolean;
5118
+ 'x-fern-sdk-group-name': string[];
5119
+ 'x-fern-sdk-method-name': string;
5004
5120
  };
5005
- post: {
5121
+ put: {
5006
5122
  operationId: string;
5007
5123
  requestBody: {
5008
5124
  content: {
@@ -5053,8 +5169,7 @@ declare const _default: {
5053
5169
  })[];
5054
5170
  summary: string;
5055
5171
  tags: never[];
5056
- 'x-fern-sdk-group-name': string[];
5057
- 'x-fern-sdk-method-name': string;
5172
+ 'x-fern-ignore': boolean;
5058
5173
  };
5059
5174
  };
5060
5175
  '/acs/users/create': {
@@ -8829,6 +8944,94 @@ declare const _default: {
8829
8944
  };
8830
8945
  };
8831
8946
  '/noise_sensors/noise_thresholds/update': {
8947
+ patch: {
8948
+ operationId: string;
8949
+ requestBody: {
8950
+ content: {
8951
+ 'application/json': {
8952
+ schema: {
8953
+ properties: {
8954
+ device_id: {
8955
+ format: string;
8956
+ type: string;
8957
+ };
8958
+ ends_daily_at: {
8959
+ type: string;
8960
+ };
8961
+ name: {
8962
+ type: string;
8963
+ };
8964
+ noise_threshold_decibels: {
8965
+ type: string;
8966
+ };
8967
+ noise_threshold_id: {
8968
+ format: string;
8969
+ type: string;
8970
+ };
8971
+ noise_threshold_nrs: {
8972
+ type: string;
8973
+ };
8974
+ starts_daily_at: {
8975
+ type: string;
8976
+ };
8977
+ sync: {
8978
+ default: boolean;
8979
+ type: string;
8980
+ };
8981
+ };
8982
+ required: string[];
8983
+ type: string;
8984
+ };
8985
+ };
8986
+ };
8987
+ };
8988
+ responses: {
8989
+ 200: {
8990
+ content: {
8991
+ 'application/json': {
8992
+ schema: {
8993
+ properties: {
8994
+ action_attempt: {
8995
+ $ref: string;
8996
+ };
8997
+ ok: {
8998
+ type: string;
8999
+ };
9000
+ };
9001
+ required: string[];
9002
+ type: string;
9003
+ };
9004
+ };
9005
+ };
9006
+ description: string;
9007
+ };
9008
+ 400: {
9009
+ description: string;
9010
+ };
9011
+ 401: {
9012
+ description: string;
9013
+ };
9014
+ };
9015
+ security: ({
9016
+ access_token: never[];
9017
+ seam_workspace: never[];
9018
+ seam_client_session_token?: never;
9019
+ client_session_token?: never;
9020
+ } | {
9021
+ seam_client_session_token: never[];
9022
+ access_token?: never;
9023
+ seam_workspace?: never;
9024
+ client_session_token?: never;
9025
+ } | {
9026
+ client_session_token: never[];
9027
+ access_token?: never;
9028
+ seam_workspace?: never;
9029
+ seam_client_session_token?: never;
9030
+ })[];
9031
+ summary: string;
9032
+ tags: string[];
9033
+ 'x-fern-ignore': boolean;
9034
+ };
8832
9035
  post: {
8833
9036
  operationId: string;
8834
9037
  requestBody: {
@@ -9455,7 +9658,7 @@ declare const _default: {
9455
9658
  };
9456
9659
  };
9457
9660
  '/thermostats/climate_setting_schedules/update': {
9458
- post: {
9661
+ patch: {
9459
9662
  operationId: string;
9460
9663
  requestBody: {
9461
9664
  content: {
@@ -9557,11 +9760,9 @@ declare const _default: {
9557
9760
  })[];
9558
9761
  summary: string;
9559
9762
  tags: never[];
9560
- 'x-fern-sdk-group-name': string[];
9561
- 'x-fern-sdk-method-name': string;
9562
- 'x-fern-sdk-return-value': string;
9763
+ 'x-fern-ignore': boolean;
9563
9764
  };
9564
- put: {
9765
+ post: {
9565
9766
  operationId: string;
9566
9767
  requestBody: {
9567
9768
  content: {
@@ -9663,18 +9864,124 @@ declare const _default: {
9663
9864
  })[];
9664
9865
  summary: string;
9665
9866
  tags: never[];
9666
- 'x-fern-ignore': boolean;
9867
+ 'x-fern-sdk-group-name': string[];
9868
+ 'x-fern-sdk-method-name': string;
9869
+ 'x-fern-sdk-return-value': string;
9667
9870
  };
9668
- };
9669
- '/thermostats/cool': {
9670
- post: {
9871
+ put: {
9671
9872
  operationId: string;
9672
9873
  requestBody: {
9673
9874
  content: {
9674
9875
  'application/json': {
9675
9876
  schema: {
9676
9877
  properties: {
9677
- cooling_set_point_celsius: {
9878
+ automatic_cooling_enabled: {
9879
+ type: string;
9880
+ };
9881
+ automatic_heating_enabled: {
9882
+ type: string;
9883
+ };
9884
+ climate_setting_schedule_id: {
9885
+ format: string;
9886
+ type: string;
9887
+ };
9888
+ cooling_set_point_celsius: {
9889
+ type: string;
9890
+ };
9891
+ cooling_set_point_fahrenheit: {
9892
+ type: string;
9893
+ };
9894
+ heating_set_point_celsius: {
9895
+ type: string;
9896
+ };
9897
+ heating_set_point_fahrenheit: {
9898
+ type: string;
9899
+ };
9900
+ hvac_mode_setting: {
9901
+ enum: string[];
9902
+ type: string;
9903
+ };
9904
+ manual_override_allowed: {
9905
+ type: string;
9906
+ };
9907
+ name: {
9908
+ type: string;
9909
+ };
9910
+ schedule_ends_at: {
9911
+ type: string;
9912
+ };
9913
+ schedule_starts_at: {
9914
+ type: string;
9915
+ };
9916
+ schedule_type: {
9917
+ default: string;
9918
+ enum: string[];
9919
+ type: string;
9920
+ };
9921
+ };
9922
+ required: string[];
9923
+ type: string;
9924
+ };
9925
+ };
9926
+ };
9927
+ };
9928
+ responses: {
9929
+ 200: {
9930
+ content: {
9931
+ 'application/json': {
9932
+ schema: {
9933
+ properties: {
9934
+ climate_setting_schedule: {
9935
+ $ref: string;
9936
+ };
9937
+ ok: {
9938
+ type: string;
9939
+ };
9940
+ };
9941
+ required: string[];
9942
+ type: string;
9943
+ };
9944
+ };
9945
+ };
9946
+ description: string;
9947
+ };
9948
+ 400: {
9949
+ description: string;
9950
+ };
9951
+ 401: {
9952
+ description: string;
9953
+ };
9954
+ };
9955
+ security: ({
9956
+ access_token: never[];
9957
+ seam_workspace: never[];
9958
+ seam_client_session_token?: never;
9959
+ client_session_token?: never;
9960
+ } | {
9961
+ seam_client_session_token: never[];
9962
+ access_token?: never;
9963
+ seam_workspace?: never;
9964
+ client_session_token?: never;
9965
+ } | {
9966
+ client_session_token: never[];
9967
+ access_token?: never;
9968
+ seam_workspace?: never;
9969
+ seam_client_session_token?: never;
9970
+ })[];
9971
+ summary: string;
9972
+ tags: never[];
9973
+ 'x-fern-ignore': boolean;
9974
+ };
9975
+ };
9976
+ '/thermostats/cool': {
9977
+ post: {
9978
+ operationId: string;
9979
+ requestBody: {
9980
+ content: {
9981
+ 'application/json': {
9982
+ schema: {
9983
+ properties: {
9984
+ cooling_set_point_celsius: {
9678
9985
  type: string;
9679
9986
  };
9680
9987
  cooling_set_point_fahrenheit: {
@@ -10236,6 +10543,98 @@ declare const _default: {
10236
10543
  };
10237
10544
  };
10238
10545
  '/thermostats/update': {
10546
+ patch: {
10547
+ operationId: string;
10548
+ requestBody: {
10549
+ content: {
10550
+ 'application/json': {
10551
+ schema: {
10552
+ properties: {
10553
+ default_climate_setting: {
10554
+ properties: {
10555
+ automatic_cooling_enabled: {
10556
+ type: string;
10557
+ };
10558
+ automatic_heating_enabled: {
10559
+ type: string;
10560
+ };
10561
+ cooling_set_point_celsius: {
10562
+ type: string;
10563
+ };
10564
+ cooling_set_point_fahrenheit: {
10565
+ type: string;
10566
+ };
10567
+ heating_set_point_celsius: {
10568
+ type: string;
10569
+ };
10570
+ heating_set_point_fahrenheit: {
10571
+ type: string;
10572
+ };
10573
+ hvac_mode_setting: {
10574
+ enum: string[];
10575
+ type: string;
10576
+ };
10577
+ manual_override_allowed: {
10578
+ type: string;
10579
+ };
10580
+ };
10581
+ type: string;
10582
+ };
10583
+ device_id: {
10584
+ format: string;
10585
+ type: string;
10586
+ };
10587
+ };
10588
+ required: string[];
10589
+ type: string;
10590
+ };
10591
+ };
10592
+ };
10593
+ };
10594
+ responses: {
10595
+ 200: {
10596
+ content: {
10597
+ 'application/json': {
10598
+ schema: {
10599
+ properties: {
10600
+ ok: {
10601
+ type: string;
10602
+ };
10603
+ };
10604
+ required: string[];
10605
+ type: string;
10606
+ };
10607
+ };
10608
+ };
10609
+ description: string;
10610
+ };
10611
+ 400: {
10612
+ description: string;
10613
+ };
10614
+ 401: {
10615
+ description: string;
10616
+ };
10617
+ };
10618
+ security: ({
10619
+ access_token: never[];
10620
+ seam_workspace: never[];
10621
+ seam_client_session_token?: never;
10622
+ client_session_token?: never;
10623
+ } | {
10624
+ seam_client_session_token: never[];
10625
+ access_token?: never;
10626
+ seam_workspace?: never;
10627
+ client_session_token?: never;
10628
+ } | {
10629
+ client_session_token: never[];
10630
+ access_token?: never;
10631
+ seam_workspace?: never;
10632
+ seam_client_session_token?: never;
10633
+ })[];
10634
+ summary: string;
10635
+ tags: never[];
10636
+ 'x-fern-ignore': boolean;
10637
+ };
10239
10638
  post: {
10240
10639
  operationId: string;
10241
10640
  requestBody: {
@@ -10540,6 +10939,58 @@ declare const _default: {
10540
10939
  };
10541
10940
  '/webhooks/list': {
10542
10941
  get: {
10942
+ operationId: string;
10943
+ responses: {
10944
+ 200: {
10945
+ content: {
10946
+ 'application/json': {
10947
+ schema: {
10948
+ properties: {
10949
+ ok: {
10950
+ type: string;
10951
+ };
10952
+ webhooks: {
10953
+ items: {
10954
+ $ref: string;
10955
+ };
10956
+ type: string;
10957
+ };
10958
+ };
10959
+ required: string[];
10960
+ type: string;
10961
+ };
10962
+ };
10963
+ };
10964
+ description: string;
10965
+ };
10966
+ 400: {
10967
+ description: string;
10968
+ };
10969
+ 401: {
10970
+ description: string;
10971
+ };
10972
+ };
10973
+ security: ({
10974
+ access_token: never[];
10975
+ seam_workspace: never[];
10976
+ seam_client_session_token?: never;
10977
+ client_session_token?: never;
10978
+ } | {
10979
+ seam_client_session_token: never[];
10980
+ access_token?: never;
10981
+ seam_workspace?: never;
10982
+ client_session_token?: never;
10983
+ } | {
10984
+ client_session_token: never[];
10985
+ access_token?: never;
10986
+ seam_workspace?: never;
10987
+ seam_client_session_token?: never;
10988
+ })[];
10989
+ summary: string;
10990
+ tags: string[];
10991
+ 'x-fern-ignore': boolean;
10992
+ };
10993
+ post: {
10543
10994
  operationId: string;
10544
10995
  responses: {
10545
10996
  200: {
@@ -10596,6 +11047,55 @@ declare const _default: {
10596
11047
  };
10597
11048
  '/workspaces/get': {
10598
11049
  get: {
11050
+ operationId: string;
11051
+ responses: {
11052
+ 200: {
11053
+ content: {
11054
+ 'application/json': {
11055
+ schema: {
11056
+ properties: {
11057
+ ok: {
11058
+ type: string;
11059
+ };
11060
+ workspace: {
11061
+ $ref: string;
11062
+ };
11063
+ };
11064
+ required: string[];
11065
+ type: string;
11066
+ };
11067
+ };
11068
+ };
11069
+ description: string;
11070
+ };
11071
+ 400: {
11072
+ description: string;
11073
+ };
11074
+ 401: {
11075
+ description: string;
11076
+ };
11077
+ };
11078
+ security: ({
11079
+ access_token: never[];
11080
+ seam_workspace: never[];
11081
+ seam_client_session_token?: never;
11082
+ client_session_token?: never;
11083
+ } | {
11084
+ seam_client_session_token: never[];
11085
+ access_token?: never;
11086
+ seam_workspace?: never;
11087
+ client_session_token?: never;
11088
+ } | {
11089
+ client_session_token: never[];
11090
+ access_token?: never;
11091
+ seam_workspace?: never;
11092
+ seam_client_session_token?: never;
11093
+ })[];
11094
+ summary: string;
11095
+ tags: string[];
11096
+ 'x-fern-ignore': boolean;
11097
+ };
11098
+ post: {
10599
11099
  operationId: string;
10600
11100
  responses: {
10601
11101
  200: {
@@ -10649,6 +11149,58 @@ declare const _default: {
10649
11149
  };
10650
11150
  '/workspaces/list': {
10651
11151
  get: {
11152
+ operationId: string;
11153
+ responses: {
11154
+ 200: {
11155
+ content: {
11156
+ 'application/json': {
11157
+ schema: {
11158
+ properties: {
11159
+ ok: {
11160
+ type: string;
11161
+ };
11162
+ workspaces: {
11163
+ items: {
11164
+ $ref: string;
11165
+ };
11166
+ type: string;
11167
+ };
11168
+ };
11169
+ required: string[];
11170
+ type: string;
11171
+ };
11172
+ };
11173
+ };
11174
+ description: string;
11175
+ };
11176
+ 400: {
11177
+ description: string;
11178
+ };
11179
+ 401: {
11180
+ description: string;
11181
+ };
11182
+ };
11183
+ security: ({
11184
+ access_token: never[];
11185
+ seam_workspace: never[];
11186
+ seam_client_session_token?: never;
11187
+ client_session_token?: never;
11188
+ } | {
11189
+ seam_client_session_token: never[];
11190
+ access_token?: never;
11191
+ seam_workspace?: never;
11192
+ client_session_token?: never;
11193
+ } | {
11194
+ client_session_token: never[];
11195
+ access_token?: never;
11196
+ seam_workspace?: never;
11197
+ seam_client_session_token?: never;
11198
+ })[];
11199
+ summary: string;
11200
+ tags: string[];
11201
+ 'x-fern-ignore': boolean;
11202
+ };
11203
+ post: {
10652
11204
  operationId: string;
10653
11205
  responses: {
10654
11206
  200: {