@seamapi/types 1.20.0 → 1.22.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 +374 -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 +374 -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 +374 -25
- package/src/lib/seam/connect/route-types.ts +31 -21
- package/src/lib/seam/connect/unstable/models/acs/user.ts +1 -1
|
@@ -150,7 +150,7 @@ export interface Routes {
|
|
|
150
150
|
}
|
|
151
151
|
'/access_codes/generate_code': {
|
|
152
152
|
route: '/access_codes/generate_code'
|
|
153
|
-
method: 'GET'
|
|
153
|
+
method: 'GET' | 'POST'
|
|
154
154
|
queryParams: {}
|
|
155
155
|
jsonBody: {}
|
|
156
156
|
commonParams: {
|
|
@@ -411,7 +411,7 @@ export interface Routes {
|
|
|
411
411
|
}
|
|
412
412
|
'/access_codes/unmanaged/update': {
|
|
413
413
|
route: '/access_codes/unmanaged/update'
|
|
414
|
-
method: '
|
|
414
|
+
method: 'PATCH' | 'POST'
|
|
415
415
|
queryParams: {}
|
|
416
416
|
jsonBody: {}
|
|
417
417
|
commonParams: {
|
|
@@ -425,7 +425,7 @@ export interface Routes {
|
|
|
425
425
|
}
|
|
426
426
|
'/access_codes/update': {
|
|
427
427
|
route: '/access_codes/update'
|
|
428
|
-
method: 'POST' | 'PUT'
|
|
428
|
+
method: 'POST' | 'PATCH' | 'PUT'
|
|
429
429
|
queryParams: {}
|
|
430
430
|
jsonBody: {
|
|
431
431
|
name?: string | undefined
|
|
@@ -474,7 +474,7 @@ export interface Routes {
|
|
|
474
474
|
}
|
|
475
475
|
'/acs/access_groups/add_user': {
|
|
476
476
|
route: '/acs/access_groups/add_user'
|
|
477
|
-
method: '
|
|
477
|
+
method: 'PUT' | 'POST'
|
|
478
478
|
queryParams: {}
|
|
479
479
|
jsonBody: {}
|
|
480
480
|
commonParams: {
|
|
@@ -590,7 +590,7 @@ export interface Routes {
|
|
|
590
590
|
display_name: string
|
|
591
591
|
external_type: 'pti_user'
|
|
592
592
|
external_type_display_name: string
|
|
593
|
-
|
|
593
|
+
is_suspended: boolean
|
|
594
594
|
full_name?: string | undefined
|
|
595
595
|
email?: string | undefined
|
|
596
596
|
phone_number?: string | undefined
|
|
@@ -611,7 +611,7 @@ export interface Routes {
|
|
|
611
611
|
}
|
|
612
612
|
'/acs/access_groups/update': {
|
|
613
613
|
route: '/acs/access_groups/update'
|
|
614
|
-
method: '
|
|
614
|
+
method: 'PATCH' | 'POST'
|
|
615
615
|
queryParams: {}
|
|
616
616
|
jsonBody: {}
|
|
617
617
|
commonParams: {
|
|
@@ -747,7 +747,7 @@ export interface Routes {
|
|
|
747
747
|
}
|
|
748
748
|
'/acs/users/add_to_access_group': {
|
|
749
749
|
route: '/acs/users/add_to_access_group'
|
|
750
|
-
method: '
|
|
750
|
+
method: 'PUT' | 'POST'
|
|
751
751
|
queryParams: {}
|
|
752
752
|
jsonBody: {}
|
|
753
753
|
commonParams: {
|
|
@@ -779,7 +779,7 @@ export interface Routes {
|
|
|
779
779
|
display_name: string
|
|
780
780
|
external_type: 'pti_user'
|
|
781
781
|
external_type_display_name: string
|
|
782
|
-
|
|
782
|
+
is_suspended: boolean
|
|
783
783
|
full_name?: string | undefined
|
|
784
784
|
email?: string | undefined
|
|
785
785
|
phone_number?: string | undefined
|
|
@@ -815,7 +815,7 @@ export interface Routes {
|
|
|
815
815
|
display_name: string
|
|
816
816
|
external_type: 'pti_user'
|
|
817
817
|
external_type_display_name: string
|
|
818
|
-
|
|
818
|
+
is_suspended: boolean
|
|
819
819
|
full_name?: string | undefined
|
|
820
820
|
email?: string | undefined
|
|
821
821
|
phone_number?: string | undefined
|
|
@@ -840,7 +840,7 @@ export interface Routes {
|
|
|
840
840
|
display_name: string
|
|
841
841
|
external_type: 'pti_user'
|
|
842
842
|
external_type_display_name: string
|
|
843
|
-
|
|
843
|
+
is_suspended: boolean
|
|
844
844
|
full_name?: string | undefined
|
|
845
845
|
email?: string | undefined
|
|
846
846
|
phone_number?: string | undefined
|
|
@@ -883,7 +883,7 @@ export interface Routes {
|
|
|
883
883
|
}
|
|
884
884
|
'/acs/users/update': {
|
|
885
885
|
route: '/acs/users/update'
|
|
886
|
-
method: '
|
|
886
|
+
method: 'PATCH' | 'POST'
|
|
887
887
|
queryParams: {}
|
|
888
888
|
jsonBody: {}
|
|
889
889
|
commonParams: {
|
|
@@ -993,7 +993,7 @@ export interface Routes {
|
|
|
993
993
|
}
|
|
994
994
|
'/client_sessions/delete': {
|
|
995
995
|
route: '/client_sessions/delete'
|
|
996
|
-
method: '
|
|
996
|
+
method: 'DELETE' | 'POST'
|
|
997
997
|
queryParams: {}
|
|
998
998
|
jsonBody: {}
|
|
999
999
|
commonParams: {
|
|
@@ -1027,7 +1027,7 @@ export interface Routes {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
'/client_sessions/grant_access': {
|
|
1029
1029
|
route: '/client_sessions/grant_access'
|
|
1030
|
-
method: '
|
|
1030
|
+
method: 'PATCH' | 'POST'
|
|
1031
1031
|
queryParams: {}
|
|
1032
1032
|
jsonBody: {}
|
|
1033
1033
|
commonParams: {
|
|
@@ -1052,7 +1052,7 @@ export interface Routes {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
'/client_sessions/list': {
|
|
1054
1054
|
route: '/client_sessions/list'
|
|
1055
|
-
method: '
|
|
1055
|
+
method: 'GET' | 'POST'
|
|
1056
1056
|
queryParams: {}
|
|
1057
1057
|
jsonBody: {}
|
|
1058
1058
|
commonParams: {
|
|
@@ -2939,8 +2939,12 @@ export interface Routes {
|
|
|
2939
2939
|
| 'device.tampered'
|
|
2940
2940
|
| 'device.low_battery'
|
|
2941
2941
|
| 'device.battery_status_changed'
|
|
2942
|
+
| 'device.third_party_integration_detected'
|
|
2943
|
+
| 'device.third_party_integration_no_longer_detected'
|
|
2942
2944
|
| 'device.salto.privacy_mode_activated'
|
|
2943
2945
|
| 'device.salto.privacy_mode_deactivated'
|
|
2946
|
+
| 'device.connection_became_flaky'
|
|
2947
|
+
| 'device.connection_stabilized'
|
|
2944
2948
|
| 'access_code.created'
|
|
2945
2949
|
| 'access_code.changed'
|
|
2946
2950
|
| 'access_code.scheduled_on_device'
|
|
@@ -2951,6 +2955,7 @@ export interface Routes {
|
|
|
2951
2955
|
| 'access_code.delay_in_setting_on_device'
|
|
2952
2956
|
| 'access_code.failed_to_remove_from_device'
|
|
2953
2957
|
| 'access_code.delay_in_removing_from_device'
|
|
2958
|
+
| 'access_code.deleted_external_to_seam'
|
|
2954
2959
|
| 'access_code.modified_external_to_seam'
|
|
2955
2960
|
| 'access_code.unmanaged.converted_to_managed'
|
|
2956
2961
|
| 'access_code.unmanaged.failed_to_convert_to_managed'
|
|
@@ -2980,8 +2985,12 @@ export interface Routes {
|
|
|
2980
2985
|
| 'device.tampered'
|
|
2981
2986
|
| 'device.low_battery'
|
|
2982
2987
|
| 'device.battery_status_changed'
|
|
2988
|
+
| 'device.third_party_integration_detected'
|
|
2989
|
+
| 'device.third_party_integration_no_longer_detected'
|
|
2983
2990
|
| 'device.salto.privacy_mode_activated'
|
|
2984
2991
|
| 'device.salto.privacy_mode_deactivated'
|
|
2992
|
+
| 'device.connection_became_flaky'
|
|
2993
|
+
| 'device.connection_stabilized'
|
|
2985
2994
|
| 'access_code.created'
|
|
2986
2995
|
| 'access_code.changed'
|
|
2987
2996
|
| 'access_code.scheduled_on_device'
|
|
@@ -2992,6 +3001,7 @@ export interface Routes {
|
|
|
2992
3001
|
| 'access_code.delay_in_setting_on_device'
|
|
2993
3002
|
| 'access_code.failed_to_remove_from_device'
|
|
2994
3003
|
| 'access_code.delay_in_removing_from_device'
|
|
3004
|
+
| 'access_code.deleted_external_to_seam'
|
|
2995
3005
|
| 'access_code.modified_external_to_seam'
|
|
2996
3006
|
| 'access_code.unmanaged.converted_to_managed'
|
|
2997
3007
|
| 'access_code.unmanaged.failed_to_convert_to_managed'
|
|
@@ -3439,7 +3449,7 @@ export interface Routes {
|
|
|
3439
3449
|
}
|
|
3440
3450
|
'/noise_sensors/noise_thresholds/update': {
|
|
3441
3451
|
route: '/noise_sensors/noise_thresholds/update'
|
|
3442
|
-
method: '
|
|
3452
|
+
method: 'PATCH' | 'POST' | 'PUT'
|
|
3443
3453
|
queryParams: {}
|
|
3444
3454
|
jsonBody: {
|
|
3445
3455
|
noise_threshold_id: string
|
|
@@ -3535,7 +3545,7 @@ export interface Routes {
|
|
|
3535
3545
|
}
|
|
3536
3546
|
'/thermostats/climate_setting_schedules/delete': {
|
|
3537
3547
|
route: '/thermostats/climate_setting_schedules/delete'
|
|
3538
|
-
method: '
|
|
3548
|
+
method: 'DELETE' | 'POST' | 'PUT'
|
|
3539
3549
|
queryParams: {}
|
|
3540
3550
|
jsonBody: {}
|
|
3541
3551
|
commonParams: {
|
|
@@ -3606,7 +3616,7 @@ export interface Routes {
|
|
|
3606
3616
|
}
|
|
3607
3617
|
'/thermostats/climate_setting_schedules/update': {
|
|
3608
3618
|
route: '/thermostats/climate_setting_schedules/update'
|
|
3609
|
-
method: '
|
|
3619
|
+
method: 'PATCH' | 'POST' | 'PUT'
|
|
3610
3620
|
queryParams: {}
|
|
3611
3621
|
jsonBody: {
|
|
3612
3622
|
climate_setting_schedule_id: string
|
|
@@ -4998,7 +5008,7 @@ export interface Routes {
|
|
|
4998
5008
|
}
|
|
4999
5009
|
'/thermostats/update': {
|
|
5000
5010
|
route: '/thermostats/update'
|
|
5001
|
-
method: 'POST'
|
|
5011
|
+
method: 'PATCH' | 'POST'
|
|
5002
5012
|
queryParams: {}
|
|
5003
5013
|
jsonBody: {
|
|
5004
5014
|
device_id: string
|
|
@@ -5067,7 +5077,7 @@ export interface Routes {
|
|
|
5067
5077
|
}
|
|
5068
5078
|
'/webhooks/list': {
|
|
5069
5079
|
route: '/webhooks/list'
|
|
5070
|
-
method: 'GET'
|
|
5080
|
+
method: 'GET' | 'POST'
|
|
5071
5081
|
queryParams: {}
|
|
5072
5082
|
jsonBody: {}
|
|
5073
5083
|
commonParams: {}
|
|
@@ -5083,7 +5093,7 @@ export interface Routes {
|
|
|
5083
5093
|
}
|
|
5084
5094
|
'/workspaces/get': {
|
|
5085
5095
|
route: '/workspaces/get'
|
|
5086
|
-
method: 'GET'
|
|
5096
|
+
method: 'GET' | 'POST'
|
|
5087
5097
|
queryParams: {}
|
|
5088
5098
|
jsonBody: {}
|
|
5089
5099
|
commonParams: {}
|
|
@@ -5101,7 +5111,7 @@ export interface Routes {
|
|
|
5101
5111
|
}
|
|
5102
5112
|
'/workspaces/list': {
|
|
5103
5113
|
route: '/workspaces/list'
|
|
5104
|
-
method: 'GET'
|
|
5114
|
+
method: 'GET' | 'POST'
|
|
5105
5115
|
queryParams: {}
|
|
5106
5116
|
jsonBody: {}
|
|
5107
5117
|
commonParams: {}
|