Add setWebhook resolver
This commit is contained in:
@ -1625,6 +1625,7 @@ export type SetWebhookError = {
|
||||
export enum SetWebhookErrorCode {
|
||||
AlreadyExists = 'ALREADY_EXISTS',
|
||||
BadRequest = 'BAD_REQUEST',
|
||||
NotFound = 'NOT_FOUND',
|
||||
Unauthorized = 'UNAUTHORIZED'
|
||||
}
|
||||
|
||||
@ -1632,6 +1633,7 @@ export type SetWebhookInput = {
|
||||
contentType?: InputMaybe<Scalars['String']>;
|
||||
enabled?: InputMaybe<Scalars['Boolean']>;
|
||||
eventTypes: Array<WebhookEvent>;
|
||||
id?: InputMaybe<Scalars['ID']>;
|
||||
method?: InputMaybe<Scalars['String']>;
|
||||
url: Scalars['String'];
|
||||
};
|
||||
|
||||
@ -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!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user