Add setWebhook resolver

This commit is contained in:
Hongbo Wu
2022-05-25 22:20:13 +08:00
parent 5528d1d349
commit 6d0ce30a44
6 changed files with 95 additions and 6 deletions

View File

@ -1193,6 +1193,7 @@ type SetWebhookError {
enum SetWebhookErrorCode {
ALREADY_EXISTS
BAD_REQUEST
NOT_FOUND
UNAUTHORIZED
}
@ -1200,6 +1201,7 @@ input SetWebhookInput {
contentType: String
enabled: Boolean
eventTypes: [WebhookEvent!]!
id: ID
method: String
url: String!
}