@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.
- package/dist/connect.cjs +372 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +605 -53
- package/lib/seam/connect/openapi.d.ts +582 -30
- package/lib/seam/connect/openapi.js +372 -25
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +23 -23
- package/lib/seam/connect/unstable/models/acs/user.d.ts +3 -3
- package/lib/seam/connect/unstable/models/acs/user.js +1 -1
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +372 -25
- package/src/lib/seam/connect/route-types.ts +29 -21
- package/src/lib/seam/connect/unstable/models/acs/user.ts +1 -1
package/dist/connect.d.cts
CHANGED
|
@@ -233,7 +233,7 @@ declare const _default: {
|
|
|
233
233
|
full_name: {
|
|
234
234
|
type: string;
|
|
235
235
|
};
|
|
236
|
-
|
|
236
|
+
is_suspended: {
|
|
237
237
|
type: string;
|
|
238
238
|
};
|
|
239
239
|
phone_number: {
|
|
@@ -2506,17 +2506,24 @@ declare const _default: {
|
|
|
2506
2506
|
};
|
|
2507
2507
|
};
|
|
2508
2508
|
'/access_codes/generate_code': {
|
|
2509
|
-
|
|
2509
|
+
post: {
|
|
2510
2510
|
operationId: string;
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2511
|
+
requestBody: {
|
|
2512
|
+
content: {
|
|
2513
|
+
'application/json': {
|
|
2514
|
+
schema: {
|
|
2515
|
+
properties: {
|
|
2516
|
+
device_id: {
|
|
2517
|
+
format: string;
|
|
2518
|
+
type: string;
|
|
2519
|
+
};
|
|
2520
|
+
};
|
|
2521
|
+
required: string[];
|
|
2522
|
+
type: string;
|
|
2523
|
+
};
|
|
2524
|
+
};
|
|
2518
2525
|
};
|
|
2519
|
-
}
|
|
2526
|
+
};
|
|
2520
2527
|
responses: {
|
|
2521
2528
|
200: {
|
|
2522
2529
|
content: {
|
|
@@ -3576,6 +3583,114 @@ declare const _default: {
|
|
|
3576
3583
|
};
|
|
3577
3584
|
};
|
|
3578
3585
|
'/access_codes/update': {
|
|
3586
|
+
patch: {
|
|
3587
|
+
operationId: string;
|
|
3588
|
+
requestBody: {
|
|
3589
|
+
content: {
|
|
3590
|
+
'application/json': {
|
|
3591
|
+
schema: {
|
|
3592
|
+
properties: {
|
|
3593
|
+
access_code_id: {
|
|
3594
|
+
format: string;
|
|
3595
|
+
type: string;
|
|
3596
|
+
};
|
|
3597
|
+
allow_external_modification: {
|
|
3598
|
+
type: string;
|
|
3599
|
+
};
|
|
3600
|
+
attempt_for_offline_device: {
|
|
3601
|
+
default: boolean;
|
|
3602
|
+
type: string;
|
|
3603
|
+
};
|
|
3604
|
+
code: {
|
|
3605
|
+
maxLength: number;
|
|
3606
|
+
minLength: number;
|
|
3607
|
+
pattern: string;
|
|
3608
|
+
type: string;
|
|
3609
|
+
};
|
|
3610
|
+
device_id: {
|
|
3611
|
+
format: string;
|
|
3612
|
+
type: string;
|
|
3613
|
+
};
|
|
3614
|
+
ends_at: {
|
|
3615
|
+
type: string;
|
|
3616
|
+
};
|
|
3617
|
+
is_managed: {
|
|
3618
|
+
type: string;
|
|
3619
|
+
};
|
|
3620
|
+
name: {
|
|
3621
|
+
type: string;
|
|
3622
|
+
};
|
|
3623
|
+
prefer_native_scheduling: {
|
|
3624
|
+
type: string;
|
|
3625
|
+
};
|
|
3626
|
+
starts_at: {
|
|
3627
|
+
type: string;
|
|
3628
|
+
};
|
|
3629
|
+
sync: {
|
|
3630
|
+
default: boolean;
|
|
3631
|
+
type: string;
|
|
3632
|
+
};
|
|
3633
|
+
type: {
|
|
3634
|
+
enum: string[];
|
|
3635
|
+
type: string;
|
|
3636
|
+
};
|
|
3637
|
+
use_backup_access_code_pool: {
|
|
3638
|
+
type: string;
|
|
3639
|
+
};
|
|
3640
|
+
};
|
|
3641
|
+
required: string[];
|
|
3642
|
+
type: string;
|
|
3643
|
+
};
|
|
3644
|
+
};
|
|
3645
|
+
};
|
|
3646
|
+
};
|
|
3647
|
+
responses: {
|
|
3648
|
+
200: {
|
|
3649
|
+
content: {
|
|
3650
|
+
'application/json': {
|
|
3651
|
+
schema: {
|
|
3652
|
+
properties: {
|
|
3653
|
+
action_attempt: {
|
|
3654
|
+
$ref: string;
|
|
3655
|
+
};
|
|
3656
|
+
ok: {
|
|
3657
|
+
type: string;
|
|
3658
|
+
};
|
|
3659
|
+
};
|
|
3660
|
+
required: string[];
|
|
3661
|
+
type: string;
|
|
3662
|
+
};
|
|
3663
|
+
};
|
|
3664
|
+
};
|
|
3665
|
+
description: string;
|
|
3666
|
+
};
|
|
3667
|
+
400: {
|
|
3668
|
+
description: string;
|
|
3669
|
+
};
|
|
3670
|
+
401: {
|
|
3671
|
+
description: string;
|
|
3672
|
+
};
|
|
3673
|
+
};
|
|
3674
|
+
security: ({
|
|
3675
|
+
access_token: never[];
|
|
3676
|
+
seam_workspace: never[];
|
|
3677
|
+
seam_client_session_token?: never;
|
|
3678
|
+
client_session_token?: never;
|
|
3679
|
+
} | {
|
|
3680
|
+
seam_client_session_token: never[];
|
|
3681
|
+
access_token?: never;
|
|
3682
|
+
seam_workspace?: never;
|
|
3683
|
+
client_session_token?: never;
|
|
3684
|
+
} | {
|
|
3685
|
+
client_session_token: never[];
|
|
3686
|
+
access_token?: never;
|
|
3687
|
+
seam_workspace?: never;
|
|
3688
|
+
seam_client_session_token?: never;
|
|
3689
|
+
})[];
|
|
3690
|
+
summary: string;
|
|
3691
|
+
tags: string[];
|
|
3692
|
+
'x-fern-ignore': boolean;
|
|
3693
|
+
};
|
|
3579
3694
|
post: {
|
|
3580
3695
|
operationId: string;
|
|
3581
3696
|
requestBody: {
|
|
@@ -3796,7 +3911,7 @@ declare const _default: {
|
|
|
3796
3911
|
};
|
|
3797
3912
|
};
|
|
3798
3913
|
'/acs/access_groups/add_user': {
|
|
3799
|
-
|
|
3914
|
+
post: {
|
|
3800
3915
|
operationId: string;
|
|
3801
3916
|
requestBody: {
|
|
3802
3917
|
content: {
|
|
@@ -3860,9 +3975,10 @@ declare const _default: {
|
|
|
3860
3975
|
})[];
|
|
3861
3976
|
summary: string;
|
|
3862
3977
|
tags: never[];
|
|
3863
|
-
'x-fern-
|
|
3978
|
+
'x-fern-sdk-group-name': string[];
|
|
3979
|
+
'x-fern-sdk-method-name': string;
|
|
3864
3980
|
};
|
|
3865
|
-
|
|
3981
|
+
put: {
|
|
3866
3982
|
operationId: string;
|
|
3867
3983
|
requestBody: {
|
|
3868
3984
|
content: {
|
|
@@ -3926,8 +4042,7 @@ declare const _default: {
|
|
|
3926
4042
|
})[];
|
|
3927
4043
|
summary: string;
|
|
3928
4044
|
tags: never[];
|
|
3929
|
-
'x-fern-
|
|
3930
|
-
'x-fern-sdk-method-name': string;
|
|
4045
|
+
'x-fern-ignore': boolean;
|
|
3931
4046
|
};
|
|
3932
4047
|
};
|
|
3933
4048
|
'/acs/access_groups/create': {
|
|
@@ -5000,7 +5115,7 @@ declare const _default: {
|
|
|
5000
5115
|
};
|
|
5001
5116
|
};
|
|
5002
5117
|
'/acs/users/add_to_access_group': {
|
|
5003
|
-
|
|
5118
|
+
post: {
|
|
5004
5119
|
operationId: string;
|
|
5005
5120
|
requestBody: {
|
|
5006
5121
|
content: {
|
|
@@ -5051,9 +5166,10 @@ declare const _default: {
|
|
|
5051
5166
|
})[];
|
|
5052
5167
|
summary: string;
|
|
5053
5168
|
tags: never[];
|
|
5054
|
-
'x-fern-
|
|
5169
|
+
'x-fern-sdk-group-name': string[];
|
|
5170
|
+
'x-fern-sdk-method-name': string;
|
|
5055
5171
|
};
|
|
5056
|
-
|
|
5172
|
+
put: {
|
|
5057
5173
|
operationId: string;
|
|
5058
5174
|
requestBody: {
|
|
5059
5175
|
content: {
|
|
@@ -5104,8 +5220,7 @@ declare const _default: {
|
|
|
5104
5220
|
})[];
|
|
5105
5221
|
summary: string;
|
|
5106
5222
|
tags: never[];
|
|
5107
|
-
'x-fern-
|
|
5108
|
-
'x-fern-sdk-method-name': string;
|
|
5223
|
+
'x-fern-ignore': boolean;
|
|
5109
5224
|
};
|
|
5110
5225
|
};
|
|
5111
5226
|
'/acs/users/create': {
|
|
@@ -8880,6 +8995,94 @@ declare const _default: {
|
|
|
8880
8995
|
};
|
|
8881
8996
|
};
|
|
8882
8997
|
'/noise_sensors/noise_thresholds/update': {
|
|
8998
|
+
patch: {
|
|
8999
|
+
operationId: string;
|
|
9000
|
+
requestBody: {
|
|
9001
|
+
content: {
|
|
9002
|
+
'application/json': {
|
|
9003
|
+
schema: {
|
|
9004
|
+
properties: {
|
|
9005
|
+
device_id: {
|
|
9006
|
+
format: string;
|
|
9007
|
+
type: string;
|
|
9008
|
+
};
|
|
9009
|
+
ends_daily_at: {
|
|
9010
|
+
type: string;
|
|
9011
|
+
};
|
|
9012
|
+
name: {
|
|
9013
|
+
type: string;
|
|
9014
|
+
};
|
|
9015
|
+
noise_threshold_decibels: {
|
|
9016
|
+
type: string;
|
|
9017
|
+
};
|
|
9018
|
+
noise_threshold_id: {
|
|
9019
|
+
format: string;
|
|
9020
|
+
type: string;
|
|
9021
|
+
};
|
|
9022
|
+
noise_threshold_nrs: {
|
|
9023
|
+
type: string;
|
|
9024
|
+
};
|
|
9025
|
+
starts_daily_at: {
|
|
9026
|
+
type: string;
|
|
9027
|
+
};
|
|
9028
|
+
sync: {
|
|
9029
|
+
default: boolean;
|
|
9030
|
+
type: string;
|
|
9031
|
+
};
|
|
9032
|
+
};
|
|
9033
|
+
required: string[];
|
|
9034
|
+
type: string;
|
|
9035
|
+
};
|
|
9036
|
+
};
|
|
9037
|
+
};
|
|
9038
|
+
};
|
|
9039
|
+
responses: {
|
|
9040
|
+
200: {
|
|
9041
|
+
content: {
|
|
9042
|
+
'application/json': {
|
|
9043
|
+
schema: {
|
|
9044
|
+
properties: {
|
|
9045
|
+
action_attempt: {
|
|
9046
|
+
$ref: string;
|
|
9047
|
+
};
|
|
9048
|
+
ok: {
|
|
9049
|
+
type: string;
|
|
9050
|
+
};
|
|
9051
|
+
};
|
|
9052
|
+
required: string[];
|
|
9053
|
+
type: string;
|
|
9054
|
+
};
|
|
9055
|
+
};
|
|
9056
|
+
};
|
|
9057
|
+
description: string;
|
|
9058
|
+
};
|
|
9059
|
+
400: {
|
|
9060
|
+
description: string;
|
|
9061
|
+
};
|
|
9062
|
+
401: {
|
|
9063
|
+
description: string;
|
|
9064
|
+
};
|
|
9065
|
+
};
|
|
9066
|
+
security: ({
|
|
9067
|
+
access_token: never[];
|
|
9068
|
+
seam_workspace: never[];
|
|
9069
|
+
seam_client_session_token?: never;
|
|
9070
|
+
client_session_token?: never;
|
|
9071
|
+
} | {
|
|
9072
|
+
seam_client_session_token: never[];
|
|
9073
|
+
access_token?: never;
|
|
9074
|
+
seam_workspace?: never;
|
|
9075
|
+
client_session_token?: never;
|
|
9076
|
+
} | {
|
|
9077
|
+
client_session_token: never[];
|
|
9078
|
+
access_token?: never;
|
|
9079
|
+
seam_workspace?: never;
|
|
9080
|
+
seam_client_session_token?: never;
|
|
9081
|
+
})[];
|
|
9082
|
+
summary: string;
|
|
9083
|
+
tags: string[];
|
|
9084
|
+
'x-fern-ignore': boolean;
|
|
9085
|
+
};
|
|
8883
9086
|
post: {
|
|
8884
9087
|
operationId: string;
|
|
8885
9088
|
requestBody: {
|
|
@@ -9506,7 +9709,7 @@ declare const _default: {
|
|
|
9506
9709
|
};
|
|
9507
9710
|
};
|
|
9508
9711
|
'/thermostats/climate_setting_schedules/update': {
|
|
9509
|
-
|
|
9712
|
+
patch: {
|
|
9510
9713
|
operationId: string;
|
|
9511
9714
|
requestBody: {
|
|
9512
9715
|
content: {
|
|
@@ -9608,11 +9811,9 @@ declare const _default: {
|
|
|
9608
9811
|
})[];
|
|
9609
9812
|
summary: string;
|
|
9610
9813
|
tags: never[];
|
|
9611
|
-
'x-fern-
|
|
9612
|
-
'x-fern-sdk-method-name': string;
|
|
9613
|
-
'x-fern-sdk-return-value': string;
|
|
9814
|
+
'x-fern-ignore': boolean;
|
|
9614
9815
|
};
|
|
9615
|
-
|
|
9816
|
+
post: {
|
|
9616
9817
|
operationId: string;
|
|
9617
9818
|
requestBody: {
|
|
9618
9819
|
content: {
|
|
@@ -9714,18 +9915,124 @@ declare const _default: {
|
|
|
9714
9915
|
})[];
|
|
9715
9916
|
summary: string;
|
|
9716
9917
|
tags: never[];
|
|
9717
|
-
'x-fern-
|
|
9918
|
+
'x-fern-sdk-group-name': string[];
|
|
9919
|
+
'x-fern-sdk-method-name': string;
|
|
9920
|
+
'x-fern-sdk-return-value': string;
|
|
9718
9921
|
};
|
|
9719
|
-
|
|
9720
|
-
'/thermostats/cool': {
|
|
9721
|
-
post: {
|
|
9922
|
+
put: {
|
|
9722
9923
|
operationId: string;
|
|
9723
9924
|
requestBody: {
|
|
9724
9925
|
content: {
|
|
9725
9926
|
'application/json': {
|
|
9726
9927
|
schema: {
|
|
9727
9928
|
properties: {
|
|
9728
|
-
|
|
9929
|
+
automatic_cooling_enabled: {
|
|
9930
|
+
type: string;
|
|
9931
|
+
};
|
|
9932
|
+
automatic_heating_enabled: {
|
|
9933
|
+
type: string;
|
|
9934
|
+
};
|
|
9935
|
+
climate_setting_schedule_id: {
|
|
9936
|
+
format: string;
|
|
9937
|
+
type: string;
|
|
9938
|
+
};
|
|
9939
|
+
cooling_set_point_celsius: {
|
|
9940
|
+
type: string;
|
|
9941
|
+
};
|
|
9942
|
+
cooling_set_point_fahrenheit: {
|
|
9943
|
+
type: string;
|
|
9944
|
+
};
|
|
9945
|
+
heating_set_point_celsius: {
|
|
9946
|
+
type: string;
|
|
9947
|
+
};
|
|
9948
|
+
heating_set_point_fahrenheit: {
|
|
9949
|
+
type: string;
|
|
9950
|
+
};
|
|
9951
|
+
hvac_mode_setting: {
|
|
9952
|
+
enum: string[];
|
|
9953
|
+
type: string;
|
|
9954
|
+
};
|
|
9955
|
+
manual_override_allowed: {
|
|
9956
|
+
type: string;
|
|
9957
|
+
};
|
|
9958
|
+
name: {
|
|
9959
|
+
type: string;
|
|
9960
|
+
};
|
|
9961
|
+
schedule_ends_at: {
|
|
9962
|
+
type: string;
|
|
9963
|
+
};
|
|
9964
|
+
schedule_starts_at: {
|
|
9965
|
+
type: string;
|
|
9966
|
+
};
|
|
9967
|
+
schedule_type: {
|
|
9968
|
+
default: string;
|
|
9969
|
+
enum: string[];
|
|
9970
|
+
type: string;
|
|
9971
|
+
};
|
|
9972
|
+
};
|
|
9973
|
+
required: string[];
|
|
9974
|
+
type: string;
|
|
9975
|
+
};
|
|
9976
|
+
};
|
|
9977
|
+
};
|
|
9978
|
+
};
|
|
9979
|
+
responses: {
|
|
9980
|
+
200: {
|
|
9981
|
+
content: {
|
|
9982
|
+
'application/json': {
|
|
9983
|
+
schema: {
|
|
9984
|
+
properties: {
|
|
9985
|
+
climate_setting_schedule: {
|
|
9986
|
+
$ref: string;
|
|
9987
|
+
};
|
|
9988
|
+
ok: {
|
|
9989
|
+
type: string;
|
|
9990
|
+
};
|
|
9991
|
+
};
|
|
9992
|
+
required: string[];
|
|
9993
|
+
type: string;
|
|
9994
|
+
};
|
|
9995
|
+
};
|
|
9996
|
+
};
|
|
9997
|
+
description: string;
|
|
9998
|
+
};
|
|
9999
|
+
400: {
|
|
10000
|
+
description: string;
|
|
10001
|
+
};
|
|
10002
|
+
401: {
|
|
10003
|
+
description: string;
|
|
10004
|
+
};
|
|
10005
|
+
};
|
|
10006
|
+
security: ({
|
|
10007
|
+
access_token: never[];
|
|
10008
|
+
seam_workspace: never[];
|
|
10009
|
+
seam_client_session_token?: never;
|
|
10010
|
+
client_session_token?: never;
|
|
10011
|
+
} | {
|
|
10012
|
+
seam_client_session_token: never[];
|
|
10013
|
+
access_token?: never;
|
|
10014
|
+
seam_workspace?: never;
|
|
10015
|
+
client_session_token?: never;
|
|
10016
|
+
} | {
|
|
10017
|
+
client_session_token: never[];
|
|
10018
|
+
access_token?: never;
|
|
10019
|
+
seam_workspace?: never;
|
|
10020
|
+
seam_client_session_token?: never;
|
|
10021
|
+
})[];
|
|
10022
|
+
summary: string;
|
|
10023
|
+
tags: never[];
|
|
10024
|
+
'x-fern-ignore': boolean;
|
|
10025
|
+
};
|
|
10026
|
+
};
|
|
10027
|
+
'/thermostats/cool': {
|
|
10028
|
+
post: {
|
|
10029
|
+
operationId: string;
|
|
10030
|
+
requestBody: {
|
|
10031
|
+
content: {
|
|
10032
|
+
'application/json': {
|
|
10033
|
+
schema: {
|
|
10034
|
+
properties: {
|
|
10035
|
+
cooling_set_point_celsius: {
|
|
9729
10036
|
type: string;
|
|
9730
10037
|
};
|
|
9731
10038
|
cooling_set_point_fahrenheit: {
|
|
@@ -10287,6 +10594,98 @@ declare const _default: {
|
|
|
10287
10594
|
};
|
|
10288
10595
|
};
|
|
10289
10596
|
'/thermostats/update': {
|
|
10597
|
+
patch: {
|
|
10598
|
+
operationId: string;
|
|
10599
|
+
requestBody: {
|
|
10600
|
+
content: {
|
|
10601
|
+
'application/json': {
|
|
10602
|
+
schema: {
|
|
10603
|
+
properties: {
|
|
10604
|
+
default_climate_setting: {
|
|
10605
|
+
properties: {
|
|
10606
|
+
automatic_cooling_enabled: {
|
|
10607
|
+
type: string;
|
|
10608
|
+
};
|
|
10609
|
+
automatic_heating_enabled: {
|
|
10610
|
+
type: string;
|
|
10611
|
+
};
|
|
10612
|
+
cooling_set_point_celsius: {
|
|
10613
|
+
type: string;
|
|
10614
|
+
};
|
|
10615
|
+
cooling_set_point_fahrenheit: {
|
|
10616
|
+
type: string;
|
|
10617
|
+
};
|
|
10618
|
+
heating_set_point_celsius: {
|
|
10619
|
+
type: string;
|
|
10620
|
+
};
|
|
10621
|
+
heating_set_point_fahrenheit: {
|
|
10622
|
+
type: string;
|
|
10623
|
+
};
|
|
10624
|
+
hvac_mode_setting: {
|
|
10625
|
+
enum: string[];
|
|
10626
|
+
type: string;
|
|
10627
|
+
};
|
|
10628
|
+
manual_override_allowed: {
|
|
10629
|
+
type: string;
|
|
10630
|
+
};
|
|
10631
|
+
};
|
|
10632
|
+
type: string;
|
|
10633
|
+
};
|
|
10634
|
+
device_id: {
|
|
10635
|
+
format: string;
|
|
10636
|
+
type: string;
|
|
10637
|
+
};
|
|
10638
|
+
};
|
|
10639
|
+
required: string[];
|
|
10640
|
+
type: string;
|
|
10641
|
+
};
|
|
10642
|
+
};
|
|
10643
|
+
};
|
|
10644
|
+
};
|
|
10645
|
+
responses: {
|
|
10646
|
+
200: {
|
|
10647
|
+
content: {
|
|
10648
|
+
'application/json': {
|
|
10649
|
+
schema: {
|
|
10650
|
+
properties: {
|
|
10651
|
+
ok: {
|
|
10652
|
+
type: string;
|
|
10653
|
+
};
|
|
10654
|
+
};
|
|
10655
|
+
required: string[];
|
|
10656
|
+
type: string;
|
|
10657
|
+
};
|
|
10658
|
+
};
|
|
10659
|
+
};
|
|
10660
|
+
description: string;
|
|
10661
|
+
};
|
|
10662
|
+
400: {
|
|
10663
|
+
description: string;
|
|
10664
|
+
};
|
|
10665
|
+
401: {
|
|
10666
|
+
description: string;
|
|
10667
|
+
};
|
|
10668
|
+
};
|
|
10669
|
+
security: ({
|
|
10670
|
+
access_token: never[];
|
|
10671
|
+
seam_workspace: never[];
|
|
10672
|
+
seam_client_session_token?: never;
|
|
10673
|
+
client_session_token?: never;
|
|
10674
|
+
} | {
|
|
10675
|
+
seam_client_session_token: never[];
|
|
10676
|
+
access_token?: never;
|
|
10677
|
+
seam_workspace?: never;
|
|
10678
|
+
client_session_token?: never;
|
|
10679
|
+
} | {
|
|
10680
|
+
client_session_token: never[];
|
|
10681
|
+
access_token?: never;
|
|
10682
|
+
seam_workspace?: never;
|
|
10683
|
+
seam_client_session_token?: never;
|
|
10684
|
+
})[];
|
|
10685
|
+
summary: string;
|
|
10686
|
+
tags: never[];
|
|
10687
|
+
'x-fern-ignore': boolean;
|
|
10688
|
+
};
|
|
10290
10689
|
post: {
|
|
10291
10690
|
operationId: string;
|
|
10292
10691
|
requestBody: {
|
|
@@ -10591,6 +10990,58 @@ declare const _default: {
|
|
|
10591
10990
|
};
|
|
10592
10991
|
'/webhooks/list': {
|
|
10593
10992
|
get: {
|
|
10993
|
+
operationId: string;
|
|
10994
|
+
responses: {
|
|
10995
|
+
200: {
|
|
10996
|
+
content: {
|
|
10997
|
+
'application/json': {
|
|
10998
|
+
schema: {
|
|
10999
|
+
properties: {
|
|
11000
|
+
ok: {
|
|
11001
|
+
type: string;
|
|
11002
|
+
};
|
|
11003
|
+
webhooks: {
|
|
11004
|
+
items: {
|
|
11005
|
+
$ref: string;
|
|
11006
|
+
};
|
|
11007
|
+
type: string;
|
|
11008
|
+
};
|
|
11009
|
+
};
|
|
11010
|
+
required: string[];
|
|
11011
|
+
type: string;
|
|
11012
|
+
};
|
|
11013
|
+
};
|
|
11014
|
+
};
|
|
11015
|
+
description: string;
|
|
11016
|
+
};
|
|
11017
|
+
400: {
|
|
11018
|
+
description: string;
|
|
11019
|
+
};
|
|
11020
|
+
401: {
|
|
11021
|
+
description: string;
|
|
11022
|
+
};
|
|
11023
|
+
};
|
|
11024
|
+
security: ({
|
|
11025
|
+
access_token: never[];
|
|
11026
|
+
seam_workspace: never[];
|
|
11027
|
+
seam_client_session_token?: never;
|
|
11028
|
+
client_session_token?: never;
|
|
11029
|
+
} | {
|
|
11030
|
+
seam_client_session_token: never[];
|
|
11031
|
+
access_token?: never;
|
|
11032
|
+
seam_workspace?: never;
|
|
11033
|
+
client_session_token?: never;
|
|
11034
|
+
} | {
|
|
11035
|
+
client_session_token: never[];
|
|
11036
|
+
access_token?: never;
|
|
11037
|
+
seam_workspace?: never;
|
|
11038
|
+
seam_client_session_token?: never;
|
|
11039
|
+
})[];
|
|
11040
|
+
summary: string;
|
|
11041
|
+
tags: string[];
|
|
11042
|
+
'x-fern-ignore': boolean;
|
|
11043
|
+
};
|
|
11044
|
+
post: {
|
|
10594
11045
|
operationId: string;
|
|
10595
11046
|
responses: {
|
|
10596
11047
|
200: {
|
|
@@ -10647,6 +11098,55 @@ declare const _default: {
|
|
|
10647
11098
|
};
|
|
10648
11099
|
'/workspaces/get': {
|
|
10649
11100
|
get: {
|
|
11101
|
+
operationId: string;
|
|
11102
|
+
responses: {
|
|
11103
|
+
200: {
|
|
11104
|
+
content: {
|
|
11105
|
+
'application/json': {
|
|
11106
|
+
schema: {
|
|
11107
|
+
properties: {
|
|
11108
|
+
ok: {
|
|
11109
|
+
type: string;
|
|
11110
|
+
};
|
|
11111
|
+
workspace: {
|
|
11112
|
+
$ref: string;
|
|
11113
|
+
};
|
|
11114
|
+
};
|
|
11115
|
+
required: string[];
|
|
11116
|
+
type: string;
|
|
11117
|
+
};
|
|
11118
|
+
};
|
|
11119
|
+
};
|
|
11120
|
+
description: string;
|
|
11121
|
+
};
|
|
11122
|
+
400: {
|
|
11123
|
+
description: string;
|
|
11124
|
+
};
|
|
11125
|
+
401: {
|
|
11126
|
+
description: string;
|
|
11127
|
+
};
|
|
11128
|
+
};
|
|
11129
|
+
security: ({
|
|
11130
|
+
access_token: never[];
|
|
11131
|
+
seam_workspace: never[];
|
|
11132
|
+
seam_client_session_token?: never;
|
|
11133
|
+
client_session_token?: never;
|
|
11134
|
+
} | {
|
|
11135
|
+
seam_client_session_token: never[];
|
|
11136
|
+
access_token?: never;
|
|
11137
|
+
seam_workspace?: never;
|
|
11138
|
+
client_session_token?: never;
|
|
11139
|
+
} | {
|
|
11140
|
+
client_session_token: never[];
|
|
11141
|
+
access_token?: never;
|
|
11142
|
+
seam_workspace?: never;
|
|
11143
|
+
seam_client_session_token?: never;
|
|
11144
|
+
})[];
|
|
11145
|
+
summary: string;
|
|
11146
|
+
tags: string[];
|
|
11147
|
+
'x-fern-ignore': boolean;
|
|
11148
|
+
};
|
|
11149
|
+
post: {
|
|
10650
11150
|
operationId: string;
|
|
10651
11151
|
responses: {
|
|
10652
11152
|
200: {
|
|
@@ -10700,6 +11200,58 @@ declare const _default: {
|
|
|
10700
11200
|
};
|
|
10701
11201
|
'/workspaces/list': {
|
|
10702
11202
|
get: {
|
|
11203
|
+
operationId: string;
|
|
11204
|
+
responses: {
|
|
11205
|
+
200: {
|
|
11206
|
+
content: {
|
|
11207
|
+
'application/json': {
|
|
11208
|
+
schema: {
|
|
11209
|
+
properties: {
|
|
11210
|
+
ok: {
|
|
11211
|
+
type: string;
|
|
11212
|
+
};
|
|
11213
|
+
workspaces: {
|
|
11214
|
+
items: {
|
|
11215
|
+
$ref: string;
|
|
11216
|
+
};
|
|
11217
|
+
type: string;
|
|
11218
|
+
};
|
|
11219
|
+
};
|
|
11220
|
+
required: string[];
|
|
11221
|
+
type: string;
|
|
11222
|
+
};
|
|
11223
|
+
};
|
|
11224
|
+
};
|
|
11225
|
+
description: string;
|
|
11226
|
+
};
|
|
11227
|
+
400: {
|
|
11228
|
+
description: string;
|
|
11229
|
+
};
|
|
11230
|
+
401: {
|
|
11231
|
+
description: string;
|
|
11232
|
+
};
|
|
11233
|
+
};
|
|
11234
|
+
security: ({
|
|
11235
|
+
access_token: never[];
|
|
11236
|
+
seam_workspace: never[];
|
|
11237
|
+
seam_client_session_token?: never;
|
|
11238
|
+
client_session_token?: never;
|
|
11239
|
+
} | {
|
|
11240
|
+
seam_client_session_token: never[];
|
|
11241
|
+
access_token?: never;
|
|
11242
|
+
seam_workspace?: never;
|
|
11243
|
+
client_session_token?: never;
|
|
11244
|
+
} | {
|
|
11245
|
+
client_session_token: never[];
|
|
11246
|
+
access_token?: never;
|
|
11247
|
+
seam_workspace?: never;
|
|
11248
|
+
seam_client_session_token?: never;
|
|
11249
|
+
})[];
|
|
11250
|
+
summary: string;
|
|
11251
|
+
tags: string[];
|
|
11252
|
+
'x-fern-ignore': boolean;
|
|
11253
|
+
};
|
|
11254
|
+
post: {
|
|
10703
11255
|
operationId: string;
|
|
10704
11256
|
responses: {
|
|
10705
11257
|
200: {
|
|
@@ -10963,7 +11515,7 @@ interface Routes {
|
|
|
10963
11515
|
};
|
|
10964
11516
|
'/access_codes/generate_code': {
|
|
10965
11517
|
route: '/access_codes/generate_code';
|
|
10966
|
-
method: 'GET';
|
|
11518
|
+
method: 'GET' | 'POST';
|
|
10967
11519
|
queryParams: {};
|
|
10968
11520
|
jsonBody: {};
|
|
10969
11521
|
commonParams: {
|
|
@@ -11219,7 +11771,7 @@ interface Routes {
|
|
|
11219
11771
|
};
|
|
11220
11772
|
'/access_codes/unmanaged/update': {
|
|
11221
11773
|
route: '/access_codes/unmanaged/update';
|
|
11222
|
-
method: '
|
|
11774
|
+
method: 'PATCH' | 'POST';
|
|
11223
11775
|
queryParams: {};
|
|
11224
11776
|
jsonBody: {};
|
|
11225
11777
|
commonParams: {
|
|
@@ -11233,7 +11785,7 @@ interface Routes {
|
|
|
11233
11785
|
};
|
|
11234
11786
|
'/access_codes/update': {
|
|
11235
11787
|
route: '/access_codes/update';
|
|
11236
|
-
method: 'POST' | 'PUT';
|
|
11788
|
+
method: 'POST' | 'PATCH' | 'PUT';
|
|
11237
11789
|
queryParams: {};
|
|
11238
11790
|
jsonBody: {
|
|
11239
11791
|
name?: string | undefined;
|
|
@@ -11279,7 +11831,7 @@ interface Routes {
|
|
|
11279
11831
|
};
|
|
11280
11832
|
'/acs/access_groups/add_user': {
|
|
11281
11833
|
route: '/acs/access_groups/add_user';
|
|
11282
|
-
method: '
|
|
11834
|
+
method: 'PUT' | 'POST';
|
|
11283
11835
|
queryParams: {};
|
|
11284
11836
|
jsonBody: {};
|
|
11285
11837
|
commonParams: {
|
|
@@ -11395,7 +11947,7 @@ interface Routes {
|
|
|
11395
11947
|
display_name: string;
|
|
11396
11948
|
external_type: 'pti_user';
|
|
11397
11949
|
external_type_display_name: string;
|
|
11398
|
-
|
|
11950
|
+
is_suspended: boolean;
|
|
11399
11951
|
full_name?: string | undefined;
|
|
11400
11952
|
email?: string | undefined;
|
|
11401
11953
|
phone_number?: string | undefined;
|
|
@@ -11416,7 +11968,7 @@ interface Routes {
|
|
|
11416
11968
|
};
|
|
11417
11969
|
'/acs/access_groups/update': {
|
|
11418
11970
|
route: '/acs/access_groups/update';
|
|
11419
|
-
method: '
|
|
11971
|
+
method: 'PATCH' | 'POST';
|
|
11420
11972
|
queryParams: {};
|
|
11421
11973
|
jsonBody: {};
|
|
11422
11974
|
commonParams: {
|
|
@@ -11552,7 +12104,7 @@ interface Routes {
|
|
|
11552
12104
|
};
|
|
11553
12105
|
'/acs/users/add_to_access_group': {
|
|
11554
12106
|
route: '/acs/users/add_to_access_group';
|
|
11555
|
-
method: '
|
|
12107
|
+
method: 'PUT' | 'POST';
|
|
11556
12108
|
queryParams: {};
|
|
11557
12109
|
jsonBody: {};
|
|
11558
12110
|
commonParams: {
|
|
@@ -11584,7 +12136,7 @@ interface Routes {
|
|
|
11584
12136
|
display_name: string;
|
|
11585
12137
|
external_type: 'pti_user';
|
|
11586
12138
|
external_type_display_name: string;
|
|
11587
|
-
|
|
12139
|
+
is_suspended: boolean;
|
|
11588
12140
|
full_name?: string | undefined;
|
|
11589
12141
|
email?: string | undefined;
|
|
11590
12142
|
phone_number?: string | undefined;
|
|
@@ -11620,7 +12172,7 @@ interface Routes {
|
|
|
11620
12172
|
display_name: string;
|
|
11621
12173
|
external_type: 'pti_user';
|
|
11622
12174
|
external_type_display_name: string;
|
|
11623
|
-
|
|
12175
|
+
is_suspended: boolean;
|
|
11624
12176
|
full_name?: string | undefined;
|
|
11625
12177
|
email?: string | undefined;
|
|
11626
12178
|
phone_number?: string | undefined;
|
|
@@ -11645,7 +12197,7 @@ interface Routes {
|
|
|
11645
12197
|
display_name: string;
|
|
11646
12198
|
external_type: 'pti_user';
|
|
11647
12199
|
external_type_display_name: string;
|
|
11648
|
-
|
|
12200
|
+
is_suspended: boolean;
|
|
11649
12201
|
full_name?: string | undefined;
|
|
11650
12202
|
email?: string | undefined;
|
|
11651
12203
|
phone_number?: string | undefined;
|
|
@@ -11688,7 +12240,7 @@ interface Routes {
|
|
|
11688
12240
|
};
|
|
11689
12241
|
'/acs/users/update': {
|
|
11690
12242
|
route: '/acs/users/update';
|
|
11691
|
-
method: '
|
|
12243
|
+
method: 'PATCH' | 'POST';
|
|
11692
12244
|
queryParams: {};
|
|
11693
12245
|
jsonBody: {};
|
|
11694
12246
|
commonParams: {
|
|
@@ -11791,7 +12343,7 @@ interface Routes {
|
|
|
11791
12343
|
};
|
|
11792
12344
|
'/client_sessions/delete': {
|
|
11793
12345
|
route: '/client_sessions/delete';
|
|
11794
|
-
method: '
|
|
12346
|
+
method: 'DELETE' | 'POST';
|
|
11795
12347
|
queryParams: {};
|
|
11796
12348
|
jsonBody: {};
|
|
11797
12349
|
commonParams: {
|
|
@@ -11825,7 +12377,7 @@ interface Routes {
|
|
|
11825
12377
|
};
|
|
11826
12378
|
'/client_sessions/grant_access': {
|
|
11827
12379
|
route: '/client_sessions/grant_access';
|
|
11828
|
-
method: '
|
|
12380
|
+
method: 'PATCH' | 'POST';
|
|
11829
12381
|
queryParams: {};
|
|
11830
12382
|
jsonBody: {};
|
|
11831
12383
|
commonParams: {
|
|
@@ -11850,7 +12402,7 @@ interface Routes {
|
|
|
11850
12402
|
};
|
|
11851
12403
|
'/client_sessions/list': {
|
|
11852
12404
|
route: '/client_sessions/list';
|
|
11853
|
-
method: '
|
|
12405
|
+
method: 'GET' | 'POST';
|
|
11854
12406
|
queryParams: {};
|
|
11855
12407
|
jsonBody: {};
|
|
11856
12408
|
commonParams: {
|
|
@@ -13035,8 +13587,8 @@ interface Routes {
|
|
|
13035
13587
|
device_ids?: string[] | undefined;
|
|
13036
13588
|
access_code_id?: string | undefined;
|
|
13037
13589
|
access_code_ids?: string[] | undefined;
|
|
13038
|
-
event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled') | undefined;
|
|
13039
|
-
event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled'> | undefined;
|
|
13590
|
+
event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled') | undefined;
|
|
13591
|
+
event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled'> | undefined;
|
|
13040
13592
|
connected_account_id?: string | undefined;
|
|
13041
13593
|
};
|
|
13042
13594
|
formData: {};
|
|
@@ -13354,7 +13906,7 @@ interface Routes {
|
|
|
13354
13906
|
};
|
|
13355
13907
|
'/noise_sensors/noise_thresholds/update': {
|
|
13356
13908
|
route: '/noise_sensors/noise_thresholds/update';
|
|
13357
|
-
method: '
|
|
13909
|
+
method: 'PATCH' | 'POST' | 'PUT';
|
|
13358
13910
|
queryParams: {};
|
|
13359
13911
|
jsonBody: {
|
|
13360
13912
|
noise_threshold_id: string;
|
|
@@ -13447,7 +13999,7 @@ interface Routes {
|
|
|
13447
13999
|
};
|
|
13448
14000
|
'/thermostats/climate_setting_schedules/delete': {
|
|
13449
14001
|
route: '/thermostats/climate_setting_schedules/delete';
|
|
13450
|
-
method: '
|
|
14002
|
+
method: 'DELETE' | 'POST' | 'PUT';
|
|
13451
14003
|
queryParams: {};
|
|
13452
14004
|
jsonBody: {};
|
|
13453
14005
|
commonParams: {
|
|
@@ -13518,7 +14070,7 @@ interface Routes {
|
|
|
13518
14070
|
};
|
|
13519
14071
|
'/thermostats/climate_setting_schedules/update': {
|
|
13520
14072
|
route: '/thermostats/climate_setting_schedules/update';
|
|
13521
|
-
method: '
|
|
14073
|
+
method: 'PATCH' | 'POST' | 'PUT';
|
|
13522
14074
|
queryParams: {};
|
|
13523
14075
|
jsonBody: {
|
|
13524
14076
|
climate_setting_schedule_id: string;
|
|
@@ -14433,7 +14985,7 @@ interface Routes {
|
|
|
14433
14985
|
};
|
|
14434
14986
|
'/thermostats/update': {
|
|
14435
14987
|
route: '/thermostats/update';
|
|
14436
|
-
method: 'POST';
|
|
14988
|
+
method: 'PATCH' | 'POST';
|
|
14437
14989
|
queryParams: {};
|
|
14438
14990
|
jsonBody: {
|
|
14439
14991
|
device_id: string;
|
|
@@ -14502,7 +15054,7 @@ interface Routes {
|
|
|
14502
15054
|
};
|
|
14503
15055
|
'/webhooks/list': {
|
|
14504
15056
|
route: '/webhooks/list';
|
|
14505
|
-
method: 'GET';
|
|
15057
|
+
method: 'GET' | 'POST';
|
|
14506
15058
|
queryParams: {};
|
|
14507
15059
|
jsonBody: {};
|
|
14508
15060
|
commonParams: {};
|
|
@@ -14518,7 +15070,7 @@ interface Routes {
|
|
|
14518
15070
|
};
|
|
14519
15071
|
'/workspaces/get': {
|
|
14520
15072
|
route: '/workspaces/get';
|
|
14521
|
-
method: 'GET';
|
|
15073
|
+
method: 'GET' | 'POST';
|
|
14522
15074
|
queryParams: {};
|
|
14523
15075
|
jsonBody: {};
|
|
14524
15076
|
commonParams: {};
|
|
@@ -14534,7 +15086,7 @@ interface Routes {
|
|
|
14534
15086
|
};
|
|
14535
15087
|
'/workspaces/list': {
|
|
14536
15088
|
route: '/workspaces/list';
|
|
14537
|
-
method: 'GET';
|
|
15089
|
+
method: 'GET' | 'POST';
|
|
14538
15090
|
queryParams: {};
|
|
14539
15091
|
jsonBody: {};
|
|
14540
15092
|
commonParams: {};
|