feat(notifications): switch messenger connect flow to bot links

This commit is contained in:
Ruslan Bakiev
2026-04-02 15:58:09 +07:00
parent b01b01a360
commit 79100d05f8
6 changed files with 159 additions and 16 deletions

View File

@@ -0,0 +1,6 @@
query Me {
me {
id
email
}
}

View File

@@ -0,0 +1,8 @@
query MyMessengerConnections {
myMessengerConnections {
id
type
channelId
isActive
}
}

View File

@@ -0,0 +1,10 @@
query MyNotificationHistory($channel: MessengerType!, $limit: Int) {
myNotificationHistory(channel: $channel, limit: $limit) {
id
channel
title
message
createdAt
orderId
}
}

View File

@@ -0,0 +1,9 @@
mutation SendTestMessengerMessage($type: MessengerType!, $channelId: String, $message: String) {
sendTestMessengerMessage(type: $type, channelId: $channelId, message: $message) {
type
channelId
success
detail
sentAt
}
}