Type Alias: CreditsService
CreditsService =
Pick<CreditsServiceImpl,"getUserPlan"|"checkFeature"|"getQuotaState"|"listQuotaEvents"|"startPlanMigration"|"migratePlanBatch"|"revokeCreditsByEntryType"|"executeGrantProgram"|"getLedgerEntry"|"getAvailable"|"aggregateStats"|"spendByUser"|"spendByModel"|"listLedgerEntries"|"listUsageEntries"|"listUsageCharges"|"topUsers"|"dailySpend"|"setUserPlan"|"unsetUserPlan"|"getBalance"|"addCredits"|"deductCredits"|"grantSubscriptionCycle"|"reserve"|"settle"|"release"|"renew"|"canAfford"|"getBucketBalances"|"checkAllowance"|"runBilled"|"beginBilledOperation"|"deduct"|"recordUsage"|"deductFlatJob"|"refundCredits"|"deductTeam"|"sweepExpiredCredits">
Defined in: javascript/src/bursar.ts:32
Stable public credit capability exposed by Bursar.
The explicit method list prevents implementation helpers added to
CreditsServiceImpl from silently becoming public API.