forked from Nixius/authelia
1
0
Fork 0
ATLAS/docker/ss-atlas/internal/accounts/models.go

45 lines
859 B
Go

package accounts
import "time"
type Account struct {
ID int64
PrimaryEmail string
DisplayName string
StripeCustomerID string
SubscriptionStatus string
CreatedAt time.Time
UpdatedAt time.Time
}
type Identity struct {
Provider string
Subject string
Username string
Email string
Name string
Groups string
}
type Instance struct {
ID int64
AccountID int64
Slug string
StackName string
CustomerDomain string
State string
LastDeployedAt *time.Time
}
type CheckoutInput struct {
AccountID int64
Email string
DisplayName string
Phone string
CustomerDomain string
StripeCustomerID string
StripeSubscriptionID string
StripeSessionID string
StripeEventID string
}