@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
|
@@ -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'
|
|
@@ -2980,8 +2984,12 @@ export interface Routes {
|
|
|
2980
2984
|
| 'device.tampered'
|
|
2981
2985
|
| 'device.low_battery'
|
|
2982
2986
|
| 'device.battery_status_changed'
|
|
2987
|
+
| 'device.third_party_integration_detected'
|
|
2988
|
+
| 'device.third_party_integration_no_longer_detected'
|
|
2983
2989
|
| 'device.salto.privacy_mode_activated'
|
|
2984
2990
|
| 'device.salto.privacy_mode_deactivated'
|
|
2991
|
+
| 'device.connection_became_flaky'
|
|
2992
|
+
| 'device.connection_stabilized'
|
|
2985
2993
|
| 'access_code.created'
|
|
2986
2994
|
| 'access_code.changed'
|
|
2987
2995
|
| 'access_code.scheduled_on_device'
|
|
@@ -3439,7 +3447,7 @@ export interface Routes {
|
|
|
3439
3447
|
}
|
|
3440
3448
|
'/noise_sensors/noise_thresholds/update': {
|
|
3441
3449
|
route: '/noise_sensors/noise_thresholds/update'
|
|
3442
|
-
method: '
|
|
3450
|
+
method: 'PATCH' | 'POST' | 'PUT'
|
|
3443
3451
|
queryParams: {}
|
|
3444
3452
|
jsonBody: {
|
|
3445
3453
|
noise_threshold_id: string
|
|
@@ -3535,7 +3543,7 @@ export interface Routes {
|
|
|
3535
3543
|
}
|
|
3536
3544
|
'/thermostats/climate_setting_schedules/delete': {
|
|
3537
3545
|
route: '/thermostats/climate_setting_schedules/delete'
|
|
3538
|
-
method: '
|
|
3546
|
+
method: 'DELETE' | 'POST' | 'PUT'
|
|
3539
3547
|
queryParams: {}
|
|
3540
3548
|
jsonBody: {}
|
|
3541
3549
|
commonParams: {
|
|
@@ -3606,7 +3614,7 @@ export interface Routes {
|
|
|
3606
3614
|
}
|
|
3607
3615
|
'/thermostats/climate_setting_schedules/update': {
|
|
3608
3616
|
route: '/thermostats/climate_setting_schedules/update'
|
|
3609
|
-
method: '
|
|
3617
|
+
method: 'PATCH' | 'POST' | 'PUT'
|
|
3610
3618
|
queryParams: {}
|
|
3611
3619
|
jsonBody: {
|
|
3612
3620
|
climate_setting_schedule_id: string
|
|
@@ -4998,7 +5006,7 @@ export interface Routes {
|
|
|
4998
5006
|
}
|
|
4999
5007
|
'/thermostats/update': {
|
|
5000
5008
|
route: '/thermostats/update'
|
|
5001
|
-
method: 'POST'
|
|
5009
|
+
method: 'PATCH' | 'POST'
|
|
5002
5010
|
queryParams: {}
|
|
5003
5011
|
jsonBody: {
|
|
5004
5012
|
device_id: string
|
|
@@ -5067,7 +5075,7 @@ export interface Routes {
|
|
|
5067
5075
|
}
|
|
5068
5076
|
'/webhooks/list': {
|
|
5069
5077
|
route: '/webhooks/list'
|
|
5070
|
-
method: 'GET'
|
|
5078
|
+
method: 'GET' | 'POST'
|
|
5071
5079
|
queryParams: {}
|
|
5072
5080
|
jsonBody: {}
|
|
5073
5081
|
commonParams: {}
|
|
@@ -5083,7 +5091,7 @@ export interface Routes {
|
|
|
5083
5091
|
}
|
|
5084
5092
|
'/workspaces/get': {
|
|
5085
5093
|
route: '/workspaces/get'
|
|
5086
|
-
method: 'GET'
|
|
5094
|
+
method: 'GET' | 'POST'
|
|
5087
5095
|
queryParams: {}
|
|
5088
5096
|
jsonBody: {}
|
|
5089
5097
|
commonParams: {}
|
|
@@ -5101,7 +5109,7 @@ export interface Routes {
|
|
|
5101
5109
|
}
|
|
5102
5110
|
'/workspaces/list': {
|
|
5103
5111
|
route: '/workspaces/list'
|
|
5104
|
-
method: 'GET'
|
|
5112
|
+
method: 'GET' | 'POST'
|
|
5105
5113
|
queryParams: {}
|
|
5106
5114
|
jsonBody: {}
|
|
5107
5115
|
commonParams: {}
|