feat: Implement draft version of getBillingAndUsage query
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user