feat: add ListTiers to subscriptions SDK interface
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
917eee13a2
commit
3753210c2d
@ -11,6 +11,7 @@ import (
|
|||||||
type Subscriptions interface {
|
type Subscriptions interface {
|
||||||
GetUserTierLevel(ctx context.Context, userID uuid.UUID) (*TierLevel, error)
|
GetUserTierLevel(ctx context.Context, userID uuid.UUID) (*TierLevel, error)
|
||||||
GetTierBySlug(ctx context.Context, slug string) (*Tier, error)
|
GetTierBySlug(ctx context.Context, slug string) (*Tier, error)
|
||||||
|
ListTiers(ctx context.Context) ([]Tier, error)
|
||||||
ListActivePlans(ctx context.Context, tierID uuid.UUID) ([]Plan, error)
|
ListActivePlans(ctx context.Context, tierID uuid.UUID) ([]Plan, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user