@seamapi/types 1.19.1 → 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 +376 -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 +376 -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 +376 -25
- package/src/lib/seam/connect/route-types.ts +33 -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,6 +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'
|
|
2944
|
+
| 'device.salto.privacy_mode_activated'
|
|
2945
|
+
| 'device.salto.privacy_mode_deactivated'
|
|
2946
|
+
| 'device.connection_became_flaky'
|
|
2947
|
+
| 'device.connection_stabilized'
|
|
2942
2948
|
| 'access_code.created'
|
|
2943
2949
|
| 'access_code.changed'
|
|
2944
2950
|
| 'access_code.scheduled_on_device'
|
|
@@ -2978,6 +2984,12 @@ export interface Routes {
|
|
|
2978
2984
|
| 'device.tampered'
|
|
2979
2985
|
| 'device.low_battery'
|
|
2980
2986
|
| 'device.battery_status_changed'
|
|
2987
|
+
| 'device.third_party_integration_detected'
|
|
2988
|
+
| 'device.third_party_integration_no_longer_detected'
|
|
2989
|
+
| 'device.salto.privacy_mode_activated'
|
|
2990
|
+
| 'device.salto.privacy_mode_deactivated'
|
|
2991
|
+
| 'device.connection_became_flaky'
|
|
2992
|
+
| 'device.connection_stabilized'
|
|
2981
2993
|
| 'access_code.created'
|
|
2982
2994
|
| 'access_code.changed'
|
|
2983
2995
|
| 'access_code.scheduled_on_device'
|
|
@@ -3435,7 +3447,7 @@ export interface Routes {
|
|
|
3435
3447
|
}
|
|
3436
3448
|
'/noise_sensors/noise_thresholds/update': {
|
|
3437
3449
|
route: '/noise_sensors/noise_thresholds/update'
|
|
3438
|
-
method: '
|
|
3450
|
+
method: 'PATCH' | 'POST' | 'PUT'
|
|
3439
3451
|
queryParams: {}
|
|
3440
3452
|
jsonBody: {
|
|
3441
3453
|
noise_threshold_id: string
|
|
@@ -3531,7 +3543,7 @@ export interface Routes {
|
|
|
3531
3543
|
}
|
|
3532
3544
|
'/thermostats/climate_setting_schedules/delete': {
|
|
3533
3545
|
route: '/thermostats/climate_setting_schedules/delete'
|
|
3534
|
-
method: '
|
|
3546
|
+
method: 'DELETE' | 'POST' | 'PUT'
|
|
3535
3547
|
queryParams: {}
|
|
3536
3548
|
jsonBody: {}
|
|
3537
3549
|
commonParams: {
|
|
@@ -3602,7 +3614,7 @@ export interface Routes {
|
|
|
3602
3614
|
}
|
|
3603
3615
|
'/thermostats/climate_setting_schedules/update': {
|
|
3604
3616
|
route: '/thermostats/climate_setting_schedules/update'
|
|
3605
|
-
method: '
|
|
3617
|
+
method: 'PATCH' | 'POST' | 'PUT'
|
|
3606
3618
|
queryParams: {}
|
|
3607
3619
|
jsonBody: {
|
|
3608
3620
|
climate_setting_schedule_id: string
|
|
@@ -4994,7 +5006,7 @@ export interface Routes {
|
|
|
4994
5006
|
}
|
|
4995
5007
|
'/thermostats/update': {
|
|
4996
5008
|
route: '/thermostats/update'
|
|
4997
|
-
method: 'POST'
|
|
5009
|
+
method: 'PATCH' | 'POST'
|
|
4998
5010
|
queryParams: {}
|
|
4999
5011
|
jsonBody: {
|
|
5000
5012
|
device_id: string
|
|
@@ -5063,7 +5075,7 @@ export interface Routes {
|
|
|
5063
5075
|
}
|
|
5064
5076
|
'/webhooks/list': {
|
|
5065
5077
|
route: '/webhooks/list'
|
|
5066
|
-
method: 'GET'
|
|
5078
|
+
method: 'GET' | 'POST'
|
|
5067
5079
|
queryParams: {}
|
|
5068
5080
|
jsonBody: {}
|
|
5069
5081
|
commonParams: {}
|
|
@@ -5079,7 +5091,7 @@ export interface Routes {
|
|
|
5079
5091
|
}
|
|
5080
5092
|
'/workspaces/get': {
|
|
5081
5093
|
route: '/workspaces/get'
|
|
5082
|
-
method: 'GET'
|
|
5094
|
+
method: 'GET' | 'POST'
|
|
5083
5095
|
queryParams: {}
|
|
5084
5096
|
jsonBody: {}
|
|
5085
5097
|
commonParams: {}
|
|
@@ -5097,7 +5109,7 @@ export interface Routes {
|
|
|
5097
5109
|
}
|
|
5098
5110
|
'/workspaces/list': {
|
|
5099
5111
|
route: '/workspaces/list'
|
|
5100
|
-
method: 'GET'
|
|
5112
|
+
method: 'GET' | 'POST'
|
|
5101
5113
|
queryParams: {}
|
|
5102
5114
|
jsonBody: {}
|
|
5103
5115
|
commonParams: {}
|