Skip to content

Commit 6bf4f0e

Browse files
authored
feat: Support POST for more endpoints (#40)
1 parent ccf7122 commit 6bf4f0e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/lib/seam/connect/route-types.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -797,13 +797,13 @@ export interface Routes {
797797
}
798798
'/devices/get': {
799799
route: '/devices/get'
800-
method: 'GET'
801-
queryParams: {
800+
method: 'GET' | 'POST'
801+
queryParams: {}
802+
jsonBody: {}
803+
commonParams: {
802804
device_id?: string | undefined
803805
name?: string | undefined
804806
}
805-
jsonBody: {}
806-
commonParams: {}
807807
formData: {}
808808
jsonResponse: {
809809
device: {
@@ -1013,7 +1013,7 @@ export interface Routes {
10131013
}
10141014
'/devices/list_device_providers': {
10151015
route: '/devices/list_device_providers'
1016-
method: 'GET'
1016+
method: 'GET' | 'POST'
10171017
queryParams: {}
10181018
jsonBody: {}
10191019
commonParams: {
@@ -2223,12 +2223,12 @@ export interface Routes {
22232223
}
22242224
'/webhooks/get': {
22252225
route: '/webhooks/get'
2226-
method: 'GET'
2227-
queryParams: {
2226+
method: 'GET' | 'POST'
2227+
queryParams: {}
2228+
jsonBody: {}
2229+
commonParams: {
22282230
webhook_id: string
22292231
}
2230-
jsonBody: {}
2231-
commonParams: {}
22322232
formData: {}
22332233
jsonResponse: {
22342234
webhook: {

0 commit comments

Comments
 (0)