update: webhooks

This commit is contained in:
anik-ghosh-au7
2022-07-16 23:10:05 +05:30
parent a69dd95992
commit 8b1511a07b
3 changed files with 458 additions and 16 deletions

View File

@@ -121,3 +121,23 @@ export const WebhooksDataQuery = `
}
}
`;
export const WebhookLogsQuery = `
query getWebhookLogs($params: ListWebhookLogRequest!) {
_webhook_logs(params: $params) {
webhook_logs {
id
http_status
request
response
created_at
}
pagination {
limit
page
offset
total
}
}
}
`;