chore: Adjust billing query to be more dynamic

This commit is contained in:
Faruk AYDIN
2023-03-26 18:22:49 +03:00
parent 4aadcb021e
commit 05505704e4
2 changed files with 81 additions and 20 deletions

View File

@@ -479,13 +479,32 @@ type GetBillingAndUsage {
usage: Usage
}
type MonthlyQuota {
title: String
action: BillingCardAction
}
type NextBillAmount {
title: String
action: BillingCardAction
}
type NextBillDate {
title: String
action: BillingCardAction
}
type BillingCardAction {
type: String
text: String
src: String
}
type Subscription {
monthlyQuota: String
updateUrl: String
cancelUrl: String
status: String
nextBillAmount: String
nextBillDate: String
monthlyQuota: MonthlyQuota
nextBillAmount: NextBillAmount
nextBillDate: NextBillDate
}
type Usage {