major fixes
This commit is contained in:
@@ -58,6 +58,10 @@ type CreditsOverview struct {
|
||||
Sections map[string]bool `json:"sections,omitempty"`
|
||||
DisabledFeatures []string `json:"disabled_features,omitempty"`
|
||||
FeatureETag string `json:"feature_etag,omitempty"`
|
||||
// Per-member access overlay (settings > team). Set by the /me handler so the
|
||||
// dashboard can say "ask your administrator" rather than "upgrade your plan".
|
||||
MemberRestricted bool `json:"member_restricted,omitempty"`
|
||||
MemberDeniedFeatures []string `json:"member_denied_features,omitempty"`
|
||||
}
|
||||
|
||||
func (s *Service) CreditsOverview(ctx context.Context, companyID uuid.UUID, lowThreshold int) (CreditsOverview, error) {
|
||||
|
||||
Reference in New Issue
Block a user