Files
SillyTavern/poe_graphql/ViewerMessageLimitUpdatedSubscription.graphql
2023-04-15 00:52:50 +03:00

75 lines
1.5 KiB
GraphQL

subscription subscriptions_viewerMessageLimitUpdated_Subscription {
viewerMessageLimitUpdated {
...SettingsSubscriptionSection_viewer
id
}
}
fragment SettingsSubscriptionPaywallModal_viewer on Viewer {
...WebSubscriptionPaywall_viewer
}
fragment SettingsSubscriptionSectionNonSubscriberView_viewer on Viewer {
...SettingsSubscriptionPaywallModal_viewer
}
fragment SettingsSubscriptionSectionSubscriberView_viewer on Viewer {
subscription {
isActive
expiresTime
purchaseType
isAnnualSubscription
willCancelAtPeriodEnd
id
}
}
fragment SettingsSubscriptionSection_viewer on Viewer {
availableBots {
displayName
messageLimit {
canSend
numMessagesRemaining
resetTime
dailyBalance
dailyLimit
monthlyBalance
monthlyLimit
monthlyBalanceRefreshTime
shouldShowRemainingMessageCount
}
id
}
subscription {
isActive
id
}
isEligibleForWebSubscriptions
...SettingsSubscriptionSectionNonSubscriberView_viewer
...SettingsSubscriptionSectionSubscriberView_viewer
...WebSubscriptionSuccessMessage_viewer
}
fragment SubscriptionMessageLimitExplanation_viewer on Viewer {
availableBots {
displayName
messageLimit {
monthlyLimit
}
id
}
}
fragment WebSubscriptionPaywall_viewer on Viewer {
...SubscriptionMessageLimitExplanation_viewer
}
fragment WebSubscriptionSuccessMessage_viewer on Viewer {
subscription {
isActive
expiresTime
willCancelAtPeriodEnd
id
}
}