Merge pull request #1040 from automatisch/usage-data

feat: add subscription update and cancel logics
This commit is contained in:
Ömer Faruk Aydın
2023-04-08 00:34:28 +03:00
committed by GitHub
18 changed files with 237 additions and 55 deletions

View File

@@ -40,6 +40,7 @@ type Query {
getBillingAndUsage: GetBillingAndUsage
getInvoices: [Invoice]
getAutomatischInfo: GetAutomatischInfo
getTrialStatus: GetTrialStatus
healthcheck: AppHealth
}
@@ -475,6 +476,10 @@ type GetAutomatischInfo {
isCloud: Boolean
}
type GetTrialStatus {
expireAt: String
}
type GetBillingAndUsage {
subscription: Subscription
usage: Usage