feat: Implement draft version of getBillingAndUsage query

This commit is contained in:
Faruk AYDIN
2023-03-25 00:39:49 +03:00
parent 310497a5bf
commit b5524b18cf
5 changed files with 80 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ type Query {
getUsageData: GetUsageData
getPaymentPlans: [PaymentPlan]
getPaddleInfo: GetPaddleInfo
getBillingAndUsage: GetBillingAndUsage
getAutomatischInfo: GetAutomatischInfo
healthcheck: AppHealth
}
@@ -472,6 +473,19 @@ type GetAutomatischInfo {
isCloud: Boolean
}
type GetBillingAndUsage {
subscription: Subscription
}
type Subscription {
monthlyQuota: String
updateUrl: String
cancelUrl: String
status: String
nextBillAmount: String
nextBillDate: String
}
type GetUsageData {
name: String
allowedTaskCount: Int