Versions in this module Expand all Collapse all v0 v0.10.0 Sep 6, 2026 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeAPIKey + const TypeAgent + const TypeApplication + const TypeCredential + const TypeHuman + const TypeInvite + const TypeLicense + const TypeListing + const TypeMembership + const TypeOAuthAccount + const TypeOAuthApp + const TypeOAuthAppSecret + const TypeOAuthAuthCode + const TypeOAuthConsent + const TypeOAuthToken + const TypeOrganization + const TypePrincipal + const TypePrincipalMembership + const TypePrincipalToken + const TypeRefreshToken + const TypeSeatAssignment + const TypeServiceAccount + const TypeServiceAccountKeyPair + const TypeServicePrincipal + const TypeSubscription + const TypeUser + var ErrTxStarted = errors.New("ent: cannot start a transaction within a transaction") + func Asc(fields ...string) func(*sql.Selector) + func Desc(fields ...string) func(*sql.Selector) + func IsConstraintError(err error) bool + func IsNotFound(err error) bool + func IsNotLoaded(err error) bool + func IsNotSingular(err error) bool + func IsValidationError(err error) bool + func MaskNotFound(err error) error + func NewContext(parent context.Context, c *Client) context.Context + func NewTxContext(parent context.Context, tx *Tx) context.Context + type APIKey struct + CreatedAt time.Time + Description *string + Edges APIKeyEdges + Environment apikey.Environment + ExpiresAt *time.Time + ID uuid.UUID + KeyHash string + LastUsedAt *time.Time + LastUsedIP *string + Metadata map[string]string + Name string + Prefix string + Revoked bool + RevokedAt *time.Time + RevokedReason *string + Scopes []string + UpdatedAt time.Time + func (_m *APIKey) QueryOrganization() *OrganizationQuery + func (_m *APIKey) QueryOwner() *UserQuery + func (_m *APIKey) String() string + func (_m *APIKey) Unwrap() *APIKey + func (_m *APIKey) Update() *APIKeyUpdateOne + func (_m *APIKey) Value(name string) (ent.Value, error) + type APIKeyClient struct + func NewAPIKeyClient(c config) *APIKeyClient + func (c *APIKeyClient) Create() *APIKeyCreate + func (c *APIKeyClient) CreateBulk(builders ...*APIKeyCreate) *APIKeyCreateBulk + func (c *APIKeyClient) Delete() *APIKeyDelete + func (c *APIKeyClient) DeleteOne(_m *APIKey) *APIKeyDeleteOne + func (c *APIKeyClient) DeleteOneID(id uuid.UUID) *APIKeyDeleteOne + func (c *APIKeyClient) Get(ctx context.Context, id uuid.UUID) (*APIKey, error) + func (c *APIKeyClient) GetX(ctx context.Context, id uuid.UUID) *APIKey + func (c *APIKeyClient) Hooks() []Hook + func (c *APIKeyClient) Intercept(interceptors ...Interceptor) + func (c *APIKeyClient) Interceptors() []Interceptor + func (c *APIKeyClient) MapCreateBulk(slice any, setFunc func(*APIKeyCreate, int)) *APIKeyCreateBulk + func (c *APIKeyClient) Query() *APIKeyQuery + func (c *APIKeyClient) QueryOrganization(_m *APIKey) *OrganizationQuery + func (c *APIKeyClient) QueryOwner(_m *APIKey) *UserQuery + func (c *APIKeyClient) Update() *APIKeyUpdate + func (c *APIKeyClient) UpdateOne(_m *APIKey) *APIKeyUpdateOne + func (c *APIKeyClient) UpdateOneID(id uuid.UUID) *APIKeyUpdateOne + func (c *APIKeyClient) Use(hooks ...Hook) + type APIKeyCreate struct + func (_c *APIKeyCreate) Exec(ctx context.Context) error + func (_c *APIKeyCreate) ExecX(ctx context.Context) + func (_c *APIKeyCreate) Mutation() *APIKeyMutation + func (_c *APIKeyCreate) OnConflict(opts ...sql.ConflictOption) *APIKeyUpsertOne + func (_c *APIKeyCreate) OnConflictColumns(columns ...string) *APIKeyUpsertOne + func (_c *APIKeyCreate) Save(ctx context.Context) (*APIKey, error) + func (_c *APIKeyCreate) SaveX(ctx context.Context) *APIKey + func (_c *APIKeyCreate) SetCreatedAt(v time.Time) *APIKeyCreate + func (_c *APIKeyCreate) SetDescription(v string) *APIKeyCreate + func (_c *APIKeyCreate) SetEnvironment(v apikey.Environment) *APIKeyCreate + func (_c *APIKeyCreate) SetExpiresAt(v time.Time) *APIKeyCreate + func (_c *APIKeyCreate) SetID(v uuid.UUID) *APIKeyCreate + func (_c *APIKeyCreate) SetKeyHash(v string) *APIKeyCreate + func (_c *APIKeyCreate) SetLastUsedAt(v time.Time) *APIKeyCreate + func (_c *APIKeyCreate) SetLastUsedIP(v string) *APIKeyCreate + func (_c *APIKeyCreate) SetMetadata(v map[string]string) *APIKeyCreate + func (_c *APIKeyCreate) SetName(v string) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableCreatedAt(v *time.Time) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableDescription(v *string) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableEnvironment(v *apikey.Environment) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableExpiresAt(v *time.Time) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableID(v *uuid.UUID) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableLastUsedAt(v *time.Time) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableLastUsedIP(v *string) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableOrganizationID(id *uuid.UUID) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableRevoked(v *bool) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableRevokedAt(v *time.Time) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableRevokedReason(v *string) *APIKeyCreate + func (_c *APIKeyCreate) SetNillableUpdatedAt(v *time.Time) *APIKeyCreate + func (_c *APIKeyCreate) SetOrganization(v *Organization) *APIKeyCreate + func (_c *APIKeyCreate) SetOrganizationID(id uuid.UUID) *APIKeyCreate + func (_c *APIKeyCreate) SetOwner(v *User) *APIKeyCreate + func (_c *APIKeyCreate) SetOwnerID(id uuid.UUID) *APIKeyCreate + func (_c *APIKeyCreate) SetPrefix(v string) *APIKeyCreate + func (_c *APIKeyCreate) SetRevoked(v bool) *APIKeyCreate + func (_c *APIKeyCreate) SetRevokedAt(v time.Time) *APIKeyCreate + func (_c *APIKeyCreate) SetRevokedReason(v string) *APIKeyCreate + func (_c *APIKeyCreate) SetScopes(v []string) *APIKeyCreate + func (_c *APIKeyCreate) SetUpdatedAt(v time.Time) *APIKeyCreate + type APIKeyCreateBulk struct + func (_c *APIKeyCreateBulk) Exec(ctx context.Context) error + func (_c *APIKeyCreateBulk) ExecX(ctx context.Context) + func (_c *APIKeyCreateBulk) OnConflict(opts ...sql.ConflictOption) *APIKeyUpsertBulk + func (_c *APIKeyCreateBulk) OnConflictColumns(columns ...string) *APIKeyUpsertBulk + func (_c *APIKeyCreateBulk) Save(ctx context.Context) ([]*APIKey, error) + func (_c *APIKeyCreateBulk) SaveX(ctx context.Context) []*APIKey + type APIKeyDelete struct + func (_d *APIKeyDelete) Exec(ctx context.Context) (int, error) + func (_d *APIKeyDelete) ExecX(ctx context.Context) int + func (_d *APIKeyDelete) Where(ps ...predicate.APIKey) *APIKeyDelete + type APIKeyDeleteOne struct + func (_d *APIKeyDeleteOne) Exec(ctx context.Context) error + func (_d *APIKeyDeleteOne) ExecX(ctx context.Context) + func (_d *APIKeyDeleteOne) Where(ps ...predicate.APIKey) *APIKeyDeleteOne + type APIKeyEdges struct + Organization *Organization + Owner *User + func (e APIKeyEdges) OrganizationOrErr() (*Organization, error) + func (e APIKeyEdges) OwnerOrErr() (*User, error) + type APIKeyFilter struct + func (f *APIKeyFilter) Where(p entql.P) + func (f *APIKeyFilter) WhereCreatedAt(p entql.TimeP) + func (f *APIKeyFilter) WhereDescription(p entql.StringP) + func (f *APIKeyFilter) WhereEnvironment(p entql.StringP) + func (f *APIKeyFilter) WhereExpiresAt(p entql.TimeP) + func (f *APIKeyFilter) WhereHasOrganization() + func (f *APIKeyFilter) WhereHasOrganizationWith(preds ...predicate.Organization) + func (f *APIKeyFilter) WhereHasOwner() + func (f *APIKeyFilter) WhereHasOwnerWith(preds ...predicate.User) + func (f *APIKeyFilter) WhereID(p entql.ValueP) + func (f *APIKeyFilter) WhereKeyHash(p entql.StringP) + func (f *APIKeyFilter) WhereLastUsedAt(p entql.TimeP) + func (f *APIKeyFilter) WhereLastUsedIP(p entql.StringP) + func (f *APIKeyFilter) WhereMetadata(p entql.BytesP) + func (f *APIKeyFilter) WhereName(p entql.StringP) + func (f *APIKeyFilter) WherePrefix(p entql.StringP) + func (f *APIKeyFilter) WhereRevoked(p entql.BoolP) + func (f *APIKeyFilter) WhereRevokedAt(p entql.TimeP) + func (f *APIKeyFilter) WhereRevokedReason(p entql.StringP) + func (f *APIKeyFilter) WhereScopes(p entql.BytesP) + func (f *APIKeyFilter) WhereUpdatedAt(p entql.TimeP) + type APIKeyGroupBy struct + func (_g *APIKeyGroupBy) Aggregate(fns ...AggregateFunc) *APIKeyGroupBy + func (_g *APIKeyGroupBy) Scan(ctx context.Context, v any) error + func (s *APIKeyGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *APIKeyGroupBy) BoolX(ctx context.Context) bool + func (s *APIKeyGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *APIKeyGroupBy) BoolsX(ctx context.Context) []bool + func (s *APIKeyGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *APIKeyGroupBy) Float64X(ctx context.Context) float64 + func (s *APIKeyGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *APIKeyGroupBy) Float64sX(ctx context.Context) []float64 + func (s *APIKeyGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *APIKeyGroupBy) IntX(ctx context.Context) int + func (s *APIKeyGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *APIKeyGroupBy) IntsX(ctx context.Context) []int + func (s *APIKeyGroupBy) ScanX(ctx context.Context, v any) + func (s *APIKeyGroupBy) String(ctx context.Context) (_ string, err error) + func (s *APIKeyGroupBy) StringX(ctx context.Context) string + func (s *APIKeyGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *APIKeyGroupBy) StringsX(ctx context.Context) []string + type APIKeyMutation struct + func (m *APIKeyMutation) AddField(name string, value ent.Value) error + func (m *APIKeyMutation) AddedEdges() []string + func (m *APIKeyMutation) AddedField(name string) (ent.Value, bool) + func (m *APIKeyMutation) AddedFields() []string + func (m *APIKeyMutation) AddedIDs(name string) []ent.Value + func (m *APIKeyMutation) AppendScopes(s []string) + func (m *APIKeyMutation) AppendedScopes() ([]string, bool) + func (m *APIKeyMutation) ClearDescription() + func (m *APIKeyMutation) ClearEdge(name string) error + func (m *APIKeyMutation) ClearExpiresAt() + func (m *APIKeyMutation) ClearField(name string) error + func (m *APIKeyMutation) ClearLastUsedAt() + func (m *APIKeyMutation) ClearLastUsedIP() + func (m *APIKeyMutation) ClearMetadata() + func (m *APIKeyMutation) ClearOrganization() + func (m *APIKeyMutation) ClearOwner() + func (m *APIKeyMutation) ClearRevokedAt() + func (m *APIKeyMutation) ClearRevokedReason() + func (m *APIKeyMutation) ClearScopes() + func (m *APIKeyMutation) ClearedEdges() []string + func (m *APIKeyMutation) ClearedFields() []string + func (m *APIKeyMutation) CreatedAt() (r time.Time, exists bool) + func (m *APIKeyMutation) Description() (r string, exists bool) + func (m *APIKeyMutation) DescriptionCleared() bool + func (m *APIKeyMutation) EdgeCleared(name string) bool + func (m *APIKeyMutation) Environment() (r apikey.Environment, exists bool) + func (m *APIKeyMutation) ExpiresAt() (r time.Time, exists bool) + func (m *APIKeyMutation) ExpiresAtCleared() bool + func (m *APIKeyMutation) Field(name string) (ent.Value, bool) + func (m *APIKeyMutation) FieldCleared(name string) bool + func (m *APIKeyMutation) Fields() []string + func (m *APIKeyMutation) Filter() *APIKeyFilter + func (m *APIKeyMutation) ID() (id uuid.UUID, exists bool) + func (m *APIKeyMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *APIKeyMutation) KeyHash() (r string, exists bool) + func (m *APIKeyMutation) LastUsedAt() (r time.Time, exists bool) + func (m *APIKeyMutation) LastUsedAtCleared() bool + func (m *APIKeyMutation) LastUsedIP() (r string, exists bool) + func (m *APIKeyMutation) LastUsedIPCleared() bool + func (m *APIKeyMutation) Metadata() (r map[string]string, exists bool) + func (m *APIKeyMutation) MetadataCleared() bool + func (m *APIKeyMutation) Name() (r string, exists bool) + func (m *APIKeyMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *APIKeyMutation) OldDescription(ctx context.Context) (v *string, err error) + func (m *APIKeyMutation) OldEnvironment(ctx context.Context) (v apikey.Environment, err error) + func (m *APIKeyMutation) OldExpiresAt(ctx context.Context) (v *time.Time, err error) + func (m *APIKeyMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *APIKeyMutation) OldKeyHash(ctx context.Context) (v string, err error) + func (m *APIKeyMutation) OldLastUsedAt(ctx context.Context) (v *time.Time, err error) + func (m *APIKeyMutation) OldLastUsedIP(ctx context.Context) (v *string, err error) + func (m *APIKeyMutation) OldMetadata(ctx context.Context) (v map[string]string, err error) + func (m *APIKeyMutation) OldName(ctx context.Context) (v string, err error) + func (m *APIKeyMutation) OldPrefix(ctx context.Context) (v string, err error) + func (m *APIKeyMutation) OldRevoked(ctx context.Context) (v bool, err error) + func (m *APIKeyMutation) OldRevokedAt(ctx context.Context) (v *time.Time, err error) + func (m *APIKeyMutation) OldRevokedReason(ctx context.Context) (v *string, err error) + func (m *APIKeyMutation) OldScopes(ctx context.Context) (v []string, err error) + func (m *APIKeyMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *APIKeyMutation) Op() Op + func (m *APIKeyMutation) OrganizationCleared() bool + func (m *APIKeyMutation) OrganizationID() (id uuid.UUID, exists bool) + func (m *APIKeyMutation) OrganizationIDs() (ids []uuid.UUID) + func (m *APIKeyMutation) OwnerCleared() bool + func (m *APIKeyMutation) OwnerID() (id uuid.UUID, exists bool) + func (m *APIKeyMutation) OwnerIDs() (ids []uuid.UUID) + func (m *APIKeyMutation) Prefix() (r string, exists bool) + func (m *APIKeyMutation) RemovedEdges() []string + func (m *APIKeyMutation) RemovedIDs(name string) []ent.Value + func (m *APIKeyMutation) ResetCreatedAt() + func (m *APIKeyMutation) ResetDescription() + func (m *APIKeyMutation) ResetEdge(name string) error + func (m *APIKeyMutation) ResetEnvironment() + func (m *APIKeyMutation) ResetExpiresAt() + func (m *APIKeyMutation) ResetField(name string) error + func (m *APIKeyMutation) ResetKeyHash() + func (m *APIKeyMutation) ResetLastUsedAt() + func (m *APIKeyMutation) ResetLastUsedIP() + func (m *APIKeyMutation) ResetMetadata() + func (m *APIKeyMutation) ResetName() + func (m *APIKeyMutation) ResetOrganization() + func (m *APIKeyMutation) ResetOwner() + func (m *APIKeyMutation) ResetPrefix() + func (m *APIKeyMutation) ResetRevoked() + func (m *APIKeyMutation) ResetRevokedAt() + func (m *APIKeyMutation) ResetRevokedReason() + func (m *APIKeyMutation) ResetScopes() + func (m *APIKeyMutation) ResetUpdatedAt() + func (m *APIKeyMutation) Revoked() (r bool, exists bool) + func (m *APIKeyMutation) RevokedAt() (r time.Time, exists bool) + func (m *APIKeyMutation) RevokedAtCleared() bool + func (m *APIKeyMutation) RevokedReason() (r string, exists bool) + func (m *APIKeyMutation) RevokedReasonCleared() bool + func (m *APIKeyMutation) Scopes() (r []string, exists bool) + func (m *APIKeyMutation) ScopesCleared() bool + func (m *APIKeyMutation) SetCreatedAt(t time.Time) + func (m *APIKeyMutation) SetDescription(s string) + func (m *APIKeyMutation) SetEnvironment(a apikey.Environment) + func (m *APIKeyMutation) SetExpiresAt(t time.Time) + func (m *APIKeyMutation) SetField(name string, value ent.Value) error + func (m *APIKeyMutation) SetID(id uuid.UUID) + func (m *APIKeyMutation) SetKeyHash(s string) + func (m *APIKeyMutation) SetLastUsedAt(t time.Time) + func (m *APIKeyMutation) SetLastUsedIP(s string) + func (m *APIKeyMutation) SetMetadata(value map[string]string) + func (m *APIKeyMutation) SetName(s string) + func (m *APIKeyMutation) SetOp(op Op) + func (m *APIKeyMutation) SetOrganizationID(id uuid.UUID) + func (m *APIKeyMutation) SetOwnerID(id uuid.UUID) + func (m *APIKeyMutation) SetPrefix(s string) + func (m *APIKeyMutation) SetRevoked(b bool) + func (m *APIKeyMutation) SetRevokedAt(t time.Time) + func (m *APIKeyMutation) SetRevokedReason(s string) + func (m *APIKeyMutation) SetScopes(s []string) + func (m *APIKeyMutation) SetUpdatedAt(t time.Time) + func (m *APIKeyMutation) Type() string + func (m *APIKeyMutation) UpdatedAt() (r time.Time, exists bool) + func (m *APIKeyMutation) Where(ps ...predicate.APIKey) + func (m *APIKeyMutation) WhereP(ps ...func(*sql.Selector)) + func (m APIKeyMutation) Client() *Client + func (m APIKeyMutation) Tx() (*Tx, error) + type APIKeyQuery struct + func (_q *APIKeyQuery) Aggregate(fns ...AggregateFunc) *APIKeySelect + func (_q *APIKeyQuery) All(ctx context.Context) ([]*APIKey, error) + func (_q *APIKeyQuery) AllX(ctx context.Context) []*APIKey + func (_q *APIKeyQuery) Clone() *APIKeyQuery + func (_q *APIKeyQuery) Count(ctx context.Context) (int, error) + func (_q *APIKeyQuery) CountX(ctx context.Context) int + func (_q *APIKeyQuery) Exist(ctx context.Context) (bool, error) + func (_q *APIKeyQuery) ExistX(ctx context.Context) bool + func (_q *APIKeyQuery) Filter() *APIKeyFilter + func (_q *APIKeyQuery) First(ctx context.Context) (*APIKey, error) + func (_q *APIKeyQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *APIKeyQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *APIKeyQuery) FirstX(ctx context.Context) *APIKey + func (_q *APIKeyQuery) GroupBy(field string, fields ...string) *APIKeyGroupBy + func (_q *APIKeyQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *APIKeyQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *APIKeyQuery) Limit(limit int) *APIKeyQuery + func (_q *APIKeyQuery) Offset(offset int) *APIKeyQuery + func (_q *APIKeyQuery) Only(ctx context.Context) (*APIKey, error) + func (_q *APIKeyQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *APIKeyQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *APIKeyQuery) OnlyX(ctx context.Context) *APIKey + func (_q *APIKeyQuery) Order(o ...apikey.OrderOption) *APIKeyQuery + func (_q *APIKeyQuery) QueryOrganization() *OrganizationQuery + func (_q *APIKeyQuery) QueryOwner() *UserQuery + func (_q *APIKeyQuery) Select(fields ...string) *APIKeySelect + func (_q *APIKeyQuery) Unique(unique bool) *APIKeyQuery + func (_q *APIKeyQuery) Where(ps ...predicate.APIKey) *APIKeyQuery + func (_q *APIKeyQuery) WithOrganization(opts ...func(*OrganizationQuery)) *APIKeyQuery + func (_q *APIKeyQuery) WithOwner(opts ...func(*UserQuery)) *APIKeyQuery + type APIKeySelect struct + func (_s *APIKeySelect) Aggregate(fns ...AggregateFunc) *APIKeySelect + func (_s *APIKeySelect) Scan(ctx context.Context, v any) error + func (s *APIKeySelect) Bool(ctx context.Context) (_ bool, err error) + func (s *APIKeySelect) BoolX(ctx context.Context) bool + func (s *APIKeySelect) Bools(ctx context.Context) ([]bool, error) + func (s *APIKeySelect) BoolsX(ctx context.Context) []bool + func (s *APIKeySelect) Float64(ctx context.Context) (_ float64, err error) + func (s *APIKeySelect) Float64X(ctx context.Context) float64 + func (s *APIKeySelect) Float64s(ctx context.Context) ([]float64, error) + func (s *APIKeySelect) Float64sX(ctx context.Context) []float64 + func (s *APIKeySelect) Int(ctx context.Context) (_ int, err error) + func (s *APIKeySelect) IntX(ctx context.Context) int + func (s *APIKeySelect) Ints(ctx context.Context) ([]int, error) + func (s *APIKeySelect) IntsX(ctx context.Context) []int + func (s *APIKeySelect) ScanX(ctx context.Context, v any) + func (s *APIKeySelect) String(ctx context.Context) (_ string, err error) + func (s *APIKeySelect) StringX(ctx context.Context) string + func (s *APIKeySelect) Strings(ctx context.Context) ([]string, error) + func (s *APIKeySelect) StringsX(ctx context.Context) []string + type APIKeyUpdate struct + func (_u *APIKeyUpdate) AppendScopes(v []string) *APIKeyUpdate + func (_u *APIKeyUpdate) ClearDescription() *APIKeyUpdate + func (_u *APIKeyUpdate) ClearExpiresAt() *APIKeyUpdate + func (_u *APIKeyUpdate) ClearLastUsedAt() *APIKeyUpdate + func (_u *APIKeyUpdate) ClearLastUsedIP() *APIKeyUpdate + func (_u *APIKeyUpdate) ClearMetadata() *APIKeyUpdate + func (_u *APIKeyUpdate) ClearOrganization() *APIKeyUpdate + func (_u *APIKeyUpdate) ClearOwner() *APIKeyUpdate + func (_u *APIKeyUpdate) ClearRevokedAt() *APIKeyUpdate + func (_u *APIKeyUpdate) ClearRevokedReason() *APIKeyUpdate + func (_u *APIKeyUpdate) ClearScopes() *APIKeyUpdate + func (_u *APIKeyUpdate) Exec(ctx context.Context) error + func (_u *APIKeyUpdate) ExecX(ctx context.Context) + func (_u *APIKeyUpdate) Mutation() *APIKeyMutation + func (_u *APIKeyUpdate) Save(ctx context.Context) (int, error) + func (_u *APIKeyUpdate) SaveX(ctx context.Context) int + func (_u *APIKeyUpdate) SetDescription(v string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetEnvironment(v apikey.Environment) *APIKeyUpdate + func (_u *APIKeyUpdate) SetExpiresAt(v time.Time) *APIKeyUpdate + func (_u *APIKeyUpdate) SetKeyHash(v string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetLastUsedAt(v time.Time) *APIKeyUpdate + func (_u *APIKeyUpdate) SetLastUsedIP(v string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetMetadata(v map[string]string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetName(v string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillableDescription(v *string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillableEnvironment(v *apikey.Environment) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillableExpiresAt(v *time.Time) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillableKeyHash(v *string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillableLastUsedAt(v *time.Time) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillableLastUsedIP(v *string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillableName(v *string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillableOrganizationID(id *uuid.UUID) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillablePrefix(v *string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillableRevoked(v *bool) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillableRevokedAt(v *time.Time) *APIKeyUpdate + func (_u *APIKeyUpdate) SetNillableRevokedReason(v *string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetOrganization(v *Organization) *APIKeyUpdate + func (_u *APIKeyUpdate) SetOrganizationID(id uuid.UUID) *APIKeyUpdate + func (_u *APIKeyUpdate) SetOwner(v *User) *APIKeyUpdate + func (_u *APIKeyUpdate) SetOwnerID(id uuid.UUID) *APIKeyUpdate + func (_u *APIKeyUpdate) SetPrefix(v string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetRevoked(v bool) *APIKeyUpdate + func (_u *APIKeyUpdate) SetRevokedAt(v time.Time) *APIKeyUpdate + func (_u *APIKeyUpdate) SetRevokedReason(v string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetScopes(v []string) *APIKeyUpdate + func (_u *APIKeyUpdate) SetUpdatedAt(v time.Time) *APIKeyUpdate + func (_u *APIKeyUpdate) Where(ps ...predicate.APIKey) *APIKeyUpdate + type APIKeyUpdateOne struct + func (_u *APIKeyUpdateOne) AppendScopes(v []string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) ClearDescription() *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) ClearExpiresAt() *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) ClearLastUsedAt() *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) ClearLastUsedIP() *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) ClearMetadata() *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) ClearOrganization() *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) ClearOwner() *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) ClearRevokedAt() *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) ClearRevokedReason() *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) ClearScopes() *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) Exec(ctx context.Context) error + func (_u *APIKeyUpdateOne) ExecX(ctx context.Context) + func (_u *APIKeyUpdateOne) Mutation() *APIKeyMutation + func (_u *APIKeyUpdateOne) Save(ctx context.Context) (*APIKey, error) + func (_u *APIKeyUpdateOne) SaveX(ctx context.Context) *APIKey + func (_u *APIKeyUpdateOne) Select(field string, fields ...string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetDescription(v string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetEnvironment(v apikey.Environment) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetExpiresAt(v time.Time) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetKeyHash(v string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetLastUsedAt(v time.Time) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetLastUsedIP(v string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetMetadata(v map[string]string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetName(v string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillableDescription(v *string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillableEnvironment(v *apikey.Environment) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillableExpiresAt(v *time.Time) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillableKeyHash(v *string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillableLastUsedAt(v *time.Time) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillableLastUsedIP(v *string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillableName(v *string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillableOrganizationID(id *uuid.UUID) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillablePrefix(v *string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillableRevoked(v *bool) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillableRevokedAt(v *time.Time) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetNillableRevokedReason(v *string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetOrganization(v *Organization) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetOrganizationID(id uuid.UUID) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetOwner(v *User) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetOwnerID(id uuid.UUID) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetPrefix(v string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetRevoked(v bool) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetRevokedAt(v time.Time) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetRevokedReason(v string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetScopes(v []string) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) SetUpdatedAt(v time.Time) *APIKeyUpdateOne + func (_u *APIKeyUpdateOne) Where(ps ...predicate.APIKey) *APIKeyUpdateOne + type APIKeyUpsert struct + func (u *APIKeyUpsert) ClearDescription() *APIKeyUpsert + func (u *APIKeyUpsert) ClearExpiresAt() *APIKeyUpsert + func (u *APIKeyUpsert) ClearLastUsedAt() *APIKeyUpsert + func (u *APIKeyUpsert) ClearLastUsedIP() *APIKeyUpsert + func (u *APIKeyUpsert) ClearMetadata() *APIKeyUpsert + func (u *APIKeyUpsert) ClearRevokedAt() *APIKeyUpsert + func (u *APIKeyUpsert) ClearRevokedReason() *APIKeyUpsert + func (u *APIKeyUpsert) ClearScopes() *APIKeyUpsert + func (u *APIKeyUpsert) SetDescription(v string) *APIKeyUpsert + func (u *APIKeyUpsert) SetEnvironment(v apikey.Environment) *APIKeyUpsert + func (u *APIKeyUpsert) SetExpiresAt(v time.Time) *APIKeyUpsert + func (u *APIKeyUpsert) SetKeyHash(v string) *APIKeyUpsert + func (u *APIKeyUpsert) SetLastUsedAt(v time.Time) *APIKeyUpsert + func (u *APIKeyUpsert) SetLastUsedIP(v string) *APIKeyUpsert + func (u *APIKeyUpsert) SetMetadata(v map[string]string) *APIKeyUpsert + func (u *APIKeyUpsert) SetName(v string) *APIKeyUpsert + func (u *APIKeyUpsert) SetPrefix(v string) *APIKeyUpsert + func (u *APIKeyUpsert) SetRevoked(v bool) *APIKeyUpsert + func (u *APIKeyUpsert) SetRevokedAt(v time.Time) *APIKeyUpsert + func (u *APIKeyUpsert) SetRevokedReason(v string) *APIKeyUpsert + func (u *APIKeyUpsert) SetScopes(v []string) *APIKeyUpsert + func (u *APIKeyUpsert) SetUpdatedAt(v time.Time) *APIKeyUpsert + func (u *APIKeyUpsert) UpdateDescription() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateEnvironment() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateExpiresAt() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateKeyHash() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateLastUsedAt() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateLastUsedIP() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateMetadata() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateName() *APIKeyUpsert + func (u *APIKeyUpsert) UpdatePrefix() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateRevoked() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateRevokedAt() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateRevokedReason() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateScopes() *APIKeyUpsert + func (u *APIKeyUpsert) UpdateUpdatedAt() *APIKeyUpsert + type APIKeyUpsertBulk struct + func (u *APIKeyUpsertBulk) ClearDescription() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) ClearExpiresAt() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) ClearLastUsedAt() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) ClearLastUsedIP() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) ClearMetadata() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) ClearRevokedAt() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) ClearRevokedReason() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) ClearScopes() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) DoNothing() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) Exec(ctx context.Context) error + func (u *APIKeyUpsertBulk) ExecX(ctx context.Context) + func (u *APIKeyUpsertBulk) Ignore() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetDescription(v string) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetEnvironment(v apikey.Environment) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetExpiresAt(v time.Time) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetKeyHash(v string) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetLastUsedAt(v time.Time) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetLastUsedIP(v string) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetMetadata(v map[string]string) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetName(v string) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetPrefix(v string) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetRevoked(v bool) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetRevokedAt(v time.Time) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetRevokedReason(v string) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetScopes(v []string) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) SetUpdatedAt(v time.Time) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) Update(set func(*APIKeyUpsert)) *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateDescription() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateEnvironment() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateExpiresAt() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateKeyHash() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateLastUsedAt() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateLastUsedIP() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateMetadata() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateName() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateNewValues() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdatePrefix() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateRevoked() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateRevokedAt() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateRevokedReason() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateScopes() *APIKeyUpsertBulk + func (u *APIKeyUpsertBulk) UpdateUpdatedAt() *APIKeyUpsertBulk + type APIKeyUpsertOne struct + func (u *APIKeyUpsertOne) ClearDescription() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) ClearExpiresAt() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) ClearLastUsedAt() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) ClearLastUsedIP() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) ClearMetadata() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) ClearRevokedAt() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) ClearRevokedReason() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) ClearScopes() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) DoNothing() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) Exec(ctx context.Context) error + func (u *APIKeyUpsertOne) ExecX(ctx context.Context) + func (u *APIKeyUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *APIKeyUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *APIKeyUpsertOne) Ignore() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetDescription(v string) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetEnvironment(v apikey.Environment) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetExpiresAt(v time.Time) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetKeyHash(v string) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetLastUsedAt(v time.Time) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetLastUsedIP(v string) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetMetadata(v map[string]string) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetName(v string) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetPrefix(v string) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetRevoked(v bool) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetRevokedAt(v time.Time) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetRevokedReason(v string) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetScopes(v []string) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) SetUpdatedAt(v time.Time) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) Update(set func(*APIKeyUpsert)) *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateDescription() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateEnvironment() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateExpiresAt() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateKeyHash() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateLastUsedAt() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateLastUsedIP() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateMetadata() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateName() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateNewValues() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdatePrefix() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateRevoked() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateRevokedAt() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateRevokedReason() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateScopes() *APIKeyUpsertOne + func (u *APIKeyUpsertOne) UpdateUpdatedAt() *APIKeyUpsertOne + type APIKeys []*APIKey + type Agent struct + CapabilityConstraints []string + CreatedAt time.Time + DelegatingPrincipalID *uuid.UUID + Edges AgentEdges + ID uuid.UUID + MaxTokenLifetime int + ModelID string + PrincipalID uuid.UUID + RequiresConfirmation bool + ResourceConstraints []string + SessionID *string + UpdatedAt time.Time + Version string + func (_m *Agent) QueryDelegatingPrincipal() *PrincipalQuery + func (_m *Agent) QueryPrincipal() *PrincipalQuery + func (_m *Agent) String() string + func (_m *Agent) Unwrap() *Agent + func (_m *Agent) Update() *AgentUpdateOne + func (_m *Agent) Value(name string) (ent.Value, error) + type AgentClient struct + func NewAgentClient(c config) *AgentClient + func (c *AgentClient) Create() *AgentCreate + func (c *AgentClient) CreateBulk(builders ...*AgentCreate) *AgentCreateBulk + func (c *AgentClient) Delete() *AgentDelete + func (c *AgentClient) DeleteOne(_m *Agent) *AgentDeleteOne + func (c *AgentClient) DeleteOneID(id uuid.UUID) *AgentDeleteOne + func (c *AgentClient) Get(ctx context.Context, id uuid.UUID) (*Agent, error) + func (c *AgentClient) GetX(ctx context.Context, id uuid.UUID) *Agent + func (c *AgentClient) Hooks() []Hook + func (c *AgentClient) Intercept(interceptors ...Interceptor) + func (c *AgentClient) Interceptors() []Interceptor + func (c *AgentClient) MapCreateBulk(slice any, setFunc func(*AgentCreate, int)) *AgentCreateBulk + func (c *AgentClient) Query() *AgentQuery + func (c *AgentClient) QueryDelegatingPrincipal(_m *Agent) *PrincipalQuery + func (c *AgentClient) QueryPrincipal(_m *Agent) *PrincipalQuery + func (c *AgentClient) Update() *AgentUpdate + func (c *AgentClient) UpdateOne(_m *Agent) *AgentUpdateOne + func (c *AgentClient) UpdateOneID(id uuid.UUID) *AgentUpdateOne + func (c *AgentClient) Use(hooks ...Hook) + type AgentCreate struct + func (_c *AgentCreate) Exec(ctx context.Context) error + func (_c *AgentCreate) ExecX(ctx context.Context) + func (_c *AgentCreate) Mutation() *AgentMutation + func (_c *AgentCreate) OnConflict(opts ...sql.ConflictOption) *AgentUpsertOne + func (_c *AgentCreate) OnConflictColumns(columns ...string) *AgentUpsertOne + func (_c *AgentCreate) Save(ctx context.Context) (*Agent, error) + func (_c *AgentCreate) SaveX(ctx context.Context) *Agent + func (_c *AgentCreate) SetCapabilityConstraints(v []string) *AgentCreate + func (_c *AgentCreate) SetCreatedAt(v time.Time) *AgentCreate + func (_c *AgentCreate) SetDelegatingPrincipal(v *Principal) *AgentCreate + func (_c *AgentCreate) SetDelegatingPrincipalID(v uuid.UUID) *AgentCreate + func (_c *AgentCreate) SetID(v uuid.UUID) *AgentCreate + func (_c *AgentCreate) SetMaxTokenLifetime(v int) *AgentCreate + func (_c *AgentCreate) SetModelID(v string) *AgentCreate + func (_c *AgentCreate) SetNillableCreatedAt(v *time.Time) *AgentCreate + func (_c *AgentCreate) SetNillableDelegatingPrincipalID(v *uuid.UUID) *AgentCreate + func (_c *AgentCreate) SetNillableID(v *uuid.UUID) *AgentCreate + func (_c *AgentCreate) SetNillableMaxTokenLifetime(v *int) *AgentCreate + func (_c *AgentCreate) SetNillableRequiresConfirmation(v *bool) *AgentCreate + func (_c *AgentCreate) SetNillableSessionID(v *string) *AgentCreate + func (_c *AgentCreate) SetNillableUpdatedAt(v *time.Time) *AgentCreate + func (_c *AgentCreate) SetNillableVersion(v *string) *AgentCreate + func (_c *AgentCreate) SetPrincipal(v *Principal) *AgentCreate + func (_c *AgentCreate) SetPrincipalID(v uuid.UUID) *AgentCreate + func (_c *AgentCreate) SetRequiresConfirmation(v bool) *AgentCreate + func (_c *AgentCreate) SetResourceConstraints(v []string) *AgentCreate + func (_c *AgentCreate) SetSessionID(v string) *AgentCreate + func (_c *AgentCreate) SetUpdatedAt(v time.Time) *AgentCreate + func (_c *AgentCreate) SetVersion(v string) *AgentCreate + type AgentCreateBulk struct + func (_c *AgentCreateBulk) Exec(ctx context.Context) error + func (_c *AgentCreateBulk) ExecX(ctx context.Context) + func (_c *AgentCreateBulk) OnConflict(opts ...sql.ConflictOption) *AgentUpsertBulk + func (_c *AgentCreateBulk) OnConflictColumns(columns ...string) *AgentUpsertBulk + func (_c *AgentCreateBulk) Save(ctx context.Context) ([]*Agent, error) + func (_c *AgentCreateBulk) SaveX(ctx context.Context) []*Agent + type AgentDelete struct + func (_d *AgentDelete) Exec(ctx context.Context) (int, error) + func (_d *AgentDelete) ExecX(ctx context.Context) int + func (_d *AgentDelete) Where(ps ...predicate.Agent) *AgentDelete + type AgentDeleteOne struct + func (_d *AgentDeleteOne) Exec(ctx context.Context) error + func (_d *AgentDeleteOne) ExecX(ctx context.Context) + func (_d *AgentDeleteOne) Where(ps ...predicate.Agent) *AgentDeleteOne + type AgentEdges struct + DelegatingPrincipal *Principal + Principal *Principal + func (e AgentEdges) DelegatingPrincipalOrErr() (*Principal, error) + func (e AgentEdges) PrincipalOrErr() (*Principal, error) + type AgentFilter struct + func (f *AgentFilter) Where(p entql.P) + func (f *AgentFilter) WhereCapabilityConstraints(p entql.BytesP) + func (f *AgentFilter) WhereCreatedAt(p entql.TimeP) + func (f *AgentFilter) WhereDelegatingPrincipalID(p entql.ValueP) + func (f *AgentFilter) WhereHasDelegatingPrincipal() + func (f *AgentFilter) WhereHasDelegatingPrincipalWith(preds ...predicate.Principal) + func (f *AgentFilter) WhereHasPrincipal() + func (f *AgentFilter) WhereHasPrincipalWith(preds ...predicate.Principal) + func (f *AgentFilter) WhereID(p entql.ValueP) + func (f *AgentFilter) WhereMaxTokenLifetime(p entql.IntP) + func (f *AgentFilter) WhereModelID(p entql.StringP) + func (f *AgentFilter) WherePrincipalID(p entql.ValueP) + func (f *AgentFilter) WhereRequiresConfirmation(p entql.BoolP) + func (f *AgentFilter) WhereResourceConstraints(p entql.BytesP) + func (f *AgentFilter) WhereSessionID(p entql.StringP) + func (f *AgentFilter) WhereUpdatedAt(p entql.TimeP) + func (f *AgentFilter) WhereVersion(p entql.StringP) + type AgentGroupBy struct + func (_g *AgentGroupBy) Aggregate(fns ...AggregateFunc) *AgentGroupBy + func (_g *AgentGroupBy) Scan(ctx context.Context, v any) error + func (s *AgentGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *AgentGroupBy) BoolX(ctx context.Context) bool + func (s *AgentGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *AgentGroupBy) BoolsX(ctx context.Context) []bool + func (s *AgentGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *AgentGroupBy) Float64X(ctx context.Context) float64 + func (s *AgentGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *AgentGroupBy) Float64sX(ctx context.Context) []float64 + func (s *AgentGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *AgentGroupBy) IntX(ctx context.Context) int + func (s *AgentGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *AgentGroupBy) IntsX(ctx context.Context) []int + func (s *AgentGroupBy) ScanX(ctx context.Context, v any) + func (s *AgentGroupBy) String(ctx context.Context) (_ string, err error) + func (s *AgentGroupBy) StringX(ctx context.Context) string + func (s *AgentGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *AgentGroupBy) StringsX(ctx context.Context) []string + type AgentMutation struct + func (m *AgentMutation) AddField(name string, value ent.Value) error + func (m *AgentMutation) AddMaxTokenLifetime(i int) + func (m *AgentMutation) AddedEdges() []string + func (m *AgentMutation) AddedField(name string) (ent.Value, bool) + func (m *AgentMutation) AddedFields() []string + func (m *AgentMutation) AddedIDs(name string) []ent.Value + func (m *AgentMutation) AddedMaxTokenLifetime() (r int, exists bool) + func (m *AgentMutation) AppendCapabilityConstraints(s []string) + func (m *AgentMutation) AppendResourceConstraints(s []string) + func (m *AgentMutation) AppendedCapabilityConstraints() ([]string, bool) + func (m *AgentMutation) AppendedResourceConstraints() ([]string, bool) + func (m *AgentMutation) CapabilityConstraints() (r []string, exists bool) + func (m *AgentMutation) ClearDelegatingPrincipal() + func (m *AgentMutation) ClearDelegatingPrincipalID() + func (m *AgentMutation) ClearEdge(name string) error + func (m *AgentMutation) ClearField(name string) error + func (m *AgentMutation) ClearPrincipal() + func (m *AgentMutation) ClearSessionID() + func (m *AgentMutation) ClearVersion() + func (m *AgentMutation) ClearedEdges() []string + func (m *AgentMutation) ClearedFields() []string + func (m *AgentMutation) CreatedAt() (r time.Time, exists bool) + func (m *AgentMutation) DelegatingPrincipalCleared() bool + func (m *AgentMutation) DelegatingPrincipalID() (r uuid.UUID, exists bool) + func (m *AgentMutation) DelegatingPrincipalIDCleared() bool + func (m *AgentMutation) DelegatingPrincipalIDs() (ids []uuid.UUID) + func (m *AgentMutation) EdgeCleared(name string) bool + func (m *AgentMutation) Field(name string) (ent.Value, bool) + func (m *AgentMutation) FieldCleared(name string) bool + func (m *AgentMutation) Fields() []string + func (m *AgentMutation) Filter() *AgentFilter + func (m *AgentMutation) ID() (id uuid.UUID, exists bool) + func (m *AgentMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *AgentMutation) MaxTokenLifetime() (r int, exists bool) + func (m *AgentMutation) ModelID() (r string, exists bool) + func (m *AgentMutation) OldCapabilityConstraints(ctx context.Context) (v []string, err error) + func (m *AgentMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *AgentMutation) OldDelegatingPrincipalID(ctx context.Context) (v *uuid.UUID, err error) + func (m *AgentMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *AgentMutation) OldMaxTokenLifetime(ctx context.Context) (v int, err error) + func (m *AgentMutation) OldModelID(ctx context.Context) (v string, err error) + func (m *AgentMutation) OldPrincipalID(ctx context.Context) (v uuid.UUID, err error) + func (m *AgentMutation) OldRequiresConfirmation(ctx context.Context) (v bool, err error) + func (m *AgentMutation) OldResourceConstraints(ctx context.Context) (v []string, err error) + func (m *AgentMutation) OldSessionID(ctx context.Context) (v *string, err error) + func (m *AgentMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *AgentMutation) OldVersion(ctx context.Context) (v string, err error) + func (m *AgentMutation) Op() Op + func (m *AgentMutation) PrincipalCleared() bool + func (m *AgentMutation) PrincipalID() (r uuid.UUID, exists bool) + func (m *AgentMutation) PrincipalIDs() (ids []uuid.UUID) + func (m *AgentMutation) RemovedEdges() []string + func (m *AgentMutation) RemovedIDs(name string) []ent.Value + func (m *AgentMutation) RequiresConfirmation() (r bool, exists bool) + func (m *AgentMutation) ResetCapabilityConstraints() + func (m *AgentMutation) ResetCreatedAt() + func (m *AgentMutation) ResetDelegatingPrincipal() + func (m *AgentMutation) ResetDelegatingPrincipalID() + func (m *AgentMutation) ResetEdge(name string) error + func (m *AgentMutation) ResetField(name string) error + func (m *AgentMutation) ResetMaxTokenLifetime() + func (m *AgentMutation) ResetModelID() + func (m *AgentMutation) ResetPrincipal() + func (m *AgentMutation) ResetPrincipalID() + func (m *AgentMutation) ResetRequiresConfirmation() + func (m *AgentMutation) ResetResourceConstraints() + func (m *AgentMutation) ResetSessionID() + func (m *AgentMutation) ResetUpdatedAt() + func (m *AgentMutation) ResetVersion() + func (m *AgentMutation) ResourceConstraints() (r []string, exists bool) + func (m *AgentMutation) SessionID() (r string, exists bool) + func (m *AgentMutation) SessionIDCleared() bool + func (m *AgentMutation) SetCapabilityConstraints(s []string) + func (m *AgentMutation) SetCreatedAt(t time.Time) + func (m *AgentMutation) SetDelegatingPrincipalID(u uuid.UUID) + func (m *AgentMutation) SetField(name string, value ent.Value) error + func (m *AgentMutation) SetID(id uuid.UUID) + func (m *AgentMutation) SetMaxTokenLifetime(i int) + func (m *AgentMutation) SetModelID(s string) + func (m *AgentMutation) SetOp(op Op) + func (m *AgentMutation) SetPrincipalID(u uuid.UUID) + func (m *AgentMutation) SetRequiresConfirmation(b bool) + func (m *AgentMutation) SetResourceConstraints(s []string) + func (m *AgentMutation) SetSessionID(s string) + func (m *AgentMutation) SetUpdatedAt(t time.Time) + func (m *AgentMutation) SetVersion(s string) + func (m *AgentMutation) Type() string + func (m *AgentMutation) UpdatedAt() (r time.Time, exists bool) + func (m *AgentMutation) Version() (r string, exists bool) + func (m *AgentMutation) VersionCleared() bool + func (m *AgentMutation) Where(ps ...predicate.Agent) + func (m *AgentMutation) WhereP(ps ...func(*sql.Selector)) + func (m AgentMutation) Client() *Client + func (m AgentMutation) Tx() (*Tx, error) + type AgentQuery struct + func (_q *AgentQuery) Aggregate(fns ...AggregateFunc) *AgentSelect + func (_q *AgentQuery) All(ctx context.Context) ([]*Agent, error) + func (_q *AgentQuery) AllX(ctx context.Context) []*Agent + func (_q *AgentQuery) Clone() *AgentQuery + func (_q *AgentQuery) Count(ctx context.Context) (int, error) + func (_q *AgentQuery) CountX(ctx context.Context) int + func (_q *AgentQuery) Exist(ctx context.Context) (bool, error) + func (_q *AgentQuery) ExistX(ctx context.Context) bool + func (_q *AgentQuery) Filter() *AgentFilter + func (_q *AgentQuery) First(ctx context.Context) (*Agent, error) + func (_q *AgentQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *AgentQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *AgentQuery) FirstX(ctx context.Context) *Agent + func (_q *AgentQuery) GroupBy(field string, fields ...string) *AgentGroupBy + func (_q *AgentQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *AgentQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *AgentQuery) Limit(limit int) *AgentQuery + func (_q *AgentQuery) Offset(offset int) *AgentQuery + func (_q *AgentQuery) Only(ctx context.Context) (*Agent, error) + func (_q *AgentQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *AgentQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *AgentQuery) OnlyX(ctx context.Context) *Agent + func (_q *AgentQuery) Order(o ...agent.OrderOption) *AgentQuery + func (_q *AgentQuery) QueryDelegatingPrincipal() *PrincipalQuery + func (_q *AgentQuery) QueryPrincipal() *PrincipalQuery + func (_q *AgentQuery) Select(fields ...string) *AgentSelect + func (_q *AgentQuery) Unique(unique bool) *AgentQuery + func (_q *AgentQuery) Where(ps ...predicate.Agent) *AgentQuery + func (_q *AgentQuery) WithDelegatingPrincipal(opts ...func(*PrincipalQuery)) *AgentQuery + func (_q *AgentQuery) WithPrincipal(opts ...func(*PrincipalQuery)) *AgentQuery + type AgentSelect struct + func (_s *AgentSelect) Aggregate(fns ...AggregateFunc) *AgentSelect + func (_s *AgentSelect) Scan(ctx context.Context, v any) error + func (s *AgentSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *AgentSelect) BoolX(ctx context.Context) bool + func (s *AgentSelect) Bools(ctx context.Context) ([]bool, error) + func (s *AgentSelect) BoolsX(ctx context.Context) []bool + func (s *AgentSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *AgentSelect) Float64X(ctx context.Context) float64 + func (s *AgentSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *AgentSelect) Float64sX(ctx context.Context) []float64 + func (s *AgentSelect) Int(ctx context.Context) (_ int, err error) + func (s *AgentSelect) IntX(ctx context.Context) int + func (s *AgentSelect) Ints(ctx context.Context) ([]int, error) + func (s *AgentSelect) IntsX(ctx context.Context) []int + func (s *AgentSelect) ScanX(ctx context.Context, v any) + func (s *AgentSelect) String(ctx context.Context) (_ string, err error) + func (s *AgentSelect) StringX(ctx context.Context) string + func (s *AgentSelect) Strings(ctx context.Context) ([]string, error) + func (s *AgentSelect) StringsX(ctx context.Context) []string + type AgentUpdate struct + func (_u *AgentUpdate) AddMaxTokenLifetime(v int) *AgentUpdate + func (_u *AgentUpdate) AppendCapabilityConstraints(v []string) *AgentUpdate + func (_u *AgentUpdate) AppendResourceConstraints(v []string) *AgentUpdate + func (_u *AgentUpdate) ClearDelegatingPrincipal() *AgentUpdate + func (_u *AgentUpdate) ClearDelegatingPrincipalID() *AgentUpdate + func (_u *AgentUpdate) ClearSessionID() *AgentUpdate + func (_u *AgentUpdate) ClearVersion() *AgentUpdate + func (_u *AgentUpdate) Exec(ctx context.Context) error + func (_u *AgentUpdate) ExecX(ctx context.Context) + func (_u *AgentUpdate) Mutation() *AgentMutation + func (_u *AgentUpdate) Save(ctx context.Context) (int, error) + func (_u *AgentUpdate) SaveX(ctx context.Context) int + func (_u *AgentUpdate) SetCapabilityConstraints(v []string) *AgentUpdate + func (_u *AgentUpdate) SetDelegatingPrincipal(v *Principal) *AgentUpdate + func (_u *AgentUpdate) SetDelegatingPrincipalID(v uuid.UUID) *AgentUpdate + func (_u *AgentUpdate) SetMaxTokenLifetime(v int) *AgentUpdate + func (_u *AgentUpdate) SetModelID(v string) *AgentUpdate + func (_u *AgentUpdate) SetNillableDelegatingPrincipalID(v *uuid.UUID) *AgentUpdate + func (_u *AgentUpdate) SetNillableMaxTokenLifetime(v *int) *AgentUpdate + func (_u *AgentUpdate) SetNillableModelID(v *string) *AgentUpdate + func (_u *AgentUpdate) SetNillableRequiresConfirmation(v *bool) *AgentUpdate + func (_u *AgentUpdate) SetNillableSessionID(v *string) *AgentUpdate + func (_u *AgentUpdate) SetNillableVersion(v *string) *AgentUpdate + func (_u *AgentUpdate) SetRequiresConfirmation(v bool) *AgentUpdate + func (_u *AgentUpdate) SetResourceConstraints(v []string) *AgentUpdate + func (_u *AgentUpdate) SetSessionID(v string) *AgentUpdate + func (_u *AgentUpdate) SetUpdatedAt(v time.Time) *AgentUpdate + func (_u *AgentUpdate) SetVersion(v string) *AgentUpdate + func (_u *AgentUpdate) Where(ps ...predicate.Agent) *AgentUpdate + type AgentUpdateOne struct + func (_u *AgentUpdateOne) AddMaxTokenLifetime(v int) *AgentUpdateOne + func (_u *AgentUpdateOne) AppendCapabilityConstraints(v []string) *AgentUpdateOne + func (_u *AgentUpdateOne) AppendResourceConstraints(v []string) *AgentUpdateOne + func (_u *AgentUpdateOne) ClearDelegatingPrincipal() *AgentUpdateOne + func (_u *AgentUpdateOne) ClearDelegatingPrincipalID() *AgentUpdateOne + func (_u *AgentUpdateOne) ClearSessionID() *AgentUpdateOne + func (_u *AgentUpdateOne) ClearVersion() *AgentUpdateOne + func (_u *AgentUpdateOne) Exec(ctx context.Context) error + func (_u *AgentUpdateOne) ExecX(ctx context.Context) + func (_u *AgentUpdateOne) Mutation() *AgentMutation + func (_u *AgentUpdateOne) Save(ctx context.Context) (*Agent, error) + func (_u *AgentUpdateOne) SaveX(ctx context.Context) *Agent + func (_u *AgentUpdateOne) Select(field string, fields ...string) *AgentUpdateOne + func (_u *AgentUpdateOne) SetCapabilityConstraints(v []string) *AgentUpdateOne + func (_u *AgentUpdateOne) SetDelegatingPrincipal(v *Principal) *AgentUpdateOne + func (_u *AgentUpdateOne) SetDelegatingPrincipalID(v uuid.UUID) *AgentUpdateOne + func (_u *AgentUpdateOne) SetMaxTokenLifetime(v int) *AgentUpdateOne + func (_u *AgentUpdateOne) SetModelID(v string) *AgentUpdateOne + func (_u *AgentUpdateOne) SetNillableDelegatingPrincipalID(v *uuid.UUID) *AgentUpdateOne + func (_u *AgentUpdateOne) SetNillableMaxTokenLifetime(v *int) *AgentUpdateOne + func (_u *AgentUpdateOne) SetNillableModelID(v *string) *AgentUpdateOne + func (_u *AgentUpdateOne) SetNillableRequiresConfirmation(v *bool) *AgentUpdateOne + func (_u *AgentUpdateOne) SetNillableSessionID(v *string) *AgentUpdateOne + func (_u *AgentUpdateOne) SetNillableVersion(v *string) *AgentUpdateOne + func (_u *AgentUpdateOne) SetRequiresConfirmation(v bool) *AgentUpdateOne + func (_u *AgentUpdateOne) SetResourceConstraints(v []string) *AgentUpdateOne + func (_u *AgentUpdateOne) SetSessionID(v string) *AgentUpdateOne + func (_u *AgentUpdateOne) SetUpdatedAt(v time.Time) *AgentUpdateOne + func (_u *AgentUpdateOne) SetVersion(v string) *AgentUpdateOne + func (_u *AgentUpdateOne) Where(ps ...predicate.Agent) *AgentUpdateOne + type AgentUpsert struct + func (u *AgentUpsert) AddMaxTokenLifetime(v int) *AgentUpsert + func (u *AgentUpsert) ClearDelegatingPrincipalID() *AgentUpsert + func (u *AgentUpsert) ClearSessionID() *AgentUpsert + func (u *AgentUpsert) ClearVersion() *AgentUpsert + func (u *AgentUpsert) SetCapabilityConstraints(v []string) *AgentUpsert + func (u *AgentUpsert) SetDelegatingPrincipalID(v uuid.UUID) *AgentUpsert + func (u *AgentUpsert) SetMaxTokenLifetime(v int) *AgentUpsert + func (u *AgentUpsert) SetModelID(v string) *AgentUpsert + func (u *AgentUpsert) SetRequiresConfirmation(v bool) *AgentUpsert + func (u *AgentUpsert) SetResourceConstraints(v []string) *AgentUpsert + func (u *AgentUpsert) SetSessionID(v string) *AgentUpsert + func (u *AgentUpsert) SetUpdatedAt(v time.Time) *AgentUpsert + func (u *AgentUpsert) SetVersion(v string) *AgentUpsert + func (u *AgentUpsert) UpdateCapabilityConstraints() *AgentUpsert + func (u *AgentUpsert) UpdateDelegatingPrincipalID() *AgentUpsert + func (u *AgentUpsert) UpdateMaxTokenLifetime() *AgentUpsert + func (u *AgentUpsert) UpdateModelID() *AgentUpsert + func (u *AgentUpsert) UpdateRequiresConfirmation() *AgentUpsert + func (u *AgentUpsert) UpdateResourceConstraints() *AgentUpsert + func (u *AgentUpsert) UpdateSessionID() *AgentUpsert + func (u *AgentUpsert) UpdateUpdatedAt() *AgentUpsert + func (u *AgentUpsert) UpdateVersion() *AgentUpsert + type AgentUpsertBulk struct + func (u *AgentUpsertBulk) AddMaxTokenLifetime(v int) *AgentUpsertBulk + func (u *AgentUpsertBulk) ClearDelegatingPrincipalID() *AgentUpsertBulk + func (u *AgentUpsertBulk) ClearSessionID() *AgentUpsertBulk + func (u *AgentUpsertBulk) ClearVersion() *AgentUpsertBulk + func (u *AgentUpsertBulk) DoNothing() *AgentUpsertBulk + func (u *AgentUpsertBulk) Exec(ctx context.Context) error + func (u *AgentUpsertBulk) ExecX(ctx context.Context) + func (u *AgentUpsertBulk) Ignore() *AgentUpsertBulk + func (u *AgentUpsertBulk) SetCapabilityConstraints(v []string) *AgentUpsertBulk + func (u *AgentUpsertBulk) SetDelegatingPrincipalID(v uuid.UUID) *AgentUpsertBulk + func (u *AgentUpsertBulk) SetMaxTokenLifetime(v int) *AgentUpsertBulk + func (u *AgentUpsertBulk) SetModelID(v string) *AgentUpsertBulk + func (u *AgentUpsertBulk) SetRequiresConfirmation(v bool) *AgentUpsertBulk + func (u *AgentUpsertBulk) SetResourceConstraints(v []string) *AgentUpsertBulk + func (u *AgentUpsertBulk) SetSessionID(v string) *AgentUpsertBulk + func (u *AgentUpsertBulk) SetUpdatedAt(v time.Time) *AgentUpsertBulk + func (u *AgentUpsertBulk) SetVersion(v string) *AgentUpsertBulk + func (u *AgentUpsertBulk) Update(set func(*AgentUpsert)) *AgentUpsertBulk + func (u *AgentUpsertBulk) UpdateCapabilityConstraints() *AgentUpsertBulk + func (u *AgentUpsertBulk) UpdateDelegatingPrincipalID() *AgentUpsertBulk + func (u *AgentUpsertBulk) UpdateMaxTokenLifetime() *AgentUpsertBulk + func (u *AgentUpsertBulk) UpdateModelID() *AgentUpsertBulk + func (u *AgentUpsertBulk) UpdateNewValues() *AgentUpsertBulk + func (u *AgentUpsertBulk) UpdateRequiresConfirmation() *AgentUpsertBulk + func (u *AgentUpsertBulk) UpdateResourceConstraints() *AgentUpsertBulk + func (u *AgentUpsertBulk) UpdateSessionID() *AgentUpsertBulk + func (u *AgentUpsertBulk) UpdateUpdatedAt() *AgentUpsertBulk + func (u *AgentUpsertBulk) UpdateVersion() *AgentUpsertBulk + type AgentUpsertOne struct + func (u *AgentUpsertOne) AddMaxTokenLifetime(v int) *AgentUpsertOne + func (u *AgentUpsertOne) ClearDelegatingPrincipalID() *AgentUpsertOne + func (u *AgentUpsertOne) ClearSessionID() *AgentUpsertOne + func (u *AgentUpsertOne) ClearVersion() *AgentUpsertOne + func (u *AgentUpsertOne) DoNothing() *AgentUpsertOne + func (u *AgentUpsertOne) Exec(ctx context.Context) error + func (u *AgentUpsertOne) ExecX(ctx context.Context) + func (u *AgentUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *AgentUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *AgentUpsertOne) Ignore() *AgentUpsertOne + func (u *AgentUpsertOne) SetCapabilityConstraints(v []string) *AgentUpsertOne + func (u *AgentUpsertOne) SetDelegatingPrincipalID(v uuid.UUID) *AgentUpsertOne + func (u *AgentUpsertOne) SetMaxTokenLifetime(v int) *AgentUpsertOne + func (u *AgentUpsertOne) SetModelID(v string) *AgentUpsertOne + func (u *AgentUpsertOne) SetRequiresConfirmation(v bool) *AgentUpsertOne + func (u *AgentUpsertOne) SetResourceConstraints(v []string) *AgentUpsertOne + func (u *AgentUpsertOne) SetSessionID(v string) *AgentUpsertOne + func (u *AgentUpsertOne) SetUpdatedAt(v time.Time) *AgentUpsertOne + func (u *AgentUpsertOne) SetVersion(v string) *AgentUpsertOne + func (u *AgentUpsertOne) Update(set func(*AgentUpsert)) *AgentUpsertOne + func (u *AgentUpsertOne) UpdateCapabilityConstraints() *AgentUpsertOne + func (u *AgentUpsertOne) UpdateDelegatingPrincipalID() *AgentUpsertOne + func (u *AgentUpsertOne) UpdateMaxTokenLifetime() *AgentUpsertOne + func (u *AgentUpsertOne) UpdateModelID() *AgentUpsertOne + func (u *AgentUpsertOne) UpdateNewValues() *AgentUpsertOne + func (u *AgentUpsertOne) UpdateRequiresConfirmation() *AgentUpsertOne + func (u *AgentUpsertOne) UpdateResourceConstraints() *AgentUpsertOne + func (u *AgentUpsertOne) UpdateSessionID() *AgentUpsertOne + func (u *AgentUpsertOne) UpdateUpdatedAt() *AgentUpsertOne + func (u *AgentUpsertOne) UpdateVersion() *AgentUpsertOne + type Agents []*Agent + type AggregateFunc func(*sql.Selector) string + func As(fn AggregateFunc, end string) AggregateFunc + func Count() AggregateFunc + func Max(field string) AggregateFunc + func Mean(field string) AggregateFunc + func Min(field string) AggregateFunc + func Sum(field string) AggregateFunc + type Application struct + AccessTokenTTL int + AllowedGrants []string + AllowedResponseTypes []string + AppType application.AppType + ClientID string + CreatedAt time.Time + Description string + Edges ApplicationEdges + FirstParty bool + ID uuid.UUID + LogoURL string + PrincipalID uuid.UUID + Public bool + RedirectUris []string + RefreshTokenRotation bool + RefreshTokenTTL int + UpdatedAt time.Time + func (_m *Application) QueryIssuedTokens() *PrincipalTokenQuery + func (_m *Application) QueryPrincipal() *PrincipalQuery + func (_m *Application) String() string + func (_m *Application) Unwrap() *Application + func (_m *Application) Update() *ApplicationUpdateOne + func (_m *Application) Value(name string) (ent.Value, error) + type ApplicationClient struct + func NewApplicationClient(c config) *ApplicationClient + func (c *ApplicationClient) Create() *ApplicationCreate + func (c *ApplicationClient) CreateBulk(builders ...*ApplicationCreate) *ApplicationCreateBulk + func (c *ApplicationClient) Delete() *ApplicationDelete + func (c *ApplicationClient) DeleteOne(_m *Application) *ApplicationDeleteOne + func (c *ApplicationClient) DeleteOneID(id uuid.UUID) *ApplicationDeleteOne + func (c *ApplicationClient) Get(ctx context.Context, id uuid.UUID) (*Application, error) + func (c *ApplicationClient) GetX(ctx context.Context, id uuid.UUID) *Application + func (c *ApplicationClient) Hooks() []Hook + func (c *ApplicationClient) Intercept(interceptors ...Interceptor) + func (c *ApplicationClient) Interceptors() []Interceptor + func (c *ApplicationClient) MapCreateBulk(slice any, setFunc func(*ApplicationCreate, int)) *ApplicationCreateBulk + func (c *ApplicationClient) Query() *ApplicationQuery + func (c *ApplicationClient) QueryIssuedTokens(_m *Application) *PrincipalTokenQuery + func (c *ApplicationClient) QueryPrincipal(_m *Application) *PrincipalQuery + func (c *ApplicationClient) Update() *ApplicationUpdate + func (c *ApplicationClient) UpdateOne(_m *Application) *ApplicationUpdateOne + func (c *ApplicationClient) UpdateOneID(id uuid.UUID) *ApplicationUpdateOne + func (c *ApplicationClient) Use(hooks ...Hook) + type ApplicationCreate struct + func (_c *ApplicationCreate) AddIssuedTokenIDs(ids ...uuid.UUID) *ApplicationCreate + func (_c *ApplicationCreate) AddIssuedTokens(v ...*PrincipalToken) *ApplicationCreate + func (_c *ApplicationCreate) Exec(ctx context.Context) error + func (_c *ApplicationCreate) ExecX(ctx context.Context) + func (_c *ApplicationCreate) Mutation() *ApplicationMutation + func (_c *ApplicationCreate) OnConflict(opts ...sql.ConflictOption) *ApplicationUpsertOne + func (_c *ApplicationCreate) OnConflictColumns(columns ...string) *ApplicationUpsertOne + func (_c *ApplicationCreate) Save(ctx context.Context) (*Application, error) + func (_c *ApplicationCreate) SaveX(ctx context.Context) *Application + func (_c *ApplicationCreate) SetAccessTokenTTL(v int) *ApplicationCreate + func (_c *ApplicationCreate) SetAllowedGrants(v []string) *ApplicationCreate + func (_c *ApplicationCreate) SetAllowedResponseTypes(v []string) *ApplicationCreate + func (_c *ApplicationCreate) SetAppType(v application.AppType) *ApplicationCreate + func (_c *ApplicationCreate) SetClientID(v string) *ApplicationCreate + func (_c *ApplicationCreate) SetCreatedAt(v time.Time) *ApplicationCreate + func (_c *ApplicationCreate) SetDescription(v string) *ApplicationCreate + func (_c *ApplicationCreate) SetFirstParty(v bool) *ApplicationCreate + func (_c *ApplicationCreate) SetID(v uuid.UUID) *ApplicationCreate + func (_c *ApplicationCreate) SetLogoURL(v string) *ApplicationCreate + func (_c *ApplicationCreate) SetNillableAccessTokenTTL(v *int) *ApplicationCreate + func (_c *ApplicationCreate) SetNillableAppType(v *application.AppType) *ApplicationCreate + func (_c *ApplicationCreate) SetNillableCreatedAt(v *time.Time) *ApplicationCreate + func (_c *ApplicationCreate) SetNillableDescription(v *string) *ApplicationCreate + func (_c *ApplicationCreate) SetNillableFirstParty(v *bool) *ApplicationCreate + func (_c *ApplicationCreate) SetNillableID(v *uuid.UUID) *ApplicationCreate + func (_c *ApplicationCreate) SetNillableLogoURL(v *string) *ApplicationCreate + func (_c *ApplicationCreate) SetNillablePublic(v *bool) *ApplicationCreate + func (_c *ApplicationCreate) SetNillableRefreshTokenRotation(v *bool) *ApplicationCreate + func (_c *ApplicationCreate) SetNillableRefreshTokenTTL(v *int) *ApplicationCreate + func (_c *ApplicationCreate) SetNillableUpdatedAt(v *time.Time) *ApplicationCreate + func (_c *ApplicationCreate) SetPrincipal(v *Principal) *ApplicationCreate + func (_c *ApplicationCreate) SetPrincipalID(v uuid.UUID) *ApplicationCreate + func (_c *ApplicationCreate) SetPublic(v bool) *ApplicationCreate + func (_c *ApplicationCreate) SetRedirectUris(v []string) *ApplicationCreate + func (_c *ApplicationCreate) SetRefreshTokenRotation(v bool) *ApplicationCreate + func (_c *ApplicationCreate) SetRefreshTokenTTL(v int) *ApplicationCreate + func (_c *ApplicationCreate) SetUpdatedAt(v time.Time) *ApplicationCreate + type ApplicationCreateBulk struct + func (_c *ApplicationCreateBulk) Exec(ctx context.Context) error + func (_c *ApplicationCreateBulk) ExecX(ctx context.Context) + func (_c *ApplicationCreateBulk) OnConflict(opts ...sql.ConflictOption) *ApplicationUpsertBulk + func (_c *ApplicationCreateBulk) OnConflictColumns(columns ...string) *ApplicationUpsertBulk + func (_c *ApplicationCreateBulk) Save(ctx context.Context) ([]*Application, error) + func (_c *ApplicationCreateBulk) SaveX(ctx context.Context) []*Application + type ApplicationDelete struct + func (_d *ApplicationDelete) Exec(ctx context.Context) (int, error) + func (_d *ApplicationDelete) ExecX(ctx context.Context) int + func (_d *ApplicationDelete) Where(ps ...predicate.Application) *ApplicationDelete + type ApplicationDeleteOne struct + func (_d *ApplicationDeleteOne) Exec(ctx context.Context) error + func (_d *ApplicationDeleteOne) ExecX(ctx context.Context) + func (_d *ApplicationDeleteOne) Where(ps ...predicate.Application) *ApplicationDeleteOne + type ApplicationEdges struct + IssuedTokens []*PrincipalToken + Principal *Principal + func (e ApplicationEdges) IssuedTokensOrErr() ([]*PrincipalToken, error) + func (e ApplicationEdges) PrincipalOrErr() (*Principal, error) + type ApplicationFilter struct + func (f *ApplicationFilter) Where(p entql.P) + func (f *ApplicationFilter) WhereAccessTokenTTL(p entql.IntP) + func (f *ApplicationFilter) WhereAllowedGrants(p entql.BytesP) + func (f *ApplicationFilter) WhereAllowedResponseTypes(p entql.BytesP) + func (f *ApplicationFilter) WhereAppType(p entql.StringP) + func (f *ApplicationFilter) WhereClientID(p entql.StringP) + func (f *ApplicationFilter) WhereCreatedAt(p entql.TimeP) + func (f *ApplicationFilter) WhereDescription(p entql.StringP) + func (f *ApplicationFilter) WhereFirstParty(p entql.BoolP) + func (f *ApplicationFilter) WhereHasIssuedTokens() + func (f *ApplicationFilter) WhereHasIssuedTokensWith(preds ...predicate.PrincipalToken) + func (f *ApplicationFilter) WhereHasPrincipal() + func (f *ApplicationFilter) WhereHasPrincipalWith(preds ...predicate.Principal) + func (f *ApplicationFilter) WhereID(p entql.ValueP) + func (f *ApplicationFilter) WhereLogoURL(p entql.StringP) + func (f *ApplicationFilter) WherePrincipalID(p entql.ValueP) + func (f *ApplicationFilter) WherePublic(p entql.BoolP) + func (f *ApplicationFilter) WhereRedirectUris(p entql.BytesP) + func (f *ApplicationFilter) WhereRefreshTokenRotation(p entql.BoolP) + func (f *ApplicationFilter) WhereRefreshTokenTTL(p entql.IntP) + func (f *ApplicationFilter) WhereUpdatedAt(p entql.TimeP) + type ApplicationGroupBy struct + func (_g *ApplicationGroupBy) Aggregate(fns ...AggregateFunc) *ApplicationGroupBy + func (_g *ApplicationGroupBy) Scan(ctx context.Context, v any) error + func (s *ApplicationGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ApplicationGroupBy) BoolX(ctx context.Context) bool + func (s *ApplicationGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ApplicationGroupBy) BoolsX(ctx context.Context) []bool + func (s *ApplicationGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ApplicationGroupBy) Float64X(ctx context.Context) float64 + func (s *ApplicationGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ApplicationGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ApplicationGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ApplicationGroupBy) IntX(ctx context.Context) int + func (s *ApplicationGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ApplicationGroupBy) IntsX(ctx context.Context) []int + func (s *ApplicationGroupBy) ScanX(ctx context.Context, v any) + func (s *ApplicationGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ApplicationGroupBy) StringX(ctx context.Context) string + func (s *ApplicationGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ApplicationGroupBy) StringsX(ctx context.Context) []string + type ApplicationMutation struct + func (m *ApplicationMutation) AccessTokenTTL() (r int, exists bool) + func (m *ApplicationMutation) AddAccessTokenTTL(i int) + func (m *ApplicationMutation) AddField(name string, value ent.Value) error + func (m *ApplicationMutation) AddIssuedTokenIDs(ids ...uuid.UUID) + func (m *ApplicationMutation) AddRefreshTokenTTL(i int) + func (m *ApplicationMutation) AddedAccessTokenTTL() (r int, exists bool) + func (m *ApplicationMutation) AddedEdges() []string + func (m *ApplicationMutation) AddedField(name string) (ent.Value, bool) + func (m *ApplicationMutation) AddedFields() []string + func (m *ApplicationMutation) AddedIDs(name string) []ent.Value + func (m *ApplicationMutation) AddedRefreshTokenTTL() (r int, exists bool) + func (m *ApplicationMutation) AllowedGrants() (r []string, exists bool) + func (m *ApplicationMutation) AllowedResponseTypes() (r []string, exists bool) + func (m *ApplicationMutation) AppType() (r application.AppType, exists bool) + func (m *ApplicationMutation) AppendAllowedGrants(s []string) + func (m *ApplicationMutation) AppendAllowedResponseTypes(s []string) + func (m *ApplicationMutation) AppendRedirectUris(s []string) + func (m *ApplicationMutation) AppendedAllowedGrants() ([]string, bool) + func (m *ApplicationMutation) AppendedAllowedResponseTypes() ([]string, bool) + func (m *ApplicationMutation) AppendedRedirectUris() ([]string, bool) + func (m *ApplicationMutation) ClearDescription() + func (m *ApplicationMutation) ClearEdge(name string) error + func (m *ApplicationMutation) ClearField(name string) error + func (m *ApplicationMutation) ClearIssuedTokens() + func (m *ApplicationMutation) ClearLogoURL() + func (m *ApplicationMutation) ClearPrincipal() + func (m *ApplicationMutation) ClearedEdges() []string + func (m *ApplicationMutation) ClearedFields() []string + func (m *ApplicationMutation) ClientID() (r string, exists bool) + func (m *ApplicationMutation) CreatedAt() (r time.Time, exists bool) + func (m *ApplicationMutation) Description() (r string, exists bool) + func (m *ApplicationMutation) DescriptionCleared() bool + func (m *ApplicationMutation) EdgeCleared(name string) bool + func (m *ApplicationMutation) Field(name string) (ent.Value, bool) + func (m *ApplicationMutation) FieldCleared(name string) bool + func (m *ApplicationMutation) Fields() []string + func (m *ApplicationMutation) Filter() *ApplicationFilter + func (m *ApplicationMutation) FirstParty() (r bool, exists bool) + func (m *ApplicationMutation) ID() (id uuid.UUID, exists bool) + func (m *ApplicationMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *ApplicationMutation) IssuedTokensCleared() bool + func (m *ApplicationMutation) IssuedTokensIDs() (ids []uuid.UUID) + func (m *ApplicationMutation) LogoURL() (r string, exists bool) + func (m *ApplicationMutation) LogoURLCleared() bool + func (m *ApplicationMutation) OldAccessTokenTTL(ctx context.Context) (v int, err error) + func (m *ApplicationMutation) OldAllowedGrants(ctx context.Context) (v []string, err error) + func (m *ApplicationMutation) OldAllowedResponseTypes(ctx context.Context) (v []string, err error) + func (m *ApplicationMutation) OldAppType(ctx context.Context) (v application.AppType, err error) + func (m *ApplicationMutation) OldClientID(ctx context.Context) (v string, err error) + func (m *ApplicationMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *ApplicationMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *ApplicationMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ApplicationMutation) OldFirstParty(ctx context.Context) (v bool, err error) + func (m *ApplicationMutation) OldLogoURL(ctx context.Context) (v string, err error) + func (m *ApplicationMutation) OldPrincipalID(ctx context.Context) (v uuid.UUID, err error) + func (m *ApplicationMutation) OldPublic(ctx context.Context) (v bool, err error) + func (m *ApplicationMutation) OldRedirectUris(ctx context.Context) (v []string, err error) + func (m *ApplicationMutation) OldRefreshTokenRotation(ctx context.Context) (v bool, err error) + func (m *ApplicationMutation) OldRefreshTokenTTL(ctx context.Context) (v int, err error) + func (m *ApplicationMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *ApplicationMutation) Op() Op + func (m *ApplicationMutation) PrincipalCleared() bool + func (m *ApplicationMutation) PrincipalID() (r uuid.UUID, exists bool) + func (m *ApplicationMutation) PrincipalIDs() (ids []uuid.UUID) + func (m *ApplicationMutation) Public() (r bool, exists bool) + func (m *ApplicationMutation) RedirectUris() (r []string, exists bool) + func (m *ApplicationMutation) RefreshTokenRotation() (r bool, exists bool) + func (m *ApplicationMutation) RefreshTokenTTL() (r int, exists bool) + func (m *ApplicationMutation) RemoveIssuedTokenIDs(ids ...uuid.UUID) + func (m *ApplicationMutation) RemovedEdges() []string + func (m *ApplicationMutation) RemovedIDs(name string) []ent.Value + func (m *ApplicationMutation) RemovedIssuedTokensIDs() (ids []uuid.UUID) + func (m *ApplicationMutation) ResetAccessTokenTTL() + func (m *ApplicationMutation) ResetAllowedGrants() + func (m *ApplicationMutation) ResetAllowedResponseTypes() + func (m *ApplicationMutation) ResetAppType() + func (m *ApplicationMutation) ResetClientID() + func (m *ApplicationMutation) ResetCreatedAt() + func (m *ApplicationMutation) ResetDescription() + func (m *ApplicationMutation) ResetEdge(name string) error + func (m *ApplicationMutation) ResetField(name string) error + func (m *ApplicationMutation) ResetFirstParty() + func (m *ApplicationMutation) ResetIssuedTokens() + func (m *ApplicationMutation) ResetLogoURL() + func (m *ApplicationMutation) ResetPrincipal() + func (m *ApplicationMutation) ResetPrincipalID() + func (m *ApplicationMutation) ResetPublic() + func (m *ApplicationMutation) ResetRedirectUris() + func (m *ApplicationMutation) ResetRefreshTokenRotation() + func (m *ApplicationMutation) ResetRefreshTokenTTL() + func (m *ApplicationMutation) ResetUpdatedAt() + func (m *ApplicationMutation) SetAccessTokenTTL(i int) + func (m *ApplicationMutation) SetAllowedGrants(s []string) + func (m *ApplicationMutation) SetAllowedResponseTypes(s []string) + func (m *ApplicationMutation) SetAppType(at application.AppType) + func (m *ApplicationMutation) SetClientID(s string) + func (m *ApplicationMutation) SetCreatedAt(t time.Time) + func (m *ApplicationMutation) SetDescription(s string) + func (m *ApplicationMutation) SetField(name string, value ent.Value) error + func (m *ApplicationMutation) SetFirstParty(b bool) + func (m *ApplicationMutation) SetID(id uuid.UUID) + func (m *ApplicationMutation) SetLogoURL(s string) + func (m *ApplicationMutation) SetOp(op Op) + func (m *ApplicationMutation) SetPrincipalID(u uuid.UUID) + func (m *ApplicationMutation) SetPublic(b bool) + func (m *ApplicationMutation) SetRedirectUris(s []string) + func (m *ApplicationMutation) SetRefreshTokenRotation(b bool) + func (m *ApplicationMutation) SetRefreshTokenTTL(i int) + func (m *ApplicationMutation) SetUpdatedAt(t time.Time) + func (m *ApplicationMutation) Type() string + func (m *ApplicationMutation) UpdatedAt() (r time.Time, exists bool) + func (m *ApplicationMutation) Where(ps ...predicate.Application) + func (m *ApplicationMutation) WhereP(ps ...func(*sql.Selector)) + func (m ApplicationMutation) Client() *Client + func (m ApplicationMutation) Tx() (*Tx, error) + type ApplicationQuery struct + func (_q *ApplicationQuery) Aggregate(fns ...AggregateFunc) *ApplicationSelect + func (_q *ApplicationQuery) All(ctx context.Context) ([]*Application, error) + func (_q *ApplicationQuery) AllX(ctx context.Context) []*Application + func (_q *ApplicationQuery) Clone() *ApplicationQuery + func (_q *ApplicationQuery) Count(ctx context.Context) (int, error) + func (_q *ApplicationQuery) CountX(ctx context.Context) int + func (_q *ApplicationQuery) Exist(ctx context.Context) (bool, error) + func (_q *ApplicationQuery) ExistX(ctx context.Context) bool + func (_q *ApplicationQuery) Filter() *ApplicationFilter + func (_q *ApplicationQuery) First(ctx context.Context) (*Application, error) + func (_q *ApplicationQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *ApplicationQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *ApplicationQuery) FirstX(ctx context.Context) *Application + func (_q *ApplicationQuery) GroupBy(field string, fields ...string) *ApplicationGroupBy + func (_q *ApplicationQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *ApplicationQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *ApplicationQuery) Limit(limit int) *ApplicationQuery + func (_q *ApplicationQuery) Offset(offset int) *ApplicationQuery + func (_q *ApplicationQuery) Only(ctx context.Context) (*Application, error) + func (_q *ApplicationQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *ApplicationQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *ApplicationQuery) OnlyX(ctx context.Context) *Application + func (_q *ApplicationQuery) Order(o ...application.OrderOption) *ApplicationQuery + func (_q *ApplicationQuery) QueryIssuedTokens() *PrincipalTokenQuery + func (_q *ApplicationQuery) QueryPrincipal() *PrincipalQuery + func (_q *ApplicationQuery) Select(fields ...string) *ApplicationSelect + func (_q *ApplicationQuery) Unique(unique bool) *ApplicationQuery + func (_q *ApplicationQuery) Where(ps ...predicate.Application) *ApplicationQuery + func (_q *ApplicationQuery) WithIssuedTokens(opts ...func(*PrincipalTokenQuery)) *ApplicationQuery + func (_q *ApplicationQuery) WithPrincipal(opts ...func(*PrincipalQuery)) *ApplicationQuery + type ApplicationSelect struct + func (_s *ApplicationSelect) Aggregate(fns ...AggregateFunc) *ApplicationSelect + func (_s *ApplicationSelect) Scan(ctx context.Context, v any) error + func (s *ApplicationSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ApplicationSelect) BoolX(ctx context.Context) bool + func (s *ApplicationSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ApplicationSelect) BoolsX(ctx context.Context) []bool + func (s *ApplicationSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ApplicationSelect) Float64X(ctx context.Context) float64 + func (s *ApplicationSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ApplicationSelect) Float64sX(ctx context.Context) []float64 + func (s *ApplicationSelect) Int(ctx context.Context) (_ int, err error) + func (s *ApplicationSelect) IntX(ctx context.Context) int + func (s *ApplicationSelect) Ints(ctx context.Context) ([]int, error) + func (s *ApplicationSelect) IntsX(ctx context.Context) []int + func (s *ApplicationSelect) ScanX(ctx context.Context, v any) + func (s *ApplicationSelect) String(ctx context.Context) (_ string, err error) + func (s *ApplicationSelect) StringX(ctx context.Context) string + func (s *ApplicationSelect) Strings(ctx context.Context) ([]string, error) + func (s *ApplicationSelect) StringsX(ctx context.Context) []string + type ApplicationUpdate struct + func (_u *ApplicationUpdate) AddAccessTokenTTL(v int) *ApplicationUpdate + func (_u *ApplicationUpdate) AddIssuedTokenIDs(ids ...uuid.UUID) *ApplicationUpdate + func (_u *ApplicationUpdate) AddIssuedTokens(v ...*PrincipalToken) *ApplicationUpdate + func (_u *ApplicationUpdate) AddRefreshTokenTTL(v int) *ApplicationUpdate + func (_u *ApplicationUpdate) AppendAllowedGrants(v []string) *ApplicationUpdate + func (_u *ApplicationUpdate) AppendAllowedResponseTypes(v []string) *ApplicationUpdate + func (_u *ApplicationUpdate) AppendRedirectUris(v []string) *ApplicationUpdate + func (_u *ApplicationUpdate) ClearDescription() *ApplicationUpdate + func (_u *ApplicationUpdate) ClearIssuedTokens() *ApplicationUpdate + func (_u *ApplicationUpdate) ClearLogoURL() *ApplicationUpdate + func (_u *ApplicationUpdate) Exec(ctx context.Context) error + func (_u *ApplicationUpdate) ExecX(ctx context.Context) + func (_u *ApplicationUpdate) Mutation() *ApplicationMutation + func (_u *ApplicationUpdate) RemoveIssuedTokenIDs(ids ...uuid.UUID) *ApplicationUpdate + func (_u *ApplicationUpdate) RemoveIssuedTokens(v ...*PrincipalToken) *ApplicationUpdate + func (_u *ApplicationUpdate) Save(ctx context.Context) (int, error) + func (_u *ApplicationUpdate) SaveX(ctx context.Context) int + func (_u *ApplicationUpdate) SetAccessTokenTTL(v int) *ApplicationUpdate + func (_u *ApplicationUpdate) SetAllowedGrants(v []string) *ApplicationUpdate + func (_u *ApplicationUpdate) SetAllowedResponseTypes(v []string) *ApplicationUpdate + func (_u *ApplicationUpdate) SetAppType(v application.AppType) *ApplicationUpdate + func (_u *ApplicationUpdate) SetDescription(v string) *ApplicationUpdate + func (_u *ApplicationUpdate) SetFirstParty(v bool) *ApplicationUpdate + func (_u *ApplicationUpdate) SetLogoURL(v string) *ApplicationUpdate + func (_u *ApplicationUpdate) SetNillableAccessTokenTTL(v *int) *ApplicationUpdate + func (_u *ApplicationUpdate) SetNillableAppType(v *application.AppType) *ApplicationUpdate + func (_u *ApplicationUpdate) SetNillableDescription(v *string) *ApplicationUpdate + func (_u *ApplicationUpdate) SetNillableFirstParty(v *bool) *ApplicationUpdate + func (_u *ApplicationUpdate) SetNillableLogoURL(v *string) *ApplicationUpdate + func (_u *ApplicationUpdate) SetNillablePublic(v *bool) *ApplicationUpdate + func (_u *ApplicationUpdate) SetNillableRefreshTokenRotation(v *bool) *ApplicationUpdate + func (_u *ApplicationUpdate) SetNillableRefreshTokenTTL(v *int) *ApplicationUpdate + func (_u *ApplicationUpdate) SetPublic(v bool) *ApplicationUpdate + func (_u *ApplicationUpdate) SetRedirectUris(v []string) *ApplicationUpdate + func (_u *ApplicationUpdate) SetRefreshTokenRotation(v bool) *ApplicationUpdate + func (_u *ApplicationUpdate) SetRefreshTokenTTL(v int) *ApplicationUpdate + func (_u *ApplicationUpdate) SetUpdatedAt(v time.Time) *ApplicationUpdate + func (_u *ApplicationUpdate) Where(ps ...predicate.Application) *ApplicationUpdate + type ApplicationUpdateOne struct + func (_u *ApplicationUpdateOne) AddAccessTokenTTL(v int) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) AddIssuedTokenIDs(ids ...uuid.UUID) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) AddIssuedTokens(v ...*PrincipalToken) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) AddRefreshTokenTTL(v int) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) AppendAllowedGrants(v []string) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) AppendAllowedResponseTypes(v []string) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) AppendRedirectUris(v []string) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) ClearDescription() *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) ClearIssuedTokens() *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) ClearLogoURL() *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) Exec(ctx context.Context) error + func (_u *ApplicationUpdateOne) ExecX(ctx context.Context) + func (_u *ApplicationUpdateOne) Mutation() *ApplicationMutation + func (_u *ApplicationUpdateOne) RemoveIssuedTokenIDs(ids ...uuid.UUID) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) RemoveIssuedTokens(v ...*PrincipalToken) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) Save(ctx context.Context) (*Application, error) + func (_u *ApplicationUpdateOne) SaveX(ctx context.Context) *Application + func (_u *ApplicationUpdateOne) Select(field string, fields ...string) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetAccessTokenTTL(v int) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetAllowedGrants(v []string) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetAllowedResponseTypes(v []string) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetAppType(v application.AppType) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetDescription(v string) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetFirstParty(v bool) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetLogoURL(v string) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetNillableAccessTokenTTL(v *int) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetNillableAppType(v *application.AppType) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetNillableDescription(v *string) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetNillableFirstParty(v *bool) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetNillableLogoURL(v *string) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetNillablePublic(v *bool) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetNillableRefreshTokenRotation(v *bool) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetNillableRefreshTokenTTL(v *int) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetPublic(v bool) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetRedirectUris(v []string) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetRefreshTokenRotation(v bool) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetRefreshTokenTTL(v int) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) SetUpdatedAt(v time.Time) *ApplicationUpdateOne + func (_u *ApplicationUpdateOne) Where(ps ...predicate.Application) *ApplicationUpdateOne + type ApplicationUpsert struct + func (u *ApplicationUpsert) AddAccessTokenTTL(v int) *ApplicationUpsert + func (u *ApplicationUpsert) AddRefreshTokenTTL(v int) *ApplicationUpsert + func (u *ApplicationUpsert) ClearDescription() *ApplicationUpsert + func (u *ApplicationUpsert) ClearLogoURL() *ApplicationUpsert + func (u *ApplicationUpsert) SetAccessTokenTTL(v int) *ApplicationUpsert + func (u *ApplicationUpsert) SetAllowedGrants(v []string) *ApplicationUpsert + func (u *ApplicationUpsert) SetAllowedResponseTypes(v []string) *ApplicationUpsert + func (u *ApplicationUpsert) SetAppType(v application.AppType) *ApplicationUpsert + func (u *ApplicationUpsert) SetDescription(v string) *ApplicationUpsert + func (u *ApplicationUpsert) SetFirstParty(v bool) *ApplicationUpsert + func (u *ApplicationUpsert) SetLogoURL(v string) *ApplicationUpsert + func (u *ApplicationUpsert) SetPublic(v bool) *ApplicationUpsert + func (u *ApplicationUpsert) SetRedirectUris(v []string) *ApplicationUpsert + func (u *ApplicationUpsert) SetRefreshTokenRotation(v bool) *ApplicationUpsert + func (u *ApplicationUpsert) SetRefreshTokenTTL(v int) *ApplicationUpsert + func (u *ApplicationUpsert) SetUpdatedAt(v time.Time) *ApplicationUpsert + func (u *ApplicationUpsert) UpdateAccessTokenTTL() *ApplicationUpsert + func (u *ApplicationUpsert) UpdateAllowedGrants() *ApplicationUpsert + func (u *ApplicationUpsert) UpdateAllowedResponseTypes() *ApplicationUpsert + func (u *ApplicationUpsert) UpdateAppType() *ApplicationUpsert + func (u *ApplicationUpsert) UpdateDescription() *ApplicationUpsert + func (u *ApplicationUpsert) UpdateFirstParty() *ApplicationUpsert + func (u *ApplicationUpsert) UpdateLogoURL() *ApplicationUpsert + func (u *ApplicationUpsert) UpdatePublic() *ApplicationUpsert + func (u *ApplicationUpsert) UpdateRedirectUris() *ApplicationUpsert + func (u *ApplicationUpsert) UpdateRefreshTokenRotation() *ApplicationUpsert + func (u *ApplicationUpsert) UpdateRefreshTokenTTL() *ApplicationUpsert + func (u *ApplicationUpsert) UpdateUpdatedAt() *ApplicationUpsert + type ApplicationUpsertBulk struct + func (u *ApplicationUpsertBulk) AddAccessTokenTTL(v int) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) AddRefreshTokenTTL(v int) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) ClearDescription() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) ClearLogoURL() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) DoNothing() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) Exec(ctx context.Context) error + func (u *ApplicationUpsertBulk) ExecX(ctx context.Context) + func (u *ApplicationUpsertBulk) Ignore() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetAccessTokenTTL(v int) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetAllowedGrants(v []string) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetAllowedResponseTypes(v []string) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetAppType(v application.AppType) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetDescription(v string) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetFirstParty(v bool) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetLogoURL(v string) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetPublic(v bool) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetRedirectUris(v []string) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetRefreshTokenRotation(v bool) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetRefreshTokenTTL(v int) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) SetUpdatedAt(v time.Time) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) Update(set func(*ApplicationUpsert)) *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateAccessTokenTTL() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateAllowedGrants() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateAllowedResponseTypes() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateAppType() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateDescription() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateFirstParty() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateLogoURL() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateNewValues() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdatePublic() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateRedirectUris() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateRefreshTokenRotation() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateRefreshTokenTTL() *ApplicationUpsertBulk + func (u *ApplicationUpsertBulk) UpdateUpdatedAt() *ApplicationUpsertBulk + type ApplicationUpsertOne struct + func (u *ApplicationUpsertOne) AddAccessTokenTTL(v int) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) AddRefreshTokenTTL(v int) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) ClearDescription() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) ClearLogoURL() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) DoNothing() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) Exec(ctx context.Context) error + func (u *ApplicationUpsertOne) ExecX(ctx context.Context) + func (u *ApplicationUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *ApplicationUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *ApplicationUpsertOne) Ignore() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetAccessTokenTTL(v int) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetAllowedGrants(v []string) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetAllowedResponseTypes(v []string) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetAppType(v application.AppType) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetDescription(v string) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetFirstParty(v bool) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetLogoURL(v string) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetPublic(v bool) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetRedirectUris(v []string) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetRefreshTokenRotation(v bool) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetRefreshTokenTTL(v int) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) SetUpdatedAt(v time.Time) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) Update(set func(*ApplicationUpsert)) *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateAccessTokenTTL() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateAllowedGrants() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateAllowedResponseTypes() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateAppType() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateDescription() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateFirstParty() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateLogoURL() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateNewValues() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdatePublic() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateRedirectUris() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateRefreshTokenRotation() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateRefreshTokenTTL() *ApplicationUpsertOne + func (u *ApplicationUpsertOne) UpdateUpdatedAt() *ApplicationUpsertOne + type Applications []*Application + type Client struct + APIKey *APIKeyClient + Agent *AgentClient + Application *ApplicationClient + Credential *CredentialClient + Human *HumanClient + Invite *InviteClient + License *LicenseClient + Listing *ListingClient + Membership *MembershipClient + OAuthAccount *OAuthAccountClient + OAuthApp *OAuthAppClient + OAuthAppSecret *OAuthAppSecretClient + OAuthAuthCode *OAuthAuthCodeClient + OAuthConsent *OAuthConsentClient + OAuthToken *OAuthTokenClient + Organization *OrganizationClient + Principal *PrincipalClient + PrincipalMembership *PrincipalMembershipClient + PrincipalToken *PrincipalTokenClient + RefreshToken *RefreshTokenClient + Schema *migrate.Schema + SeatAssignment *SeatAssignmentClient + ServiceAccount *ServiceAccountClient + ServiceAccountKeyPair *ServiceAccountKeyPairClient + ServicePrincipal *ServicePrincipalClient + Subscription *SubscriptionClient + User *UserClient + func FromContext(ctx context.Context) *Client + func NewClient(opts ...Option) *Client + func Open(driverName, dataSourceName string, options ...Option) (*Client, error) + func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error) + func (c *Client) Close() error + func (c *Client) Debug() *Client + func (c *Client) Intercept(interceptors ...Interceptor) + func (c *Client) Mutate(ctx context.Context, m Mutation) (Value, error) + func (c *Client) Tx(ctx context.Context) (*Tx, error) + func (c *Client) Use(hooks ...Hook) + type CommitFunc func(context.Context, *Tx) error + func (f CommitFunc) Commit(ctx context.Context, tx *Tx) error + type CommitHook func(Committer) Committer + type Committer interface + Commit func(context.Context, *Tx) error + type ConstraintError struct + func (e *ConstraintError) Unwrap() error + func (e ConstraintError) Error() string + type Credential struct + Active bool + CreatedAt time.Time + Edges CredentialEdges + ExpiresAt *time.Time + ID uuid.UUID + Identifier string + KeyAlgorithm string + KeyID *string + LastUsedAt *time.Time + LastUsedIP string + Metadata map[string]interface{} + Name string + PrincipalID uuid.UUID + PublicKey string + Revoked bool + RevokedAt *time.Time + RevokedReason string + Scopes []string + SecretHash string + Type credential.Type + UpdatedAt time.Time + WebauthnAaguid string + WebauthnCredentialID []byte + WebauthnPublicKey []byte + WebauthnSignCount uint32 + func (_m *Credential) QueryPrincipal() *PrincipalQuery + func (_m *Credential) String() string + func (_m *Credential) Unwrap() *Credential + func (_m *Credential) Update() *CredentialUpdateOne + func (_m *Credential) Value(name string) (ent.Value, error) + type CredentialClient struct + func NewCredentialClient(c config) *CredentialClient + func (c *CredentialClient) Create() *CredentialCreate + func (c *CredentialClient) CreateBulk(builders ...*CredentialCreate) *CredentialCreateBulk + func (c *CredentialClient) Delete() *CredentialDelete + func (c *CredentialClient) DeleteOne(_m *Credential) *CredentialDeleteOne + func (c *CredentialClient) DeleteOneID(id uuid.UUID) *CredentialDeleteOne + func (c *CredentialClient) Get(ctx context.Context, id uuid.UUID) (*Credential, error) + func (c *CredentialClient) GetX(ctx context.Context, id uuid.UUID) *Credential + func (c *CredentialClient) Hooks() []Hook + func (c *CredentialClient) Intercept(interceptors ...Interceptor) + func (c *CredentialClient) Interceptors() []Interceptor + func (c *CredentialClient) MapCreateBulk(slice any, setFunc func(*CredentialCreate, int)) *CredentialCreateBulk + func (c *CredentialClient) Query() *CredentialQuery + func (c *CredentialClient) QueryPrincipal(_m *Credential) *PrincipalQuery + func (c *CredentialClient) Update() *CredentialUpdate + func (c *CredentialClient) UpdateOne(_m *Credential) *CredentialUpdateOne + func (c *CredentialClient) UpdateOneID(id uuid.UUID) *CredentialUpdateOne + func (c *CredentialClient) Use(hooks ...Hook) + type CredentialCreate struct + func (_c *CredentialCreate) Exec(ctx context.Context) error + func (_c *CredentialCreate) ExecX(ctx context.Context) + func (_c *CredentialCreate) Mutation() *CredentialMutation + func (_c *CredentialCreate) OnConflict(opts ...sql.ConflictOption) *CredentialUpsertOne + func (_c *CredentialCreate) OnConflictColumns(columns ...string) *CredentialUpsertOne + func (_c *CredentialCreate) Save(ctx context.Context) (*Credential, error) + func (_c *CredentialCreate) SaveX(ctx context.Context) *Credential + func (_c *CredentialCreate) SetActive(v bool) *CredentialCreate + func (_c *CredentialCreate) SetCreatedAt(v time.Time) *CredentialCreate + func (_c *CredentialCreate) SetExpiresAt(v time.Time) *CredentialCreate + func (_c *CredentialCreate) SetID(v uuid.UUID) *CredentialCreate + func (_c *CredentialCreate) SetIdentifier(v string) *CredentialCreate + func (_c *CredentialCreate) SetKeyAlgorithm(v string) *CredentialCreate + func (_c *CredentialCreate) SetKeyID(v string) *CredentialCreate + func (_c *CredentialCreate) SetLastUsedAt(v time.Time) *CredentialCreate + func (_c *CredentialCreate) SetLastUsedIP(v string) *CredentialCreate + func (_c *CredentialCreate) SetMetadata(v map[string]interface{}) *CredentialCreate + func (_c *CredentialCreate) SetName(v string) *CredentialCreate + func (_c *CredentialCreate) SetNillableActive(v *bool) *CredentialCreate + func (_c *CredentialCreate) SetNillableCreatedAt(v *time.Time) *CredentialCreate + func (_c *CredentialCreate) SetNillableExpiresAt(v *time.Time) *CredentialCreate + func (_c *CredentialCreate) SetNillableID(v *uuid.UUID) *CredentialCreate + func (_c *CredentialCreate) SetNillableIdentifier(v *string) *CredentialCreate + func (_c *CredentialCreate) SetNillableKeyAlgorithm(v *string) *CredentialCreate + func (_c *CredentialCreate) SetNillableKeyID(v *string) *CredentialCreate + func (_c *CredentialCreate) SetNillableLastUsedAt(v *time.Time) *CredentialCreate + func (_c *CredentialCreate) SetNillableLastUsedIP(v *string) *CredentialCreate + func (_c *CredentialCreate) SetNillableName(v *string) *CredentialCreate + func (_c *CredentialCreate) SetNillablePublicKey(v *string) *CredentialCreate + func (_c *CredentialCreate) SetNillableRevoked(v *bool) *CredentialCreate + func (_c *CredentialCreate) SetNillableRevokedAt(v *time.Time) *CredentialCreate + func (_c *CredentialCreate) SetNillableRevokedReason(v *string) *CredentialCreate + func (_c *CredentialCreate) SetNillableSecretHash(v *string) *CredentialCreate + func (_c *CredentialCreate) SetNillableUpdatedAt(v *time.Time) *CredentialCreate + func (_c *CredentialCreate) SetNillableWebauthnAaguid(v *string) *CredentialCreate + func (_c *CredentialCreate) SetNillableWebauthnSignCount(v *uint32) *CredentialCreate + func (_c *CredentialCreate) SetPrincipal(v *Principal) *CredentialCreate + func (_c *CredentialCreate) SetPrincipalID(v uuid.UUID) *CredentialCreate + func (_c *CredentialCreate) SetPublicKey(v string) *CredentialCreate + func (_c *CredentialCreate) SetRevoked(v bool) *CredentialCreate + func (_c *CredentialCreate) SetRevokedAt(v time.Time) *CredentialCreate + func (_c *CredentialCreate) SetRevokedReason(v string) *CredentialCreate + func (_c *CredentialCreate) SetScopes(v []string) *CredentialCreate + func (_c *CredentialCreate) SetSecretHash(v string) *CredentialCreate + func (_c *CredentialCreate) SetType(v credential.Type) *CredentialCreate + func (_c *CredentialCreate) SetUpdatedAt(v time.Time) *CredentialCreate + func (_c *CredentialCreate) SetWebauthnAaguid(v string) *CredentialCreate + func (_c *CredentialCreate) SetWebauthnCredentialID(v []byte) *CredentialCreate + func (_c *CredentialCreate) SetWebauthnPublicKey(v []byte) *CredentialCreate + func (_c *CredentialCreate) SetWebauthnSignCount(v uint32) *CredentialCreate + type CredentialCreateBulk struct + func (_c *CredentialCreateBulk) Exec(ctx context.Context) error + func (_c *CredentialCreateBulk) ExecX(ctx context.Context) + func (_c *CredentialCreateBulk) OnConflict(opts ...sql.ConflictOption) *CredentialUpsertBulk + func (_c *CredentialCreateBulk) OnConflictColumns(columns ...string) *CredentialUpsertBulk + func (_c *CredentialCreateBulk) Save(ctx context.Context) ([]*Credential, error) + func (_c *CredentialCreateBulk) SaveX(ctx context.Context) []*Credential + type CredentialDelete struct + func (_d *CredentialDelete) Exec(ctx context.Context) (int, error) + func (_d *CredentialDelete) ExecX(ctx context.Context) int + func (_d *CredentialDelete) Where(ps ...predicate.Credential) *CredentialDelete + type CredentialDeleteOne struct + func (_d *CredentialDeleteOne) Exec(ctx context.Context) error + func (_d *CredentialDeleteOne) ExecX(ctx context.Context) + func (_d *CredentialDeleteOne) Where(ps ...predicate.Credential) *CredentialDeleteOne + type CredentialEdges struct + Principal *Principal + func (e CredentialEdges) PrincipalOrErr() (*Principal, error) + type CredentialFilter struct + func (f *CredentialFilter) Where(p entql.P) + func (f *CredentialFilter) WhereActive(p entql.BoolP) + func (f *CredentialFilter) WhereCreatedAt(p entql.TimeP) + func (f *CredentialFilter) WhereExpiresAt(p entql.TimeP) + func (f *CredentialFilter) WhereHasPrincipal() + func (f *CredentialFilter) WhereHasPrincipalWith(preds ...predicate.Principal) + func (f *CredentialFilter) WhereID(p entql.ValueP) + func (f *CredentialFilter) WhereIdentifier(p entql.StringP) + func (f *CredentialFilter) WhereKeyAlgorithm(p entql.StringP) + func (f *CredentialFilter) WhereKeyID(p entql.StringP) + func (f *CredentialFilter) WhereLastUsedAt(p entql.TimeP) + func (f *CredentialFilter) WhereLastUsedIP(p entql.StringP) + func (f *CredentialFilter) WhereMetadata(p entql.BytesP) + func (f *CredentialFilter) WhereName(p entql.StringP) + func (f *CredentialFilter) WherePrincipalID(p entql.ValueP) + func (f *CredentialFilter) WherePublicKey(p entql.StringP) + func (f *CredentialFilter) WhereRevoked(p entql.BoolP) + func (f *CredentialFilter) WhereRevokedAt(p entql.TimeP) + func (f *CredentialFilter) WhereRevokedReason(p entql.StringP) + func (f *CredentialFilter) WhereScopes(p entql.BytesP) + func (f *CredentialFilter) WhereSecretHash(p entql.StringP) + func (f *CredentialFilter) WhereType(p entql.StringP) + func (f *CredentialFilter) WhereUpdatedAt(p entql.TimeP) + func (f *CredentialFilter) WhereWebauthnAaguid(p entql.StringP) + func (f *CredentialFilter) WhereWebauthnCredentialID(p entql.BytesP) + func (f *CredentialFilter) WhereWebauthnPublicKey(p entql.BytesP) + func (f *CredentialFilter) WhereWebauthnSignCount(p entql.Uint32P) + type CredentialGroupBy struct + func (_g *CredentialGroupBy) Aggregate(fns ...AggregateFunc) *CredentialGroupBy + func (_g *CredentialGroupBy) Scan(ctx context.Context, v any) error + func (s *CredentialGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *CredentialGroupBy) BoolX(ctx context.Context) bool + func (s *CredentialGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *CredentialGroupBy) BoolsX(ctx context.Context) []bool + func (s *CredentialGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *CredentialGroupBy) Float64X(ctx context.Context) float64 + func (s *CredentialGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *CredentialGroupBy) Float64sX(ctx context.Context) []float64 + func (s *CredentialGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *CredentialGroupBy) IntX(ctx context.Context) int + func (s *CredentialGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *CredentialGroupBy) IntsX(ctx context.Context) []int + func (s *CredentialGroupBy) ScanX(ctx context.Context, v any) + func (s *CredentialGroupBy) String(ctx context.Context) (_ string, err error) + func (s *CredentialGroupBy) StringX(ctx context.Context) string + func (s *CredentialGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *CredentialGroupBy) StringsX(ctx context.Context) []string + type CredentialMutation struct + func (m *CredentialMutation) Active() (r bool, exists bool) + func (m *CredentialMutation) AddField(name string, value ent.Value) error + func (m *CredentialMutation) AddWebauthnSignCount(u int32) + func (m *CredentialMutation) AddedEdges() []string + func (m *CredentialMutation) AddedField(name string) (ent.Value, bool) + func (m *CredentialMutation) AddedFields() []string + func (m *CredentialMutation) AddedIDs(name string) []ent.Value + func (m *CredentialMutation) AddedWebauthnSignCount() (r int32, exists bool) + func (m *CredentialMutation) AppendScopes(s []string) + func (m *CredentialMutation) AppendedScopes() ([]string, bool) + func (m *CredentialMutation) ClearEdge(name string) error + func (m *CredentialMutation) ClearExpiresAt() + func (m *CredentialMutation) ClearField(name string) error + func (m *CredentialMutation) ClearIdentifier() + func (m *CredentialMutation) ClearKeyAlgorithm() + func (m *CredentialMutation) ClearKeyID() + func (m *CredentialMutation) ClearLastUsedAt() + func (m *CredentialMutation) ClearLastUsedIP() + func (m *CredentialMutation) ClearMetadata() + func (m *CredentialMutation) ClearName() + func (m *CredentialMutation) ClearPrincipal() + func (m *CredentialMutation) ClearPublicKey() + func (m *CredentialMutation) ClearRevokedAt() + func (m *CredentialMutation) ClearRevokedReason() + func (m *CredentialMutation) ClearSecretHash() + func (m *CredentialMutation) ClearWebauthnAaguid() + func (m *CredentialMutation) ClearWebauthnCredentialID() + func (m *CredentialMutation) ClearWebauthnPublicKey() + func (m *CredentialMutation) ClearWebauthnSignCount() + func (m *CredentialMutation) ClearedEdges() []string + func (m *CredentialMutation) ClearedFields() []string + func (m *CredentialMutation) CreatedAt() (r time.Time, exists bool) + func (m *CredentialMutation) EdgeCleared(name string) bool + func (m *CredentialMutation) ExpiresAt() (r time.Time, exists bool) + func (m *CredentialMutation) ExpiresAtCleared() bool + func (m *CredentialMutation) Field(name string) (ent.Value, bool) + func (m *CredentialMutation) FieldCleared(name string) bool + func (m *CredentialMutation) Fields() []string + func (m *CredentialMutation) Filter() *CredentialFilter + func (m *CredentialMutation) GetType() (r credential.Type, exists bool) + func (m *CredentialMutation) ID() (id uuid.UUID, exists bool) + func (m *CredentialMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *CredentialMutation) Identifier() (r string, exists bool) + func (m *CredentialMutation) IdentifierCleared() bool + func (m *CredentialMutation) KeyAlgorithm() (r string, exists bool) + func (m *CredentialMutation) KeyAlgorithmCleared() bool + func (m *CredentialMutation) KeyID() (r string, exists bool) + func (m *CredentialMutation) KeyIDCleared() bool + func (m *CredentialMutation) LastUsedAt() (r time.Time, exists bool) + func (m *CredentialMutation) LastUsedAtCleared() bool + func (m *CredentialMutation) LastUsedIP() (r string, exists bool) + func (m *CredentialMutation) LastUsedIPCleared() bool + func (m *CredentialMutation) Metadata() (r map[string]interface{}, exists bool) + func (m *CredentialMutation) MetadataCleared() bool + func (m *CredentialMutation) Name() (r string, exists bool) + func (m *CredentialMutation) NameCleared() bool + func (m *CredentialMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *CredentialMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *CredentialMutation) OldExpiresAt(ctx context.Context) (v *time.Time, err error) + func (m *CredentialMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *CredentialMutation) OldIdentifier(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldKeyAlgorithm(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldKeyID(ctx context.Context) (v *string, err error) + func (m *CredentialMutation) OldLastUsedAt(ctx context.Context) (v *time.Time, err error) + func (m *CredentialMutation) OldLastUsedIP(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldMetadata(ctx context.Context) (v map[string]interface{}, err error) + func (m *CredentialMutation) OldName(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldPrincipalID(ctx context.Context) (v uuid.UUID, err error) + func (m *CredentialMutation) OldPublicKey(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldRevoked(ctx context.Context) (v bool, err error) + func (m *CredentialMutation) OldRevokedAt(ctx context.Context) (v *time.Time, err error) + func (m *CredentialMutation) OldRevokedReason(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldScopes(ctx context.Context) (v []string, err error) + func (m *CredentialMutation) OldSecretHash(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldType(ctx context.Context) (v credential.Type, err error) + func (m *CredentialMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *CredentialMutation) OldWebauthnAaguid(ctx context.Context) (v string, err error) + func (m *CredentialMutation) OldWebauthnCredentialID(ctx context.Context) (v []byte, err error) + func (m *CredentialMutation) OldWebauthnPublicKey(ctx context.Context) (v []byte, err error) + func (m *CredentialMutation) OldWebauthnSignCount(ctx context.Context) (v uint32, err error) + func (m *CredentialMutation) Op() Op + func (m *CredentialMutation) PrincipalCleared() bool + func (m *CredentialMutation) PrincipalID() (r uuid.UUID, exists bool) + func (m *CredentialMutation) PrincipalIDs() (ids []uuid.UUID) + func (m *CredentialMutation) PublicKey() (r string, exists bool) + func (m *CredentialMutation) PublicKeyCleared() bool + func (m *CredentialMutation) RemovedEdges() []string + func (m *CredentialMutation) RemovedIDs(name string) []ent.Value + func (m *CredentialMutation) ResetActive() + func (m *CredentialMutation) ResetCreatedAt() + func (m *CredentialMutation) ResetEdge(name string) error + func (m *CredentialMutation) ResetExpiresAt() + func (m *CredentialMutation) ResetField(name string) error + func (m *CredentialMutation) ResetIdentifier() + func (m *CredentialMutation) ResetKeyAlgorithm() + func (m *CredentialMutation) ResetKeyID() + func (m *CredentialMutation) ResetLastUsedAt() + func (m *CredentialMutation) ResetLastUsedIP() + func (m *CredentialMutation) ResetMetadata() + func (m *CredentialMutation) ResetName() + func (m *CredentialMutation) ResetPrincipal() + func (m *CredentialMutation) ResetPrincipalID() + func (m *CredentialMutation) ResetPublicKey() + func (m *CredentialMutation) ResetRevoked() + func (m *CredentialMutation) ResetRevokedAt() + func (m *CredentialMutation) ResetRevokedReason() + func (m *CredentialMutation) ResetScopes() + func (m *CredentialMutation) ResetSecretHash() + func (m *CredentialMutation) ResetType() + func (m *CredentialMutation) ResetUpdatedAt() + func (m *CredentialMutation) ResetWebauthnAaguid() + func (m *CredentialMutation) ResetWebauthnCredentialID() + func (m *CredentialMutation) ResetWebauthnPublicKey() + func (m *CredentialMutation) ResetWebauthnSignCount() + func (m *CredentialMutation) Revoked() (r bool, exists bool) + func (m *CredentialMutation) RevokedAt() (r time.Time, exists bool) + func (m *CredentialMutation) RevokedAtCleared() bool + func (m *CredentialMutation) RevokedReason() (r string, exists bool) + func (m *CredentialMutation) RevokedReasonCleared() bool + func (m *CredentialMutation) Scopes() (r []string, exists bool) + func (m *CredentialMutation) SecretHash() (r string, exists bool) + func (m *CredentialMutation) SecretHashCleared() bool + func (m *CredentialMutation) SetActive(b bool) + func (m *CredentialMutation) SetCreatedAt(t time.Time) + func (m *CredentialMutation) SetExpiresAt(t time.Time) + func (m *CredentialMutation) SetField(name string, value ent.Value) error + func (m *CredentialMutation) SetID(id uuid.UUID) + func (m *CredentialMutation) SetIdentifier(s string) + func (m *CredentialMutation) SetKeyAlgorithm(s string) + func (m *CredentialMutation) SetKeyID(s string) + func (m *CredentialMutation) SetLastUsedAt(t time.Time) + func (m *CredentialMutation) SetLastUsedIP(s string) + func (m *CredentialMutation) SetMetadata(value map[string]interface{}) + func (m *CredentialMutation) SetName(s string) + func (m *CredentialMutation) SetOp(op Op) + func (m *CredentialMutation) SetPrincipalID(u uuid.UUID) + func (m *CredentialMutation) SetPublicKey(s string) + func (m *CredentialMutation) SetRevoked(b bool) + func (m *CredentialMutation) SetRevokedAt(t time.Time) + func (m *CredentialMutation) SetRevokedReason(s string) + func (m *CredentialMutation) SetScopes(s []string) + func (m *CredentialMutation) SetSecretHash(s string) + func (m *CredentialMutation) SetType(c credential.Type) + func (m *CredentialMutation) SetUpdatedAt(t time.Time) + func (m *CredentialMutation) SetWebauthnAaguid(s string) + func (m *CredentialMutation) SetWebauthnCredentialID(b []byte) + func (m *CredentialMutation) SetWebauthnPublicKey(b []byte) + func (m *CredentialMutation) SetWebauthnSignCount(u uint32) + func (m *CredentialMutation) Type() string + func (m *CredentialMutation) UpdatedAt() (r time.Time, exists bool) + func (m *CredentialMutation) WebauthnAaguid() (r string, exists bool) + func (m *CredentialMutation) WebauthnAaguidCleared() bool + func (m *CredentialMutation) WebauthnCredentialID() (r []byte, exists bool) + func (m *CredentialMutation) WebauthnCredentialIDCleared() bool + func (m *CredentialMutation) WebauthnPublicKey() (r []byte, exists bool) + func (m *CredentialMutation) WebauthnPublicKeyCleared() bool + func (m *CredentialMutation) WebauthnSignCount() (r uint32, exists bool) + func (m *CredentialMutation) WebauthnSignCountCleared() bool + func (m *CredentialMutation) Where(ps ...predicate.Credential) + func (m *CredentialMutation) WhereP(ps ...func(*sql.Selector)) + func (m CredentialMutation) Client() *Client + func (m CredentialMutation) Tx() (*Tx, error) + type CredentialQuery struct + func (_q *CredentialQuery) Aggregate(fns ...AggregateFunc) *CredentialSelect + func (_q *CredentialQuery) All(ctx context.Context) ([]*Credential, error) + func (_q *CredentialQuery) AllX(ctx context.Context) []*Credential + func (_q *CredentialQuery) Clone() *CredentialQuery + func (_q *CredentialQuery) Count(ctx context.Context) (int, error) + func (_q *CredentialQuery) CountX(ctx context.Context) int + func (_q *CredentialQuery) Exist(ctx context.Context) (bool, error) + func (_q *CredentialQuery) ExistX(ctx context.Context) bool + func (_q *CredentialQuery) Filter() *CredentialFilter + func (_q *CredentialQuery) First(ctx context.Context) (*Credential, error) + func (_q *CredentialQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *CredentialQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *CredentialQuery) FirstX(ctx context.Context) *Credential + func (_q *CredentialQuery) GroupBy(field string, fields ...string) *CredentialGroupBy + func (_q *CredentialQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *CredentialQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *CredentialQuery) Limit(limit int) *CredentialQuery + func (_q *CredentialQuery) Offset(offset int) *CredentialQuery + func (_q *CredentialQuery) Only(ctx context.Context) (*Credential, error) + func (_q *CredentialQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *CredentialQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *CredentialQuery) OnlyX(ctx context.Context) *Credential + func (_q *CredentialQuery) Order(o ...credential.OrderOption) *CredentialQuery + func (_q *CredentialQuery) QueryPrincipal() *PrincipalQuery + func (_q *CredentialQuery) Select(fields ...string) *CredentialSelect + func (_q *CredentialQuery) Unique(unique bool) *CredentialQuery + func (_q *CredentialQuery) Where(ps ...predicate.Credential) *CredentialQuery + func (_q *CredentialQuery) WithPrincipal(opts ...func(*PrincipalQuery)) *CredentialQuery + type CredentialSelect struct + func (_s *CredentialSelect) Aggregate(fns ...AggregateFunc) *CredentialSelect + func (_s *CredentialSelect) Scan(ctx context.Context, v any) error + func (s *CredentialSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *CredentialSelect) BoolX(ctx context.Context) bool + func (s *CredentialSelect) Bools(ctx context.Context) ([]bool, error) + func (s *CredentialSelect) BoolsX(ctx context.Context) []bool + func (s *CredentialSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *CredentialSelect) Float64X(ctx context.Context) float64 + func (s *CredentialSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *CredentialSelect) Float64sX(ctx context.Context) []float64 + func (s *CredentialSelect) Int(ctx context.Context) (_ int, err error) + func (s *CredentialSelect) IntX(ctx context.Context) int + func (s *CredentialSelect) Ints(ctx context.Context) ([]int, error) + func (s *CredentialSelect) IntsX(ctx context.Context) []int + func (s *CredentialSelect) ScanX(ctx context.Context, v any) + func (s *CredentialSelect) String(ctx context.Context) (_ string, err error) + func (s *CredentialSelect) StringX(ctx context.Context) string + func (s *CredentialSelect) Strings(ctx context.Context) ([]string, error) + func (s *CredentialSelect) StringsX(ctx context.Context) []string + type CredentialUpdate struct + func (_u *CredentialUpdate) AddWebauthnSignCount(v int32) *CredentialUpdate + func (_u *CredentialUpdate) AppendScopes(v []string) *CredentialUpdate + func (_u *CredentialUpdate) ClearExpiresAt() *CredentialUpdate + func (_u *CredentialUpdate) ClearIdentifier() *CredentialUpdate + func (_u *CredentialUpdate) ClearKeyAlgorithm() *CredentialUpdate + func (_u *CredentialUpdate) ClearKeyID() *CredentialUpdate + func (_u *CredentialUpdate) ClearLastUsedAt() *CredentialUpdate + func (_u *CredentialUpdate) ClearLastUsedIP() *CredentialUpdate + func (_u *CredentialUpdate) ClearMetadata() *CredentialUpdate + func (_u *CredentialUpdate) ClearName() *CredentialUpdate + func (_u *CredentialUpdate) ClearPrincipal() *CredentialUpdate + func (_u *CredentialUpdate) ClearPublicKey() *CredentialUpdate + func (_u *CredentialUpdate) ClearRevokedAt() *CredentialUpdate + func (_u *CredentialUpdate) ClearRevokedReason() *CredentialUpdate + func (_u *CredentialUpdate) ClearSecretHash() *CredentialUpdate + func (_u *CredentialUpdate) ClearWebauthnAaguid() *CredentialUpdate + func (_u *CredentialUpdate) ClearWebauthnCredentialID() *CredentialUpdate + func (_u *CredentialUpdate) ClearWebauthnPublicKey() *CredentialUpdate + func (_u *CredentialUpdate) ClearWebauthnSignCount() *CredentialUpdate + func (_u *CredentialUpdate) Exec(ctx context.Context) error + func (_u *CredentialUpdate) ExecX(ctx context.Context) + func (_u *CredentialUpdate) Mutation() *CredentialMutation + func (_u *CredentialUpdate) Save(ctx context.Context) (int, error) + func (_u *CredentialUpdate) SaveX(ctx context.Context) int + func (_u *CredentialUpdate) SetActive(v bool) *CredentialUpdate + func (_u *CredentialUpdate) SetExpiresAt(v time.Time) *CredentialUpdate + func (_u *CredentialUpdate) SetIdentifier(v string) *CredentialUpdate + func (_u *CredentialUpdate) SetKeyAlgorithm(v string) *CredentialUpdate + func (_u *CredentialUpdate) SetKeyID(v string) *CredentialUpdate + func (_u *CredentialUpdate) SetLastUsedAt(v time.Time) *CredentialUpdate + func (_u *CredentialUpdate) SetLastUsedIP(v string) *CredentialUpdate + func (_u *CredentialUpdate) SetMetadata(v map[string]interface{}) *CredentialUpdate + func (_u *CredentialUpdate) SetName(v string) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableActive(v *bool) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableExpiresAt(v *time.Time) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableIdentifier(v *string) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableKeyAlgorithm(v *string) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableKeyID(v *string) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableLastUsedAt(v *time.Time) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableLastUsedIP(v *string) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableName(v *string) *CredentialUpdate + func (_u *CredentialUpdate) SetNillablePrincipalID(v *uuid.UUID) *CredentialUpdate + func (_u *CredentialUpdate) SetNillablePublicKey(v *string) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableRevoked(v *bool) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableRevokedAt(v *time.Time) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableRevokedReason(v *string) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableSecretHash(v *string) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableType(v *credential.Type) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableWebauthnAaguid(v *string) *CredentialUpdate + func (_u *CredentialUpdate) SetNillableWebauthnSignCount(v *uint32) *CredentialUpdate + func (_u *CredentialUpdate) SetPrincipal(v *Principal) *CredentialUpdate + func (_u *CredentialUpdate) SetPrincipalID(v uuid.UUID) *CredentialUpdate + func (_u *CredentialUpdate) SetPublicKey(v string) *CredentialUpdate + func (_u *CredentialUpdate) SetRevoked(v bool) *CredentialUpdate + func (_u *CredentialUpdate) SetRevokedAt(v time.Time) *CredentialUpdate + func (_u *CredentialUpdate) SetRevokedReason(v string) *CredentialUpdate + func (_u *CredentialUpdate) SetScopes(v []string) *CredentialUpdate + func (_u *CredentialUpdate) SetSecretHash(v string) *CredentialUpdate + func (_u *CredentialUpdate) SetType(v credential.Type) *CredentialUpdate + func (_u *CredentialUpdate) SetUpdatedAt(v time.Time) *CredentialUpdate + func (_u *CredentialUpdate) SetWebauthnAaguid(v string) *CredentialUpdate + func (_u *CredentialUpdate) SetWebauthnCredentialID(v []byte) *CredentialUpdate + func (_u *CredentialUpdate) SetWebauthnPublicKey(v []byte) *CredentialUpdate + func (_u *CredentialUpdate) SetWebauthnSignCount(v uint32) *CredentialUpdate + func (_u *CredentialUpdate) Where(ps ...predicate.Credential) *CredentialUpdate + type CredentialUpdateOne struct + func (_u *CredentialUpdateOne) AddWebauthnSignCount(v int32) *CredentialUpdateOne + func (_u *CredentialUpdateOne) AppendScopes(v []string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearExpiresAt() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearIdentifier() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearKeyAlgorithm() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearKeyID() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearLastUsedAt() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearLastUsedIP() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearMetadata() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearName() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearPrincipal() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearPublicKey() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearRevokedAt() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearRevokedReason() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearSecretHash() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearWebauthnAaguid() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearWebauthnCredentialID() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearWebauthnPublicKey() *CredentialUpdateOne + func (_u *CredentialUpdateOne) ClearWebauthnSignCount() *CredentialUpdateOne + func (_u *CredentialUpdateOne) Exec(ctx context.Context) error + func (_u *CredentialUpdateOne) ExecX(ctx context.Context) + func (_u *CredentialUpdateOne) Mutation() *CredentialMutation + func (_u *CredentialUpdateOne) Save(ctx context.Context) (*Credential, error) + func (_u *CredentialUpdateOne) SaveX(ctx context.Context) *Credential + func (_u *CredentialUpdateOne) Select(field string, fields ...string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetActive(v bool) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetExpiresAt(v time.Time) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetIdentifier(v string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetKeyAlgorithm(v string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetKeyID(v string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetLastUsedAt(v time.Time) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetLastUsedIP(v string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetMetadata(v map[string]interface{}) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetName(v string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableActive(v *bool) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableExpiresAt(v *time.Time) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableIdentifier(v *string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableKeyAlgorithm(v *string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableKeyID(v *string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableLastUsedAt(v *time.Time) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableLastUsedIP(v *string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableName(v *string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillablePrincipalID(v *uuid.UUID) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillablePublicKey(v *string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableRevoked(v *bool) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableRevokedAt(v *time.Time) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableRevokedReason(v *string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableSecretHash(v *string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableType(v *credential.Type) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableWebauthnAaguid(v *string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetNillableWebauthnSignCount(v *uint32) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetPrincipal(v *Principal) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetPrincipalID(v uuid.UUID) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetPublicKey(v string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetRevoked(v bool) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetRevokedAt(v time.Time) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetRevokedReason(v string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetScopes(v []string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetSecretHash(v string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetType(v credential.Type) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetUpdatedAt(v time.Time) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetWebauthnAaguid(v string) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetWebauthnCredentialID(v []byte) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetWebauthnPublicKey(v []byte) *CredentialUpdateOne + func (_u *CredentialUpdateOne) SetWebauthnSignCount(v uint32) *CredentialUpdateOne + func (_u *CredentialUpdateOne) Where(ps ...predicate.Credential) *CredentialUpdateOne + type CredentialUpsert struct + func (u *CredentialUpsert) AddWebauthnSignCount(v uint32) *CredentialUpsert + func (u *CredentialUpsert) ClearExpiresAt() *CredentialUpsert + func (u *CredentialUpsert) ClearIdentifier() *CredentialUpsert + func (u *CredentialUpsert) ClearKeyAlgorithm() *CredentialUpsert + func (u *CredentialUpsert) ClearKeyID() *CredentialUpsert + func (u *CredentialUpsert) ClearLastUsedAt() *CredentialUpsert + func (u *CredentialUpsert) ClearLastUsedIP() *CredentialUpsert + func (u *CredentialUpsert) ClearMetadata() *CredentialUpsert + func (u *CredentialUpsert) ClearName() *CredentialUpsert + func (u *CredentialUpsert) ClearPublicKey() *CredentialUpsert + func (u *CredentialUpsert) ClearRevokedAt() *CredentialUpsert + func (u *CredentialUpsert) ClearRevokedReason() *CredentialUpsert + func (u *CredentialUpsert) ClearSecretHash() *CredentialUpsert + func (u *CredentialUpsert) ClearWebauthnAaguid() *CredentialUpsert + func (u *CredentialUpsert) ClearWebauthnCredentialID() *CredentialUpsert + func (u *CredentialUpsert) ClearWebauthnPublicKey() *CredentialUpsert + func (u *CredentialUpsert) ClearWebauthnSignCount() *CredentialUpsert + func (u *CredentialUpsert) SetActive(v bool) *CredentialUpsert + func (u *CredentialUpsert) SetExpiresAt(v time.Time) *CredentialUpsert + func (u *CredentialUpsert) SetIdentifier(v string) *CredentialUpsert + func (u *CredentialUpsert) SetKeyAlgorithm(v string) *CredentialUpsert + func (u *CredentialUpsert) SetKeyID(v string) *CredentialUpsert + func (u *CredentialUpsert) SetLastUsedAt(v time.Time) *CredentialUpsert + func (u *CredentialUpsert) SetLastUsedIP(v string) *CredentialUpsert + func (u *CredentialUpsert) SetMetadata(v map[string]interface{}) *CredentialUpsert + func (u *CredentialUpsert) SetName(v string) *CredentialUpsert + func (u *CredentialUpsert) SetPrincipalID(v uuid.UUID) *CredentialUpsert + func (u *CredentialUpsert) SetPublicKey(v string) *CredentialUpsert + func (u *CredentialUpsert) SetRevoked(v bool) *CredentialUpsert + func (u *CredentialUpsert) SetRevokedAt(v time.Time) *CredentialUpsert + func (u *CredentialUpsert) SetRevokedReason(v string) *CredentialUpsert + func (u *CredentialUpsert) SetScopes(v []string) *CredentialUpsert + func (u *CredentialUpsert) SetSecretHash(v string) *CredentialUpsert + func (u *CredentialUpsert) SetType(v credential.Type) *CredentialUpsert + func (u *CredentialUpsert) SetUpdatedAt(v time.Time) *CredentialUpsert + func (u *CredentialUpsert) SetWebauthnAaguid(v string) *CredentialUpsert + func (u *CredentialUpsert) SetWebauthnCredentialID(v []byte) *CredentialUpsert + func (u *CredentialUpsert) SetWebauthnPublicKey(v []byte) *CredentialUpsert + func (u *CredentialUpsert) SetWebauthnSignCount(v uint32) *CredentialUpsert + func (u *CredentialUpsert) UpdateActive() *CredentialUpsert + func (u *CredentialUpsert) UpdateExpiresAt() *CredentialUpsert + func (u *CredentialUpsert) UpdateIdentifier() *CredentialUpsert + func (u *CredentialUpsert) UpdateKeyAlgorithm() *CredentialUpsert + func (u *CredentialUpsert) UpdateKeyID() *CredentialUpsert + func (u *CredentialUpsert) UpdateLastUsedAt() *CredentialUpsert + func (u *CredentialUpsert) UpdateLastUsedIP() *CredentialUpsert + func (u *CredentialUpsert) UpdateMetadata() *CredentialUpsert + func (u *CredentialUpsert) UpdateName() *CredentialUpsert + func (u *CredentialUpsert) UpdatePrincipalID() *CredentialUpsert + func (u *CredentialUpsert) UpdatePublicKey() *CredentialUpsert + func (u *CredentialUpsert) UpdateRevoked() *CredentialUpsert + func (u *CredentialUpsert) UpdateRevokedAt() *CredentialUpsert + func (u *CredentialUpsert) UpdateRevokedReason() *CredentialUpsert + func (u *CredentialUpsert) UpdateScopes() *CredentialUpsert + func (u *CredentialUpsert) UpdateSecretHash() *CredentialUpsert + func (u *CredentialUpsert) UpdateType() *CredentialUpsert + func (u *CredentialUpsert) UpdateUpdatedAt() *CredentialUpsert + func (u *CredentialUpsert) UpdateWebauthnAaguid() *CredentialUpsert + func (u *CredentialUpsert) UpdateWebauthnCredentialID() *CredentialUpsert + func (u *CredentialUpsert) UpdateWebauthnPublicKey() *CredentialUpsert + func (u *CredentialUpsert) UpdateWebauthnSignCount() *CredentialUpsert + type CredentialUpsertBulk struct + func (u *CredentialUpsertBulk) AddWebauthnSignCount(v uint32) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearExpiresAt() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearIdentifier() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearKeyAlgorithm() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearKeyID() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearLastUsedAt() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearLastUsedIP() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearMetadata() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearName() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearPublicKey() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearRevokedAt() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearRevokedReason() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearSecretHash() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearWebauthnAaguid() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearWebauthnCredentialID() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearWebauthnPublicKey() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) ClearWebauthnSignCount() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) DoNothing() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) Exec(ctx context.Context) error + func (u *CredentialUpsertBulk) ExecX(ctx context.Context) + func (u *CredentialUpsertBulk) Ignore() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetActive(v bool) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetExpiresAt(v time.Time) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetIdentifier(v string) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetKeyAlgorithm(v string) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetKeyID(v string) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetLastUsedAt(v time.Time) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetLastUsedIP(v string) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetMetadata(v map[string]interface{}) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetName(v string) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetPrincipalID(v uuid.UUID) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetPublicKey(v string) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetRevoked(v bool) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetRevokedAt(v time.Time) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetRevokedReason(v string) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetScopes(v []string) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetSecretHash(v string) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetType(v credential.Type) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetUpdatedAt(v time.Time) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetWebauthnAaguid(v string) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetWebauthnCredentialID(v []byte) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetWebauthnPublicKey(v []byte) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) SetWebauthnSignCount(v uint32) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) Update(set func(*CredentialUpsert)) *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateActive() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateExpiresAt() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateIdentifier() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateKeyAlgorithm() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateKeyID() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateLastUsedAt() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateLastUsedIP() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateMetadata() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateName() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateNewValues() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdatePrincipalID() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdatePublicKey() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateRevoked() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateRevokedAt() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateRevokedReason() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateScopes() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateSecretHash() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateType() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateUpdatedAt() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateWebauthnAaguid() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateWebauthnCredentialID() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateWebauthnPublicKey() *CredentialUpsertBulk + func (u *CredentialUpsertBulk) UpdateWebauthnSignCount() *CredentialUpsertBulk + type CredentialUpsertOne struct + func (u *CredentialUpsertOne) AddWebauthnSignCount(v uint32) *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearExpiresAt() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearIdentifier() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearKeyAlgorithm() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearKeyID() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearLastUsedAt() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearLastUsedIP() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearMetadata() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearName() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearPublicKey() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearRevokedAt() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearRevokedReason() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearSecretHash() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearWebauthnAaguid() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearWebauthnCredentialID() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearWebauthnPublicKey() *CredentialUpsertOne + func (u *CredentialUpsertOne) ClearWebauthnSignCount() *CredentialUpsertOne + func (u *CredentialUpsertOne) DoNothing() *CredentialUpsertOne + func (u *CredentialUpsertOne) Exec(ctx context.Context) error + func (u *CredentialUpsertOne) ExecX(ctx context.Context) + func (u *CredentialUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *CredentialUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *CredentialUpsertOne) Ignore() *CredentialUpsertOne + func (u *CredentialUpsertOne) SetActive(v bool) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetExpiresAt(v time.Time) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetIdentifier(v string) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetKeyAlgorithm(v string) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetKeyID(v string) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetLastUsedAt(v time.Time) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetLastUsedIP(v string) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetMetadata(v map[string]interface{}) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetName(v string) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetPrincipalID(v uuid.UUID) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetPublicKey(v string) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetRevoked(v bool) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetRevokedAt(v time.Time) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetRevokedReason(v string) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetScopes(v []string) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetSecretHash(v string) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetType(v credential.Type) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetUpdatedAt(v time.Time) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetWebauthnAaguid(v string) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetWebauthnCredentialID(v []byte) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetWebauthnPublicKey(v []byte) *CredentialUpsertOne + func (u *CredentialUpsertOne) SetWebauthnSignCount(v uint32) *CredentialUpsertOne + func (u *CredentialUpsertOne) Update(set func(*CredentialUpsert)) *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateActive() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateExpiresAt() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateIdentifier() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateKeyAlgorithm() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateKeyID() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateLastUsedAt() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateLastUsedIP() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateMetadata() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateName() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateNewValues() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdatePrincipalID() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdatePublicKey() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateRevoked() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateRevokedAt() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateRevokedReason() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateScopes() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateSecretHash() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateType() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateUpdatedAt() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateWebauthnAaguid() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateWebauthnCredentialID() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateWebauthnPublicKey() *CredentialUpsertOne + func (u *CredentialUpsertOne) UpdateWebauthnSignCount() *CredentialUpsertOne + type Credentials []*Credential + type Hook = ent.Hook + type Human struct + AvatarURL *string + CreatedAt time.Time + Edges HumanEdges + Email string + EmailVerifiedAt *time.Time + FamilyName string + GivenName string + ID uuid.UUID + IsPlatformAdmin bool + LastLoginAt *time.Time + Locale string + PrincipalID uuid.UUID + Timezone string + UpdatedAt time.Time + func (_m *Human) QueryPrincipal() *PrincipalQuery + func (_m *Human) String() string + func (_m *Human) Unwrap() *Human + func (_m *Human) Update() *HumanUpdateOne + func (_m *Human) Value(name string) (ent.Value, error) + type HumanClient struct + func NewHumanClient(c config) *HumanClient + func (c *HumanClient) Create() *HumanCreate + func (c *HumanClient) CreateBulk(builders ...*HumanCreate) *HumanCreateBulk + func (c *HumanClient) Delete() *HumanDelete + func (c *HumanClient) DeleteOne(_m *Human) *HumanDeleteOne + func (c *HumanClient) DeleteOneID(id uuid.UUID) *HumanDeleteOne + func (c *HumanClient) Get(ctx context.Context, id uuid.UUID) (*Human, error) + func (c *HumanClient) GetX(ctx context.Context, id uuid.UUID) *Human + func (c *HumanClient) Hooks() []Hook + func (c *HumanClient) Intercept(interceptors ...Interceptor) + func (c *HumanClient) Interceptors() []Interceptor + func (c *HumanClient) MapCreateBulk(slice any, setFunc func(*HumanCreate, int)) *HumanCreateBulk + func (c *HumanClient) Query() *HumanQuery + func (c *HumanClient) QueryPrincipal(_m *Human) *PrincipalQuery + func (c *HumanClient) Update() *HumanUpdate + func (c *HumanClient) UpdateOne(_m *Human) *HumanUpdateOne + func (c *HumanClient) UpdateOneID(id uuid.UUID) *HumanUpdateOne + func (c *HumanClient) Use(hooks ...Hook) + type HumanCreate struct + func (_c *HumanCreate) Exec(ctx context.Context) error + func (_c *HumanCreate) ExecX(ctx context.Context) + func (_c *HumanCreate) Mutation() *HumanMutation + func (_c *HumanCreate) OnConflict(opts ...sql.ConflictOption) *HumanUpsertOne + func (_c *HumanCreate) OnConflictColumns(columns ...string) *HumanUpsertOne + func (_c *HumanCreate) Save(ctx context.Context) (*Human, error) + func (_c *HumanCreate) SaveX(ctx context.Context) *Human + func (_c *HumanCreate) SetAvatarURL(v string) *HumanCreate + func (_c *HumanCreate) SetCreatedAt(v time.Time) *HumanCreate + func (_c *HumanCreate) SetEmail(v string) *HumanCreate + func (_c *HumanCreate) SetEmailVerifiedAt(v time.Time) *HumanCreate + func (_c *HumanCreate) SetFamilyName(v string) *HumanCreate + func (_c *HumanCreate) SetGivenName(v string) *HumanCreate + func (_c *HumanCreate) SetID(v uuid.UUID) *HumanCreate + func (_c *HumanCreate) SetIsPlatformAdmin(v bool) *HumanCreate + func (_c *HumanCreate) SetLastLoginAt(v time.Time) *HumanCreate + func (_c *HumanCreate) SetLocale(v string) *HumanCreate + func (_c *HumanCreate) SetNillableAvatarURL(v *string) *HumanCreate + func (_c *HumanCreate) SetNillableCreatedAt(v *time.Time) *HumanCreate + func (_c *HumanCreate) SetNillableEmailVerifiedAt(v *time.Time) *HumanCreate + func (_c *HumanCreate) SetNillableFamilyName(v *string) *HumanCreate + func (_c *HumanCreate) SetNillableGivenName(v *string) *HumanCreate + func (_c *HumanCreate) SetNillableID(v *uuid.UUID) *HumanCreate + func (_c *HumanCreate) SetNillableIsPlatformAdmin(v *bool) *HumanCreate + func (_c *HumanCreate) SetNillableLastLoginAt(v *time.Time) *HumanCreate + func (_c *HumanCreate) SetNillableLocale(v *string) *HumanCreate + func (_c *HumanCreate) SetNillableTimezone(v *string) *HumanCreate + func (_c *HumanCreate) SetNillableUpdatedAt(v *time.Time) *HumanCreate + func (_c *HumanCreate) SetPrincipal(v *Principal) *HumanCreate + func (_c *HumanCreate) SetPrincipalID(v uuid.UUID) *HumanCreate + func (_c *HumanCreate) SetTimezone(v string) *HumanCreate + func (_c *HumanCreate) SetUpdatedAt(v time.Time) *HumanCreate + type HumanCreateBulk struct + func (_c *HumanCreateBulk) Exec(ctx context.Context) error + func (_c *HumanCreateBulk) ExecX(ctx context.Context) + func (_c *HumanCreateBulk) OnConflict(opts ...sql.ConflictOption) *HumanUpsertBulk + func (_c *HumanCreateBulk) OnConflictColumns(columns ...string) *HumanUpsertBulk + func (_c *HumanCreateBulk) Save(ctx context.Context) ([]*Human, error) + func (_c *HumanCreateBulk) SaveX(ctx context.Context) []*Human + type HumanDelete struct + func (_d *HumanDelete) Exec(ctx context.Context) (int, error) + func (_d *HumanDelete) ExecX(ctx context.Context) int + func (_d *HumanDelete) Where(ps ...predicate.Human) *HumanDelete + type HumanDeleteOne struct + func (_d *HumanDeleteOne) Exec(ctx context.Context) error + func (_d *HumanDeleteOne) ExecX(ctx context.Context) + func (_d *HumanDeleteOne) Where(ps ...predicate.Human) *HumanDeleteOne + type HumanEdges struct + Principal *Principal + func (e HumanEdges) PrincipalOrErr() (*Principal, error) + type HumanFilter struct + func (f *HumanFilter) Where(p entql.P) + func (f *HumanFilter) WhereAvatarURL(p entql.StringP) + func (f *HumanFilter) WhereCreatedAt(p entql.TimeP) + func (f *HumanFilter) WhereEmail(p entql.StringP) + func (f *HumanFilter) WhereEmailVerifiedAt(p entql.TimeP) + func (f *HumanFilter) WhereFamilyName(p entql.StringP) + func (f *HumanFilter) WhereGivenName(p entql.StringP) + func (f *HumanFilter) WhereHasPrincipal() + func (f *HumanFilter) WhereHasPrincipalWith(preds ...predicate.Principal) + func (f *HumanFilter) WhereID(p entql.ValueP) + func (f *HumanFilter) WhereIsPlatformAdmin(p entql.BoolP) + func (f *HumanFilter) WhereLastLoginAt(p entql.TimeP) + func (f *HumanFilter) WhereLocale(p entql.StringP) + func (f *HumanFilter) WherePrincipalID(p entql.ValueP) + func (f *HumanFilter) WhereTimezone(p entql.StringP) + func (f *HumanFilter) WhereUpdatedAt(p entql.TimeP) + type HumanGroupBy struct + func (_g *HumanGroupBy) Aggregate(fns ...AggregateFunc) *HumanGroupBy + func (_g *HumanGroupBy) Scan(ctx context.Context, v any) error + func (s *HumanGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *HumanGroupBy) BoolX(ctx context.Context) bool + func (s *HumanGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *HumanGroupBy) BoolsX(ctx context.Context) []bool + func (s *HumanGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *HumanGroupBy) Float64X(ctx context.Context) float64 + func (s *HumanGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *HumanGroupBy) Float64sX(ctx context.Context) []float64 + func (s *HumanGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *HumanGroupBy) IntX(ctx context.Context) int + func (s *HumanGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *HumanGroupBy) IntsX(ctx context.Context) []int + func (s *HumanGroupBy) ScanX(ctx context.Context, v any) + func (s *HumanGroupBy) String(ctx context.Context) (_ string, err error) + func (s *HumanGroupBy) StringX(ctx context.Context) string + func (s *HumanGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *HumanGroupBy) StringsX(ctx context.Context) []string + type HumanMutation struct + func (m *HumanMutation) AddField(name string, value ent.Value) error + func (m *HumanMutation) AddedEdges() []string + func (m *HumanMutation) AddedField(name string) (ent.Value, bool) + func (m *HumanMutation) AddedFields() []string + func (m *HumanMutation) AddedIDs(name string) []ent.Value + func (m *HumanMutation) AvatarURL() (r string, exists bool) + func (m *HumanMutation) AvatarURLCleared() bool + func (m *HumanMutation) ClearAvatarURL() + func (m *HumanMutation) ClearEdge(name string) error + func (m *HumanMutation) ClearEmailVerifiedAt() + func (m *HumanMutation) ClearFamilyName() + func (m *HumanMutation) ClearField(name string) error + func (m *HumanMutation) ClearGivenName() + func (m *HumanMutation) ClearLastLoginAt() + func (m *HumanMutation) ClearLocale() + func (m *HumanMutation) ClearPrincipal() + func (m *HumanMutation) ClearTimezone() + func (m *HumanMutation) ClearedEdges() []string + func (m *HumanMutation) ClearedFields() []string + func (m *HumanMutation) CreatedAt() (r time.Time, exists bool) + func (m *HumanMutation) EdgeCleared(name string) bool + func (m *HumanMutation) Email() (r string, exists bool) + func (m *HumanMutation) EmailVerifiedAt() (r time.Time, exists bool) + func (m *HumanMutation) EmailVerifiedAtCleared() bool + func (m *HumanMutation) FamilyName() (r string, exists bool) + func (m *HumanMutation) FamilyNameCleared() bool + func (m *HumanMutation) Field(name string) (ent.Value, bool) + func (m *HumanMutation) FieldCleared(name string) bool + func (m *HumanMutation) Fields() []string + func (m *HumanMutation) Filter() *HumanFilter + func (m *HumanMutation) GivenName() (r string, exists bool) + func (m *HumanMutation) GivenNameCleared() bool + func (m *HumanMutation) ID() (id uuid.UUID, exists bool) + func (m *HumanMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *HumanMutation) IsPlatformAdmin() (r bool, exists bool) + func (m *HumanMutation) LastLoginAt() (r time.Time, exists bool) + func (m *HumanMutation) LastLoginAtCleared() bool + func (m *HumanMutation) Locale() (r string, exists bool) + func (m *HumanMutation) LocaleCleared() bool + func (m *HumanMutation) OldAvatarURL(ctx context.Context) (v *string, err error) + func (m *HumanMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *HumanMutation) OldEmail(ctx context.Context) (v string, err error) + func (m *HumanMutation) OldEmailVerifiedAt(ctx context.Context) (v *time.Time, err error) + func (m *HumanMutation) OldFamilyName(ctx context.Context) (v string, err error) + func (m *HumanMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *HumanMutation) OldGivenName(ctx context.Context) (v string, err error) + func (m *HumanMutation) OldIsPlatformAdmin(ctx context.Context) (v bool, err error) + func (m *HumanMutation) OldLastLoginAt(ctx context.Context) (v *time.Time, err error) + func (m *HumanMutation) OldLocale(ctx context.Context) (v string, err error) + func (m *HumanMutation) OldPrincipalID(ctx context.Context) (v uuid.UUID, err error) + func (m *HumanMutation) OldTimezone(ctx context.Context) (v string, err error) + func (m *HumanMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *HumanMutation) Op() Op + func (m *HumanMutation) PrincipalCleared() bool + func (m *HumanMutation) PrincipalID() (r uuid.UUID, exists bool) + func (m *HumanMutation) PrincipalIDs() (ids []uuid.UUID) + func (m *HumanMutation) RemovedEdges() []string + func (m *HumanMutation) RemovedIDs(name string) []ent.Value + func (m *HumanMutation) ResetAvatarURL() + func (m *HumanMutation) ResetCreatedAt() + func (m *HumanMutation) ResetEdge(name string) error + func (m *HumanMutation) ResetEmail() + func (m *HumanMutation) ResetEmailVerifiedAt() + func (m *HumanMutation) ResetFamilyName() + func (m *HumanMutation) ResetField(name string) error + func (m *HumanMutation) ResetGivenName() + func (m *HumanMutation) ResetIsPlatformAdmin() + func (m *HumanMutation) ResetLastLoginAt() + func (m *HumanMutation) ResetLocale() + func (m *HumanMutation) ResetPrincipal() + func (m *HumanMutation) ResetPrincipalID() + func (m *HumanMutation) ResetTimezone() + func (m *HumanMutation) ResetUpdatedAt() + func (m *HumanMutation) SetAvatarURL(s string) + func (m *HumanMutation) SetCreatedAt(t time.Time) + func (m *HumanMutation) SetEmail(s string) + func (m *HumanMutation) SetEmailVerifiedAt(t time.Time) + func (m *HumanMutation) SetFamilyName(s string) + func (m *HumanMutation) SetField(name string, value ent.Value) error + func (m *HumanMutation) SetGivenName(s string) + func (m *HumanMutation) SetID(id uuid.UUID) + func (m *HumanMutation) SetIsPlatformAdmin(b bool) + func (m *HumanMutation) SetLastLoginAt(t time.Time) + func (m *HumanMutation) SetLocale(s string) + func (m *HumanMutation) SetOp(op Op) + func (m *HumanMutation) SetPrincipalID(u uuid.UUID) + func (m *HumanMutation) SetTimezone(s string) + func (m *HumanMutation) SetUpdatedAt(t time.Time) + func (m *HumanMutation) Timezone() (r string, exists bool) + func (m *HumanMutation) TimezoneCleared() bool + func (m *HumanMutation) Type() string + func (m *HumanMutation) UpdatedAt() (r time.Time, exists bool) + func (m *HumanMutation) Where(ps ...predicate.Human) + func (m *HumanMutation) WhereP(ps ...func(*sql.Selector)) + func (m HumanMutation) Client() *Client + func (m HumanMutation) Tx() (*Tx, error) + type HumanQuery struct + func (_q *HumanQuery) Aggregate(fns ...AggregateFunc) *HumanSelect + func (_q *HumanQuery) All(ctx context.Context) ([]*Human, error) + func (_q *HumanQuery) AllX(ctx context.Context) []*Human + func (_q *HumanQuery) Clone() *HumanQuery + func (_q *HumanQuery) Count(ctx context.Context) (int, error) + func (_q *HumanQuery) CountX(ctx context.Context) int + func (_q *HumanQuery) Exist(ctx context.Context) (bool, error) + func (_q *HumanQuery) ExistX(ctx context.Context) bool + func (_q *HumanQuery) Filter() *HumanFilter + func (_q *HumanQuery) First(ctx context.Context) (*Human, error) + func (_q *HumanQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *HumanQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *HumanQuery) FirstX(ctx context.Context) *Human + func (_q *HumanQuery) GroupBy(field string, fields ...string) *HumanGroupBy + func (_q *HumanQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *HumanQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *HumanQuery) Limit(limit int) *HumanQuery + func (_q *HumanQuery) Offset(offset int) *HumanQuery + func (_q *HumanQuery) Only(ctx context.Context) (*Human, error) + func (_q *HumanQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *HumanQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *HumanQuery) OnlyX(ctx context.Context) *Human + func (_q *HumanQuery) Order(o ...human.OrderOption) *HumanQuery + func (_q *HumanQuery) QueryPrincipal() *PrincipalQuery + func (_q *HumanQuery) Select(fields ...string) *HumanSelect + func (_q *HumanQuery) Unique(unique bool) *HumanQuery + func (_q *HumanQuery) Where(ps ...predicate.Human) *HumanQuery + func (_q *HumanQuery) WithPrincipal(opts ...func(*PrincipalQuery)) *HumanQuery + type HumanSelect struct + func (_s *HumanSelect) Aggregate(fns ...AggregateFunc) *HumanSelect + func (_s *HumanSelect) Scan(ctx context.Context, v any) error + func (s *HumanSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *HumanSelect) BoolX(ctx context.Context) bool + func (s *HumanSelect) Bools(ctx context.Context) ([]bool, error) + func (s *HumanSelect) BoolsX(ctx context.Context) []bool + func (s *HumanSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *HumanSelect) Float64X(ctx context.Context) float64 + func (s *HumanSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *HumanSelect) Float64sX(ctx context.Context) []float64 + func (s *HumanSelect) Int(ctx context.Context) (_ int, err error) + func (s *HumanSelect) IntX(ctx context.Context) int + func (s *HumanSelect) Ints(ctx context.Context) ([]int, error) + func (s *HumanSelect) IntsX(ctx context.Context) []int + func (s *HumanSelect) ScanX(ctx context.Context, v any) + func (s *HumanSelect) String(ctx context.Context) (_ string, err error) + func (s *HumanSelect) StringX(ctx context.Context) string + func (s *HumanSelect) Strings(ctx context.Context) ([]string, error) + func (s *HumanSelect) StringsX(ctx context.Context) []string + type HumanUpdate struct + func (_u *HumanUpdate) ClearAvatarURL() *HumanUpdate + func (_u *HumanUpdate) ClearEmailVerifiedAt() *HumanUpdate + func (_u *HumanUpdate) ClearFamilyName() *HumanUpdate + func (_u *HumanUpdate) ClearGivenName() *HumanUpdate + func (_u *HumanUpdate) ClearLastLoginAt() *HumanUpdate + func (_u *HumanUpdate) ClearLocale() *HumanUpdate + func (_u *HumanUpdate) ClearTimezone() *HumanUpdate + func (_u *HumanUpdate) Exec(ctx context.Context) error + func (_u *HumanUpdate) ExecX(ctx context.Context) + func (_u *HumanUpdate) Mutation() *HumanMutation + func (_u *HumanUpdate) Save(ctx context.Context) (int, error) + func (_u *HumanUpdate) SaveX(ctx context.Context) int + func (_u *HumanUpdate) SetAvatarURL(v string) *HumanUpdate + func (_u *HumanUpdate) SetEmail(v string) *HumanUpdate + func (_u *HumanUpdate) SetEmailVerifiedAt(v time.Time) *HumanUpdate + func (_u *HumanUpdate) SetFamilyName(v string) *HumanUpdate + func (_u *HumanUpdate) SetGivenName(v string) *HumanUpdate + func (_u *HumanUpdate) SetIsPlatformAdmin(v bool) *HumanUpdate + func (_u *HumanUpdate) SetLastLoginAt(v time.Time) *HumanUpdate + func (_u *HumanUpdate) SetLocale(v string) *HumanUpdate + func (_u *HumanUpdate) SetNillableAvatarURL(v *string) *HumanUpdate + func (_u *HumanUpdate) SetNillableEmail(v *string) *HumanUpdate + func (_u *HumanUpdate) SetNillableEmailVerifiedAt(v *time.Time) *HumanUpdate + func (_u *HumanUpdate) SetNillableFamilyName(v *string) *HumanUpdate + func (_u *HumanUpdate) SetNillableGivenName(v *string) *HumanUpdate + func (_u *HumanUpdate) SetNillableIsPlatformAdmin(v *bool) *HumanUpdate + func (_u *HumanUpdate) SetNillableLastLoginAt(v *time.Time) *HumanUpdate + func (_u *HumanUpdate) SetNillableLocale(v *string) *HumanUpdate + func (_u *HumanUpdate) SetNillableTimezone(v *string) *HumanUpdate + func (_u *HumanUpdate) SetTimezone(v string) *HumanUpdate + func (_u *HumanUpdate) SetUpdatedAt(v time.Time) *HumanUpdate + func (_u *HumanUpdate) Where(ps ...predicate.Human) *HumanUpdate + type HumanUpdateOne struct + func (_u *HumanUpdateOne) ClearAvatarURL() *HumanUpdateOne + func (_u *HumanUpdateOne) ClearEmailVerifiedAt() *HumanUpdateOne + func (_u *HumanUpdateOne) ClearFamilyName() *HumanUpdateOne + func (_u *HumanUpdateOne) ClearGivenName() *HumanUpdateOne + func (_u *HumanUpdateOne) ClearLastLoginAt() *HumanUpdateOne + func (_u *HumanUpdateOne) ClearLocale() *HumanUpdateOne + func (_u *HumanUpdateOne) ClearTimezone() *HumanUpdateOne + func (_u *HumanUpdateOne) Exec(ctx context.Context) error + func (_u *HumanUpdateOne) ExecX(ctx context.Context) + func (_u *HumanUpdateOne) Mutation() *HumanMutation + func (_u *HumanUpdateOne) Save(ctx context.Context) (*Human, error) + func (_u *HumanUpdateOne) SaveX(ctx context.Context) *Human + func (_u *HumanUpdateOne) Select(field string, fields ...string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetAvatarURL(v string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetEmail(v string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetEmailVerifiedAt(v time.Time) *HumanUpdateOne + func (_u *HumanUpdateOne) SetFamilyName(v string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetGivenName(v string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetIsPlatformAdmin(v bool) *HumanUpdateOne + func (_u *HumanUpdateOne) SetLastLoginAt(v time.Time) *HumanUpdateOne + func (_u *HumanUpdateOne) SetLocale(v string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetNillableAvatarURL(v *string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetNillableEmail(v *string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetNillableEmailVerifiedAt(v *time.Time) *HumanUpdateOne + func (_u *HumanUpdateOne) SetNillableFamilyName(v *string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetNillableGivenName(v *string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetNillableIsPlatformAdmin(v *bool) *HumanUpdateOne + func (_u *HumanUpdateOne) SetNillableLastLoginAt(v *time.Time) *HumanUpdateOne + func (_u *HumanUpdateOne) SetNillableLocale(v *string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetNillableTimezone(v *string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetTimezone(v string) *HumanUpdateOne + func (_u *HumanUpdateOne) SetUpdatedAt(v time.Time) *HumanUpdateOne + func (_u *HumanUpdateOne) Where(ps ...predicate.Human) *HumanUpdateOne + type HumanUpsert struct + func (u *HumanUpsert) ClearAvatarURL() *HumanUpsert + func (u *HumanUpsert) ClearEmailVerifiedAt() *HumanUpsert + func (u *HumanUpsert) ClearFamilyName() *HumanUpsert + func (u *HumanUpsert) ClearGivenName() *HumanUpsert + func (u *HumanUpsert) ClearLastLoginAt() *HumanUpsert + func (u *HumanUpsert) ClearLocale() *HumanUpsert + func (u *HumanUpsert) ClearTimezone() *HumanUpsert + func (u *HumanUpsert) SetAvatarURL(v string) *HumanUpsert + func (u *HumanUpsert) SetEmail(v string) *HumanUpsert + func (u *HumanUpsert) SetEmailVerifiedAt(v time.Time) *HumanUpsert + func (u *HumanUpsert) SetFamilyName(v string) *HumanUpsert + func (u *HumanUpsert) SetGivenName(v string) *HumanUpsert + func (u *HumanUpsert) SetIsPlatformAdmin(v bool) *HumanUpsert + func (u *HumanUpsert) SetLastLoginAt(v time.Time) *HumanUpsert + func (u *HumanUpsert) SetLocale(v string) *HumanUpsert + func (u *HumanUpsert) SetTimezone(v string) *HumanUpsert + func (u *HumanUpsert) SetUpdatedAt(v time.Time) *HumanUpsert + func (u *HumanUpsert) UpdateAvatarURL() *HumanUpsert + func (u *HumanUpsert) UpdateEmail() *HumanUpsert + func (u *HumanUpsert) UpdateEmailVerifiedAt() *HumanUpsert + func (u *HumanUpsert) UpdateFamilyName() *HumanUpsert + func (u *HumanUpsert) UpdateGivenName() *HumanUpsert + func (u *HumanUpsert) UpdateIsPlatformAdmin() *HumanUpsert + func (u *HumanUpsert) UpdateLastLoginAt() *HumanUpsert + func (u *HumanUpsert) UpdateLocale() *HumanUpsert + func (u *HumanUpsert) UpdateTimezone() *HumanUpsert + func (u *HumanUpsert) UpdateUpdatedAt() *HumanUpsert + type HumanUpsertBulk struct + func (u *HumanUpsertBulk) ClearAvatarURL() *HumanUpsertBulk + func (u *HumanUpsertBulk) ClearEmailVerifiedAt() *HumanUpsertBulk + func (u *HumanUpsertBulk) ClearFamilyName() *HumanUpsertBulk + func (u *HumanUpsertBulk) ClearGivenName() *HumanUpsertBulk + func (u *HumanUpsertBulk) ClearLastLoginAt() *HumanUpsertBulk + func (u *HumanUpsertBulk) ClearLocale() *HumanUpsertBulk + func (u *HumanUpsertBulk) ClearTimezone() *HumanUpsertBulk + func (u *HumanUpsertBulk) DoNothing() *HumanUpsertBulk + func (u *HumanUpsertBulk) Exec(ctx context.Context) error + func (u *HumanUpsertBulk) ExecX(ctx context.Context) + func (u *HumanUpsertBulk) Ignore() *HumanUpsertBulk + func (u *HumanUpsertBulk) SetAvatarURL(v string) *HumanUpsertBulk + func (u *HumanUpsertBulk) SetEmail(v string) *HumanUpsertBulk + func (u *HumanUpsertBulk) SetEmailVerifiedAt(v time.Time) *HumanUpsertBulk + func (u *HumanUpsertBulk) SetFamilyName(v string) *HumanUpsertBulk + func (u *HumanUpsertBulk) SetGivenName(v string) *HumanUpsertBulk + func (u *HumanUpsertBulk) SetIsPlatformAdmin(v bool) *HumanUpsertBulk + func (u *HumanUpsertBulk) SetLastLoginAt(v time.Time) *HumanUpsertBulk + func (u *HumanUpsertBulk) SetLocale(v string) *HumanUpsertBulk + func (u *HumanUpsertBulk) SetTimezone(v string) *HumanUpsertBulk + func (u *HumanUpsertBulk) SetUpdatedAt(v time.Time) *HumanUpsertBulk + func (u *HumanUpsertBulk) Update(set func(*HumanUpsert)) *HumanUpsertBulk + func (u *HumanUpsertBulk) UpdateAvatarURL() *HumanUpsertBulk + func (u *HumanUpsertBulk) UpdateEmail() *HumanUpsertBulk + func (u *HumanUpsertBulk) UpdateEmailVerifiedAt() *HumanUpsertBulk + func (u *HumanUpsertBulk) UpdateFamilyName() *HumanUpsertBulk + func (u *HumanUpsertBulk) UpdateGivenName() *HumanUpsertBulk + func (u *HumanUpsertBulk) UpdateIsPlatformAdmin() *HumanUpsertBulk + func (u *HumanUpsertBulk) UpdateLastLoginAt() *HumanUpsertBulk + func (u *HumanUpsertBulk) UpdateLocale() *HumanUpsertBulk + func (u *HumanUpsertBulk) UpdateNewValues() *HumanUpsertBulk + func (u *HumanUpsertBulk) UpdateTimezone() *HumanUpsertBulk + func (u *HumanUpsertBulk) UpdateUpdatedAt() *HumanUpsertBulk + type HumanUpsertOne struct + func (u *HumanUpsertOne) ClearAvatarURL() *HumanUpsertOne + func (u *HumanUpsertOne) ClearEmailVerifiedAt() *HumanUpsertOne + func (u *HumanUpsertOne) ClearFamilyName() *HumanUpsertOne + func (u *HumanUpsertOne) ClearGivenName() *HumanUpsertOne + func (u *HumanUpsertOne) ClearLastLoginAt() *HumanUpsertOne + func (u *HumanUpsertOne) ClearLocale() *HumanUpsertOne + func (u *HumanUpsertOne) ClearTimezone() *HumanUpsertOne + func (u *HumanUpsertOne) DoNothing() *HumanUpsertOne + func (u *HumanUpsertOne) Exec(ctx context.Context) error + func (u *HumanUpsertOne) ExecX(ctx context.Context) + func (u *HumanUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *HumanUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *HumanUpsertOne) Ignore() *HumanUpsertOne + func (u *HumanUpsertOne) SetAvatarURL(v string) *HumanUpsertOne + func (u *HumanUpsertOne) SetEmail(v string) *HumanUpsertOne + func (u *HumanUpsertOne) SetEmailVerifiedAt(v time.Time) *HumanUpsertOne + func (u *HumanUpsertOne) SetFamilyName(v string) *HumanUpsertOne + func (u *HumanUpsertOne) SetGivenName(v string) *HumanUpsertOne + func (u *HumanUpsertOne) SetIsPlatformAdmin(v bool) *HumanUpsertOne + func (u *HumanUpsertOne) SetLastLoginAt(v time.Time) *HumanUpsertOne + func (u *HumanUpsertOne) SetLocale(v string) *HumanUpsertOne + func (u *HumanUpsertOne) SetTimezone(v string) *HumanUpsertOne + func (u *HumanUpsertOne) SetUpdatedAt(v time.Time) *HumanUpsertOne + func (u *HumanUpsertOne) Update(set func(*HumanUpsert)) *HumanUpsertOne + func (u *HumanUpsertOne) UpdateAvatarURL() *HumanUpsertOne + func (u *HumanUpsertOne) UpdateEmail() *HumanUpsertOne + func (u *HumanUpsertOne) UpdateEmailVerifiedAt() *HumanUpsertOne + func (u *HumanUpsertOne) UpdateFamilyName() *HumanUpsertOne + func (u *HumanUpsertOne) UpdateGivenName() *HumanUpsertOne + func (u *HumanUpsertOne) UpdateIsPlatformAdmin() *HumanUpsertOne + func (u *HumanUpsertOne) UpdateLastLoginAt() *HumanUpsertOne + func (u *HumanUpsertOne) UpdateLocale() *HumanUpsertOne + func (u *HumanUpsertOne) UpdateNewValues() *HumanUpsertOne + func (u *HumanUpsertOne) UpdateTimezone() *HumanUpsertOne + func (u *HumanUpsertOne) UpdateUpdatedAt() *HumanUpsertOne + type Humen []*Human + type InterceptFunc = ent.InterceptFunc + type Interceptor = ent.Interceptor + type Invite struct + AcceptedAt *time.Time + AcceptedByPrincipalID *uuid.UUID + CreatedAt time.Time + Edges InviteEdges + Email string + ExpiresAt time.Time + ID uuid.UUID + InviterPrincipalID uuid.UUID + LastSentAt time.Time + Message *string + OrganizationID uuid.UUID + ResendCount int + Role string + Status invite.Status + Token string + UpdatedAt time.Time + func (_m *Invite) QueryInviter() *PrincipalQuery + func (_m *Invite) QueryOrganization() *OrganizationQuery + func (_m *Invite) String() string + func (_m *Invite) Unwrap() *Invite + func (_m *Invite) Update() *InviteUpdateOne + func (_m *Invite) Value(name string) (ent.Value, error) + type InviteClient struct + func NewInviteClient(c config) *InviteClient + func (c *InviteClient) Create() *InviteCreate + func (c *InviteClient) CreateBulk(builders ...*InviteCreate) *InviteCreateBulk + func (c *InviteClient) Delete() *InviteDelete + func (c *InviteClient) DeleteOne(_m *Invite) *InviteDeleteOne + func (c *InviteClient) DeleteOneID(id uuid.UUID) *InviteDeleteOne + func (c *InviteClient) Get(ctx context.Context, id uuid.UUID) (*Invite, error) + func (c *InviteClient) GetX(ctx context.Context, id uuid.UUID) *Invite + func (c *InviteClient) Hooks() []Hook + func (c *InviteClient) Intercept(interceptors ...Interceptor) + func (c *InviteClient) Interceptors() []Interceptor + func (c *InviteClient) MapCreateBulk(slice any, setFunc func(*InviteCreate, int)) *InviteCreateBulk + func (c *InviteClient) Query() *InviteQuery + func (c *InviteClient) QueryInviter(_m *Invite) *PrincipalQuery + func (c *InviteClient) QueryOrganization(_m *Invite) *OrganizationQuery + func (c *InviteClient) Update() *InviteUpdate + func (c *InviteClient) UpdateOne(_m *Invite) *InviteUpdateOne + func (c *InviteClient) UpdateOneID(id uuid.UUID) *InviteUpdateOne + func (c *InviteClient) Use(hooks ...Hook) + type InviteCreate struct + func (_c *InviteCreate) Exec(ctx context.Context) error + func (_c *InviteCreate) ExecX(ctx context.Context) + func (_c *InviteCreate) Mutation() *InviteMutation + func (_c *InviteCreate) OnConflict(opts ...sql.ConflictOption) *InviteUpsertOne + func (_c *InviteCreate) OnConflictColumns(columns ...string) *InviteUpsertOne + func (_c *InviteCreate) Save(ctx context.Context) (*Invite, error) + func (_c *InviteCreate) SaveX(ctx context.Context) *Invite + func (_c *InviteCreate) SetAcceptedAt(v time.Time) *InviteCreate + func (_c *InviteCreate) SetAcceptedByPrincipalID(v uuid.UUID) *InviteCreate + func (_c *InviteCreate) SetCreatedAt(v time.Time) *InviteCreate + func (_c *InviteCreate) SetEmail(v string) *InviteCreate + func (_c *InviteCreate) SetExpiresAt(v time.Time) *InviteCreate + func (_c *InviteCreate) SetID(v uuid.UUID) *InviteCreate + func (_c *InviteCreate) SetInviter(v *Principal) *InviteCreate + func (_c *InviteCreate) SetInviterID(id uuid.UUID) *InviteCreate + func (_c *InviteCreate) SetInviterPrincipalID(v uuid.UUID) *InviteCreate + func (_c *InviteCreate) SetLastSentAt(v time.Time) *InviteCreate + func (_c *InviteCreate) SetMessage(v string) *InviteCreate + func (_c *InviteCreate) SetNillableAcceptedAt(v *time.Time) *InviteCreate + func (_c *InviteCreate) SetNillableAcceptedByPrincipalID(v *uuid.UUID) *InviteCreate + func (_c *InviteCreate) SetNillableCreatedAt(v *time.Time) *InviteCreate + func (_c *InviteCreate) SetNillableID(v *uuid.UUID) *InviteCreate + func (_c *InviteCreate) SetNillableLastSentAt(v *time.Time) *InviteCreate + func (_c *InviteCreate) SetNillableMessage(v *string) *InviteCreate + func (_c *InviteCreate) SetNillableResendCount(v *int) *InviteCreate + func (_c *InviteCreate) SetNillableRole(v *string) *InviteCreate + func (_c *InviteCreate) SetNillableStatus(v *invite.Status) *InviteCreate + func (_c *InviteCreate) SetNillableUpdatedAt(v *time.Time) *InviteCreate + func (_c *InviteCreate) SetOrganization(v *Organization) *InviteCreate + func (_c *InviteCreate) SetOrganizationID(v uuid.UUID) *InviteCreate + func (_c *InviteCreate) SetResendCount(v int) *InviteCreate + func (_c *InviteCreate) SetRole(v string) *InviteCreate + func (_c *InviteCreate) SetStatus(v invite.Status) *InviteCreate + func (_c *InviteCreate) SetToken(v string) *InviteCreate + func (_c *InviteCreate) SetUpdatedAt(v time.Time) *InviteCreate + type InviteCreateBulk struct + func (_c *InviteCreateBulk) Exec(ctx context.Context) error + func (_c *InviteCreateBulk) ExecX(ctx context.Context) + func (_c *InviteCreateBulk) OnConflict(opts ...sql.ConflictOption) *InviteUpsertBulk + func (_c *InviteCreateBulk) OnConflictColumns(columns ...string) *InviteUpsertBulk + func (_c *InviteCreateBulk) Save(ctx context.Context) ([]*Invite, error) + func (_c *InviteCreateBulk) SaveX(ctx context.Context) []*Invite + type InviteDelete struct + func (_d *InviteDelete) Exec(ctx context.Context) (int, error) + func (_d *InviteDelete) ExecX(ctx context.Context) int + func (_d *InviteDelete) Where(ps ...predicate.Invite) *InviteDelete + type InviteDeleteOne struct + func (_d *InviteDeleteOne) Exec(ctx context.Context) error + func (_d *InviteDeleteOne) ExecX(ctx context.Context) + func (_d *InviteDeleteOne) Where(ps ...predicate.Invite) *InviteDeleteOne + type InviteEdges struct + Inviter *Principal + Organization *Organization + func (e InviteEdges) InviterOrErr() (*Principal, error) + func (e InviteEdges) OrganizationOrErr() (*Organization, error) + type InviteFilter struct + func (f *InviteFilter) Where(p entql.P) + func (f *InviteFilter) WhereAcceptedAt(p entql.TimeP) + func (f *InviteFilter) WhereAcceptedByPrincipalID(p entql.ValueP) + func (f *InviteFilter) WhereCreatedAt(p entql.TimeP) + func (f *InviteFilter) WhereEmail(p entql.StringP) + func (f *InviteFilter) WhereExpiresAt(p entql.TimeP) + func (f *InviteFilter) WhereHasInviter() + func (f *InviteFilter) WhereHasInviterWith(preds ...predicate.Principal) + func (f *InviteFilter) WhereHasOrganization() + func (f *InviteFilter) WhereHasOrganizationWith(preds ...predicate.Organization) + func (f *InviteFilter) WhereID(p entql.ValueP) + func (f *InviteFilter) WhereInviterPrincipalID(p entql.ValueP) + func (f *InviteFilter) WhereLastSentAt(p entql.TimeP) + func (f *InviteFilter) WhereMessage(p entql.StringP) + func (f *InviteFilter) WhereOrganizationID(p entql.ValueP) + func (f *InviteFilter) WhereResendCount(p entql.IntP) + func (f *InviteFilter) WhereRole(p entql.StringP) + func (f *InviteFilter) WhereStatus(p entql.StringP) + func (f *InviteFilter) WhereToken(p entql.StringP) + func (f *InviteFilter) WhereUpdatedAt(p entql.TimeP) + type InviteGroupBy struct + func (_g *InviteGroupBy) Aggregate(fns ...AggregateFunc) *InviteGroupBy + func (_g *InviteGroupBy) Scan(ctx context.Context, v any) error + func (s *InviteGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *InviteGroupBy) BoolX(ctx context.Context) bool + func (s *InviteGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *InviteGroupBy) BoolsX(ctx context.Context) []bool + func (s *InviteGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *InviteGroupBy) Float64X(ctx context.Context) float64 + func (s *InviteGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *InviteGroupBy) Float64sX(ctx context.Context) []float64 + func (s *InviteGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *InviteGroupBy) IntX(ctx context.Context) int + func (s *InviteGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *InviteGroupBy) IntsX(ctx context.Context) []int + func (s *InviteGroupBy) ScanX(ctx context.Context, v any) + func (s *InviteGroupBy) String(ctx context.Context) (_ string, err error) + func (s *InviteGroupBy) StringX(ctx context.Context) string + func (s *InviteGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *InviteGroupBy) StringsX(ctx context.Context) []string + type InviteMutation struct + func (m *InviteMutation) AcceptedAt() (r time.Time, exists bool) + func (m *InviteMutation) AcceptedAtCleared() bool + func (m *InviteMutation) AcceptedByPrincipalID() (r uuid.UUID, exists bool) + func (m *InviteMutation) AcceptedByPrincipalIDCleared() bool + func (m *InviteMutation) AddField(name string, value ent.Value) error + func (m *InviteMutation) AddResendCount(i int) + func (m *InviteMutation) AddedEdges() []string + func (m *InviteMutation) AddedField(name string) (ent.Value, bool) + func (m *InviteMutation) AddedFields() []string + func (m *InviteMutation) AddedIDs(name string) []ent.Value + func (m *InviteMutation) AddedResendCount() (r int, exists bool) + func (m *InviteMutation) ClearAcceptedAt() + func (m *InviteMutation) ClearAcceptedByPrincipalID() + func (m *InviteMutation) ClearEdge(name string) error + func (m *InviteMutation) ClearField(name string) error + func (m *InviteMutation) ClearInviter() + func (m *InviteMutation) ClearMessage() + func (m *InviteMutation) ClearOrganization() + func (m *InviteMutation) ClearedEdges() []string + func (m *InviteMutation) ClearedFields() []string + func (m *InviteMutation) CreatedAt() (r time.Time, exists bool) + func (m *InviteMutation) EdgeCleared(name string) bool + func (m *InviteMutation) Email() (r string, exists bool) + func (m *InviteMutation) ExpiresAt() (r time.Time, exists bool) + func (m *InviteMutation) Field(name string) (ent.Value, bool) + func (m *InviteMutation) FieldCleared(name string) bool + func (m *InviteMutation) Fields() []string + func (m *InviteMutation) Filter() *InviteFilter + func (m *InviteMutation) ID() (id uuid.UUID, exists bool) + func (m *InviteMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *InviteMutation) InviterCleared() bool + func (m *InviteMutation) InviterID() (id uuid.UUID, exists bool) + func (m *InviteMutation) InviterIDs() (ids []uuid.UUID) + func (m *InviteMutation) InviterPrincipalID() (r uuid.UUID, exists bool) + func (m *InviteMutation) LastSentAt() (r time.Time, exists bool) + func (m *InviteMutation) Message() (r string, exists bool) + func (m *InviteMutation) MessageCleared() bool + func (m *InviteMutation) OldAcceptedAt(ctx context.Context) (v *time.Time, err error) + func (m *InviteMutation) OldAcceptedByPrincipalID(ctx context.Context) (v *uuid.UUID, err error) + func (m *InviteMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *InviteMutation) OldEmail(ctx context.Context) (v string, err error) + func (m *InviteMutation) OldExpiresAt(ctx context.Context) (v time.Time, err error) + func (m *InviteMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *InviteMutation) OldInviterPrincipalID(ctx context.Context) (v uuid.UUID, err error) + func (m *InviteMutation) OldLastSentAt(ctx context.Context) (v time.Time, err error) + func (m *InviteMutation) OldMessage(ctx context.Context) (v *string, err error) + func (m *InviteMutation) OldOrganizationID(ctx context.Context) (v uuid.UUID, err error) + func (m *InviteMutation) OldResendCount(ctx context.Context) (v int, err error) + func (m *InviteMutation) OldRole(ctx context.Context) (v string, err error) + func (m *InviteMutation) OldStatus(ctx context.Context) (v invite.Status, err error) + func (m *InviteMutation) OldToken(ctx context.Context) (v string, err error) + func (m *InviteMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *InviteMutation) Op() Op + func (m *InviteMutation) OrganizationCleared() bool + func (m *InviteMutation) OrganizationID() (r uuid.UUID, exists bool) + func (m *InviteMutation) OrganizationIDs() (ids []uuid.UUID) + func (m *InviteMutation) RemovedEdges() []string + func (m *InviteMutation) RemovedIDs(name string) []ent.Value + func (m *InviteMutation) ResendCount() (r int, exists bool) + func (m *InviteMutation) ResetAcceptedAt() + func (m *InviteMutation) ResetAcceptedByPrincipalID() + func (m *InviteMutation) ResetCreatedAt() + func (m *InviteMutation) ResetEdge(name string) error + func (m *InviteMutation) ResetEmail() + func (m *InviteMutation) ResetExpiresAt() + func (m *InviteMutation) ResetField(name string) error + func (m *InviteMutation) ResetInviter() + func (m *InviteMutation) ResetInviterPrincipalID() + func (m *InviteMutation) ResetLastSentAt() + func (m *InviteMutation) ResetMessage() + func (m *InviteMutation) ResetOrganization() + func (m *InviteMutation) ResetOrganizationID() + func (m *InviteMutation) ResetResendCount() + func (m *InviteMutation) ResetRole() + func (m *InviteMutation) ResetStatus() + func (m *InviteMutation) ResetToken() + func (m *InviteMutation) ResetUpdatedAt() + func (m *InviteMutation) Role() (r string, exists bool) + func (m *InviteMutation) SetAcceptedAt(t time.Time) + func (m *InviteMutation) SetAcceptedByPrincipalID(u uuid.UUID) + func (m *InviteMutation) SetCreatedAt(t time.Time) + func (m *InviteMutation) SetEmail(s string) + func (m *InviteMutation) SetExpiresAt(t time.Time) + func (m *InviteMutation) SetField(name string, value ent.Value) error + func (m *InviteMutation) SetID(id uuid.UUID) + func (m *InviteMutation) SetInviterID(id uuid.UUID) + func (m *InviteMutation) SetInviterPrincipalID(u uuid.UUID) + func (m *InviteMutation) SetLastSentAt(t time.Time) + func (m *InviteMutation) SetMessage(s string) + func (m *InviteMutation) SetOp(op Op) + func (m *InviteMutation) SetOrganizationID(u uuid.UUID) + func (m *InviteMutation) SetResendCount(i int) + func (m *InviteMutation) SetRole(s string) + func (m *InviteMutation) SetStatus(i invite.Status) + func (m *InviteMutation) SetToken(s string) + func (m *InviteMutation) SetUpdatedAt(t time.Time) + func (m *InviteMutation) Status() (r invite.Status, exists bool) + func (m *InviteMutation) Token() (r string, exists bool) + func (m *InviteMutation) Type() string + func (m *InviteMutation) UpdatedAt() (r time.Time, exists bool) + func (m *InviteMutation) Where(ps ...predicate.Invite) + func (m *InviteMutation) WhereP(ps ...func(*sql.Selector)) + func (m InviteMutation) Client() *Client + func (m InviteMutation) Tx() (*Tx, error) + type InviteQuery struct + func (_q *InviteQuery) Aggregate(fns ...AggregateFunc) *InviteSelect + func (_q *InviteQuery) All(ctx context.Context) ([]*Invite, error) + func (_q *InviteQuery) AllX(ctx context.Context) []*Invite + func (_q *InviteQuery) Clone() *InviteQuery + func (_q *InviteQuery) Count(ctx context.Context) (int, error) + func (_q *InviteQuery) CountX(ctx context.Context) int + func (_q *InviteQuery) Exist(ctx context.Context) (bool, error) + func (_q *InviteQuery) ExistX(ctx context.Context) bool + func (_q *InviteQuery) Filter() *InviteFilter + func (_q *InviteQuery) First(ctx context.Context) (*Invite, error) + func (_q *InviteQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *InviteQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *InviteQuery) FirstX(ctx context.Context) *Invite + func (_q *InviteQuery) GroupBy(field string, fields ...string) *InviteGroupBy + func (_q *InviteQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *InviteQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *InviteQuery) Limit(limit int) *InviteQuery + func (_q *InviteQuery) Offset(offset int) *InviteQuery + func (_q *InviteQuery) Only(ctx context.Context) (*Invite, error) + func (_q *InviteQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *InviteQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *InviteQuery) OnlyX(ctx context.Context) *Invite + func (_q *InviteQuery) Order(o ...invite.OrderOption) *InviteQuery + func (_q *InviteQuery) QueryInviter() *PrincipalQuery + func (_q *InviteQuery) QueryOrganization() *OrganizationQuery + func (_q *InviteQuery) Select(fields ...string) *InviteSelect + func (_q *InviteQuery) Unique(unique bool) *InviteQuery + func (_q *InviteQuery) Where(ps ...predicate.Invite) *InviteQuery + func (_q *InviteQuery) WithInviter(opts ...func(*PrincipalQuery)) *InviteQuery + func (_q *InviteQuery) WithOrganization(opts ...func(*OrganizationQuery)) *InviteQuery + type InviteSelect struct + func (_s *InviteSelect) Aggregate(fns ...AggregateFunc) *InviteSelect + func (_s *InviteSelect) Scan(ctx context.Context, v any) error + func (s *InviteSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *InviteSelect) BoolX(ctx context.Context) bool + func (s *InviteSelect) Bools(ctx context.Context) ([]bool, error) + func (s *InviteSelect) BoolsX(ctx context.Context) []bool + func (s *InviteSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *InviteSelect) Float64X(ctx context.Context) float64 + func (s *InviteSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *InviteSelect) Float64sX(ctx context.Context) []float64 + func (s *InviteSelect) Int(ctx context.Context) (_ int, err error) + func (s *InviteSelect) IntX(ctx context.Context) int + func (s *InviteSelect) Ints(ctx context.Context) ([]int, error) + func (s *InviteSelect) IntsX(ctx context.Context) []int + func (s *InviteSelect) ScanX(ctx context.Context, v any) + func (s *InviteSelect) String(ctx context.Context) (_ string, err error) + func (s *InviteSelect) StringX(ctx context.Context) string + func (s *InviteSelect) Strings(ctx context.Context) ([]string, error) + func (s *InviteSelect) StringsX(ctx context.Context) []string + type InviteUpdate struct + func (_u *InviteUpdate) AddResendCount(v int) *InviteUpdate + func (_u *InviteUpdate) ClearAcceptedAt() *InviteUpdate + func (_u *InviteUpdate) ClearAcceptedByPrincipalID() *InviteUpdate + func (_u *InviteUpdate) ClearInviter() *InviteUpdate + func (_u *InviteUpdate) ClearMessage() *InviteUpdate + func (_u *InviteUpdate) ClearOrganization() *InviteUpdate + func (_u *InviteUpdate) Exec(ctx context.Context) error + func (_u *InviteUpdate) ExecX(ctx context.Context) + func (_u *InviteUpdate) Mutation() *InviteMutation + func (_u *InviteUpdate) Save(ctx context.Context) (int, error) + func (_u *InviteUpdate) SaveX(ctx context.Context) int + func (_u *InviteUpdate) SetAcceptedAt(v time.Time) *InviteUpdate + func (_u *InviteUpdate) SetAcceptedByPrincipalID(v uuid.UUID) *InviteUpdate + func (_u *InviteUpdate) SetEmail(v string) *InviteUpdate + func (_u *InviteUpdate) SetExpiresAt(v time.Time) *InviteUpdate + func (_u *InviteUpdate) SetInviter(v *Principal) *InviteUpdate + func (_u *InviteUpdate) SetInviterID(id uuid.UUID) *InviteUpdate + func (_u *InviteUpdate) SetInviterPrincipalID(v uuid.UUID) *InviteUpdate + func (_u *InviteUpdate) SetLastSentAt(v time.Time) *InviteUpdate + func (_u *InviteUpdate) SetMessage(v string) *InviteUpdate + func (_u *InviteUpdate) SetNillableAcceptedAt(v *time.Time) *InviteUpdate + func (_u *InviteUpdate) SetNillableAcceptedByPrincipalID(v *uuid.UUID) *InviteUpdate + func (_u *InviteUpdate) SetNillableEmail(v *string) *InviteUpdate + func (_u *InviteUpdate) SetNillableExpiresAt(v *time.Time) *InviteUpdate + func (_u *InviteUpdate) SetNillableInviterPrincipalID(v *uuid.UUID) *InviteUpdate + func (_u *InviteUpdate) SetNillableLastSentAt(v *time.Time) *InviteUpdate + func (_u *InviteUpdate) SetNillableMessage(v *string) *InviteUpdate + func (_u *InviteUpdate) SetNillableOrganizationID(v *uuid.UUID) *InviteUpdate + func (_u *InviteUpdate) SetNillableResendCount(v *int) *InviteUpdate + func (_u *InviteUpdate) SetNillableRole(v *string) *InviteUpdate + func (_u *InviteUpdate) SetNillableStatus(v *invite.Status) *InviteUpdate + func (_u *InviteUpdate) SetNillableToken(v *string) *InviteUpdate + func (_u *InviteUpdate) SetOrganization(v *Organization) *InviteUpdate + func (_u *InviteUpdate) SetOrganizationID(v uuid.UUID) *InviteUpdate + func (_u *InviteUpdate) SetResendCount(v int) *InviteUpdate + func (_u *InviteUpdate) SetRole(v string) *InviteUpdate + func (_u *InviteUpdate) SetStatus(v invite.Status) *InviteUpdate + func (_u *InviteUpdate) SetToken(v string) *InviteUpdate + func (_u *InviteUpdate) SetUpdatedAt(v time.Time) *InviteUpdate + func (_u *InviteUpdate) Where(ps ...predicate.Invite) *InviteUpdate + type InviteUpdateOne struct + func (_u *InviteUpdateOne) AddResendCount(v int) *InviteUpdateOne + func (_u *InviteUpdateOne) ClearAcceptedAt() *InviteUpdateOne + func (_u *InviteUpdateOne) ClearAcceptedByPrincipalID() *InviteUpdateOne + func (_u *InviteUpdateOne) ClearInviter() *InviteUpdateOne + func (_u *InviteUpdateOne) ClearMessage() *InviteUpdateOne + func (_u *InviteUpdateOne) ClearOrganization() *InviteUpdateOne + func (_u *InviteUpdateOne) Exec(ctx context.Context) error + func (_u *InviteUpdateOne) ExecX(ctx context.Context) + func (_u *InviteUpdateOne) Mutation() *InviteMutation + func (_u *InviteUpdateOne) Save(ctx context.Context) (*Invite, error) + func (_u *InviteUpdateOne) SaveX(ctx context.Context) *Invite + func (_u *InviteUpdateOne) Select(field string, fields ...string) *InviteUpdateOne + func (_u *InviteUpdateOne) SetAcceptedAt(v time.Time) *InviteUpdateOne + func (_u *InviteUpdateOne) SetAcceptedByPrincipalID(v uuid.UUID) *InviteUpdateOne + func (_u *InviteUpdateOne) SetEmail(v string) *InviteUpdateOne + func (_u *InviteUpdateOne) SetExpiresAt(v time.Time) *InviteUpdateOne + func (_u *InviteUpdateOne) SetInviter(v *Principal) *InviteUpdateOne + func (_u *InviteUpdateOne) SetInviterID(id uuid.UUID) *InviteUpdateOne + func (_u *InviteUpdateOne) SetInviterPrincipalID(v uuid.UUID) *InviteUpdateOne + func (_u *InviteUpdateOne) SetLastSentAt(v time.Time) *InviteUpdateOne + func (_u *InviteUpdateOne) SetMessage(v string) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableAcceptedAt(v *time.Time) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableAcceptedByPrincipalID(v *uuid.UUID) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableEmail(v *string) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableExpiresAt(v *time.Time) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableInviterPrincipalID(v *uuid.UUID) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableLastSentAt(v *time.Time) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableMessage(v *string) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableOrganizationID(v *uuid.UUID) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableResendCount(v *int) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableRole(v *string) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableStatus(v *invite.Status) *InviteUpdateOne + func (_u *InviteUpdateOne) SetNillableToken(v *string) *InviteUpdateOne + func (_u *InviteUpdateOne) SetOrganization(v *Organization) *InviteUpdateOne + func (_u *InviteUpdateOne) SetOrganizationID(v uuid.UUID) *InviteUpdateOne + func (_u *InviteUpdateOne) SetResendCount(v int) *InviteUpdateOne + func (_u *InviteUpdateOne) SetRole(v string) *InviteUpdateOne + func (_u *InviteUpdateOne) SetStatus(v invite.Status) *InviteUpdateOne + func (_u *InviteUpdateOne) SetToken(v string) *InviteUpdateOne + func (_u *InviteUpdateOne) SetUpdatedAt(v time.Time) *InviteUpdateOne + func (_u *InviteUpdateOne) Where(ps ...predicate.Invite) *InviteUpdateOne + type InviteUpsert struct + func (u *InviteUpsert) AddResendCount(v int) *InviteUpsert + func (u *InviteUpsert) ClearAcceptedAt() *InviteUpsert + func (u *InviteUpsert) ClearAcceptedByPrincipalID() *InviteUpsert + func (u *InviteUpsert) ClearMessage() *InviteUpsert + func (u *InviteUpsert) SetAcceptedAt(v time.Time) *InviteUpsert + func (u *InviteUpsert) SetAcceptedByPrincipalID(v uuid.UUID) *InviteUpsert + func (u *InviteUpsert) SetEmail(v string) *InviteUpsert + func (u *InviteUpsert) SetExpiresAt(v time.Time) *InviteUpsert + func (u *InviteUpsert) SetInviterPrincipalID(v uuid.UUID) *InviteUpsert + func (u *InviteUpsert) SetLastSentAt(v time.Time) *InviteUpsert + func (u *InviteUpsert) SetMessage(v string) *InviteUpsert + func (u *InviteUpsert) SetOrganizationID(v uuid.UUID) *InviteUpsert + func (u *InviteUpsert) SetResendCount(v int) *InviteUpsert + func (u *InviteUpsert) SetRole(v string) *InviteUpsert + func (u *InviteUpsert) SetStatus(v invite.Status) *InviteUpsert + func (u *InviteUpsert) SetToken(v string) *InviteUpsert + func (u *InviteUpsert) SetUpdatedAt(v time.Time) *InviteUpsert + func (u *InviteUpsert) UpdateAcceptedAt() *InviteUpsert + func (u *InviteUpsert) UpdateAcceptedByPrincipalID() *InviteUpsert + func (u *InviteUpsert) UpdateEmail() *InviteUpsert + func (u *InviteUpsert) UpdateExpiresAt() *InviteUpsert + func (u *InviteUpsert) UpdateInviterPrincipalID() *InviteUpsert + func (u *InviteUpsert) UpdateLastSentAt() *InviteUpsert + func (u *InviteUpsert) UpdateMessage() *InviteUpsert + func (u *InviteUpsert) UpdateOrganizationID() *InviteUpsert + func (u *InviteUpsert) UpdateResendCount() *InviteUpsert + func (u *InviteUpsert) UpdateRole() *InviteUpsert + func (u *InviteUpsert) UpdateStatus() *InviteUpsert + func (u *InviteUpsert) UpdateToken() *InviteUpsert + func (u *InviteUpsert) UpdateUpdatedAt() *InviteUpsert + type InviteUpsertBulk struct + func (u *InviteUpsertBulk) AddResendCount(v int) *InviteUpsertBulk + func (u *InviteUpsertBulk) ClearAcceptedAt() *InviteUpsertBulk + func (u *InviteUpsertBulk) ClearAcceptedByPrincipalID() *InviteUpsertBulk + func (u *InviteUpsertBulk) ClearMessage() *InviteUpsertBulk + func (u *InviteUpsertBulk) DoNothing() *InviteUpsertBulk + func (u *InviteUpsertBulk) Exec(ctx context.Context) error + func (u *InviteUpsertBulk) ExecX(ctx context.Context) + func (u *InviteUpsertBulk) Ignore() *InviteUpsertBulk + func (u *InviteUpsertBulk) SetAcceptedAt(v time.Time) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetAcceptedByPrincipalID(v uuid.UUID) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetEmail(v string) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetExpiresAt(v time.Time) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetInviterPrincipalID(v uuid.UUID) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetLastSentAt(v time.Time) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetMessage(v string) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetOrganizationID(v uuid.UUID) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetResendCount(v int) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetRole(v string) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetStatus(v invite.Status) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetToken(v string) *InviteUpsertBulk + func (u *InviteUpsertBulk) SetUpdatedAt(v time.Time) *InviteUpsertBulk + func (u *InviteUpsertBulk) Update(set func(*InviteUpsert)) *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateAcceptedAt() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateAcceptedByPrincipalID() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateEmail() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateExpiresAt() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateInviterPrincipalID() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateLastSentAt() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateMessage() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateNewValues() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateOrganizationID() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateResendCount() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateRole() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateStatus() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateToken() *InviteUpsertBulk + func (u *InviteUpsertBulk) UpdateUpdatedAt() *InviteUpsertBulk + type InviteUpsertOne struct + func (u *InviteUpsertOne) AddResendCount(v int) *InviteUpsertOne + func (u *InviteUpsertOne) ClearAcceptedAt() *InviteUpsertOne + func (u *InviteUpsertOne) ClearAcceptedByPrincipalID() *InviteUpsertOne + func (u *InviteUpsertOne) ClearMessage() *InviteUpsertOne + func (u *InviteUpsertOne) DoNothing() *InviteUpsertOne + func (u *InviteUpsertOne) Exec(ctx context.Context) error + func (u *InviteUpsertOne) ExecX(ctx context.Context) + func (u *InviteUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *InviteUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *InviteUpsertOne) Ignore() *InviteUpsertOne + func (u *InviteUpsertOne) SetAcceptedAt(v time.Time) *InviteUpsertOne + func (u *InviteUpsertOne) SetAcceptedByPrincipalID(v uuid.UUID) *InviteUpsertOne + func (u *InviteUpsertOne) SetEmail(v string) *InviteUpsertOne + func (u *InviteUpsertOne) SetExpiresAt(v time.Time) *InviteUpsertOne + func (u *InviteUpsertOne) SetInviterPrincipalID(v uuid.UUID) *InviteUpsertOne + func (u *InviteUpsertOne) SetLastSentAt(v time.Time) *InviteUpsertOne + func (u *InviteUpsertOne) SetMessage(v string) *InviteUpsertOne + func (u *InviteUpsertOne) SetOrganizationID(v uuid.UUID) *InviteUpsertOne + func (u *InviteUpsertOne) SetResendCount(v int) *InviteUpsertOne + func (u *InviteUpsertOne) SetRole(v string) *InviteUpsertOne + func (u *InviteUpsertOne) SetStatus(v invite.Status) *InviteUpsertOne + func (u *InviteUpsertOne) SetToken(v string) *InviteUpsertOne + func (u *InviteUpsertOne) SetUpdatedAt(v time.Time) *InviteUpsertOne + func (u *InviteUpsertOne) Update(set func(*InviteUpsert)) *InviteUpsertOne + func (u *InviteUpsertOne) UpdateAcceptedAt() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateAcceptedByPrincipalID() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateEmail() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateExpiresAt() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateInviterPrincipalID() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateLastSentAt() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateMessage() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateNewValues() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateOrganizationID() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateResendCount() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateRole() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateStatus() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateToken() *InviteUpsertOne + func (u *InviteUpsertOne) UpdateUpdatedAt() *InviteUpsertOne + type Invites []*Invite + type License struct + CreatedAt time.Time + Edges LicenseEdges + ID uuid.UUID + LicenseType license.LicenseType + ListingID uuid.UUID + OrganizationID uuid.UUID + PurchasedBy uuid.UUID + Seats *int + StripeSubscriptionID *string + UpdatedAt time.Time + UsedSeats int + ValidFrom time.Time + ValidUntil *time.Time + func (_m *License) QueryListing() *ListingQuery + func (_m *License) QueryOrganization() *OrganizationQuery + func (_m *License) QueryPurchaser() *PrincipalQuery + func (_m *License) QuerySeatAssignments() *SeatAssignmentQuery + func (_m *License) String() string + func (_m *License) Unwrap() *License + func (_m *License) Update() *LicenseUpdateOne + func (_m *License) Value(name string) (ent.Value, error) + type LicenseClient struct + func NewLicenseClient(c config) *LicenseClient + func (c *LicenseClient) Create() *LicenseCreate + func (c *LicenseClient) CreateBulk(builders ...*LicenseCreate) *LicenseCreateBulk + func (c *LicenseClient) Delete() *LicenseDelete + func (c *LicenseClient) DeleteOne(_m *License) *LicenseDeleteOne + func (c *LicenseClient) DeleteOneID(id uuid.UUID) *LicenseDeleteOne + func (c *LicenseClient) Get(ctx context.Context, id uuid.UUID) (*License, error) + func (c *LicenseClient) GetX(ctx context.Context, id uuid.UUID) *License + func (c *LicenseClient) Hooks() []Hook + func (c *LicenseClient) Intercept(interceptors ...Interceptor) + func (c *LicenseClient) Interceptors() []Interceptor + func (c *LicenseClient) MapCreateBulk(slice any, setFunc func(*LicenseCreate, int)) *LicenseCreateBulk + func (c *LicenseClient) Query() *LicenseQuery + func (c *LicenseClient) QueryListing(_m *License) *ListingQuery + func (c *LicenseClient) QueryOrganization(_m *License) *OrganizationQuery + func (c *LicenseClient) QueryPurchaser(_m *License) *PrincipalQuery + func (c *LicenseClient) QuerySeatAssignments(_m *License) *SeatAssignmentQuery + func (c *LicenseClient) Update() *LicenseUpdate + func (c *LicenseClient) UpdateOne(_m *License) *LicenseUpdateOne + func (c *LicenseClient) UpdateOneID(id uuid.UUID) *LicenseUpdateOne + func (c *LicenseClient) Use(hooks ...Hook) + type LicenseCreate struct + func (_c *LicenseCreate) AddSeatAssignmentIDs(ids ...uuid.UUID) *LicenseCreate + func (_c *LicenseCreate) AddSeatAssignments(v ...*SeatAssignment) *LicenseCreate + func (_c *LicenseCreate) Exec(ctx context.Context) error + func (_c *LicenseCreate) ExecX(ctx context.Context) + func (_c *LicenseCreate) Mutation() *LicenseMutation + func (_c *LicenseCreate) OnConflict(opts ...sql.ConflictOption) *LicenseUpsertOne + func (_c *LicenseCreate) OnConflictColumns(columns ...string) *LicenseUpsertOne + func (_c *LicenseCreate) Save(ctx context.Context) (*License, error) + func (_c *LicenseCreate) SaveX(ctx context.Context) *License + func (_c *LicenseCreate) SetCreatedAt(v time.Time) *LicenseCreate + func (_c *LicenseCreate) SetID(v uuid.UUID) *LicenseCreate + func (_c *LicenseCreate) SetLicenseType(v license.LicenseType) *LicenseCreate + func (_c *LicenseCreate) SetListing(v *Listing) *LicenseCreate + func (_c *LicenseCreate) SetListingID(v uuid.UUID) *LicenseCreate + func (_c *LicenseCreate) SetNillableCreatedAt(v *time.Time) *LicenseCreate + func (_c *LicenseCreate) SetNillableID(v *uuid.UUID) *LicenseCreate + func (_c *LicenseCreate) SetNillableLicenseType(v *license.LicenseType) *LicenseCreate + func (_c *LicenseCreate) SetNillableSeats(v *int) *LicenseCreate + func (_c *LicenseCreate) SetNillableStripeSubscriptionID(v *string) *LicenseCreate + func (_c *LicenseCreate) SetNillableUpdatedAt(v *time.Time) *LicenseCreate + func (_c *LicenseCreate) SetNillableUsedSeats(v *int) *LicenseCreate + func (_c *LicenseCreate) SetNillableValidFrom(v *time.Time) *LicenseCreate + func (_c *LicenseCreate) SetNillableValidUntil(v *time.Time) *LicenseCreate + func (_c *LicenseCreate) SetOrganization(v *Organization) *LicenseCreate + func (_c *LicenseCreate) SetOrganizationID(v uuid.UUID) *LicenseCreate + func (_c *LicenseCreate) SetPurchasedBy(v uuid.UUID) *LicenseCreate + func (_c *LicenseCreate) SetPurchaser(v *Principal) *LicenseCreate + func (_c *LicenseCreate) SetPurchaserID(id uuid.UUID) *LicenseCreate + func (_c *LicenseCreate) SetSeats(v int) *LicenseCreate + func (_c *LicenseCreate) SetStripeSubscriptionID(v string) *LicenseCreate + func (_c *LicenseCreate) SetUpdatedAt(v time.Time) *LicenseCreate + func (_c *LicenseCreate) SetUsedSeats(v int) *LicenseCreate + func (_c *LicenseCreate) SetValidFrom(v time.Time) *LicenseCreate + func (_c *LicenseCreate) SetValidUntil(v time.Time) *LicenseCreate + type LicenseCreateBulk struct + func (_c *LicenseCreateBulk) Exec(ctx context.Context) error + func (_c *LicenseCreateBulk) ExecX(ctx context.Context) + func (_c *LicenseCreateBulk) OnConflict(opts ...sql.ConflictOption) *LicenseUpsertBulk + func (_c *LicenseCreateBulk) OnConflictColumns(columns ...string) *LicenseUpsertBulk + func (_c *LicenseCreateBulk) Save(ctx context.Context) ([]*License, error) + func (_c *LicenseCreateBulk) SaveX(ctx context.Context) []*License + type LicenseDelete struct + func (_d *LicenseDelete) Exec(ctx context.Context) (int, error) + func (_d *LicenseDelete) ExecX(ctx context.Context) int + func (_d *LicenseDelete) Where(ps ...predicate.License) *LicenseDelete + type LicenseDeleteOne struct + func (_d *LicenseDeleteOne) Exec(ctx context.Context) error + func (_d *LicenseDeleteOne) ExecX(ctx context.Context) + func (_d *LicenseDeleteOne) Where(ps ...predicate.License) *LicenseDeleteOne + type LicenseEdges struct + Listing *Listing + Organization *Organization + Purchaser *Principal + SeatAssignments []*SeatAssignment + func (e LicenseEdges) ListingOrErr() (*Listing, error) + func (e LicenseEdges) OrganizationOrErr() (*Organization, error) + func (e LicenseEdges) PurchaserOrErr() (*Principal, error) + func (e LicenseEdges) SeatAssignmentsOrErr() ([]*SeatAssignment, error) + type LicenseFilter struct + func (f *LicenseFilter) Where(p entql.P) + func (f *LicenseFilter) WhereCreatedAt(p entql.TimeP) + func (f *LicenseFilter) WhereHasListing() + func (f *LicenseFilter) WhereHasListingWith(preds ...predicate.Listing) + func (f *LicenseFilter) WhereHasOrganization() + func (f *LicenseFilter) WhereHasOrganizationWith(preds ...predicate.Organization) + func (f *LicenseFilter) WhereHasPurchaser() + func (f *LicenseFilter) WhereHasPurchaserWith(preds ...predicate.Principal) + func (f *LicenseFilter) WhereHasSeatAssignments() + func (f *LicenseFilter) WhereHasSeatAssignmentsWith(preds ...predicate.SeatAssignment) + func (f *LicenseFilter) WhereID(p entql.ValueP) + func (f *LicenseFilter) WhereLicenseType(p entql.StringP) + func (f *LicenseFilter) WhereListingID(p entql.ValueP) + func (f *LicenseFilter) WhereOrganizationID(p entql.ValueP) + func (f *LicenseFilter) WherePurchasedBy(p entql.ValueP) + func (f *LicenseFilter) WhereSeats(p entql.IntP) + func (f *LicenseFilter) WhereStripeSubscriptionID(p entql.StringP) + func (f *LicenseFilter) WhereUpdatedAt(p entql.TimeP) + func (f *LicenseFilter) WhereUsedSeats(p entql.IntP) + func (f *LicenseFilter) WhereValidFrom(p entql.TimeP) + func (f *LicenseFilter) WhereValidUntil(p entql.TimeP) + type LicenseGroupBy struct + func (_g *LicenseGroupBy) Aggregate(fns ...AggregateFunc) *LicenseGroupBy + func (_g *LicenseGroupBy) Scan(ctx context.Context, v any) error + func (s *LicenseGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *LicenseGroupBy) BoolX(ctx context.Context) bool + func (s *LicenseGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *LicenseGroupBy) BoolsX(ctx context.Context) []bool + func (s *LicenseGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *LicenseGroupBy) Float64X(ctx context.Context) float64 + func (s *LicenseGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *LicenseGroupBy) Float64sX(ctx context.Context) []float64 + func (s *LicenseGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *LicenseGroupBy) IntX(ctx context.Context) int + func (s *LicenseGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *LicenseGroupBy) IntsX(ctx context.Context) []int + func (s *LicenseGroupBy) ScanX(ctx context.Context, v any) + func (s *LicenseGroupBy) String(ctx context.Context) (_ string, err error) + func (s *LicenseGroupBy) StringX(ctx context.Context) string + func (s *LicenseGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *LicenseGroupBy) StringsX(ctx context.Context) []string + type LicenseMutation struct + func (m *LicenseMutation) AddField(name string, value ent.Value) error + func (m *LicenseMutation) AddSeatAssignmentIDs(ids ...uuid.UUID) + func (m *LicenseMutation) AddSeats(i int) + func (m *LicenseMutation) AddUsedSeats(i int) + func (m *LicenseMutation) AddedEdges() []string + func (m *LicenseMutation) AddedField(name string) (ent.Value, bool) + func (m *LicenseMutation) AddedFields() []string + func (m *LicenseMutation) AddedIDs(name string) []ent.Value + func (m *LicenseMutation) AddedSeats() (r int, exists bool) + func (m *LicenseMutation) AddedUsedSeats() (r int, exists bool) + func (m *LicenseMutation) ClearEdge(name string) error + func (m *LicenseMutation) ClearField(name string) error + func (m *LicenseMutation) ClearListing() + func (m *LicenseMutation) ClearOrganization() + func (m *LicenseMutation) ClearPurchaser() + func (m *LicenseMutation) ClearSeatAssignments() + func (m *LicenseMutation) ClearSeats() + func (m *LicenseMutation) ClearStripeSubscriptionID() + func (m *LicenseMutation) ClearValidUntil() + func (m *LicenseMutation) ClearedEdges() []string + func (m *LicenseMutation) ClearedFields() []string + func (m *LicenseMutation) CreatedAt() (r time.Time, exists bool) + func (m *LicenseMutation) EdgeCleared(name string) bool + func (m *LicenseMutation) Field(name string) (ent.Value, bool) + func (m *LicenseMutation) FieldCleared(name string) bool + func (m *LicenseMutation) Fields() []string + func (m *LicenseMutation) Filter() *LicenseFilter + func (m *LicenseMutation) ID() (id uuid.UUID, exists bool) + func (m *LicenseMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *LicenseMutation) LicenseType() (r license.LicenseType, exists bool) + func (m *LicenseMutation) ListingCleared() bool + func (m *LicenseMutation) ListingID() (r uuid.UUID, exists bool) + func (m *LicenseMutation) ListingIDs() (ids []uuid.UUID) + func (m *LicenseMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *LicenseMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *LicenseMutation) OldLicenseType(ctx context.Context) (v license.LicenseType, err error) + func (m *LicenseMutation) OldListingID(ctx context.Context) (v uuid.UUID, err error) + func (m *LicenseMutation) OldOrganizationID(ctx context.Context) (v uuid.UUID, err error) + func (m *LicenseMutation) OldPurchasedBy(ctx context.Context) (v uuid.UUID, err error) + func (m *LicenseMutation) OldSeats(ctx context.Context) (v *int, err error) + func (m *LicenseMutation) OldStripeSubscriptionID(ctx context.Context) (v *string, err error) + func (m *LicenseMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *LicenseMutation) OldUsedSeats(ctx context.Context) (v int, err error) + func (m *LicenseMutation) OldValidFrom(ctx context.Context) (v time.Time, err error) + func (m *LicenseMutation) OldValidUntil(ctx context.Context) (v *time.Time, err error) + func (m *LicenseMutation) Op() Op + func (m *LicenseMutation) OrganizationCleared() bool + func (m *LicenseMutation) OrganizationID() (r uuid.UUID, exists bool) + func (m *LicenseMutation) OrganizationIDs() (ids []uuid.UUID) + func (m *LicenseMutation) PurchasedBy() (r uuid.UUID, exists bool) + func (m *LicenseMutation) PurchaserCleared() bool + func (m *LicenseMutation) PurchaserID() (id uuid.UUID, exists bool) + func (m *LicenseMutation) PurchaserIDs() (ids []uuid.UUID) + func (m *LicenseMutation) RemoveSeatAssignmentIDs(ids ...uuid.UUID) + func (m *LicenseMutation) RemovedEdges() []string + func (m *LicenseMutation) RemovedIDs(name string) []ent.Value + func (m *LicenseMutation) RemovedSeatAssignmentsIDs() (ids []uuid.UUID) + func (m *LicenseMutation) ResetCreatedAt() + func (m *LicenseMutation) ResetEdge(name string) error + func (m *LicenseMutation) ResetField(name string) error + func (m *LicenseMutation) ResetLicenseType() + func (m *LicenseMutation) ResetListing() + func (m *LicenseMutation) ResetListingID() + func (m *LicenseMutation) ResetOrganization() + func (m *LicenseMutation) ResetOrganizationID() + func (m *LicenseMutation) ResetPurchasedBy() + func (m *LicenseMutation) ResetPurchaser() + func (m *LicenseMutation) ResetSeatAssignments() + func (m *LicenseMutation) ResetSeats() + func (m *LicenseMutation) ResetStripeSubscriptionID() + func (m *LicenseMutation) ResetUpdatedAt() + func (m *LicenseMutation) ResetUsedSeats() + func (m *LicenseMutation) ResetValidFrom() + func (m *LicenseMutation) ResetValidUntil() + func (m *LicenseMutation) SeatAssignmentsCleared() bool + func (m *LicenseMutation) SeatAssignmentsIDs() (ids []uuid.UUID) + func (m *LicenseMutation) Seats() (r int, exists bool) + func (m *LicenseMutation) SeatsCleared() bool + func (m *LicenseMutation) SetCreatedAt(t time.Time) + func (m *LicenseMutation) SetField(name string, value ent.Value) error + func (m *LicenseMutation) SetID(id uuid.UUID) + func (m *LicenseMutation) SetLicenseType(lt license.LicenseType) + func (m *LicenseMutation) SetListingID(u uuid.UUID) + func (m *LicenseMutation) SetOp(op Op) + func (m *LicenseMutation) SetOrganizationID(u uuid.UUID) + func (m *LicenseMutation) SetPurchasedBy(u uuid.UUID) + func (m *LicenseMutation) SetPurchaserID(id uuid.UUID) + func (m *LicenseMutation) SetSeats(i int) + func (m *LicenseMutation) SetStripeSubscriptionID(s string) + func (m *LicenseMutation) SetUpdatedAt(t time.Time) + func (m *LicenseMutation) SetUsedSeats(i int) + func (m *LicenseMutation) SetValidFrom(t time.Time) + func (m *LicenseMutation) SetValidUntil(t time.Time) + func (m *LicenseMutation) StripeSubscriptionID() (r string, exists bool) + func (m *LicenseMutation) StripeSubscriptionIDCleared() bool + func (m *LicenseMutation) Type() string + func (m *LicenseMutation) UpdatedAt() (r time.Time, exists bool) + func (m *LicenseMutation) UsedSeats() (r int, exists bool) + func (m *LicenseMutation) ValidFrom() (r time.Time, exists bool) + func (m *LicenseMutation) ValidUntil() (r time.Time, exists bool) + func (m *LicenseMutation) ValidUntilCleared() bool + func (m *LicenseMutation) Where(ps ...predicate.License) + func (m *LicenseMutation) WhereP(ps ...func(*sql.Selector)) + func (m LicenseMutation) Client() *Client + func (m LicenseMutation) Tx() (*Tx, error) + type LicenseQuery struct + func (_q *LicenseQuery) Aggregate(fns ...AggregateFunc) *LicenseSelect + func (_q *LicenseQuery) All(ctx context.Context) ([]*License, error) + func (_q *LicenseQuery) AllX(ctx context.Context) []*License + func (_q *LicenseQuery) Clone() *LicenseQuery + func (_q *LicenseQuery) Count(ctx context.Context) (int, error) + func (_q *LicenseQuery) CountX(ctx context.Context) int + func (_q *LicenseQuery) Exist(ctx context.Context) (bool, error) + func (_q *LicenseQuery) ExistX(ctx context.Context) bool + func (_q *LicenseQuery) Filter() *LicenseFilter + func (_q *LicenseQuery) First(ctx context.Context) (*License, error) + func (_q *LicenseQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *LicenseQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *LicenseQuery) FirstX(ctx context.Context) *License + func (_q *LicenseQuery) GroupBy(field string, fields ...string) *LicenseGroupBy + func (_q *LicenseQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *LicenseQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *LicenseQuery) Limit(limit int) *LicenseQuery + func (_q *LicenseQuery) Offset(offset int) *LicenseQuery + func (_q *LicenseQuery) Only(ctx context.Context) (*License, error) + func (_q *LicenseQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *LicenseQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *LicenseQuery) OnlyX(ctx context.Context) *License + func (_q *LicenseQuery) Order(o ...license.OrderOption) *LicenseQuery + func (_q *LicenseQuery) QueryListing() *ListingQuery + func (_q *LicenseQuery) QueryOrganization() *OrganizationQuery + func (_q *LicenseQuery) QueryPurchaser() *PrincipalQuery + func (_q *LicenseQuery) QuerySeatAssignments() *SeatAssignmentQuery + func (_q *LicenseQuery) Select(fields ...string) *LicenseSelect + func (_q *LicenseQuery) Unique(unique bool) *LicenseQuery + func (_q *LicenseQuery) Where(ps ...predicate.License) *LicenseQuery + func (_q *LicenseQuery) WithListing(opts ...func(*ListingQuery)) *LicenseQuery + func (_q *LicenseQuery) WithOrganization(opts ...func(*OrganizationQuery)) *LicenseQuery + func (_q *LicenseQuery) WithPurchaser(opts ...func(*PrincipalQuery)) *LicenseQuery + func (_q *LicenseQuery) WithSeatAssignments(opts ...func(*SeatAssignmentQuery)) *LicenseQuery + type LicenseSelect struct + func (_s *LicenseSelect) Aggregate(fns ...AggregateFunc) *LicenseSelect + func (_s *LicenseSelect) Scan(ctx context.Context, v any) error + func (s *LicenseSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *LicenseSelect) BoolX(ctx context.Context) bool + func (s *LicenseSelect) Bools(ctx context.Context) ([]bool, error) + func (s *LicenseSelect) BoolsX(ctx context.Context) []bool + func (s *LicenseSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *LicenseSelect) Float64X(ctx context.Context) float64 + func (s *LicenseSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *LicenseSelect) Float64sX(ctx context.Context) []float64 + func (s *LicenseSelect) Int(ctx context.Context) (_ int, err error) + func (s *LicenseSelect) IntX(ctx context.Context) int + func (s *LicenseSelect) Ints(ctx context.Context) ([]int, error) + func (s *LicenseSelect) IntsX(ctx context.Context) []int + func (s *LicenseSelect) ScanX(ctx context.Context, v any) + func (s *LicenseSelect) String(ctx context.Context) (_ string, err error) + func (s *LicenseSelect) StringX(ctx context.Context) string + func (s *LicenseSelect) Strings(ctx context.Context) ([]string, error) + func (s *LicenseSelect) StringsX(ctx context.Context) []string + type LicenseUpdate struct + func (_u *LicenseUpdate) AddSeatAssignmentIDs(ids ...uuid.UUID) *LicenseUpdate + func (_u *LicenseUpdate) AddSeatAssignments(v ...*SeatAssignment) *LicenseUpdate + func (_u *LicenseUpdate) AddSeats(v int) *LicenseUpdate + func (_u *LicenseUpdate) AddUsedSeats(v int) *LicenseUpdate + func (_u *LicenseUpdate) ClearListing() *LicenseUpdate + func (_u *LicenseUpdate) ClearOrganization() *LicenseUpdate + func (_u *LicenseUpdate) ClearPurchaser() *LicenseUpdate + func (_u *LicenseUpdate) ClearSeatAssignments() *LicenseUpdate + func (_u *LicenseUpdate) ClearSeats() *LicenseUpdate + func (_u *LicenseUpdate) ClearStripeSubscriptionID() *LicenseUpdate + func (_u *LicenseUpdate) ClearValidUntil() *LicenseUpdate + func (_u *LicenseUpdate) Exec(ctx context.Context) error + func (_u *LicenseUpdate) ExecX(ctx context.Context) + func (_u *LicenseUpdate) Mutation() *LicenseMutation + func (_u *LicenseUpdate) RemoveSeatAssignmentIDs(ids ...uuid.UUID) *LicenseUpdate + func (_u *LicenseUpdate) RemoveSeatAssignments(v ...*SeatAssignment) *LicenseUpdate + func (_u *LicenseUpdate) Save(ctx context.Context) (int, error) + func (_u *LicenseUpdate) SaveX(ctx context.Context) int + func (_u *LicenseUpdate) SetLicenseType(v license.LicenseType) *LicenseUpdate + func (_u *LicenseUpdate) SetListing(v *Listing) *LicenseUpdate + func (_u *LicenseUpdate) SetListingID(v uuid.UUID) *LicenseUpdate + func (_u *LicenseUpdate) SetNillableLicenseType(v *license.LicenseType) *LicenseUpdate + func (_u *LicenseUpdate) SetNillableListingID(v *uuid.UUID) *LicenseUpdate + func (_u *LicenseUpdate) SetNillableOrganizationID(v *uuid.UUID) *LicenseUpdate + func (_u *LicenseUpdate) SetNillablePurchasedBy(v *uuid.UUID) *LicenseUpdate + func (_u *LicenseUpdate) SetNillableSeats(v *int) *LicenseUpdate + func (_u *LicenseUpdate) SetNillableStripeSubscriptionID(v *string) *LicenseUpdate + func (_u *LicenseUpdate) SetNillableUsedSeats(v *int) *LicenseUpdate + func (_u *LicenseUpdate) SetNillableValidFrom(v *time.Time) *LicenseUpdate + func (_u *LicenseUpdate) SetNillableValidUntil(v *time.Time) *LicenseUpdate + func (_u *LicenseUpdate) SetOrganization(v *Organization) *LicenseUpdate + func (_u *LicenseUpdate) SetOrganizationID(v uuid.UUID) *LicenseUpdate + func (_u *LicenseUpdate) SetPurchasedBy(v uuid.UUID) *LicenseUpdate + func (_u *LicenseUpdate) SetPurchaser(v *Principal) *LicenseUpdate + func (_u *LicenseUpdate) SetPurchaserID(id uuid.UUID) *LicenseUpdate + func (_u *LicenseUpdate) SetSeats(v int) *LicenseUpdate + func (_u *LicenseUpdate) SetStripeSubscriptionID(v string) *LicenseUpdate + func (_u *LicenseUpdate) SetUpdatedAt(v time.Time) *LicenseUpdate + func (_u *LicenseUpdate) SetUsedSeats(v int) *LicenseUpdate + func (_u *LicenseUpdate) SetValidFrom(v time.Time) *LicenseUpdate + func (_u *LicenseUpdate) SetValidUntil(v time.Time) *LicenseUpdate + func (_u *LicenseUpdate) Where(ps ...predicate.License) *LicenseUpdate + type LicenseUpdateOne struct + func (_u *LicenseUpdateOne) AddSeatAssignmentIDs(ids ...uuid.UUID) *LicenseUpdateOne + func (_u *LicenseUpdateOne) AddSeatAssignments(v ...*SeatAssignment) *LicenseUpdateOne + func (_u *LicenseUpdateOne) AddSeats(v int) *LicenseUpdateOne + func (_u *LicenseUpdateOne) AddUsedSeats(v int) *LicenseUpdateOne + func (_u *LicenseUpdateOne) ClearListing() *LicenseUpdateOne + func (_u *LicenseUpdateOne) ClearOrganization() *LicenseUpdateOne + func (_u *LicenseUpdateOne) ClearPurchaser() *LicenseUpdateOne + func (_u *LicenseUpdateOne) ClearSeatAssignments() *LicenseUpdateOne + func (_u *LicenseUpdateOne) ClearSeats() *LicenseUpdateOne + func (_u *LicenseUpdateOne) ClearStripeSubscriptionID() *LicenseUpdateOne + func (_u *LicenseUpdateOne) ClearValidUntil() *LicenseUpdateOne + func (_u *LicenseUpdateOne) Exec(ctx context.Context) error + func (_u *LicenseUpdateOne) ExecX(ctx context.Context) + func (_u *LicenseUpdateOne) Mutation() *LicenseMutation + func (_u *LicenseUpdateOne) RemoveSeatAssignmentIDs(ids ...uuid.UUID) *LicenseUpdateOne + func (_u *LicenseUpdateOne) RemoveSeatAssignments(v ...*SeatAssignment) *LicenseUpdateOne + func (_u *LicenseUpdateOne) Save(ctx context.Context) (*License, error) + func (_u *LicenseUpdateOne) SaveX(ctx context.Context) *License + func (_u *LicenseUpdateOne) Select(field string, fields ...string) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetLicenseType(v license.LicenseType) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetListing(v *Listing) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetListingID(v uuid.UUID) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetNillableLicenseType(v *license.LicenseType) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetNillableListingID(v *uuid.UUID) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetNillableOrganizationID(v *uuid.UUID) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetNillablePurchasedBy(v *uuid.UUID) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetNillableSeats(v *int) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetNillableStripeSubscriptionID(v *string) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetNillableUsedSeats(v *int) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetNillableValidFrom(v *time.Time) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetNillableValidUntil(v *time.Time) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetOrganization(v *Organization) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetOrganizationID(v uuid.UUID) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetPurchasedBy(v uuid.UUID) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetPurchaser(v *Principal) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetPurchaserID(id uuid.UUID) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetSeats(v int) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetStripeSubscriptionID(v string) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetUpdatedAt(v time.Time) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetUsedSeats(v int) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetValidFrom(v time.Time) *LicenseUpdateOne + func (_u *LicenseUpdateOne) SetValidUntil(v time.Time) *LicenseUpdateOne + func (_u *LicenseUpdateOne) Where(ps ...predicate.License) *LicenseUpdateOne + type LicenseUpsert struct + func (u *LicenseUpsert) AddSeats(v int) *LicenseUpsert + func (u *LicenseUpsert) AddUsedSeats(v int) *LicenseUpsert + func (u *LicenseUpsert) ClearSeats() *LicenseUpsert + func (u *LicenseUpsert) ClearStripeSubscriptionID() *LicenseUpsert + func (u *LicenseUpsert) ClearValidUntil() *LicenseUpsert + func (u *LicenseUpsert) SetLicenseType(v license.LicenseType) *LicenseUpsert + func (u *LicenseUpsert) SetListingID(v uuid.UUID) *LicenseUpsert + func (u *LicenseUpsert) SetOrganizationID(v uuid.UUID) *LicenseUpsert + func (u *LicenseUpsert) SetPurchasedBy(v uuid.UUID) *LicenseUpsert + func (u *LicenseUpsert) SetSeats(v int) *LicenseUpsert + func (u *LicenseUpsert) SetStripeSubscriptionID(v string) *LicenseUpsert + func (u *LicenseUpsert) SetUpdatedAt(v time.Time) *LicenseUpsert + func (u *LicenseUpsert) SetUsedSeats(v int) *LicenseUpsert + func (u *LicenseUpsert) SetValidFrom(v time.Time) *LicenseUpsert + func (u *LicenseUpsert) SetValidUntil(v time.Time) *LicenseUpsert + func (u *LicenseUpsert) UpdateLicenseType() *LicenseUpsert + func (u *LicenseUpsert) UpdateListingID() *LicenseUpsert + func (u *LicenseUpsert) UpdateOrganizationID() *LicenseUpsert + func (u *LicenseUpsert) UpdatePurchasedBy() *LicenseUpsert + func (u *LicenseUpsert) UpdateSeats() *LicenseUpsert + func (u *LicenseUpsert) UpdateStripeSubscriptionID() *LicenseUpsert + func (u *LicenseUpsert) UpdateUpdatedAt() *LicenseUpsert + func (u *LicenseUpsert) UpdateUsedSeats() *LicenseUpsert + func (u *LicenseUpsert) UpdateValidFrom() *LicenseUpsert + func (u *LicenseUpsert) UpdateValidUntil() *LicenseUpsert + type LicenseUpsertBulk struct + func (u *LicenseUpsertBulk) AddSeats(v int) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) AddUsedSeats(v int) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) ClearSeats() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) ClearStripeSubscriptionID() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) ClearValidUntil() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) DoNothing() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) Exec(ctx context.Context) error + func (u *LicenseUpsertBulk) ExecX(ctx context.Context) + func (u *LicenseUpsertBulk) Ignore() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) SetLicenseType(v license.LicenseType) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) SetListingID(v uuid.UUID) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) SetOrganizationID(v uuid.UUID) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) SetPurchasedBy(v uuid.UUID) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) SetSeats(v int) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) SetStripeSubscriptionID(v string) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) SetUpdatedAt(v time.Time) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) SetUsedSeats(v int) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) SetValidFrom(v time.Time) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) SetValidUntil(v time.Time) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) Update(set func(*LicenseUpsert)) *LicenseUpsertBulk + func (u *LicenseUpsertBulk) UpdateLicenseType() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) UpdateListingID() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) UpdateNewValues() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) UpdateOrganizationID() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) UpdatePurchasedBy() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) UpdateSeats() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) UpdateStripeSubscriptionID() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) UpdateUpdatedAt() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) UpdateUsedSeats() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) UpdateValidFrom() *LicenseUpsertBulk + func (u *LicenseUpsertBulk) UpdateValidUntil() *LicenseUpsertBulk + type LicenseUpsertOne struct + func (u *LicenseUpsertOne) AddSeats(v int) *LicenseUpsertOne + func (u *LicenseUpsertOne) AddUsedSeats(v int) *LicenseUpsertOne + func (u *LicenseUpsertOne) ClearSeats() *LicenseUpsertOne + func (u *LicenseUpsertOne) ClearStripeSubscriptionID() *LicenseUpsertOne + func (u *LicenseUpsertOne) ClearValidUntil() *LicenseUpsertOne + func (u *LicenseUpsertOne) DoNothing() *LicenseUpsertOne + func (u *LicenseUpsertOne) Exec(ctx context.Context) error + func (u *LicenseUpsertOne) ExecX(ctx context.Context) + func (u *LicenseUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *LicenseUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *LicenseUpsertOne) Ignore() *LicenseUpsertOne + func (u *LicenseUpsertOne) SetLicenseType(v license.LicenseType) *LicenseUpsertOne + func (u *LicenseUpsertOne) SetListingID(v uuid.UUID) *LicenseUpsertOne + func (u *LicenseUpsertOne) SetOrganizationID(v uuid.UUID) *LicenseUpsertOne + func (u *LicenseUpsertOne) SetPurchasedBy(v uuid.UUID) *LicenseUpsertOne + func (u *LicenseUpsertOne) SetSeats(v int) *LicenseUpsertOne + func (u *LicenseUpsertOne) SetStripeSubscriptionID(v string) *LicenseUpsertOne + func (u *LicenseUpsertOne) SetUpdatedAt(v time.Time) *LicenseUpsertOne + func (u *LicenseUpsertOne) SetUsedSeats(v int) *LicenseUpsertOne + func (u *LicenseUpsertOne) SetValidFrom(v time.Time) *LicenseUpsertOne + func (u *LicenseUpsertOne) SetValidUntil(v time.Time) *LicenseUpsertOne + func (u *LicenseUpsertOne) Update(set func(*LicenseUpsert)) *LicenseUpsertOne + func (u *LicenseUpsertOne) UpdateLicenseType() *LicenseUpsertOne + func (u *LicenseUpsertOne) UpdateListingID() *LicenseUpsertOne + func (u *LicenseUpsertOne) UpdateNewValues() *LicenseUpsertOne + func (u *LicenseUpsertOne) UpdateOrganizationID() *LicenseUpsertOne + func (u *LicenseUpsertOne) UpdatePurchasedBy() *LicenseUpsertOne + func (u *LicenseUpsertOne) UpdateSeats() *LicenseUpsertOne + func (u *LicenseUpsertOne) UpdateStripeSubscriptionID() *LicenseUpsertOne + func (u *LicenseUpsertOne) UpdateUpdatedAt() *LicenseUpsertOne + func (u *LicenseUpsertOne) UpdateUsedSeats() *LicenseUpsertOne + func (u *LicenseUpsertOne) UpdateValidFrom() *LicenseUpsertOne + func (u *LicenseUpsertOne) UpdateValidUntil() *LicenseUpsertOne + type Licenses []*License + type Listing struct + CreatedAt time.Time + CreatorOrgID uuid.UUID + Currency string + Description string + Edges ListingEdges + ID uuid.UUID + Metadata map[string]interface{} + OwnerID uuid.UUID + PriceCents int64 + PricingModel listing.PricingModel + ProductID *uuid.UUID + ProductType string + PublishedAt *time.Time + Status listing.Status + Title string + UpdatedAt time.Time + func (_m *Listing) QueryCreatorOrg() *OrganizationQuery + func (_m *Listing) QueryLicenses() *LicenseQuery + func (_m *Listing) QueryOwner() *PrincipalQuery + func (_m *Listing) String() string + func (_m *Listing) Unwrap() *Listing + func (_m *Listing) Update() *ListingUpdateOne + func (_m *Listing) Value(name string) (ent.Value, error) + type ListingClient struct + func NewListingClient(c config) *ListingClient + func (c *ListingClient) Create() *ListingCreate + func (c *ListingClient) CreateBulk(builders ...*ListingCreate) *ListingCreateBulk + func (c *ListingClient) Delete() *ListingDelete + func (c *ListingClient) DeleteOne(_m *Listing) *ListingDeleteOne + func (c *ListingClient) DeleteOneID(id uuid.UUID) *ListingDeleteOne + func (c *ListingClient) Get(ctx context.Context, id uuid.UUID) (*Listing, error) + func (c *ListingClient) GetX(ctx context.Context, id uuid.UUID) *Listing + func (c *ListingClient) Hooks() []Hook + func (c *ListingClient) Intercept(interceptors ...Interceptor) + func (c *ListingClient) Interceptors() []Interceptor + func (c *ListingClient) MapCreateBulk(slice any, setFunc func(*ListingCreate, int)) *ListingCreateBulk + func (c *ListingClient) Query() *ListingQuery + func (c *ListingClient) QueryCreatorOrg(_m *Listing) *OrganizationQuery + func (c *ListingClient) QueryLicenses(_m *Listing) *LicenseQuery + func (c *ListingClient) QueryOwner(_m *Listing) *PrincipalQuery + func (c *ListingClient) Update() *ListingUpdate + func (c *ListingClient) UpdateOne(_m *Listing) *ListingUpdateOne + func (c *ListingClient) UpdateOneID(id uuid.UUID) *ListingUpdateOne + func (c *ListingClient) Use(hooks ...Hook) + type ListingCreate struct + func (_c *ListingCreate) AddLicenseIDs(ids ...uuid.UUID) *ListingCreate + func (_c *ListingCreate) AddLicenses(v ...*License) *ListingCreate + func (_c *ListingCreate) Exec(ctx context.Context) error + func (_c *ListingCreate) ExecX(ctx context.Context) + func (_c *ListingCreate) Mutation() *ListingMutation + func (_c *ListingCreate) OnConflict(opts ...sql.ConflictOption) *ListingUpsertOne + func (_c *ListingCreate) OnConflictColumns(columns ...string) *ListingUpsertOne + func (_c *ListingCreate) Save(ctx context.Context) (*Listing, error) + func (_c *ListingCreate) SaveX(ctx context.Context) *Listing + func (_c *ListingCreate) SetCreatedAt(v time.Time) *ListingCreate + func (_c *ListingCreate) SetCreatorOrg(v *Organization) *ListingCreate + func (_c *ListingCreate) SetCreatorOrgID(v uuid.UUID) *ListingCreate + func (_c *ListingCreate) SetCurrency(v string) *ListingCreate + func (_c *ListingCreate) SetDescription(v string) *ListingCreate + func (_c *ListingCreate) SetID(v uuid.UUID) *ListingCreate + func (_c *ListingCreate) SetMetadata(v map[string]interface{}) *ListingCreate + func (_c *ListingCreate) SetNillableCreatedAt(v *time.Time) *ListingCreate + func (_c *ListingCreate) SetNillableCurrency(v *string) *ListingCreate + func (_c *ListingCreate) SetNillableDescription(v *string) *ListingCreate + func (_c *ListingCreate) SetNillableID(v *uuid.UUID) *ListingCreate + func (_c *ListingCreate) SetNillablePriceCents(v *int64) *ListingCreate + func (_c *ListingCreate) SetNillablePricingModel(v *listing.PricingModel) *ListingCreate + func (_c *ListingCreate) SetNillableProductID(v *uuid.UUID) *ListingCreate + func (_c *ListingCreate) SetNillablePublishedAt(v *time.Time) *ListingCreate + func (_c *ListingCreate) SetNillableStatus(v *listing.Status) *ListingCreate + func (_c *ListingCreate) SetNillableUpdatedAt(v *time.Time) *ListingCreate + func (_c *ListingCreate) SetOwner(v *Principal) *ListingCreate + func (_c *ListingCreate) SetOwnerID(v uuid.UUID) *ListingCreate + func (_c *ListingCreate) SetPriceCents(v int64) *ListingCreate + func (_c *ListingCreate) SetPricingModel(v listing.PricingModel) *ListingCreate + func (_c *ListingCreate) SetProductID(v uuid.UUID) *ListingCreate + func (_c *ListingCreate) SetProductType(v string) *ListingCreate + func (_c *ListingCreate) SetPublishedAt(v time.Time) *ListingCreate + func (_c *ListingCreate) SetStatus(v listing.Status) *ListingCreate + func (_c *ListingCreate) SetTitle(v string) *ListingCreate + func (_c *ListingCreate) SetUpdatedAt(v time.Time) *ListingCreate + type ListingCreateBulk struct + func (_c *ListingCreateBulk) Exec(ctx context.Context) error + func (_c *ListingCreateBulk) ExecX(ctx context.Context) + func (_c *ListingCreateBulk) OnConflict(opts ...sql.ConflictOption) *ListingUpsertBulk + func (_c *ListingCreateBulk) OnConflictColumns(columns ...string) *ListingUpsertBulk + func (_c *ListingCreateBulk) Save(ctx context.Context) ([]*Listing, error) + func (_c *ListingCreateBulk) SaveX(ctx context.Context) []*Listing + type ListingDelete struct + func (_d *ListingDelete) Exec(ctx context.Context) (int, error) + func (_d *ListingDelete) ExecX(ctx context.Context) int + func (_d *ListingDelete) Where(ps ...predicate.Listing) *ListingDelete + type ListingDeleteOne struct + func (_d *ListingDeleteOne) Exec(ctx context.Context) error + func (_d *ListingDeleteOne) ExecX(ctx context.Context) + func (_d *ListingDeleteOne) Where(ps ...predicate.Listing) *ListingDeleteOne + type ListingEdges struct + CreatorOrg *Organization + Licenses []*License + Owner *Principal + func (e ListingEdges) CreatorOrgOrErr() (*Organization, error) + func (e ListingEdges) LicensesOrErr() ([]*License, error) + func (e ListingEdges) OwnerOrErr() (*Principal, error) + type ListingFilter struct + func (f *ListingFilter) Where(p entql.P) + func (f *ListingFilter) WhereCreatedAt(p entql.TimeP) + func (f *ListingFilter) WhereCreatorOrgID(p entql.ValueP) + func (f *ListingFilter) WhereCurrency(p entql.StringP) + func (f *ListingFilter) WhereDescription(p entql.StringP) + func (f *ListingFilter) WhereHasCreatorOrg() + func (f *ListingFilter) WhereHasCreatorOrgWith(preds ...predicate.Organization) + func (f *ListingFilter) WhereHasLicenses() + func (f *ListingFilter) WhereHasLicensesWith(preds ...predicate.License) + func (f *ListingFilter) WhereHasOwner() + func (f *ListingFilter) WhereHasOwnerWith(preds ...predicate.Principal) + func (f *ListingFilter) WhereID(p entql.ValueP) + func (f *ListingFilter) WhereMetadata(p entql.BytesP) + func (f *ListingFilter) WhereOwnerID(p entql.ValueP) + func (f *ListingFilter) WherePriceCents(p entql.Int64P) + func (f *ListingFilter) WherePricingModel(p entql.StringP) + func (f *ListingFilter) WhereProductID(p entql.ValueP) + func (f *ListingFilter) WhereProductType(p entql.StringP) + func (f *ListingFilter) WherePublishedAt(p entql.TimeP) + func (f *ListingFilter) WhereStatus(p entql.StringP) + func (f *ListingFilter) WhereTitle(p entql.StringP) + func (f *ListingFilter) WhereUpdatedAt(p entql.TimeP) + type ListingGroupBy struct + func (_g *ListingGroupBy) Aggregate(fns ...AggregateFunc) *ListingGroupBy + func (_g *ListingGroupBy) Scan(ctx context.Context, v any) error + func (s *ListingGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ListingGroupBy) BoolX(ctx context.Context) bool + func (s *ListingGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ListingGroupBy) BoolsX(ctx context.Context) []bool + func (s *ListingGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ListingGroupBy) Float64X(ctx context.Context) float64 + func (s *ListingGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ListingGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ListingGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ListingGroupBy) IntX(ctx context.Context) int + func (s *ListingGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ListingGroupBy) IntsX(ctx context.Context) []int + func (s *ListingGroupBy) ScanX(ctx context.Context, v any) + func (s *ListingGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ListingGroupBy) StringX(ctx context.Context) string + func (s *ListingGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ListingGroupBy) StringsX(ctx context.Context) []string + type ListingMutation struct + func (m *ListingMutation) AddField(name string, value ent.Value) error + func (m *ListingMutation) AddLicenseIDs(ids ...uuid.UUID) + func (m *ListingMutation) AddPriceCents(i int64) + func (m *ListingMutation) AddedEdges() []string + func (m *ListingMutation) AddedField(name string) (ent.Value, bool) + func (m *ListingMutation) AddedFields() []string + func (m *ListingMutation) AddedIDs(name string) []ent.Value + func (m *ListingMutation) AddedPriceCents() (r int64, exists bool) + func (m *ListingMutation) ClearCreatorOrg() + func (m *ListingMutation) ClearDescription() + func (m *ListingMutation) ClearEdge(name string) error + func (m *ListingMutation) ClearField(name string) error + func (m *ListingMutation) ClearLicenses() + func (m *ListingMutation) ClearMetadata() + func (m *ListingMutation) ClearOwner() + func (m *ListingMutation) ClearProductID() + func (m *ListingMutation) ClearPublishedAt() + func (m *ListingMutation) ClearedEdges() []string + func (m *ListingMutation) ClearedFields() []string + func (m *ListingMutation) CreatedAt() (r time.Time, exists bool) + func (m *ListingMutation) CreatorOrgCleared() bool + func (m *ListingMutation) CreatorOrgID() (r uuid.UUID, exists bool) + func (m *ListingMutation) CreatorOrgIDs() (ids []uuid.UUID) + func (m *ListingMutation) Currency() (r string, exists bool) + func (m *ListingMutation) Description() (r string, exists bool) + func (m *ListingMutation) DescriptionCleared() bool + func (m *ListingMutation) EdgeCleared(name string) bool + func (m *ListingMutation) Field(name string) (ent.Value, bool) + func (m *ListingMutation) FieldCleared(name string) bool + func (m *ListingMutation) Fields() []string + func (m *ListingMutation) Filter() *ListingFilter + func (m *ListingMutation) ID() (id uuid.UUID, exists bool) + func (m *ListingMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *ListingMutation) LicensesCleared() bool + func (m *ListingMutation) LicensesIDs() (ids []uuid.UUID) + func (m *ListingMutation) Metadata() (r map[string]interface{}, exists bool) + func (m *ListingMutation) MetadataCleared() bool + func (m *ListingMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *ListingMutation) OldCreatorOrgID(ctx context.Context) (v uuid.UUID, err error) + func (m *ListingMutation) OldCurrency(ctx context.Context) (v string, err error) + func (m *ListingMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *ListingMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ListingMutation) OldMetadata(ctx context.Context) (v map[string]interface{}, err error) + func (m *ListingMutation) OldOwnerID(ctx context.Context) (v uuid.UUID, err error) + func (m *ListingMutation) OldPriceCents(ctx context.Context) (v int64, err error) + func (m *ListingMutation) OldPricingModel(ctx context.Context) (v listing.PricingModel, err error) + func (m *ListingMutation) OldProductID(ctx context.Context) (v *uuid.UUID, err error) + func (m *ListingMutation) OldProductType(ctx context.Context) (v string, err error) + func (m *ListingMutation) OldPublishedAt(ctx context.Context) (v *time.Time, err error) + func (m *ListingMutation) OldStatus(ctx context.Context) (v listing.Status, err error) + func (m *ListingMutation) OldTitle(ctx context.Context) (v string, err error) + func (m *ListingMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *ListingMutation) Op() Op + func (m *ListingMutation) OwnerCleared() bool + func (m *ListingMutation) OwnerID() (r uuid.UUID, exists bool) + func (m *ListingMutation) OwnerIDs() (ids []uuid.UUID) + func (m *ListingMutation) PriceCents() (r int64, exists bool) + func (m *ListingMutation) PricingModel() (r listing.PricingModel, exists bool) + func (m *ListingMutation) ProductID() (r uuid.UUID, exists bool) + func (m *ListingMutation) ProductIDCleared() bool + func (m *ListingMutation) ProductType() (r string, exists bool) + func (m *ListingMutation) PublishedAt() (r time.Time, exists bool) + func (m *ListingMutation) PublishedAtCleared() bool + func (m *ListingMutation) RemoveLicenseIDs(ids ...uuid.UUID) + func (m *ListingMutation) RemovedEdges() []string + func (m *ListingMutation) RemovedIDs(name string) []ent.Value + func (m *ListingMutation) RemovedLicensesIDs() (ids []uuid.UUID) + func (m *ListingMutation) ResetCreatedAt() + func (m *ListingMutation) ResetCreatorOrg() + func (m *ListingMutation) ResetCreatorOrgID() + func (m *ListingMutation) ResetCurrency() + func (m *ListingMutation) ResetDescription() + func (m *ListingMutation) ResetEdge(name string) error + func (m *ListingMutation) ResetField(name string) error + func (m *ListingMutation) ResetLicenses() + func (m *ListingMutation) ResetMetadata() + func (m *ListingMutation) ResetOwner() + func (m *ListingMutation) ResetOwnerID() + func (m *ListingMutation) ResetPriceCents() + func (m *ListingMutation) ResetPricingModel() + func (m *ListingMutation) ResetProductID() + func (m *ListingMutation) ResetProductType() + func (m *ListingMutation) ResetPublishedAt() + func (m *ListingMutation) ResetStatus() + func (m *ListingMutation) ResetTitle() + func (m *ListingMutation) ResetUpdatedAt() + func (m *ListingMutation) SetCreatedAt(t time.Time) + func (m *ListingMutation) SetCreatorOrgID(u uuid.UUID) + func (m *ListingMutation) SetCurrency(s string) + func (m *ListingMutation) SetDescription(s string) + func (m *ListingMutation) SetField(name string, value ent.Value) error + func (m *ListingMutation) SetID(id uuid.UUID) + func (m *ListingMutation) SetMetadata(value map[string]interface{}) + func (m *ListingMutation) SetOp(op Op) + func (m *ListingMutation) SetOwnerID(u uuid.UUID) + func (m *ListingMutation) SetPriceCents(i int64) + func (m *ListingMutation) SetPricingModel(lm listing.PricingModel) + func (m *ListingMutation) SetProductID(u uuid.UUID) + func (m *ListingMutation) SetProductType(s string) + func (m *ListingMutation) SetPublishedAt(t time.Time) + func (m *ListingMutation) SetStatus(l listing.Status) + func (m *ListingMutation) SetTitle(s string) + func (m *ListingMutation) SetUpdatedAt(t time.Time) + func (m *ListingMutation) Status() (r listing.Status, exists bool) + func (m *ListingMutation) Title() (r string, exists bool) + func (m *ListingMutation) Type() string + func (m *ListingMutation) UpdatedAt() (r time.Time, exists bool) + func (m *ListingMutation) Where(ps ...predicate.Listing) + func (m *ListingMutation) WhereP(ps ...func(*sql.Selector)) + func (m ListingMutation) Client() *Client + func (m ListingMutation) Tx() (*Tx, error) + type ListingQuery struct + func (_q *ListingQuery) Aggregate(fns ...AggregateFunc) *ListingSelect + func (_q *ListingQuery) All(ctx context.Context) ([]*Listing, error) + func (_q *ListingQuery) AllX(ctx context.Context) []*Listing + func (_q *ListingQuery) Clone() *ListingQuery + func (_q *ListingQuery) Count(ctx context.Context) (int, error) + func (_q *ListingQuery) CountX(ctx context.Context) int + func (_q *ListingQuery) Exist(ctx context.Context) (bool, error) + func (_q *ListingQuery) ExistX(ctx context.Context) bool + func (_q *ListingQuery) Filter() *ListingFilter + func (_q *ListingQuery) First(ctx context.Context) (*Listing, error) + func (_q *ListingQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *ListingQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *ListingQuery) FirstX(ctx context.Context) *Listing + func (_q *ListingQuery) GroupBy(field string, fields ...string) *ListingGroupBy + func (_q *ListingQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *ListingQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *ListingQuery) Limit(limit int) *ListingQuery + func (_q *ListingQuery) Offset(offset int) *ListingQuery + func (_q *ListingQuery) Only(ctx context.Context) (*Listing, error) + func (_q *ListingQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *ListingQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *ListingQuery) OnlyX(ctx context.Context) *Listing + func (_q *ListingQuery) Order(o ...listing.OrderOption) *ListingQuery + func (_q *ListingQuery) QueryCreatorOrg() *OrganizationQuery + func (_q *ListingQuery) QueryLicenses() *LicenseQuery + func (_q *ListingQuery) QueryOwner() *PrincipalQuery + func (_q *ListingQuery) Select(fields ...string) *ListingSelect + func (_q *ListingQuery) Unique(unique bool) *ListingQuery + func (_q *ListingQuery) Where(ps ...predicate.Listing) *ListingQuery + func (_q *ListingQuery) WithCreatorOrg(opts ...func(*OrganizationQuery)) *ListingQuery + func (_q *ListingQuery) WithLicenses(opts ...func(*LicenseQuery)) *ListingQuery + func (_q *ListingQuery) WithOwner(opts ...func(*PrincipalQuery)) *ListingQuery + type ListingSelect struct + func (_s *ListingSelect) Aggregate(fns ...AggregateFunc) *ListingSelect + func (_s *ListingSelect) Scan(ctx context.Context, v any) error + func (s *ListingSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ListingSelect) BoolX(ctx context.Context) bool + func (s *ListingSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ListingSelect) BoolsX(ctx context.Context) []bool + func (s *ListingSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ListingSelect) Float64X(ctx context.Context) float64 + func (s *ListingSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ListingSelect) Float64sX(ctx context.Context) []float64 + func (s *ListingSelect) Int(ctx context.Context) (_ int, err error) + func (s *ListingSelect) IntX(ctx context.Context) int + func (s *ListingSelect) Ints(ctx context.Context) ([]int, error) + func (s *ListingSelect) IntsX(ctx context.Context) []int + func (s *ListingSelect) ScanX(ctx context.Context, v any) + func (s *ListingSelect) String(ctx context.Context) (_ string, err error) + func (s *ListingSelect) StringX(ctx context.Context) string + func (s *ListingSelect) Strings(ctx context.Context) ([]string, error) + func (s *ListingSelect) StringsX(ctx context.Context) []string + type ListingUpdate struct + func (_u *ListingUpdate) AddLicenseIDs(ids ...uuid.UUID) *ListingUpdate + func (_u *ListingUpdate) AddLicenses(v ...*License) *ListingUpdate + func (_u *ListingUpdate) AddPriceCents(v int64) *ListingUpdate + func (_u *ListingUpdate) ClearCreatorOrg() *ListingUpdate + func (_u *ListingUpdate) ClearDescription() *ListingUpdate + func (_u *ListingUpdate) ClearLicenses() *ListingUpdate + func (_u *ListingUpdate) ClearMetadata() *ListingUpdate + func (_u *ListingUpdate) ClearOwner() *ListingUpdate + func (_u *ListingUpdate) ClearProductID() *ListingUpdate + func (_u *ListingUpdate) ClearPublishedAt() *ListingUpdate + func (_u *ListingUpdate) Exec(ctx context.Context) error + func (_u *ListingUpdate) ExecX(ctx context.Context) + func (_u *ListingUpdate) Mutation() *ListingMutation + func (_u *ListingUpdate) RemoveLicenseIDs(ids ...uuid.UUID) *ListingUpdate + func (_u *ListingUpdate) RemoveLicenses(v ...*License) *ListingUpdate + func (_u *ListingUpdate) Save(ctx context.Context) (int, error) + func (_u *ListingUpdate) SaveX(ctx context.Context) int + func (_u *ListingUpdate) SetCreatorOrg(v *Organization) *ListingUpdate + func (_u *ListingUpdate) SetCreatorOrgID(v uuid.UUID) *ListingUpdate + func (_u *ListingUpdate) SetCurrency(v string) *ListingUpdate + func (_u *ListingUpdate) SetDescription(v string) *ListingUpdate + func (_u *ListingUpdate) SetMetadata(v map[string]interface{}) *ListingUpdate + func (_u *ListingUpdate) SetNillableCreatorOrgID(v *uuid.UUID) *ListingUpdate + func (_u *ListingUpdate) SetNillableCurrency(v *string) *ListingUpdate + func (_u *ListingUpdate) SetNillableDescription(v *string) *ListingUpdate + func (_u *ListingUpdate) SetNillableOwnerID(v *uuid.UUID) *ListingUpdate + func (_u *ListingUpdate) SetNillablePriceCents(v *int64) *ListingUpdate + func (_u *ListingUpdate) SetNillablePricingModel(v *listing.PricingModel) *ListingUpdate + func (_u *ListingUpdate) SetNillableProductID(v *uuid.UUID) *ListingUpdate + func (_u *ListingUpdate) SetNillableProductType(v *string) *ListingUpdate + func (_u *ListingUpdate) SetNillablePublishedAt(v *time.Time) *ListingUpdate + func (_u *ListingUpdate) SetNillableStatus(v *listing.Status) *ListingUpdate + func (_u *ListingUpdate) SetNillableTitle(v *string) *ListingUpdate + func (_u *ListingUpdate) SetOwner(v *Principal) *ListingUpdate + func (_u *ListingUpdate) SetOwnerID(v uuid.UUID) *ListingUpdate + func (_u *ListingUpdate) SetPriceCents(v int64) *ListingUpdate + func (_u *ListingUpdate) SetPricingModel(v listing.PricingModel) *ListingUpdate + func (_u *ListingUpdate) SetProductID(v uuid.UUID) *ListingUpdate + func (_u *ListingUpdate) SetProductType(v string) *ListingUpdate + func (_u *ListingUpdate) SetPublishedAt(v time.Time) *ListingUpdate + func (_u *ListingUpdate) SetStatus(v listing.Status) *ListingUpdate + func (_u *ListingUpdate) SetTitle(v string) *ListingUpdate + func (_u *ListingUpdate) SetUpdatedAt(v time.Time) *ListingUpdate + func (_u *ListingUpdate) Where(ps ...predicate.Listing) *ListingUpdate + type ListingUpdateOne struct + func (_u *ListingUpdateOne) AddLicenseIDs(ids ...uuid.UUID) *ListingUpdateOne + func (_u *ListingUpdateOne) AddLicenses(v ...*License) *ListingUpdateOne + func (_u *ListingUpdateOne) AddPriceCents(v int64) *ListingUpdateOne + func (_u *ListingUpdateOne) ClearCreatorOrg() *ListingUpdateOne + func (_u *ListingUpdateOne) ClearDescription() *ListingUpdateOne + func (_u *ListingUpdateOne) ClearLicenses() *ListingUpdateOne + func (_u *ListingUpdateOne) ClearMetadata() *ListingUpdateOne + func (_u *ListingUpdateOne) ClearOwner() *ListingUpdateOne + func (_u *ListingUpdateOne) ClearProductID() *ListingUpdateOne + func (_u *ListingUpdateOne) ClearPublishedAt() *ListingUpdateOne + func (_u *ListingUpdateOne) Exec(ctx context.Context) error + func (_u *ListingUpdateOne) ExecX(ctx context.Context) + func (_u *ListingUpdateOne) Mutation() *ListingMutation + func (_u *ListingUpdateOne) RemoveLicenseIDs(ids ...uuid.UUID) *ListingUpdateOne + func (_u *ListingUpdateOne) RemoveLicenses(v ...*License) *ListingUpdateOne + func (_u *ListingUpdateOne) Save(ctx context.Context) (*Listing, error) + func (_u *ListingUpdateOne) SaveX(ctx context.Context) *Listing + func (_u *ListingUpdateOne) Select(field string, fields ...string) *ListingUpdateOne + func (_u *ListingUpdateOne) SetCreatorOrg(v *Organization) *ListingUpdateOne + func (_u *ListingUpdateOne) SetCreatorOrgID(v uuid.UUID) *ListingUpdateOne + func (_u *ListingUpdateOne) SetCurrency(v string) *ListingUpdateOne + func (_u *ListingUpdateOne) SetDescription(v string) *ListingUpdateOne + func (_u *ListingUpdateOne) SetMetadata(v map[string]interface{}) *ListingUpdateOne + func (_u *ListingUpdateOne) SetNillableCreatorOrgID(v *uuid.UUID) *ListingUpdateOne + func (_u *ListingUpdateOne) SetNillableCurrency(v *string) *ListingUpdateOne + func (_u *ListingUpdateOne) SetNillableDescription(v *string) *ListingUpdateOne + func (_u *ListingUpdateOne) SetNillableOwnerID(v *uuid.UUID) *ListingUpdateOne + func (_u *ListingUpdateOne) SetNillablePriceCents(v *int64) *ListingUpdateOne + func (_u *ListingUpdateOne) SetNillablePricingModel(v *listing.PricingModel) *ListingUpdateOne + func (_u *ListingUpdateOne) SetNillableProductID(v *uuid.UUID) *ListingUpdateOne + func (_u *ListingUpdateOne) SetNillableProductType(v *string) *ListingUpdateOne + func (_u *ListingUpdateOne) SetNillablePublishedAt(v *time.Time) *ListingUpdateOne + func (_u *ListingUpdateOne) SetNillableStatus(v *listing.Status) *ListingUpdateOne + func (_u *ListingUpdateOne) SetNillableTitle(v *string) *ListingUpdateOne + func (_u *ListingUpdateOne) SetOwner(v *Principal) *ListingUpdateOne + func (_u *ListingUpdateOne) SetOwnerID(v uuid.UUID) *ListingUpdateOne + func (_u *ListingUpdateOne) SetPriceCents(v int64) *ListingUpdateOne + func (_u *ListingUpdateOne) SetPricingModel(v listing.PricingModel) *ListingUpdateOne + func (_u *ListingUpdateOne) SetProductID(v uuid.UUID) *ListingUpdateOne + func (_u *ListingUpdateOne) SetProductType(v string) *ListingUpdateOne + func (_u *ListingUpdateOne) SetPublishedAt(v time.Time) *ListingUpdateOne + func (_u *ListingUpdateOne) SetStatus(v listing.Status) *ListingUpdateOne + func (_u *ListingUpdateOne) SetTitle(v string) *ListingUpdateOne + func (_u *ListingUpdateOne) SetUpdatedAt(v time.Time) *ListingUpdateOne + func (_u *ListingUpdateOne) Where(ps ...predicate.Listing) *ListingUpdateOne + type ListingUpsert struct + func (u *ListingUpsert) AddPriceCents(v int64) *ListingUpsert + func (u *ListingUpsert) ClearDescription() *ListingUpsert + func (u *ListingUpsert) ClearMetadata() *ListingUpsert + func (u *ListingUpsert) ClearProductID() *ListingUpsert + func (u *ListingUpsert) ClearPublishedAt() *ListingUpsert + func (u *ListingUpsert) SetCreatorOrgID(v uuid.UUID) *ListingUpsert + func (u *ListingUpsert) SetCurrency(v string) *ListingUpsert + func (u *ListingUpsert) SetDescription(v string) *ListingUpsert + func (u *ListingUpsert) SetMetadata(v map[string]interface{}) *ListingUpsert + func (u *ListingUpsert) SetOwnerID(v uuid.UUID) *ListingUpsert + func (u *ListingUpsert) SetPriceCents(v int64) *ListingUpsert + func (u *ListingUpsert) SetPricingModel(v listing.PricingModel) *ListingUpsert + func (u *ListingUpsert) SetProductID(v uuid.UUID) *ListingUpsert + func (u *ListingUpsert) SetProductType(v string) *ListingUpsert + func (u *ListingUpsert) SetPublishedAt(v time.Time) *ListingUpsert + func (u *ListingUpsert) SetStatus(v listing.Status) *ListingUpsert + func (u *ListingUpsert) SetTitle(v string) *ListingUpsert + func (u *ListingUpsert) SetUpdatedAt(v time.Time) *ListingUpsert + func (u *ListingUpsert) UpdateCreatorOrgID() *ListingUpsert + func (u *ListingUpsert) UpdateCurrency() *ListingUpsert + func (u *ListingUpsert) UpdateDescription() *ListingUpsert + func (u *ListingUpsert) UpdateMetadata() *ListingUpsert + func (u *ListingUpsert) UpdateOwnerID() *ListingUpsert + func (u *ListingUpsert) UpdatePriceCents() *ListingUpsert + func (u *ListingUpsert) UpdatePricingModel() *ListingUpsert + func (u *ListingUpsert) UpdateProductID() *ListingUpsert + func (u *ListingUpsert) UpdateProductType() *ListingUpsert + func (u *ListingUpsert) UpdatePublishedAt() *ListingUpsert + func (u *ListingUpsert) UpdateStatus() *ListingUpsert + func (u *ListingUpsert) UpdateTitle() *ListingUpsert + func (u *ListingUpsert) UpdateUpdatedAt() *ListingUpsert + type ListingUpsertBulk struct + func (u *ListingUpsertBulk) AddPriceCents(v int64) *ListingUpsertBulk + func (u *ListingUpsertBulk) ClearDescription() *ListingUpsertBulk + func (u *ListingUpsertBulk) ClearMetadata() *ListingUpsertBulk + func (u *ListingUpsertBulk) ClearProductID() *ListingUpsertBulk + func (u *ListingUpsertBulk) ClearPublishedAt() *ListingUpsertBulk + func (u *ListingUpsertBulk) DoNothing() *ListingUpsertBulk + func (u *ListingUpsertBulk) Exec(ctx context.Context) error + func (u *ListingUpsertBulk) ExecX(ctx context.Context) + func (u *ListingUpsertBulk) Ignore() *ListingUpsertBulk + func (u *ListingUpsertBulk) SetCreatorOrgID(v uuid.UUID) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetCurrency(v string) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetDescription(v string) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetMetadata(v map[string]interface{}) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetOwnerID(v uuid.UUID) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetPriceCents(v int64) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetPricingModel(v listing.PricingModel) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetProductID(v uuid.UUID) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetProductType(v string) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetPublishedAt(v time.Time) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetStatus(v listing.Status) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetTitle(v string) *ListingUpsertBulk + func (u *ListingUpsertBulk) SetUpdatedAt(v time.Time) *ListingUpsertBulk + func (u *ListingUpsertBulk) Update(set func(*ListingUpsert)) *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdateCreatorOrgID() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdateCurrency() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdateDescription() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdateMetadata() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdateNewValues() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdateOwnerID() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdatePriceCents() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdatePricingModel() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdateProductID() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdateProductType() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdatePublishedAt() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdateStatus() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdateTitle() *ListingUpsertBulk + func (u *ListingUpsertBulk) UpdateUpdatedAt() *ListingUpsertBulk + type ListingUpsertOne struct + func (u *ListingUpsertOne) AddPriceCents(v int64) *ListingUpsertOne + func (u *ListingUpsertOne) ClearDescription() *ListingUpsertOne + func (u *ListingUpsertOne) ClearMetadata() *ListingUpsertOne + func (u *ListingUpsertOne) ClearProductID() *ListingUpsertOne + func (u *ListingUpsertOne) ClearPublishedAt() *ListingUpsertOne + func (u *ListingUpsertOne) DoNothing() *ListingUpsertOne + func (u *ListingUpsertOne) Exec(ctx context.Context) error + func (u *ListingUpsertOne) ExecX(ctx context.Context) + func (u *ListingUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *ListingUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *ListingUpsertOne) Ignore() *ListingUpsertOne + func (u *ListingUpsertOne) SetCreatorOrgID(v uuid.UUID) *ListingUpsertOne + func (u *ListingUpsertOne) SetCurrency(v string) *ListingUpsertOne + func (u *ListingUpsertOne) SetDescription(v string) *ListingUpsertOne + func (u *ListingUpsertOne) SetMetadata(v map[string]interface{}) *ListingUpsertOne + func (u *ListingUpsertOne) SetOwnerID(v uuid.UUID) *ListingUpsertOne + func (u *ListingUpsertOne) SetPriceCents(v int64) *ListingUpsertOne + func (u *ListingUpsertOne) SetPricingModel(v listing.PricingModel) *ListingUpsertOne + func (u *ListingUpsertOne) SetProductID(v uuid.UUID) *ListingUpsertOne + func (u *ListingUpsertOne) SetProductType(v string) *ListingUpsertOne + func (u *ListingUpsertOne) SetPublishedAt(v time.Time) *ListingUpsertOne + func (u *ListingUpsertOne) SetStatus(v listing.Status) *ListingUpsertOne + func (u *ListingUpsertOne) SetTitle(v string) *ListingUpsertOne + func (u *ListingUpsertOne) SetUpdatedAt(v time.Time) *ListingUpsertOne + func (u *ListingUpsertOne) Update(set func(*ListingUpsert)) *ListingUpsertOne + func (u *ListingUpsertOne) UpdateCreatorOrgID() *ListingUpsertOne + func (u *ListingUpsertOne) UpdateCurrency() *ListingUpsertOne + func (u *ListingUpsertOne) UpdateDescription() *ListingUpsertOne + func (u *ListingUpsertOne) UpdateMetadata() *ListingUpsertOne + func (u *ListingUpsertOne) UpdateNewValues() *ListingUpsertOne + func (u *ListingUpsertOne) UpdateOwnerID() *ListingUpsertOne + func (u *ListingUpsertOne) UpdatePriceCents() *ListingUpsertOne + func (u *ListingUpsertOne) UpdatePricingModel() *ListingUpsertOne + func (u *ListingUpsertOne) UpdateProductID() *ListingUpsertOne + func (u *ListingUpsertOne) UpdateProductType() *ListingUpsertOne + func (u *ListingUpsertOne) UpdatePublishedAt() *ListingUpsertOne + func (u *ListingUpsertOne) UpdateStatus() *ListingUpsertOne + func (u *ListingUpsertOne) UpdateTitle() *ListingUpsertOne + func (u *ListingUpsertOne) UpdateUpdatedAt() *ListingUpsertOne + type Listings []*Listing + type Membership struct + CreatedAt time.Time + Edges MembershipEdges + ID uuid.UUID + OrganizationID uuid.UUID + Permissions []string + Role string + UpdatedAt time.Time + UserID uuid.UUID + func (_m *Membership) QueryOrganization() *OrganizationQuery + func (_m *Membership) QueryUser() *UserQuery + func (_m *Membership) String() string + func (_m *Membership) Unwrap() *Membership + func (_m *Membership) Update() *MembershipUpdateOne + func (_m *Membership) Value(name string) (ent.Value, error) + type MembershipClient struct + func NewMembershipClient(c config) *MembershipClient + func (c *MembershipClient) Create() *MembershipCreate + func (c *MembershipClient) CreateBulk(builders ...*MembershipCreate) *MembershipCreateBulk + func (c *MembershipClient) Delete() *MembershipDelete + func (c *MembershipClient) DeleteOne(_m *Membership) *MembershipDeleteOne + func (c *MembershipClient) DeleteOneID(id uuid.UUID) *MembershipDeleteOne + func (c *MembershipClient) Get(ctx context.Context, id uuid.UUID) (*Membership, error) + func (c *MembershipClient) GetX(ctx context.Context, id uuid.UUID) *Membership + func (c *MembershipClient) Hooks() []Hook + func (c *MembershipClient) Intercept(interceptors ...Interceptor) + func (c *MembershipClient) Interceptors() []Interceptor + func (c *MembershipClient) MapCreateBulk(slice any, setFunc func(*MembershipCreate, int)) *MembershipCreateBulk + func (c *MembershipClient) Query() *MembershipQuery + func (c *MembershipClient) QueryOrganization(_m *Membership) *OrganizationQuery + func (c *MembershipClient) QueryUser(_m *Membership) *UserQuery + func (c *MembershipClient) Update() *MembershipUpdate + func (c *MembershipClient) UpdateOne(_m *Membership) *MembershipUpdateOne + func (c *MembershipClient) UpdateOneID(id uuid.UUID) *MembershipUpdateOne + func (c *MembershipClient) Use(hooks ...Hook) + type MembershipCreate struct + func (_c *MembershipCreate) Exec(ctx context.Context) error + func (_c *MembershipCreate) ExecX(ctx context.Context) + func (_c *MembershipCreate) Mutation() *MembershipMutation + func (_c *MembershipCreate) OnConflict(opts ...sql.ConflictOption) *MembershipUpsertOne + func (_c *MembershipCreate) OnConflictColumns(columns ...string) *MembershipUpsertOne + func (_c *MembershipCreate) Save(ctx context.Context) (*Membership, error) + func (_c *MembershipCreate) SaveX(ctx context.Context) *Membership + func (_c *MembershipCreate) SetCreatedAt(v time.Time) *MembershipCreate + func (_c *MembershipCreate) SetID(v uuid.UUID) *MembershipCreate + func (_c *MembershipCreate) SetNillableCreatedAt(v *time.Time) *MembershipCreate + func (_c *MembershipCreate) SetNillableID(v *uuid.UUID) *MembershipCreate + func (_c *MembershipCreate) SetNillableUpdatedAt(v *time.Time) *MembershipCreate + func (_c *MembershipCreate) SetOrganization(v *Organization) *MembershipCreate + func (_c *MembershipCreate) SetOrganizationID(v uuid.UUID) *MembershipCreate + func (_c *MembershipCreate) SetPermissions(v []string) *MembershipCreate + func (_c *MembershipCreate) SetRole(v string) *MembershipCreate + func (_c *MembershipCreate) SetUpdatedAt(v time.Time) *MembershipCreate + func (_c *MembershipCreate) SetUser(v *User) *MembershipCreate + func (_c *MembershipCreate) SetUserID(v uuid.UUID) *MembershipCreate + type MembershipCreateBulk struct + func (_c *MembershipCreateBulk) Exec(ctx context.Context) error + func (_c *MembershipCreateBulk) ExecX(ctx context.Context) + func (_c *MembershipCreateBulk) OnConflict(opts ...sql.ConflictOption) *MembershipUpsertBulk + func (_c *MembershipCreateBulk) OnConflictColumns(columns ...string) *MembershipUpsertBulk + func (_c *MembershipCreateBulk) Save(ctx context.Context) ([]*Membership, error) + func (_c *MembershipCreateBulk) SaveX(ctx context.Context) []*Membership + type MembershipDelete struct + func (_d *MembershipDelete) Exec(ctx context.Context) (int, error) + func (_d *MembershipDelete) ExecX(ctx context.Context) int + func (_d *MembershipDelete) Where(ps ...predicate.Membership) *MembershipDelete + type MembershipDeleteOne struct + func (_d *MembershipDeleteOne) Exec(ctx context.Context) error + func (_d *MembershipDeleteOne) ExecX(ctx context.Context) + func (_d *MembershipDeleteOne) Where(ps ...predicate.Membership) *MembershipDeleteOne + type MembershipEdges struct + Organization *Organization + User *User + func (e MembershipEdges) OrganizationOrErr() (*Organization, error) + func (e MembershipEdges) UserOrErr() (*User, error) + type MembershipFilter struct + func (f *MembershipFilter) Where(p entql.P) + func (f *MembershipFilter) WhereCreatedAt(p entql.TimeP) + func (f *MembershipFilter) WhereHasOrganization() + func (f *MembershipFilter) WhereHasOrganizationWith(preds ...predicate.Organization) + func (f *MembershipFilter) WhereHasUser() + func (f *MembershipFilter) WhereHasUserWith(preds ...predicate.User) + func (f *MembershipFilter) WhereID(p entql.ValueP) + func (f *MembershipFilter) WhereOrganizationID(p entql.ValueP) + func (f *MembershipFilter) WherePermissions(p entql.BytesP) + func (f *MembershipFilter) WhereRole(p entql.StringP) + func (f *MembershipFilter) WhereUpdatedAt(p entql.TimeP) + func (f *MembershipFilter) WhereUserID(p entql.ValueP) + type MembershipGroupBy struct + func (_g *MembershipGroupBy) Aggregate(fns ...AggregateFunc) *MembershipGroupBy + func (_g *MembershipGroupBy) Scan(ctx context.Context, v any) error + func (s *MembershipGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *MembershipGroupBy) BoolX(ctx context.Context) bool + func (s *MembershipGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *MembershipGroupBy) BoolsX(ctx context.Context) []bool + func (s *MembershipGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *MembershipGroupBy) Float64X(ctx context.Context) float64 + func (s *MembershipGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *MembershipGroupBy) Float64sX(ctx context.Context) []float64 + func (s *MembershipGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *MembershipGroupBy) IntX(ctx context.Context) int + func (s *MembershipGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *MembershipGroupBy) IntsX(ctx context.Context) []int + func (s *MembershipGroupBy) ScanX(ctx context.Context, v any) + func (s *MembershipGroupBy) String(ctx context.Context) (_ string, err error) + func (s *MembershipGroupBy) StringX(ctx context.Context) string + func (s *MembershipGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *MembershipGroupBy) StringsX(ctx context.Context) []string + type MembershipMutation struct + func (m *MembershipMutation) AddField(name string, value ent.Value) error + func (m *MembershipMutation) AddedEdges() []string + func (m *MembershipMutation) AddedField(name string) (ent.Value, bool) + func (m *MembershipMutation) AddedFields() []string + func (m *MembershipMutation) AddedIDs(name string) []ent.Value + func (m *MembershipMutation) AppendPermissions(s []string) + func (m *MembershipMutation) AppendedPermissions() ([]string, bool) + func (m *MembershipMutation) ClearEdge(name string) error + func (m *MembershipMutation) ClearField(name string) error + func (m *MembershipMutation) ClearOrganization() + func (m *MembershipMutation) ClearPermissions() + func (m *MembershipMutation) ClearUser() + func (m *MembershipMutation) ClearedEdges() []string + func (m *MembershipMutation) ClearedFields() []string + func (m *MembershipMutation) CreatedAt() (r time.Time, exists bool) + func (m *MembershipMutation) EdgeCleared(name string) bool + func (m *MembershipMutation) Field(name string) (ent.Value, bool) + func (m *MembershipMutation) FieldCleared(name string) bool + func (m *MembershipMutation) Fields() []string + func (m *MembershipMutation) Filter() *MembershipFilter + func (m *MembershipMutation) ID() (id uuid.UUID, exists bool) + func (m *MembershipMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *MembershipMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *MembershipMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MembershipMutation) OldOrganizationID(ctx context.Context) (v uuid.UUID, err error) + func (m *MembershipMutation) OldPermissions(ctx context.Context) (v []string, err error) + func (m *MembershipMutation) OldRole(ctx context.Context) (v string, err error) + func (m *MembershipMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *MembershipMutation) OldUserID(ctx context.Context) (v uuid.UUID, err error) + func (m *MembershipMutation) Op() Op + func (m *MembershipMutation) OrganizationCleared() bool + func (m *MembershipMutation) OrganizationID() (r uuid.UUID, exists bool) + func (m *MembershipMutation) OrganizationIDs() (ids []uuid.UUID) + func (m *MembershipMutation) Permissions() (r []string, exists bool) + func (m *MembershipMutation) PermissionsCleared() bool + func (m *MembershipMutation) RemovedEdges() []string + func (m *MembershipMutation) RemovedIDs(name string) []ent.Value + func (m *MembershipMutation) ResetCreatedAt() + func (m *MembershipMutation) ResetEdge(name string) error + func (m *MembershipMutation) ResetField(name string) error + func (m *MembershipMutation) ResetOrganization() + func (m *MembershipMutation) ResetOrganizationID() + func (m *MembershipMutation) ResetPermissions() + func (m *MembershipMutation) ResetRole() + func (m *MembershipMutation) ResetUpdatedAt() + func (m *MembershipMutation) ResetUser() + func (m *MembershipMutation) ResetUserID() + func (m *MembershipMutation) Role() (r string, exists bool) + func (m *MembershipMutation) SetCreatedAt(t time.Time) + func (m *MembershipMutation) SetField(name string, value ent.Value) error + func (m *MembershipMutation) SetID(id uuid.UUID) + func (m *MembershipMutation) SetOp(op Op) + func (m *MembershipMutation) SetOrganizationID(u uuid.UUID) + func (m *MembershipMutation) SetPermissions(s []string) + func (m *MembershipMutation) SetRole(s string) + func (m *MembershipMutation) SetUpdatedAt(t time.Time) + func (m *MembershipMutation) SetUserID(u uuid.UUID) + func (m *MembershipMutation) Type() string + func (m *MembershipMutation) UpdatedAt() (r time.Time, exists bool) + func (m *MembershipMutation) UserCleared() bool + func (m *MembershipMutation) UserID() (r uuid.UUID, exists bool) + func (m *MembershipMutation) UserIDs() (ids []uuid.UUID) + func (m *MembershipMutation) Where(ps ...predicate.Membership) + func (m *MembershipMutation) WhereP(ps ...func(*sql.Selector)) + func (m MembershipMutation) Client() *Client + func (m MembershipMutation) Tx() (*Tx, error) + type MembershipQuery struct + func (_q *MembershipQuery) Aggregate(fns ...AggregateFunc) *MembershipSelect + func (_q *MembershipQuery) All(ctx context.Context) ([]*Membership, error) + func (_q *MembershipQuery) AllX(ctx context.Context) []*Membership + func (_q *MembershipQuery) Clone() *MembershipQuery + func (_q *MembershipQuery) Count(ctx context.Context) (int, error) + func (_q *MembershipQuery) CountX(ctx context.Context) int + func (_q *MembershipQuery) Exist(ctx context.Context) (bool, error) + func (_q *MembershipQuery) ExistX(ctx context.Context) bool + func (_q *MembershipQuery) Filter() *MembershipFilter + func (_q *MembershipQuery) First(ctx context.Context) (*Membership, error) + func (_q *MembershipQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *MembershipQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *MembershipQuery) FirstX(ctx context.Context) *Membership + func (_q *MembershipQuery) GroupBy(field string, fields ...string) *MembershipGroupBy + func (_q *MembershipQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *MembershipQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *MembershipQuery) Limit(limit int) *MembershipQuery + func (_q *MembershipQuery) Offset(offset int) *MembershipQuery + func (_q *MembershipQuery) Only(ctx context.Context) (*Membership, error) + func (_q *MembershipQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *MembershipQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *MembershipQuery) OnlyX(ctx context.Context) *Membership + func (_q *MembershipQuery) Order(o ...membership.OrderOption) *MembershipQuery + func (_q *MembershipQuery) QueryOrganization() *OrganizationQuery + func (_q *MembershipQuery) QueryUser() *UserQuery + func (_q *MembershipQuery) Select(fields ...string) *MembershipSelect + func (_q *MembershipQuery) Unique(unique bool) *MembershipQuery + func (_q *MembershipQuery) Where(ps ...predicate.Membership) *MembershipQuery + func (_q *MembershipQuery) WithOrganization(opts ...func(*OrganizationQuery)) *MembershipQuery + func (_q *MembershipQuery) WithUser(opts ...func(*UserQuery)) *MembershipQuery + type MembershipSelect struct + func (_s *MembershipSelect) Aggregate(fns ...AggregateFunc) *MembershipSelect + func (_s *MembershipSelect) Scan(ctx context.Context, v any) error + func (s *MembershipSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *MembershipSelect) BoolX(ctx context.Context) bool + func (s *MembershipSelect) Bools(ctx context.Context) ([]bool, error) + func (s *MembershipSelect) BoolsX(ctx context.Context) []bool + func (s *MembershipSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *MembershipSelect) Float64X(ctx context.Context) float64 + func (s *MembershipSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *MembershipSelect) Float64sX(ctx context.Context) []float64 + func (s *MembershipSelect) Int(ctx context.Context) (_ int, err error) + func (s *MembershipSelect) IntX(ctx context.Context) int + func (s *MembershipSelect) Ints(ctx context.Context) ([]int, error) + func (s *MembershipSelect) IntsX(ctx context.Context) []int + func (s *MembershipSelect) ScanX(ctx context.Context, v any) + func (s *MembershipSelect) String(ctx context.Context) (_ string, err error) + func (s *MembershipSelect) StringX(ctx context.Context) string + func (s *MembershipSelect) Strings(ctx context.Context) ([]string, error) + func (s *MembershipSelect) StringsX(ctx context.Context) []string + type MembershipUpdate struct + func (_u *MembershipUpdate) AppendPermissions(v []string) *MembershipUpdate + func (_u *MembershipUpdate) ClearOrganization() *MembershipUpdate + func (_u *MembershipUpdate) ClearPermissions() *MembershipUpdate + func (_u *MembershipUpdate) ClearUser() *MembershipUpdate + func (_u *MembershipUpdate) Exec(ctx context.Context) error + func (_u *MembershipUpdate) ExecX(ctx context.Context) + func (_u *MembershipUpdate) Mutation() *MembershipMutation + func (_u *MembershipUpdate) Save(ctx context.Context) (int, error) + func (_u *MembershipUpdate) SaveX(ctx context.Context) int + func (_u *MembershipUpdate) SetNillableOrganizationID(v *uuid.UUID) *MembershipUpdate + func (_u *MembershipUpdate) SetNillableRole(v *string) *MembershipUpdate + func (_u *MembershipUpdate) SetNillableUserID(v *uuid.UUID) *MembershipUpdate + func (_u *MembershipUpdate) SetOrganization(v *Organization) *MembershipUpdate + func (_u *MembershipUpdate) SetOrganizationID(v uuid.UUID) *MembershipUpdate + func (_u *MembershipUpdate) SetPermissions(v []string) *MembershipUpdate + func (_u *MembershipUpdate) SetRole(v string) *MembershipUpdate + func (_u *MembershipUpdate) SetUpdatedAt(v time.Time) *MembershipUpdate + func (_u *MembershipUpdate) SetUser(v *User) *MembershipUpdate + func (_u *MembershipUpdate) SetUserID(v uuid.UUID) *MembershipUpdate + func (_u *MembershipUpdate) Where(ps ...predicate.Membership) *MembershipUpdate + type MembershipUpdateOne struct + func (_u *MembershipUpdateOne) AppendPermissions(v []string) *MembershipUpdateOne + func (_u *MembershipUpdateOne) ClearOrganization() *MembershipUpdateOne + func (_u *MembershipUpdateOne) ClearPermissions() *MembershipUpdateOne + func (_u *MembershipUpdateOne) ClearUser() *MembershipUpdateOne + func (_u *MembershipUpdateOne) Exec(ctx context.Context) error + func (_u *MembershipUpdateOne) ExecX(ctx context.Context) + func (_u *MembershipUpdateOne) Mutation() *MembershipMutation + func (_u *MembershipUpdateOne) Save(ctx context.Context) (*Membership, error) + func (_u *MembershipUpdateOne) SaveX(ctx context.Context) *Membership + func (_u *MembershipUpdateOne) Select(field string, fields ...string) *MembershipUpdateOne + func (_u *MembershipUpdateOne) SetNillableOrganizationID(v *uuid.UUID) *MembershipUpdateOne + func (_u *MembershipUpdateOne) SetNillableRole(v *string) *MembershipUpdateOne + func (_u *MembershipUpdateOne) SetNillableUserID(v *uuid.UUID) *MembershipUpdateOne + func (_u *MembershipUpdateOne) SetOrganization(v *Organization) *MembershipUpdateOne + func (_u *MembershipUpdateOne) SetOrganizationID(v uuid.UUID) *MembershipUpdateOne + func (_u *MembershipUpdateOne) SetPermissions(v []string) *MembershipUpdateOne + func (_u *MembershipUpdateOne) SetRole(v string) *MembershipUpdateOne + func (_u *MembershipUpdateOne) SetUpdatedAt(v time.Time) *MembershipUpdateOne + func (_u *MembershipUpdateOne) SetUser(v *User) *MembershipUpdateOne + func (_u *MembershipUpdateOne) SetUserID(v uuid.UUID) *MembershipUpdateOne + func (_u *MembershipUpdateOne) Where(ps ...predicate.Membership) *MembershipUpdateOne + type MembershipUpsert struct + func (u *MembershipUpsert) ClearPermissions() *MembershipUpsert + func (u *MembershipUpsert) SetOrganizationID(v uuid.UUID) *MembershipUpsert + func (u *MembershipUpsert) SetPermissions(v []string) *MembershipUpsert + func (u *MembershipUpsert) SetRole(v string) *MembershipUpsert + func (u *MembershipUpsert) SetUpdatedAt(v time.Time) *MembershipUpsert + func (u *MembershipUpsert) SetUserID(v uuid.UUID) *MembershipUpsert + func (u *MembershipUpsert) UpdateOrganizationID() *MembershipUpsert + func (u *MembershipUpsert) UpdatePermissions() *MembershipUpsert + func (u *MembershipUpsert) UpdateRole() *MembershipUpsert + func (u *MembershipUpsert) UpdateUpdatedAt() *MembershipUpsert + func (u *MembershipUpsert) UpdateUserID() *MembershipUpsert + type MembershipUpsertBulk struct + func (u *MembershipUpsertBulk) ClearPermissions() *MembershipUpsertBulk + func (u *MembershipUpsertBulk) DoNothing() *MembershipUpsertBulk + func (u *MembershipUpsertBulk) Exec(ctx context.Context) error + func (u *MembershipUpsertBulk) ExecX(ctx context.Context) + func (u *MembershipUpsertBulk) Ignore() *MembershipUpsertBulk + func (u *MembershipUpsertBulk) SetOrganizationID(v uuid.UUID) *MembershipUpsertBulk + func (u *MembershipUpsertBulk) SetPermissions(v []string) *MembershipUpsertBulk + func (u *MembershipUpsertBulk) SetRole(v string) *MembershipUpsertBulk + func (u *MembershipUpsertBulk) SetUpdatedAt(v time.Time) *MembershipUpsertBulk + func (u *MembershipUpsertBulk) SetUserID(v uuid.UUID) *MembershipUpsertBulk + func (u *MembershipUpsertBulk) Update(set func(*MembershipUpsert)) *MembershipUpsertBulk + func (u *MembershipUpsertBulk) UpdateNewValues() *MembershipUpsertBulk + func (u *MembershipUpsertBulk) UpdateOrganizationID() *MembershipUpsertBulk + func (u *MembershipUpsertBulk) UpdatePermissions() *MembershipUpsertBulk + func (u *MembershipUpsertBulk) UpdateRole() *MembershipUpsertBulk + func (u *MembershipUpsertBulk) UpdateUpdatedAt() *MembershipUpsertBulk + func (u *MembershipUpsertBulk) UpdateUserID() *MembershipUpsertBulk + type MembershipUpsertOne struct + func (u *MembershipUpsertOne) ClearPermissions() *MembershipUpsertOne + func (u *MembershipUpsertOne) DoNothing() *MembershipUpsertOne + func (u *MembershipUpsertOne) Exec(ctx context.Context) error + func (u *MembershipUpsertOne) ExecX(ctx context.Context) + func (u *MembershipUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *MembershipUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *MembershipUpsertOne) Ignore() *MembershipUpsertOne + func (u *MembershipUpsertOne) SetOrganizationID(v uuid.UUID) *MembershipUpsertOne + func (u *MembershipUpsertOne) SetPermissions(v []string) *MembershipUpsertOne + func (u *MembershipUpsertOne) SetRole(v string) *MembershipUpsertOne + func (u *MembershipUpsertOne) SetUpdatedAt(v time.Time) *MembershipUpsertOne + func (u *MembershipUpsertOne) SetUserID(v uuid.UUID) *MembershipUpsertOne + func (u *MembershipUpsertOne) Update(set func(*MembershipUpsert)) *MembershipUpsertOne + func (u *MembershipUpsertOne) UpdateNewValues() *MembershipUpsertOne + func (u *MembershipUpsertOne) UpdateOrganizationID() *MembershipUpsertOne + func (u *MembershipUpsertOne) UpdatePermissions() *MembershipUpsertOne + func (u *MembershipUpsertOne) UpdateRole() *MembershipUpsertOne + func (u *MembershipUpsertOne) UpdateUpdatedAt() *MembershipUpsertOne + func (u *MembershipUpsertOne) UpdateUserID() *MembershipUpsertOne + type Memberships []*Membership + type MutateFunc = ent.MutateFunc + type Mutation = ent.Mutation + type Mutator = ent.Mutator + type NotFoundError struct + func (e *NotFoundError) Error() string + type NotLoadedError struct + func (e *NotLoadedError) Error() string + type NotSingularError struct + func (e *NotSingularError) Error() string + type OAuthAccount struct + AccessToken string + CreatedAt time.Time + Edges OAuthAccountEdges + ID uuid.UUID + Provider string + ProviderUserID string + RefreshToken string + TokenExpiresAt *time.Time + UpdatedAt time.Time + UserID uuid.UUID + func (_m *OAuthAccount) QueryUser() *UserQuery + func (_m *OAuthAccount) String() string + func (_m *OAuthAccount) Unwrap() *OAuthAccount + func (_m *OAuthAccount) Update() *OAuthAccountUpdateOne + func (_m *OAuthAccount) Value(name string) (ent.Value, error) + type OAuthAccountClient struct + func NewOAuthAccountClient(c config) *OAuthAccountClient + func (c *OAuthAccountClient) Create() *OAuthAccountCreate + func (c *OAuthAccountClient) CreateBulk(builders ...*OAuthAccountCreate) *OAuthAccountCreateBulk + func (c *OAuthAccountClient) Delete() *OAuthAccountDelete + func (c *OAuthAccountClient) DeleteOne(_m *OAuthAccount) *OAuthAccountDeleteOne + func (c *OAuthAccountClient) DeleteOneID(id uuid.UUID) *OAuthAccountDeleteOne + func (c *OAuthAccountClient) Get(ctx context.Context, id uuid.UUID) (*OAuthAccount, error) + func (c *OAuthAccountClient) GetX(ctx context.Context, id uuid.UUID) *OAuthAccount + func (c *OAuthAccountClient) Hooks() []Hook + func (c *OAuthAccountClient) Intercept(interceptors ...Interceptor) + func (c *OAuthAccountClient) Interceptors() []Interceptor + func (c *OAuthAccountClient) MapCreateBulk(slice any, setFunc func(*OAuthAccountCreate, int)) *OAuthAccountCreateBulk + func (c *OAuthAccountClient) Query() *OAuthAccountQuery + func (c *OAuthAccountClient) QueryUser(_m *OAuthAccount) *UserQuery + func (c *OAuthAccountClient) Update() *OAuthAccountUpdate + func (c *OAuthAccountClient) UpdateOne(_m *OAuthAccount) *OAuthAccountUpdateOne + func (c *OAuthAccountClient) UpdateOneID(id uuid.UUID) *OAuthAccountUpdateOne + func (c *OAuthAccountClient) Use(hooks ...Hook) + type OAuthAccountCreate struct + func (_c *OAuthAccountCreate) Exec(ctx context.Context) error + func (_c *OAuthAccountCreate) ExecX(ctx context.Context) + func (_c *OAuthAccountCreate) Mutation() *OAuthAccountMutation + func (_c *OAuthAccountCreate) OnConflict(opts ...sql.ConflictOption) *OAuthAccountUpsertOne + func (_c *OAuthAccountCreate) OnConflictColumns(columns ...string) *OAuthAccountUpsertOne + func (_c *OAuthAccountCreate) Save(ctx context.Context) (*OAuthAccount, error) + func (_c *OAuthAccountCreate) SaveX(ctx context.Context) *OAuthAccount + func (_c *OAuthAccountCreate) SetAccessToken(v string) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetCreatedAt(v time.Time) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetID(v uuid.UUID) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetNillableAccessToken(v *string) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetNillableCreatedAt(v *time.Time) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetNillableID(v *uuid.UUID) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetNillableRefreshToken(v *string) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetNillableTokenExpiresAt(v *time.Time) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetNillableUpdatedAt(v *time.Time) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetProvider(v string) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetProviderUserID(v string) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetRefreshToken(v string) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetTokenExpiresAt(v time.Time) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetUpdatedAt(v time.Time) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetUser(v *User) *OAuthAccountCreate + func (_c *OAuthAccountCreate) SetUserID(v uuid.UUID) *OAuthAccountCreate + type OAuthAccountCreateBulk struct + func (_c *OAuthAccountCreateBulk) Exec(ctx context.Context) error + func (_c *OAuthAccountCreateBulk) ExecX(ctx context.Context) + func (_c *OAuthAccountCreateBulk) OnConflict(opts ...sql.ConflictOption) *OAuthAccountUpsertBulk + func (_c *OAuthAccountCreateBulk) OnConflictColumns(columns ...string) *OAuthAccountUpsertBulk + func (_c *OAuthAccountCreateBulk) Save(ctx context.Context) ([]*OAuthAccount, error) + func (_c *OAuthAccountCreateBulk) SaveX(ctx context.Context) []*OAuthAccount + type OAuthAccountDelete struct + func (_d *OAuthAccountDelete) Exec(ctx context.Context) (int, error) + func (_d *OAuthAccountDelete) ExecX(ctx context.Context) int + func (_d *OAuthAccountDelete) Where(ps ...predicate.OAuthAccount) *OAuthAccountDelete + type OAuthAccountDeleteOne struct + func (_d *OAuthAccountDeleteOne) Exec(ctx context.Context) error + func (_d *OAuthAccountDeleteOne) ExecX(ctx context.Context) + func (_d *OAuthAccountDeleteOne) Where(ps ...predicate.OAuthAccount) *OAuthAccountDeleteOne + type OAuthAccountEdges struct + User *User + func (e OAuthAccountEdges) UserOrErr() (*User, error) + type OAuthAccountFilter struct + func (f *OAuthAccountFilter) Where(p entql.P) + func (f *OAuthAccountFilter) WhereAccessToken(p entql.StringP) + func (f *OAuthAccountFilter) WhereCreatedAt(p entql.TimeP) + func (f *OAuthAccountFilter) WhereHasUser() + func (f *OAuthAccountFilter) WhereHasUserWith(preds ...predicate.User) + func (f *OAuthAccountFilter) WhereID(p entql.ValueP) + func (f *OAuthAccountFilter) WhereProvider(p entql.StringP) + func (f *OAuthAccountFilter) WhereProviderUserID(p entql.StringP) + func (f *OAuthAccountFilter) WhereRefreshToken(p entql.StringP) + func (f *OAuthAccountFilter) WhereTokenExpiresAt(p entql.TimeP) + func (f *OAuthAccountFilter) WhereUpdatedAt(p entql.TimeP) + func (f *OAuthAccountFilter) WhereUserID(p entql.ValueP) + type OAuthAccountGroupBy struct + func (_g *OAuthAccountGroupBy) Aggregate(fns ...AggregateFunc) *OAuthAccountGroupBy + func (_g *OAuthAccountGroupBy) Scan(ctx context.Context, v any) error + func (s *OAuthAccountGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthAccountGroupBy) BoolX(ctx context.Context) bool + func (s *OAuthAccountGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthAccountGroupBy) BoolsX(ctx context.Context) []bool + func (s *OAuthAccountGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthAccountGroupBy) Float64X(ctx context.Context) float64 + func (s *OAuthAccountGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthAccountGroupBy) Float64sX(ctx context.Context) []float64 + func (s *OAuthAccountGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *OAuthAccountGroupBy) IntX(ctx context.Context) int + func (s *OAuthAccountGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *OAuthAccountGroupBy) IntsX(ctx context.Context) []int + func (s *OAuthAccountGroupBy) ScanX(ctx context.Context, v any) + func (s *OAuthAccountGroupBy) String(ctx context.Context) (_ string, err error) + func (s *OAuthAccountGroupBy) StringX(ctx context.Context) string + func (s *OAuthAccountGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *OAuthAccountGroupBy) StringsX(ctx context.Context) []string + type OAuthAccountMutation struct + func (m *OAuthAccountMutation) AccessToken() (r string, exists bool) + func (m *OAuthAccountMutation) AccessTokenCleared() bool + func (m *OAuthAccountMutation) AddField(name string, value ent.Value) error + func (m *OAuthAccountMutation) AddedEdges() []string + func (m *OAuthAccountMutation) AddedField(name string) (ent.Value, bool) + func (m *OAuthAccountMutation) AddedFields() []string + func (m *OAuthAccountMutation) AddedIDs(name string) []ent.Value + func (m *OAuthAccountMutation) ClearAccessToken() + func (m *OAuthAccountMutation) ClearEdge(name string) error + func (m *OAuthAccountMutation) ClearField(name string) error + func (m *OAuthAccountMutation) ClearRefreshToken() + func (m *OAuthAccountMutation) ClearTokenExpiresAt() + func (m *OAuthAccountMutation) ClearUser() + func (m *OAuthAccountMutation) ClearedEdges() []string + func (m *OAuthAccountMutation) ClearedFields() []string + func (m *OAuthAccountMutation) CreatedAt() (r time.Time, exists bool) + func (m *OAuthAccountMutation) EdgeCleared(name string) bool + func (m *OAuthAccountMutation) Field(name string) (ent.Value, bool) + func (m *OAuthAccountMutation) FieldCleared(name string) bool + func (m *OAuthAccountMutation) Fields() []string + func (m *OAuthAccountMutation) Filter() *OAuthAccountFilter + func (m *OAuthAccountMutation) ID() (id uuid.UUID, exists bool) + func (m *OAuthAccountMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *OAuthAccountMutation) OldAccessToken(ctx context.Context) (v string, err error) + func (m *OAuthAccountMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthAccountMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *OAuthAccountMutation) OldProvider(ctx context.Context) (v string, err error) + func (m *OAuthAccountMutation) OldProviderUserID(ctx context.Context) (v string, err error) + func (m *OAuthAccountMutation) OldRefreshToken(ctx context.Context) (v string, err error) + func (m *OAuthAccountMutation) OldTokenExpiresAt(ctx context.Context) (v *time.Time, err error) + func (m *OAuthAccountMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthAccountMutation) OldUserID(ctx context.Context) (v uuid.UUID, err error) + func (m *OAuthAccountMutation) Op() Op + func (m *OAuthAccountMutation) Provider() (r string, exists bool) + func (m *OAuthAccountMutation) ProviderUserID() (r string, exists bool) + func (m *OAuthAccountMutation) RefreshToken() (r string, exists bool) + func (m *OAuthAccountMutation) RefreshTokenCleared() bool + func (m *OAuthAccountMutation) RemovedEdges() []string + func (m *OAuthAccountMutation) RemovedIDs(name string) []ent.Value + func (m *OAuthAccountMutation) ResetAccessToken() + func (m *OAuthAccountMutation) ResetCreatedAt() + func (m *OAuthAccountMutation) ResetEdge(name string) error + func (m *OAuthAccountMutation) ResetField(name string) error + func (m *OAuthAccountMutation) ResetProvider() + func (m *OAuthAccountMutation) ResetProviderUserID() + func (m *OAuthAccountMutation) ResetRefreshToken() + func (m *OAuthAccountMutation) ResetTokenExpiresAt() + func (m *OAuthAccountMutation) ResetUpdatedAt() + func (m *OAuthAccountMutation) ResetUser() + func (m *OAuthAccountMutation) ResetUserID() + func (m *OAuthAccountMutation) SetAccessToken(s string) + func (m *OAuthAccountMutation) SetCreatedAt(t time.Time) + func (m *OAuthAccountMutation) SetField(name string, value ent.Value) error + func (m *OAuthAccountMutation) SetID(id uuid.UUID) + func (m *OAuthAccountMutation) SetOp(op Op) + func (m *OAuthAccountMutation) SetProvider(s string) + func (m *OAuthAccountMutation) SetProviderUserID(s string) + func (m *OAuthAccountMutation) SetRefreshToken(s string) + func (m *OAuthAccountMutation) SetTokenExpiresAt(t time.Time) + func (m *OAuthAccountMutation) SetUpdatedAt(t time.Time) + func (m *OAuthAccountMutation) SetUserID(u uuid.UUID) + func (m *OAuthAccountMutation) TokenExpiresAt() (r time.Time, exists bool) + func (m *OAuthAccountMutation) TokenExpiresAtCleared() bool + func (m *OAuthAccountMutation) Type() string + func (m *OAuthAccountMutation) UpdatedAt() (r time.Time, exists bool) + func (m *OAuthAccountMutation) UserCleared() bool + func (m *OAuthAccountMutation) UserID() (r uuid.UUID, exists bool) + func (m *OAuthAccountMutation) UserIDs() (ids []uuid.UUID) + func (m *OAuthAccountMutation) Where(ps ...predicate.OAuthAccount) + func (m *OAuthAccountMutation) WhereP(ps ...func(*sql.Selector)) + func (m OAuthAccountMutation) Client() *Client + func (m OAuthAccountMutation) Tx() (*Tx, error) + type OAuthAccountQuery struct + func (_q *OAuthAccountQuery) Aggregate(fns ...AggregateFunc) *OAuthAccountSelect + func (_q *OAuthAccountQuery) All(ctx context.Context) ([]*OAuthAccount, error) + func (_q *OAuthAccountQuery) AllX(ctx context.Context) []*OAuthAccount + func (_q *OAuthAccountQuery) Clone() *OAuthAccountQuery + func (_q *OAuthAccountQuery) Count(ctx context.Context) (int, error) + func (_q *OAuthAccountQuery) CountX(ctx context.Context) int + func (_q *OAuthAccountQuery) Exist(ctx context.Context) (bool, error) + func (_q *OAuthAccountQuery) ExistX(ctx context.Context) bool + func (_q *OAuthAccountQuery) Filter() *OAuthAccountFilter + func (_q *OAuthAccountQuery) First(ctx context.Context) (*OAuthAccount, error) + func (_q *OAuthAccountQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthAccountQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *OAuthAccountQuery) FirstX(ctx context.Context) *OAuthAccount + func (_q *OAuthAccountQuery) GroupBy(field string, fields ...string) *OAuthAccountGroupBy + func (_q *OAuthAccountQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *OAuthAccountQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *OAuthAccountQuery) Limit(limit int) *OAuthAccountQuery + func (_q *OAuthAccountQuery) Offset(offset int) *OAuthAccountQuery + func (_q *OAuthAccountQuery) Only(ctx context.Context) (*OAuthAccount, error) + func (_q *OAuthAccountQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthAccountQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *OAuthAccountQuery) OnlyX(ctx context.Context) *OAuthAccount + func (_q *OAuthAccountQuery) Order(o ...oauthaccount.OrderOption) *OAuthAccountQuery + func (_q *OAuthAccountQuery) QueryUser() *UserQuery + func (_q *OAuthAccountQuery) Select(fields ...string) *OAuthAccountSelect + func (_q *OAuthAccountQuery) Unique(unique bool) *OAuthAccountQuery + func (_q *OAuthAccountQuery) Where(ps ...predicate.OAuthAccount) *OAuthAccountQuery + func (_q *OAuthAccountQuery) WithUser(opts ...func(*UserQuery)) *OAuthAccountQuery + type OAuthAccountSelect struct + func (_s *OAuthAccountSelect) Aggregate(fns ...AggregateFunc) *OAuthAccountSelect + func (_s *OAuthAccountSelect) Scan(ctx context.Context, v any) error + func (s *OAuthAccountSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthAccountSelect) BoolX(ctx context.Context) bool + func (s *OAuthAccountSelect) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthAccountSelect) BoolsX(ctx context.Context) []bool + func (s *OAuthAccountSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthAccountSelect) Float64X(ctx context.Context) float64 + func (s *OAuthAccountSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthAccountSelect) Float64sX(ctx context.Context) []float64 + func (s *OAuthAccountSelect) Int(ctx context.Context) (_ int, err error) + func (s *OAuthAccountSelect) IntX(ctx context.Context) int + func (s *OAuthAccountSelect) Ints(ctx context.Context) ([]int, error) + func (s *OAuthAccountSelect) IntsX(ctx context.Context) []int + func (s *OAuthAccountSelect) ScanX(ctx context.Context, v any) + func (s *OAuthAccountSelect) String(ctx context.Context) (_ string, err error) + func (s *OAuthAccountSelect) StringX(ctx context.Context) string + func (s *OAuthAccountSelect) Strings(ctx context.Context) ([]string, error) + func (s *OAuthAccountSelect) StringsX(ctx context.Context) []string + type OAuthAccountUpdate struct + func (_u *OAuthAccountUpdate) ClearAccessToken() *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) ClearRefreshToken() *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) ClearTokenExpiresAt() *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) ClearUser() *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) Exec(ctx context.Context) error + func (_u *OAuthAccountUpdate) ExecX(ctx context.Context) + func (_u *OAuthAccountUpdate) Mutation() *OAuthAccountMutation + func (_u *OAuthAccountUpdate) Save(ctx context.Context) (int, error) + func (_u *OAuthAccountUpdate) SaveX(ctx context.Context) int + func (_u *OAuthAccountUpdate) SetAccessToken(v string) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetNillableAccessToken(v *string) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetNillableProvider(v *string) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetNillableProviderUserID(v *string) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetNillableRefreshToken(v *string) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetNillableTokenExpiresAt(v *time.Time) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetNillableUserID(v *uuid.UUID) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetProvider(v string) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetProviderUserID(v string) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetRefreshToken(v string) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetTokenExpiresAt(v time.Time) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetUpdatedAt(v time.Time) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetUser(v *User) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) SetUserID(v uuid.UUID) *OAuthAccountUpdate + func (_u *OAuthAccountUpdate) Where(ps ...predicate.OAuthAccount) *OAuthAccountUpdate + type OAuthAccountUpdateOne struct + func (_u *OAuthAccountUpdateOne) ClearAccessToken() *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) ClearRefreshToken() *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) ClearTokenExpiresAt() *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) ClearUser() *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) Exec(ctx context.Context) error + func (_u *OAuthAccountUpdateOne) ExecX(ctx context.Context) + func (_u *OAuthAccountUpdateOne) Mutation() *OAuthAccountMutation + func (_u *OAuthAccountUpdateOne) Save(ctx context.Context) (*OAuthAccount, error) + func (_u *OAuthAccountUpdateOne) SaveX(ctx context.Context) *OAuthAccount + func (_u *OAuthAccountUpdateOne) Select(field string, fields ...string) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetAccessToken(v string) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetNillableAccessToken(v *string) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetNillableProvider(v *string) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetNillableProviderUserID(v *string) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetNillableRefreshToken(v *string) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetNillableTokenExpiresAt(v *time.Time) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetNillableUserID(v *uuid.UUID) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetProvider(v string) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetProviderUserID(v string) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetRefreshToken(v string) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetTokenExpiresAt(v time.Time) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetUpdatedAt(v time.Time) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetUser(v *User) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) SetUserID(v uuid.UUID) *OAuthAccountUpdateOne + func (_u *OAuthAccountUpdateOne) Where(ps ...predicate.OAuthAccount) *OAuthAccountUpdateOne + type OAuthAccountUpsert struct + func (u *OAuthAccountUpsert) ClearAccessToken() *OAuthAccountUpsert + func (u *OAuthAccountUpsert) ClearRefreshToken() *OAuthAccountUpsert + func (u *OAuthAccountUpsert) ClearTokenExpiresAt() *OAuthAccountUpsert + func (u *OAuthAccountUpsert) SetAccessToken(v string) *OAuthAccountUpsert + func (u *OAuthAccountUpsert) SetProvider(v string) *OAuthAccountUpsert + func (u *OAuthAccountUpsert) SetProviderUserID(v string) *OAuthAccountUpsert + func (u *OAuthAccountUpsert) SetRefreshToken(v string) *OAuthAccountUpsert + func (u *OAuthAccountUpsert) SetTokenExpiresAt(v time.Time) *OAuthAccountUpsert + func (u *OAuthAccountUpsert) SetUpdatedAt(v time.Time) *OAuthAccountUpsert + func (u *OAuthAccountUpsert) SetUserID(v uuid.UUID) *OAuthAccountUpsert + func (u *OAuthAccountUpsert) UpdateAccessToken() *OAuthAccountUpsert + func (u *OAuthAccountUpsert) UpdateProvider() *OAuthAccountUpsert + func (u *OAuthAccountUpsert) UpdateProviderUserID() *OAuthAccountUpsert + func (u *OAuthAccountUpsert) UpdateRefreshToken() *OAuthAccountUpsert + func (u *OAuthAccountUpsert) UpdateTokenExpiresAt() *OAuthAccountUpsert + func (u *OAuthAccountUpsert) UpdateUpdatedAt() *OAuthAccountUpsert + func (u *OAuthAccountUpsert) UpdateUserID() *OAuthAccountUpsert + type OAuthAccountUpsertBulk struct + func (u *OAuthAccountUpsertBulk) ClearAccessToken() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) ClearRefreshToken() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) ClearTokenExpiresAt() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) DoNothing() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) Exec(ctx context.Context) error + func (u *OAuthAccountUpsertBulk) ExecX(ctx context.Context) + func (u *OAuthAccountUpsertBulk) Ignore() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) SetAccessToken(v string) *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) SetProvider(v string) *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) SetProviderUserID(v string) *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) SetRefreshToken(v string) *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) SetTokenExpiresAt(v time.Time) *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) SetUpdatedAt(v time.Time) *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) SetUserID(v uuid.UUID) *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) Update(set func(*OAuthAccountUpsert)) *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) UpdateAccessToken() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) UpdateNewValues() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) UpdateProvider() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) UpdateProviderUserID() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) UpdateRefreshToken() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) UpdateTokenExpiresAt() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) UpdateUpdatedAt() *OAuthAccountUpsertBulk + func (u *OAuthAccountUpsertBulk) UpdateUserID() *OAuthAccountUpsertBulk + type OAuthAccountUpsertOne struct + func (u *OAuthAccountUpsertOne) ClearAccessToken() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) ClearRefreshToken() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) ClearTokenExpiresAt() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) DoNothing() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) Exec(ctx context.Context) error + func (u *OAuthAccountUpsertOne) ExecX(ctx context.Context) + func (u *OAuthAccountUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *OAuthAccountUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *OAuthAccountUpsertOne) Ignore() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) SetAccessToken(v string) *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) SetProvider(v string) *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) SetProviderUserID(v string) *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) SetRefreshToken(v string) *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) SetTokenExpiresAt(v time.Time) *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) SetUpdatedAt(v time.Time) *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) SetUserID(v uuid.UUID) *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) Update(set func(*OAuthAccountUpsert)) *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) UpdateAccessToken() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) UpdateNewValues() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) UpdateProvider() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) UpdateProviderUserID() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) UpdateRefreshToken() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) UpdateTokenExpiresAt() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) UpdateUpdatedAt() *OAuthAccountUpsertOne + func (u *OAuthAccountUpsertOne) UpdateUserID() *OAuthAccountUpsertOne + type OAuthAccounts []*OAuthAccount + type OAuthApp struct + AccessTokenTTL int + Active bool + AllowedGrants []string + AllowedResponseTypes []string + AllowedScopes []string + AppType oauthapp.AppType + ClientID string + CreatedAt time.Time + Description string + Edges OAuthAppEdges + FirstParty bool + ID uuid.UUID + LogoURL string + Metadata map[string]string + Name string + OrganizationID *uuid.UUID + OwnerID uuid.UUID + Public bool + RedirectUris []string + RefreshTokenRotation bool + RefreshTokenTTL int + RevokedAt *time.Time + UpdatedAt time.Time + func (_m *OAuthApp) QueryAuthCodes() *OAuthAuthCodeQuery + func (_m *OAuthApp) QueryConsents() *OAuthConsentQuery + func (_m *OAuthApp) QueryOrganization() *OrganizationQuery + func (_m *OAuthApp) QueryOwner() *UserQuery + func (_m *OAuthApp) QuerySecrets() *OAuthAppSecretQuery + func (_m *OAuthApp) QueryTokens() *OAuthTokenQuery + func (_m *OAuthApp) String() string + func (_m *OAuthApp) Unwrap() *OAuthApp + func (_m *OAuthApp) Update() *OAuthAppUpdateOne + func (_m *OAuthApp) Value(name string) (ent.Value, error) + type OAuthAppClient struct + func NewOAuthAppClient(c config) *OAuthAppClient + func (c *OAuthAppClient) Create() *OAuthAppCreate + func (c *OAuthAppClient) CreateBulk(builders ...*OAuthAppCreate) *OAuthAppCreateBulk + func (c *OAuthAppClient) Delete() *OAuthAppDelete + func (c *OAuthAppClient) DeleteOne(_m *OAuthApp) *OAuthAppDeleteOne + func (c *OAuthAppClient) DeleteOneID(id uuid.UUID) *OAuthAppDeleteOne + func (c *OAuthAppClient) Get(ctx context.Context, id uuid.UUID) (*OAuthApp, error) + func (c *OAuthAppClient) GetX(ctx context.Context, id uuid.UUID) *OAuthApp + func (c *OAuthAppClient) Hooks() []Hook + func (c *OAuthAppClient) Intercept(interceptors ...Interceptor) + func (c *OAuthAppClient) Interceptors() []Interceptor + func (c *OAuthAppClient) MapCreateBulk(slice any, setFunc func(*OAuthAppCreate, int)) *OAuthAppCreateBulk + func (c *OAuthAppClient) Query() *OAuthAppQuery + func (c *OAuthAppClient) QueryAuthCodes(_m *OAuthApp) *OAuthAuthCodeQuery + func (c *OAuthAppClient) QueryConsents(_m *OAuthApp) *OAuthConsentQuery + func (c *OAuthAppClient) QueryOrganization(_m *OAuthApp) *OrganizationQuery + func (c *OAuthAppClient) QueryOwner(_m *OAuthApp) *UserQuery + func (c *OAuthAppClient) QuerySecrets(_m *OAuthApp) *OAuthAppSecretQuery + func (c *OAuthAppClient) QueryTokens(_m *OAuthApp) *OAuthTokenQuery + func (c *OAuthAppClient) Update() *OAuthAppUpdate + func (c *OAuthAppClient) UpdateOne(_m *OAuthApp) *OAuthAppUpdateOne + func (c *OAuthAppClient) UpdateOneID(id uuid.UUID) *OAuthAppUpdateOne + func (c *OAuthAppClient) Use(hooks ...Hook) + type OAuthAppCreate struct + func (_c *OAuthAppCreate) AddAuthCodeIDs(ids ...uuid.UUID) *OAuthAppCreate + func (_c *OAuthAppCreate) AddAuthCodes(v ...*OAuthAuthCode) *OAuthAppCreate + func (_c *OAuthAppCreate) AddConsentIDs(ids ...uuid.UUID) *OAuthAppCreate + func (_c *OAuthAppCreate) AddConsents(v ...*OAuthConsent) *OAuthAppCreate + func (_c *OAuthAppCreate) AddSecretIDs(ids ...uuid.UUID) *OAuthAppCreate + func (_c *OAuthAppCreate) AddSecrets(v ...*OAuthAppSecret) *OAuthAppCreate + func (_c *OAuthAppCreate) AddTokenIDs(ids ...uuid.UUID) *OAuthAppCreate + func (_c *OAuthAppCreate) AddTokens(v ...*OAuthToken) *OAuthAppCreate + func (_c *OAuthAppCreate) Exec(ctx context.Context) error + func (_c *OAuthAppCreate) ExecX(ctx context.Context) + func (_c *OAuthAppCreate) Mutation() *OAuthAppMutation + func (_c *OAuthAppCreate) OnConflict(opts ...sql.ConflictOption) *OAuthAppUpsertOne + func (_c *OAuthAppCreate) OnConflictColumns(columns ...string) *OAuthAppUpsertOne + func (_c *OAuthAppCreate) Save(ctx context.Context) (*OAuthApp, error) + func (_c *OAuthAppCreate) SaveX(ctx context.Context) *OAuthApp + func (_c *OAuthAppCreate) SetAccessTokenTTL(v int) *OAuthAppCreate + func (_c *OAuthAppCreate) SetActive(v bool) *OAuthAppCreate + func (_c *OAuthAppCreate) SetAllowedGrants(v []string) *OAuthAppCreate + func (_c *OAuthAppCreate) SetAllowedResponseTypes(v []string) *OAuthAppCreate + func (_c *OAuthAppCreate) SetAllowedScopes(v []string) *OAuthAppCreate + func (_c *OAuthAppCreate) SetAppType(v oauthapp.AppType) *OAuthAppCreate + func (_c *OAuthAppCreate) SetClientID(v string) *OAuthAppCreate + func (_c *OAuthAppCreate) SetCreatedAt(v time.Time) *OAuthAppCreate + func (_c *OAuthAppCreate) SetDescription(v string) *OAuthAppCreate + func (_c *OAuthAppCreate) SetFirstParty(v bool) *OAuthAppCreate + func (_c *OAuthAppCreate) SetID(v uuid.UUID) *OAuthAppCreate + func (_c *OAuthAppCreate) SetLogoURL(v string) *OAuthAppCreate + func (_c *OAuthAppCreate) SetMetadata(v map[string]string) *OAuthAppCreate + func (_c *OAuthAppCreate) SetName(v string) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableAccessTokenTTL(v *int) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableActive(v *bool) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableAppType(v *oauthapp.AppType) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableCreatedAt(v *time.Time) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableDescription(v *string) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableFirstParty(v *bool) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableID(v *uuid.UUID) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableLogoURL(v *string) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableOrganizationID(v *uuid.UUID) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillablePublic(v *bool) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableRefreshTokenRotation(v *bool) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableRefreshTokenTTL(v *int) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableRevokedAt(v *time.Time) *OAuthAppCreate + func (_c *OAuthAppCreate) SetNillableUpdatedAt(v *time.Time) *OAuthAppCreate + func (_c *OAuthAppCreate) SetOrganization(v *Organization) *OAuthAppCreate + func (_c *OAuthAppCreate) SetOrganizationID(v uuid.UUID) *OAuthAppCreate + func (_c *OAuthAppCreate) SetOwner(v *User) *OAuthAppCreate + func (_c *OAuthAppCreate) SetOwnerID(v uuid.UUID) *OAuthAppCreate + func (_c *OAuthAppCreate) SetPublic(v bool) *OAuthAppCreate + func (_c *OAuthAppCreate) SetRedirectUris(v []string) *OAuthAppCreate + func (_c *OAuthAppCreate) SetRefreshTokenRotation(v bool) *OAuthAppCreate + func (_c *OAuthAppCreate) SetRefreshTokenTTL(v int) *OAuthAppCreate + func (_c *OAuthAppCreate) SetRevokedAt(v time.Time) *OAuthAppCreate + func (_c *OAuthAppCreate) SetUpdatedAt(v time.Time) *OAuthAppCreate + type OAuthAppCreateBulk struct + func (_c *OAuthAppCreateBulk) Exec(ctx context.Context) error + func (_c *OAuthAppCreateBulk) ExecX(ctx context.Context) + func (_c *OAuthAppCreateBulk) OnConflict(opts ...sql.ConflictOption) *OAuthAppUpsertBulk + func (_c *OAuthAppCreateBulk) OnConflictColumns(columns ...string) *OAuthAppUpsertBulk + func (_c *OAuthAppCreateBulk) Save(ctx context.Context) ([]*OAuthApp, error) + func (_c *OAuthAppCreateBulk) SaveX(ctx context.Context) []*OAuthApp + type OAuthAppDelete struct + func (_d *OAuthAppDelete) Exec(ctx context.Context) (int, error) + func (_d *OAuthAppDelete) ExecX(ctx context.Context) int + func (_d *OAuthAppDelete) Where(ps ...predicate.OAuthApp) *OAuthAppDelete + type OAuthAppDeleteOne struct + func (_d *OAuthAppDeleteOne) Exec(ctx context.Context) error + func (_d *OAuthAppDeleteOne) ExecX(ctx context.Context) + func (_d *OAuthAppDeleteOne) Where(ps ...predicate.OAuthApp) *OAuthAppDeleteOne + type OAuthAppEdges struct + AuthCodes []*OAuthAuthCode + Consents []*OAuthConsent + Organization *Organization + Owner *User + Secrets []*OAuthAppSecret + Tokens []*OAuthToken + func (e OAuthAppEdges) AuthCodesOrErr() ([]*OAuthAuthCode, error) + func (e OAuthAppEdges) ConsentsOrErr() ([]*OAuthConsent, error) + func (e OAuthAppEdges) OrganizationOrErr() (*Organization, error) + func (e OAuthAppEdges) OwnerOrErr() (*User, error) + func (e OAuthAppEdges) SecretsOrErr() ([]*OAuthAppSecret, error) + func (e OAuthAppEdges) TokensOrErr() ([]*OAuthToken, error) + type OAuthAppFilter struct + func (f *OAuthAppFilter) Where(p entql.P) + func (f *OAuthAppFilter) WhereAccessTokenTTL(p entql.IntP) + func (f *OAuthAppFilter) WhereActive(p entql.BoolP) + func (f *OAuthAppFilter) WhereAllowedGrants(p entql.BytesP) + func (f *OAuthAppFilter) WhereAllowedResponseTypes(p entql.BytesP) + func (f *OAuthAppFilter) WhereAllowedScopes(p entql.BytesP) + func (f *OAuthAppFilter) WhereAppType(p entql.StringP) + func (f *OAuthAppFilter) WhereClientID(p entql.StringP) + func (f *OAuthAppFilter) WhereCreatedAt(p entql.TimeP) + func (f *OAuthAppFilter) WhereDescription(p entql.StringP) + func (f *OAuthAppFilter) WhereFirstParty(p entql.BoolP) + func (f *OAuthAppFilter) WhereHasAuthCodes() + func (f *OAuthAppFilter) WhereHasAuthCodesWith(preds ...predicate.OAuthAuthCode) + func (f *OAuthAppFilter) WhereHasConsents() + func (f *OAuthAppFilter) WhereHasConsentsWith(preds ...predicate.OAuthConsent) + func (f *OAuthAppFilter) WhereHasOrganization() + func (f *OAuthAppFilter) WhereHasOrganizationWith(preds ...predicate.Organization) + func (f *OAuthAppFilter) WhereHasOwner() + func (f *OAuthAppFilter) WhereHasOwnerWith(preds ...predicate.User) + func (f *OAuthAppFilter) WhereHasSecrets() + func (f *OAuthAppFilter) WhereHasSecretsWith(preds ...predicate.OAuthAppSecret) + func (f *OAuthAppFilter) WhereHasTokens() + func (f *OAuthAppFilter) WhereHasTokensWith(preds ...predicate.OAuthToken) + func (f *OAuthAppFilter) WhereID(p entql.ValueP) + func (f *OAuthAppFilter) WhereLogoURL(p entql.StringP) + func (f *OAuthAppFilter) WhereMetadata(p entql.BytesP) + func (f *OAuthAppFilter) WhereName(p entql.StringP) + func (f *OAuthAppFilter) WhereOrganizationID(p entql.ValueP) + func (f *OAuthAppFilter) WhereOwnerID(p entql.ValueP) + func (f *OAuthAppFilter) WherePublic(p entql.BoolP) + func (f *OAuthAppFilter) WhereRedirectUris(p entql.BytesP) + func (f *OAuthAppFilter) WhereRefreshTokenRotation(p entql.BoolP) + func (f *OAuthAppFilter) WhereRefreshTokenTTL(p entql.IntP) + func (f *OAuthAppFilter) WhereRevokedAt(p entql.TimeP) + func (f *OAuthAppFilter) WhereUpdatedAt(p entql.TimeP) + type OAuthAppGroupBy struct + func (_g *OAuthAppGroupBy) Aggregate(fns ...AggregateFunc) *OAuthAppGroupBy + func (_g *OAuthAppGroupBy) Scan(ctx context.Context, v any) error + func (s *OAuthAppGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthAppGroupBy) BoolX(ctx context.Context) bool + func (s *OAuthAppGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthAppGroupBy) BoolsX(ctx context.Context) []bool + func (s *OAuthAppGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthAppGroupBy) Float64X(ctx context.Context) float64 + func (s *OAuthAppGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthAppGroupBy) Float64sX(ctx context.Context) []float64 + func (s *OAuthAppGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *OAuthAppGroupBy) IntX(ctx context.Context) int + func (s *OAuthAppGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *OAuthAppGroupBy) IntsX(ctx context.Context) []int + func (s *OAuthAppGroupBy) ScanX(ctx context.Context, v any) + func (s *OAuthAppGroupBy) String(ctx context.Context) (_ string, err error) + func (s *OAuthAppGroupBy) StringX(ctx context.Context) string + func (s *OAuthAppGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *OAuthAppGroupBy) StringsX(ctx context.Context) []string + type OAuthAppMutation struct + func (m *OAuthAppMutation) AccessTokenTTL() (r int, exists bool) + func (m *OAuthAppMutation) Active() (r bool, exists bool) + func (m *OAuthAppMutation) AddAccessTokenTTL(i int) + func (m *OAuthAppMutation) AddAuthCodeIDs(ids ...uuid.UUID) + func (m *OAuthAppMutation) AddConsentIDs(ids ...uuid.UUID) + func (m *OAuthAppMutation) AddField(name string, value ent.Value) error + func (m *OAuthAppMutation) AddRefreshTokenTTL(i int) + func (m *OAuthAppMutation) AddSecretIDs(ids ...uuid.UUID) + func (m *OAuthAppMutation) AddTokenIDs(ids ...uuid.UUID) + func (m *OAuthAppMutation) AddedAccessTokenTTL() (r int, exists bool) + func (m *OAuthAppMutation) AddedEdges() []string + func (m *OAuthAppMutation) AddedField(name string) (ent.Value, bool) + func (m *OAuthAppMutation) AddedFields() []string + func (m *OAuthAppMutation) AddedIDs(name string) []ent.Value + func (m *OAuthAppMutation) AddedRefreshTokenTTL() (r int, exists bool) + func (m *OAuthAppMutation) AllowedGrants() (r []string, exists bool) + func (m *OAuthAppMutation) AllowedResponseTypes() (r []string, exists bool) + func (m *OAuthAppMutation) AllowedScopes() (r []string, exists bool) + func (m *OAuthAppMutation) AppType() (r oauthapp.AppType, exists bool) + func (m *OAuthAppMutation) AppendAllowedGrants(s []string) + func (m *OAuthAppMutation) AppendAllowedResponseTypes(s []string) + func (m *OAuthAppMutation) AppendAllowedScopes(s []string) + func (m *OAuthAppMutation) AppendRedirectUris(s []string) + func (m *OAuthAppMutation) AppendedAllowedGrants() ([]string, bool) + func (m *OAuthAppMutation) AppendedAllowedResponseTypes() ([]string, bool) + func (m *OAuthAppMutation) AppendedAllowedScopes() ([]string, bool) + func (m *OAuthAppMutation) AppendedRedirectUris() ([]string, bool) + func (m *OAuthAppMutation) AuthCodesCleared() bool + func (m *OAuthAppMutation) AuthCodesIDs() (ids []uuid.UUID) + func (m *OAuthAppMutation) ClearAuthCodes() + func (m *OAuthAppMutation) ClearConsents() + func (m *OAuthAppMutation) ClearDescription() + func (m *OAuthAppMutation) ClearEdge(name string) error + func (m *OAuthAppMutation) ClearField(name string) error + func (m *OAuthAppMutation) ClearLogoURL() + func (m *OAuthAppMutation) ClearMetadata() + func (m *OAuthAppMutation) ClearOrganization() + func (m *OAuthAppMutation) ClearOrganizationID() + func (m *OAuthAppMutation) ClearOwner() + func (m *OAuthAppMutation) ClearRevokedAt() + func (m *OAuthAppMutation) ClearSecrets() + func (m *OAuthAppMutation) ClearTokens() + func (m *OAuthAppMutation) ClearedEdges() []string + func (m *OAuthAppMutation) ClearedFields() []string + func (m *OAuthAppMutation) ClientID() (r string, exists bool) + func (m *OAuthAppMutation) ConsentsCleared() bool + func (m *OAuthAppMutation) ConsentsIDs() (ids []uuid.UUID) + func (m *OAuthAppMutation) CreatedAt() (r time.Time, exists bool) + func (m *OAuthAppMutation) Description() (r string, exists bool) + func (m *OAuthAppMutation) DescriptionCleared() bool + func (m *OAuthAppMutation) EdgeCleared(name string) bool + func (m *OAuthAppMutation) Field(name string) (ent.Value, bool) + func (m *OAuthAppMutation) FieldCleared(name string) bool + func (m *OAuthAppMutation) Fields() []string + func (m *OAuthAppMutation) Filter() *OAuthAppFilter + func (m *OAuthAppMutation) FirstParty() (r bool, exists bool) + func (m *OAuthAppMutation) ID() (id uuid.UUID, exists bool) + func (m *OAuthAppMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *OAuthAppMutation) LogoURL() (r string, exists bool) + func (m *OAuthAppMutation) LogoURLCleared() bool + func (m *OAuthAppMutation) Metadata() (r map[string]string, exists bool) + func (m *OAuthAppMutation) MetadataCleared() bool + func (m *OAuthAppMutation) Name() (r string, exists bool) + func (m *OAuthAppMutation) OldAccessTokenTTL(ctx context.Context) (v int, err error) + func (m *OAuthAppMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *OAuthAppMutation) OldAllowedGrants(ctx context.Context) (v []string, err error) + func (m *OAuthAppMutation) OldAllowedResponseTypes(ctx context.Context) (v []string, err error) + func (m *OAuthAppMutation) OldAllowedScopes(ctx context.Context) (v []string, err error) + func (m *OAuthAppMutation) OldAppType(ctx context.Context) (v oauthapp.AppType, err error) + func (m *OAuthAppMutation) OldClientID(ctx context.Context) (v string, err error) + func (m *OAuthAppMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthAppMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *OAuthAppMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *OAuthAppMutation) OldFirstParty(ctx context.Context) (v bool, err error) + func (m *OAuthAppMutation) OldLogoURL(ctx context.Context) (v string, err error) + func (m *OAuthAppMutation) OldMetadata(ctx context.Context) (v map[string]string, err error) + func (m *OAuthAppMutation) OldName(ctx context.Context) (v string, err error) + func (m *OAuthAppMutation) OldOrganizationID(ctx context.Context) (v *uuid.UUID, err error) + func (m *OAuthAppMutation) OldOwnerID(ctx context.Context) (v uuid.UUID, err error) + func (m *OAuthAppMutation) OldPublic(ctx context.Context) (v bool, err error) + func (m *OAuthAppMutation) OldRedirectUris(ctx context.Context) (v []string, err error) + func (m *OAuthAppMutation) OldRefreshTokenRotation(ctx context.Context) (v bool, err error) + func (m *OAuthAppMutation) OldRefreshTokenTTL(ctx context.Context) (v int, err error) + func (m *OAuthAppMutation) OldRevokedAt(ctx context.Context) (v *time.Time, err error) + func (m *OAuthAppMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthAppMutation) Op() Op + func (m *OAuthAppMutation) OrganizationCleared() bool + func (m *OAuthAppMutation) OrganizationID() (r uuid.UUID, exists bool) + func (m *OAuthAppMutation) OrganizationIDCleared() bool + func (m *OAuthAppMutation) OrganizationIDs() (ids []uuid.UUID) + func (m *OAuthAppMutation) OwnerCleared() bool + func (m *OAuthAppMutation) OwnerID() (r uuid.UUID, exists bool) + func (m *OAuthAppMutation) OwnerIDs() (ids []uuid.UUID) + func (m *OAuthAppMutation) Public() (r bool, exists bool) + func (m *OAuthAppMutation) RedirectUris() (r []string, exists bool) + func (m *OAuthAppMutation) RefreshTokenRotation() (r bool, exists bool) + func (m *OAuthAppMutation) RefreshTokenTTL() (r int, exists bool) + func (m *OAuthAppMutation) RemoveAuthCodeIDs(ids ...uuid.UUID) + func (m *OAuthAppMutation) RemoveConsentIDs(ids ...uuid.UUID) + func (m *OAuthAppMutation) RemoveSecretIDs(ids ...uuid.UUID) + func (m *OAuthAppMutation) RemoveTokenIDs(ids ...uuid.UUID) + func (m *OAuthAppMutation) RemovedAuthCodesIDs() (ids []uuid.UUID) + func (m *OAuthAppMutation) RemovedConsentsIDs() (ids []uuid.UUID) + func (m *OAuthAppMutation) RemovedEdges() []string + func (m *OAuthAppMutation) RemovedIDs(name string) []ent.Value + func (m *OAuthAppMutation) RemovedSecretsIDs() (ids []uuid.UUID) + func (m *OAuthAppMutation) RemovedTokensIDs() (ids []uuid.UUID) + func (m *OAuthAppMutation) ResetAccessTokenTTL() + func (m *OAuthAppMutation) ResetActive() + func (m *OAuthAppMutation) ResetAllowedGrants() + func (m *OAuthAppMutation) ResetAllowedResponseTypes() + func (m *OAuthAppMutation) ResetAllowedScopes() + func (m *OAuthAppMutation) ResetAppType() + func (m *OAuthAppMutation) ResetAuthCodes() + func (m *OAuthAppMutation) ResetClientID() + func (m *OAuthAppMutation) ResetConsents() + func (m *OAuthAppMutation) ResetCreatedAt() + func (m *OAuthAppMutation) ResetDescription() + func (m *OAuthAppMutation) ResetEdge(name string) error + func (m *OAuthAppMutation) ResetField(name string) error + func (m *OAuthAppMutation) ResetFirstParty() + func (m *OAuthAppMutation) ResetLogoURL() + func (m *OAuthAppMutation) ResetMetadata() + func (m *OAuthAppMutation) ResetName() + func (m *OAuthAppMutation) ResetOrganization() + func (m *OAuthAppMutation) ResetOrganizationID() + func (m *OAuthAppMutation) ResetOwner() + func (m *OAuthAppMutation) ResetOwnerID() + func (m *OAuthAppMutation) ResetPublic() + func (m *OAuthAppMutation) ResetRedirectUris() + func (m *OAuthAppMutation) ResetRefreshTokenRotation() + func (m *OAuthAppMutation) ResetRefreshTokenTTL() + func (m *OAuthAppMutation) ResetRevokedAt() + func (m *OAuthAppMutation) ResetSecrets() + func (m *OAuthAppMutation) ResetTokens() + func (m *OAuthAppMutation) ResetUpdatedAt() + func (m *OAuthAppMutation) RevokedAt() (r time.Time, exists bool) + func (m *OAuthAppMutation) RevokedAtCleared() bool + func (m *OAuthAppMutation) SecretsCleared() bool + func (m *OAuthAppMutation) SecretsIDs() (ids []uuid.UUID) + func (m *OAuthAppMutation) SetAccessTokenTTL(i int) + func (m *OAuthAppMutation) SetActive(b bool) + func (m *OAuthAppMutation) SetAllowedGrants(s []string) + func (m *OAuthAppMutation) SetAllowedResponseTypes(s []string) + func (m *OAuthAppMutation) SetAllowedScopes(s []string) + func (m *OAuthAppMutation) SetAppType(ot oauthapp.AppType) + func (m *OAuthAppMutation) SetClientID(s string) + func (m *OAuthAppMutation) SetCreatedAt(t time.Time) + func (m *OAuthAppMutation) SetDescription(s string) + func (m *OAuthAppMutation) SetField(name string, value ent.Value) error + func (m *OAuthAppMutation) SetFirstParty(b bool) + func (m *OAuthAppMutation) SetID(id uuid.UUID) + func (m *OAuthAppMutation) SetLogoURL(s string) + func (m *OAuthAppMutation) SetMetadata(value map[string]string) + func (m *OAuthAppMutation) SetName(s string) + func (m *OAuthAppMutation) SetOp(op Op) + func (m *OAuthAppMutation) SetOrganizationID(u uuid.UUID) + func (m *OAuthAppMutation) SetOwnerID(u uuid.UUID) + func (m *OAuthAppMutation) SetPublic(b bool) + func (m *OAuthAppMutation) SetRedirectUris(s []string) + func (m *OAuthAppMutation) SetRefreshTokenRotation(b bool) + func (m *OAuthAppMutation) SetRefreshTokenTTL(i int) + func (m *OAuthAppMutation) SetRevokedAt(t time.Time) + func (m *OAuthAppMutation) SetUpdatedAt(t time.Time) + func (m *OAuthAppMutation) TokensCleared() bool + func (m *OAuthAppMutation) TokensIDs() (ids []uuid.UUID) + func (m *OAuthAppMutation) Type() string + func (m *OAuthAppMutation) UpdatedAt() (r time.Time, exists bool) + func (m *OAuthAppMutation) Where(ps ...predicate.OAuthApp) + func (m *OAuthAppMutation) WhereP(ps ...func(*sql.Selector)) + func (m OAuthAppMutation) Client() *Client + func (m OAuthAppMutation) Tx() (*Tx, error) + type OAuthAppQuery struct + func (_q *OAuthAppQuery) Aggregate(fns ...AggregateFunc) *OAuthAppSelect + func (_q *OAuthAppQuery) All(ctx context.Context) ([]*OAuthApp, error) + func (_q *OAuthAppQuery) AllX(ctx context.Context) []*OAuthApp + func (_q *OAuthAppQuery) Clone() *OAuthAppQuery + func (_q *OAuthAppQuery) Count(ctx context.Context) (int, error) + func (_q *OAuthAppQuery) CountX(ctx context.Context) int + func (_q *OAuthAppQuery) Exist(ctx context.Context) (bool, error) + func (_q *OAuthAppQuery) ExistX(ctx context.Context) bool + func (_q *OAuthAppQuery) Filter() *OAuthAppFilter + func (_q *OAuthAppQuery) First(ctx context.Context) (*OAuthApp, error) + func (_q *OAuthAppQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthAppQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *OAuthAppQuery) FirstX(ctx context.Context) *OAuthApp + func (_q *OAuthAppQuery) GroupBy(field string, fields ...string) *OAuthAppGroupBy + func (_q *OAuthAppQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *OAuthAppQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *OAuthAppQuery) Limit(limit int) *OAuthAppQuery + func (_q *OAuthAppQuery) Offset(offset int) *OAuthAppQuery + func (_q *OAuthAppQuery) Only(ctx context.Context) (*OAuthApp, error) + func (_q *OAuthAppQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthAppQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *OAuthAppQuery) OnlyX(ctx context.Context) *OAuthApp + func (_q *OAuthAppQuery) Order(o ...oauthapp.OrderOption) *OAuthAppQuery + func (_q *OAuthAppQuery) QueryAuthCodes() *OAuthAuthCodeQuery + func (_q *OAuthAppQuery) QueryConsents() *OAuthConsentQuery + func (_q *OAuthAppQuery) QueryOrganization() *OrganizationQuery + func (_q *OAuthAppQuery) QueryOwner() *UserQuery + func (_q *OAuthAppQuery) QuerySecrets() *OAuthAppSecretQuery + func (_q *OAuthAppQuery) QueryTokens() *OAuthTokenQuery + func (_q *OAuthAppQuery) Select(fields ...string) *OAuthAppSelect + func (_q *OAuthAppQuery) Unique(unique bool) *OAuthAppQuery + func (_q *OAuthAppQuery) Where(ps ...predicate.OAuthApp) *OAuthAppQuery + func (_q *OAuthAppQuery) WithAuthCodes(opts ...func(*OAuthAuthCodeQuery)) *OAuthAppQuery + func (_q *OAuthAppQuery) WithConsents(opts ...func(*OAuthConsentQuery)) *OAuthAppQuery + func (_q *OAuthAppQuery) WithOrganization(opts ...func(*OrganizationQuery)) *OAuthAppQuery + func (_q *OAuthAppQuery) WithOwner(opts ...func(*UserQuery)) *OAuthAppQuery + func (_q *OAuthAppQuery) WithSecrets(opts ...func(*OAuthAppSecretQuery)) *OAuthAppQuery + func (_q *OAuthAppQuery) WithTokens(opts ...func(*OAuthTokenQuery)) *OAuthAppQuery + type OAuthAppSecret struct + AppID uuid.UUID + CreatedAt time.Time + Edges OAuthAppSecretEdges + ExpiresAt *time.Time + ID uuid.UUID + LastUsedAt *time.Time + Revoked bool + RevokedAt *time.Time + SecretHash string + SecretPrefix string + func (_m *OAuthAppSecret) QueryApp() *OAuthAppQuery + func (_m *OAuthAppSecret) String() string + func (_m *OAuthAppSecret) Unwrap() *OAuthAppSecret + func (_m *OAuthAppSecret) Update() *OAuthAppSecretUpdateOne + func (_m *OAuthAppSecret) Value(name string) (ent.Value, error) + type OAuthAppSecretClient struct + func NewOAuthAppSecretClient(c config) *OAuthAppSecretClient + func (c *OAuthAppSecretClient) Create() *OAuthAppSecretCreate + func (c *OAuthAppSecretClient) CreateBulk(builders ...*OAuthAppSecretCreate) *OAuthAppSecretCreateBulk + func (c *OAuthAppSecretClient) Delete() *OAuthAppSecretDelete + func (c *OAuthAppSecretClient) DeleteOne(_m *OAuthAppSecret) *OAuthAppSecretDeleteOne + func (c *OAuthAppSecretClient) DeleteOneID(id uuid.UUID) *OAuthAppSecretDeleteOne + func (c *OAuthAppSecretClient) Get(ctx context.Context, id uuid.UUID) (*OAuthAppSecret, error) + func (c *OAuthAppSecretClient) GetX(ctx context.Context, id uuid.UUID) *OAuthAppSecret + func (c *OAuthAppSecretClient) Hooks() []Hook + func (c *OAuthAppSecretClient) Intercept(interceptors ...Interceptor) + func (c *OAuthAppSecretClient) Interceptors() []Interceptor + func (c *OAuthAppSecretClient) MapCreateBulk(slice any, setFunc func(*OAuthAppSecretCreate, int)) *OAuthAppSecretCreateBulk + func (c *OAuthAppSecretClient) Query() *OAuthAppSecretQuery + func (c *OAuthAppSecretClient) QueryApp(_m *OAuthAppSecret) *OAuthAppQuery + func (c *OAuthAppSecretClient) Update() *OAuthAppSecretUpdate + func (c *OAuthAppSecretClient) UpdateOne(_m *OAuthAppSecret) *OAuthAppSecretUpdateOne + func (c *OAuthAppSecretClient) UpdateOneID(id uuid.UUID) *OAuthAppSecretUpdateOne + func (c *OAuthAppSecretClient) Use(hooks ...Hook) + type OAuthAppSecretCreate struct + func (_c *OAuthAppSecretCreate) Exec(ctx context.Context) error + func (_c *OAuthAppSecretCreate) ExecX(ctx context.Context) + func (_c *OAuthAppSecretCreate) Mutation() *OAuthAppSecretMutation + func (_c *OAuthAppSecretCreate) OnConflict(opts ...sql.ConflictOption) *OAuthAppSecretUpsertOne + func (_c *OAuthAppSecretCreate) OnConflictColumns(columns ...string) *OAuthAppSecretUpsertOne + func (_c *OAuthAppSecretCreate) Save(ctx context.Context) (*OAuthAppSecret, error) + func (_c *OAuthAppSecretCreate) SaveX(ctx context.Context) *OAuthAppSecret + func (_c *OAuthAppSecretCreate) SetApp(v *OAuthApp) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetAppID(v uuid.UUID) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetCreatedAt(v time.Time) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetExpiresAt(v time.Time) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetID(v uuid.UUID) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetLastUsedAt(v time.Time) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetNillableCreatedAt(v *time.Time) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetNillableExpiresAt(v *time.Time) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetNillableID(v *uuid.UUID) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetNillableLastUsedAt(v *time.Time) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetNillableRevoked(v *bool) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetNillableRevokedAt(v *time.Time) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetRevoked(v bool) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetRevokedAt(v time.Time) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetSecretHash(v string) *OAuthAppSecretCreate + func (_c *OAuthAppSecretCreate) SetSecretPrefix(v string) *OAuthAppSecretCreate + type OAuthAppSecretCreateBulk struct + func (_c *OAuthAppSecretCreateBulk) Exec(ctx context.Context) error + func (_c *OAuthAppSecretCreateBulk) ExecX(ctx context.Context) + func (_c *OAuthAppSecretCreateBulk) OnConflict(opts ...sql.ConflictOption) *OAuthAppSecretUpsertBulk + func (_c *OAuthAppSecretCreateBulk) OnConflictColumns(columns ...string) *OAuthAppSecretUpsertBulk + func (_c *OAuthAppSecretCreateBulk) Save(ctx context.Context) ([]*OAuthAppSecret, error) + func (_c *OAuthAppSecretCreateBulk) SaveX(ctx context.Context) []*OAuthAppSecret + type OAuthAppSecretDelete struct + func (_d *OAuthAppSecretDelete) Exec(ctx context.Context) (int, error) + func (_d *OAuthAppSecretDelete) ExecX(ctx context.Context) int + func (_d *OAuthAppSecretDelete) Where(ps ...predicate.OAuthAppSecret) *OAuthAppSecretDelete + type OAuthAppSecretDeleteOne struct + func (_d *OAuthAppSecretDeleteOne) Exec(ctx context.Context) error + func (_d *OAuthAppSecretDeleteOne) ExecX(ctx context.Context) + func (_d *OAuthAppSecretDeleteOne) Where(ps ...predicate.OAuthAppSecret) *OAuthAppSecretDeleteOne + type OAuthAppSecretEdges struct + App *OAuthApp + func (e OAuthAppSecretEdges) AppOrErr() (*OAuthApp, error) + type OAuthAppSecretFilter struct + func (f *OAuthAppSecretFilter) Where(p entql.P) + func (f *OAuthAppSecretFilter) WhereAppID(p entql.ValueP) + func (f *OAuthAppSecretFilter) WhereCreatedAt(p entql.TimeP) + func (f *OAuthAppSecretFilter) WhereExpiresAt(p entql.TimeP) + func (f *OAuthAppSecretFilter) WhereHasApp() + func (f *OAuthAppSecretFilter) WhereHasAppWith(preds ...predicate.OAuthApp) + func (f *OAuthAppSecretFilter) WhereID(p entql.ValueP) + func (f *OAuthAppSecretFilter) WhereLastUsedAt(p entql.TimeP) + func (f *OAuthAppSecretFilter) WhereRevoked(p entql.BoolP) + func (f *OAuthAppSecretFilter) WhereRevokedAt(p entql.TimeP) + func (f *OAuthAppSecretFilter) WhereSecretHash(p entql.StringP) + func (f *OAuthAppSecretFilter) WhereSecretPrefix(p entql.StringP) + type OAuthAppSecretGroupBy struct + func (_g *OAuthAppSecretGroupBy) Aggregate(fns ...AggregateFunc) *OAuthAppSecretGroupBy + func (_g *OAuthAppSecretGroupBy) Scan(ctx context.Context, v any) error + func (s *OAuthAppSecretGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthAppSecretGroupBy) BoolX(ctx context.Context) bool + func (s *OAuthAppSecretGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthAppSecretGroupBy) BoolsX(ctx context.Context) []bool + func (s *OAuthAppSecretGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthAppSecretGroupBy) Float64X(ctx context.Context) float64 + func (s *OAuthAppSecretGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthAppSecretGroupBy) Float64sX(ctx context.Context) []float64 + func (s *OAuthAppSecretGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *OAuthAppSecretGroupBy) IntX(ctx context.Context) int + func (s *OAuthAppSecretGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *OAuthAppSecretGroupBy) IntsX(ctx context.Context) []int + func (s *OAuthAppSecretGroupBy) ScanX(ctx context.Context, v any) + func (s *OAuthAppSecretGroupBy) String(ctx context.Context) (_ string, err error) + func (s *OAuthAppSecretGroupBy) StringX(ctx context.Context) string + func (s *OAuthAppSecretGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *OAuthAppSecretGroupBy) StringsX(ctx context.Context) []string + type OAuthAppSecretMutation struct + func (m *OAuthAppSecretMutation) AddField(name string, value ent.Value) error + func (m *OAuthAppSecretMutation) AddedEdges() []string + func (m *OAuthAppSecretMutation) AddedField(name string) (ent.Value, bool) + func (m *OAuthAppSecretMutation) AddedFields() []string + func (m *OAuthAppSecretMutation) AddedIDs(name string) []ent.Value + func (m *OAuthAppSecretMutation) AppCleared() bool + func (m *OAuthAppSecretMutation) AppID() (r uuid.UUID, exists bool) + func (m *OAuthAppSecretMutation) AppIDs() (ids []uuid.UUID) + func (m *OAuthAppSecretMutation) ClearApp() + func (m *OAuthAppSecretMutation) ClearEdge(name string) error + func (m *OAuthAppSecretMutation) ClearExpiresAt() + func (m *OAuthAppSecretMutation) ClearField(name string) error + func (m *OAuthAppSecretMutation) ClearLastUsedAt() + func (m *OAuthAppSecretMutation) ClearRevokedAt() + func (m *OAuthAppSecretMutation) ClearedEdges() []string + func (m *OAuthAppSecretMutation) ClearedFields() []string + func (m *OAuthAppSecretMutation) CreatedAt() (r time.Time, exists bool) + func (m *OAuthAppSecretMutation) EdgeCleared(name string) bool + func (m *OAuthAppSecretMutation) ExpiresAt() (r time.Time, exists bool) + func (m *OAuthAppSecretMutation) ExpiresAtCleared() bool + func (m *OAuthAppSecretMutation) Field(name string) (ent.Value, bool) + func (m *OAuthAppSecretMutation) FieldCleared(name string) bool + func (m *OAuthAppSecretMutation) Fields() []string + func (m *OAuthAppSecretMutation) Filter() *OAuthAppSecretFilter + func (m *OAuthAppSecretMutation) ID() (id uuid.UUID, exists bool) + func (m *OAuthAppSecretMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *OAuthAppSecretMutation) LastUsedAt() (r time.Time, exists bool) + func (m *OAuthAppSecretMutation) LastUsedAtCleared() bool + func (m *OAuthAppSecretMutation) OldAppID(ctx context.Context) (v uuid.UUID, err error) + func (m *OAuthAppSecretMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthAppSecretMutation) OldExpiresAt(ctx context.Context) (v *time.Time, err error) + func (m *OAuthAppSecretMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *OAuthAppSecretMutation) OldLastUsedAt(ctx context.Context) (v *time.Time, err error) + func (m *OAuthAppSecretMutation) OldRevoked(ctx context.Context) (v bool, err error) + func (m *OAuthAppSecretMutation) OldRevokedAt(ctx context.Context) (v *time.Time, err error) + func (m *OAuthAppSecretMutation) OldSecretHash(ctx context.Context) (v string, err error) + func (m *OAuthAppSecretMutation) OldSecretPrefix(ctx context.Context) (v string, err error) + func (m *OAuthAppSecretMutation) Op() Op + func (m *OAuthAppSecretMutation) RemovedEdges() []string + func (m *OAuthAppSecretMutation) RemovedIDs(name string) []ent.Value + func (m *OAuthAppSecretMutation) ResetApp() + func (m *OAuthAppSecretMutation) ResetAppID() + func (m *OAuthAppSecretMutation) ResetCreatedAt() + func (m *OAuthAppSecretMutation) ResetEdge(name string) error + func (m *OAuthAppSecretMutation) ResetExpiresAt() + func (m *OAuthAppSecretMutation) ResetField(name string) error + func (m *OAuthAppSecretMutation) ResetLastUsedAt() + func (m *OAuthAppSecretMutation) ResetRevoked() + func (m *OAuthAppSecretMutation) ResetRevokedAt() + func (m *OAuthAppSecretMutation) ResetSecretHash() + func (m *OAuthAppSecretMutation) ResetSecretPrefix() + func (m *OAuthAppSecretMutation) Revoked() (r bool, exists bool) + func (m *OAuthAppSecretMutation) RevokedAt() (r time.Time, exists bool) + func (m *OAuthAppSecretMutation) RevokedAtCleared() bool + func (m *OAuthAppSecretMutation) SecretHash() (r string, exists bool) + func (m *OAuthAppSecretMutation) SecretPrefix() (r string, exists bool) + func (m *OAuthAppSecretMutation) SetAppID(u uuid.UUID) + func (m *OAuthAppSecretMutation) SetCreatedAt(t time.Time) + func (m *OAuthAppSecretMutation) SetExpiresAt(t time.Time) + func (m *OAuthAppSecretMutation) SetField(name string, value ent.Value) error + func (m *OAuthAppSecretMutation) SetID(id uuid.UUID) + func (m *OAuthAppSecretMutation) SetLastUsedAt(t time.Time) + func (m *OAuthAppSecretMutation) SetOp(op Op) + func (m *OAuthAppSecretMutation) SetRevoked(b bool) + func (m *OAuthAppSecretMutation) SetRevokedAt(t time.Time) + func (m *OAuthAppSecretMutation) SetSecretHash(s string) + func (m *OAuthAppSecretMutation) SetSecretPrefix(s string) + func (m *OAuthAppSecretMutation) Type() string + func (m *OAuthAppSecretMutation) Where(ps ...predicate.OAuthAppSecret) + func (m *OAuthAppSecretMutation) WhereP(ps ...func(*sql.Selector)) + func (m OAuthAppSecretMutation) Client() *Client + func (m OAuthAppSecretMutation) Tx() (*Tx, error) + type OAuthAppSecretQuery struct + func (_q *OAuthAppSecretQuery) Aggregate(fns ...AggregateFunc) *OAuthAppSecretSelect + func (_q *OAuthAppSecretQuery) All(ctx context.Context) ([]*OAuthAppSecret, error) + func (_q *OAuthAppSecretQuery) AllX(ctx context.Context) []*OAuthAppSecret + func (_q *OAuthAppSecretQuery) Clone() *OAuthAppSecretQuery + func (_q *OAuthAppSecretQuery) Count(ctx context.Context) (int, error) + func (_q *OAuthAppSecretQuery) CountX(ctx context.Context) int + func (_q *OAuthAppSecretQuery) Exist(ctx context.Context) (bool, error) + func (_q *OAuthAppSecretQuery) ExistX(ctx context.Context) bool + func (_q *OAuthAppSecretQuery) Filter() *OAuthAppSecretFilter + func (_q *OAuthAppSecretQuery) First(ctx context.Context) (*OAuthAppSecret, error) + func (_q *OAuthAppSecretQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthAppSecretQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *OAuthAppSecretQuery) FirstX(ctx context.Context) *OAuthAppSecret + func (_q *OAuthAppSecretQuery) GroupBy(field string, fields ...string) *OAuthAppSecretGroupBy + func (_q *OAuthAppSecretQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *OAuthAppSecretQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *OAuthAppSecretQuery) Limit(limit int) *OAuthAppSecretQuery + func (_q *OAuthAppSecretQuery) Offset(offset int) *OAuthAppSecretQuery + func (_q *OAuthAppSecretQuery) Only(ctx context.Context) (*OAuthAppSecret, error) + func (_q *OAuthAppSecretQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthAppSecretQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *OAuthAppSecretQuery) OnlyX(ctx context.Context) *OAuthAppSecret + func (_q *OAuthAppSecretQuery) Order(o ...oauthappsecret.OrderOption) *OAuthAppSecretQuery + func (_q *OAuthAppSecretQuery) QueryApp() *OAuthAppQuery + func (_q *OAuthAppSecretQuery) Select(fields ...string) *OAuthAppSecretSelect + func (_q *OAuthAppSecretQuery) Unique(unique bool) *OAuthAppSecretQuery + func (_q *OAuthAppSecretQuery) Where(ps ...predicate.OAuthAppSecret) *OAuthAppSecretQuery + func (_q *OAuthAppSecretQuery) WithApp(opts ...func(*OAuthAppQuery)) *OAuthAppSecretQuery + type OAuthAppSecretSelect struct + func (_s *OAuthAppSecretSelect) Aggregate(fns ...AggregateFunc) *OAuthAppSecretSelect + func (_s *OAuthAppSecretSelect) Scan(ctx context.Context, v any) error + func (s *OAuthAppSecretSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthAppSecretSelect) BoolX(ctx context.Context) bool + func (s *OAuthAppSecretSelect) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthAppSecretSelect) BoolsX(ctx context.Context) []bool + func (s *OAuthAppSecretSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthAppSecretSelect) Float64X(ctx context.Context) float64 + func (s *OAuthAppSecretSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthAppSecretSelect) Float64sX(ctx context.Context) []float64 + func (s *OAuthAppSecretSelect) Int(ctx context.Context) (_ int, err error) + func (s *OAuthAppSecretSelect) IntX(ctx context.Context) int + func (s *OAuthAppSecretSelect) Ints(ctx context.Context) ([]int, error) + func (s *OAuthAppSecretSelect) IntsX(ctx context.Context) []int + func (s *OAuthAppSecretSelect) ScanX(ctx context.Context, v any) + func (s *OAuthAppSecretSelect) String(ctx context.Context) (_ string, err error) + func (s *OAuthAppSecretSelect) StringX(ctx context.Context) string + func (s *OAuthAppSecretSelect) Strings(ctx context.Context) ([]string, error) + func (s *OAuthAppSecretSelect) StringsX(ctx context.Context) []string + type OAuthAppSecretUpdate struct + func (_u *OAuthAppSecretUpdate) ClearApp() *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) ClearExpiresAt() *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) ClearLastUsedAt() *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) ClearRevokedAt() *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) Exec(ctx context.Context) error + func (_u *OAuthAppSecretUpdate) ExecX(ctx context.Context) + func (_u *OAuthAppSecretUpdate) Mutation() *OAuthAppSecretMutation + func (_u *OAuthAppSecretUpdate) Save(ctx context.Context) (int, error) + func (_u *OAuthAppSecretUpdate) SaveX(ctx context.Context) int + func (_u *OAuthAppSecretUpdate) SetApp(v *OAuthApp) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetAppID(v uuid.UUID) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetExpiresAt(v time.Time) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetLastUsedAt(v time.Time) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetNillableAppID(v *uuid.UUID) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetNillableExpiresAt(v *time.Time) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetNillableLastUsedAt(v *time.Time) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetNillableRevoked(v *bool) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetNillableRevokedAt(v *time.Time) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetNillableSecretHash(v *string) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetNillableSecretPrefix(v *string) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetRevoked(v bool) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetRevokedAt(v time.Time) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetSecretHash(v string) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) SetSecretPrefix(v string) *OAuthAppSecretUpdate + func (_u *OAuthAppSecretUpdate) Where(ps ...predicate.OAuthAppSecret) *OAuthAppSecretUpdate + type OAuthAppSecretUpdateOne struct + func (_u *OAuthAppSecretUpdateOne) ClearApp() *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) ClearExpiresAt() *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) ClearLastUsedAt() *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) ClearRevokedAt() *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) Exec(ctx context.Context) error + func (_u *OAuthAppSecretUpdateOne) ExecX(ctx context.Context) + func (_u *OAuthAppSecretUpdateOne) Mutation() *OAuthAppSecretMutation + func (_u *OAuthAppSecretUpdateOne) Save(ctx context.Context) (*OAuthAppSecret, error) + func (_u *OAuthAppSecretUpdateOne) SaveX(ctx context.Context) *OAuthAppSecret + func (_u *OAuthAppSecretUpdateOne) Select(field string, fields ...string) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetApp(v *OAuthApp) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetAppID(v uuid.UUID) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetExpiresAt(v time.Time) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetLastUsedAt(v time.Time) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetNillableAppID(v *uuid.UUID) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetNillableExpiresAt(v *time.Time) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetNillableLastUsedAt(v *time.Time) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetNillableRevoked(v *bool) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetNillableRevokedAt(v *time.Time) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetNillableSecretHash(v *string) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetNillableSecretPrefix(v *string) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetRevoked(v bool) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetRevokedAt(v time.Time) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetSecretHash(v string) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) SetSecretPrefix(v string) *OAuthAppSecretUpdateOne + func (_u *OAuthAppSecretUpdateOne) Where(ps ...predicate.OAuthAppSecret) *OAuthAppSecretUpdateOne + type OAuthAppSecretUpsert struct + func (u *OAuthAppSecretUpsert) ClearExpiresAt() *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) ClearLastUsedAt() *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) ClearRevokedAt() *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) SetAppID(v uuid.UUID) *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) SetExpiresAt(v time.Time) *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) SetLastUsedAt(v time.Time) *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) SetRevoked(v bool) *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) SetRevokedAt(v time.Time) *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) SetSecretHash(v string) *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) SetSecretPrefix(v string) *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) UpdateAppID() *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) UpdateExpiresAt() *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) UpdateLastUsedAt() *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) UpdateRevoked() *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) UpdateRevokedAt() *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) UpdateSecretHash() *OAuthAppSecretUpsert + func (u *OAuthAppSecretUpsert) UpdateSecretPrefix() *OAuthAppSecretUpsert + type OAuthAppSecretUpsertBulk struct + func (u *OAuthAppSecretUpsertBulk) ClearExpiresAt() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) ClearLastUsedAt() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) ClearRevokedAt() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) DoNothing() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) Exec(ctx context.Context) error + func (u *OAuthAppSecretUpsertBulk) ExecX(ctx context.Context) + func (u *OAuthAppSecretUpsertBulk) Ignore() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) SetAppID(v uuid.UUID) *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) SetExpiresAt(v time.Time) *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) SetLastUsedAt(v time.Time) *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) SetRevoked(v bool) *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) SetRevokedAt(v time.Time) *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) SetSecretHash(v string) *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) SetSecretPrefix(v string) *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) Update(set func(*OAuthAppSecretUpsert)) *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) UpdateAppID() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) UpdateExpiresAt() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) UpdateLastUsedAt() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) UpdateNewValues() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) UpdateRevoked() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) UpdateRevokedAt() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) UpdateSecretHash() *OAuthAppSecretUpsertBulk + func (u *OAuthAppSecretUpsertBulk) UpdateSecretPrefix() *OAuthAppSecretUpsertBulk + type OAuthAppSecretUpsertOne struct + func (u *OAuthAppSecretUpsertOne) ClearExpiresAt() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) ClearLastUsedAt() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) ClearRevokedAt() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) DoNothing() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) Exec(ctx context.Context) error + func (u *OAuthAppSecretUpsertOne) ExecX(ctx context.Context) + func (u *OAuthAppSecretUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *OAuthAppSecretUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *OAuthAppSecretUpsertOne) Ignore() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) SetAppID(v uuid.UUID) *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) SetExpiresAt(v time.Time) *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) SetLastUsedAt(v time.Time) *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) SetRevoked(v bool) *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) SetRevokedAt(v time.Time) *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) SetSecretHash(v string) *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) SetSecretPrefix(v string) *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) Update(set func(*OAuthAppSecretUpsert)) *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) UpdateAppID() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) UpdateExpiresAt() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) UpdateLastUsedAt() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) UpdateNewValues() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) UpdateRevoked() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) UpdateRevokedAt() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) UpdateSecretHash() *OAuthAppSecretUpsertOne + func (u *OAuthAppSecretUpsertOne) UpdateSecretPrefix() *OAuthAppSecretUpsertOne + type OAuthAppSecrets []*OAuthAppSecret + type OAuthAppSelect struct + func (_s *OAuthAppSelect) Aggregate(fns ...AggregateFunc) *OAuthAppSelect + func (_s *OAuthAppSelect) Scan(ctx context.Context, v any) error + func (s *OAuthAppSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthAppSelect) BoolX(ctx context.Context) bool + func (s *OAuthAppSelect) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthAppSelect) BoolsX(ctx context.Context) []bool + func (s *OAuthAppSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthAppSelect) Float64X(ctx context.Context) float64 + func (s *OAuthAppSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthAppSelect) Float64sX(ctx context.Context) []float64 + func (s *OAuthAppSelect) Int(ctx context.Context) (_ int, err error) + func (s *OAuthAppSelect) IntX(ctx context.Context) int + func (s *OAuthAppSelect) Ints(ctx context.Context) ([]int, error) + func (s *OAuthAppSelect) IntsX(ctx context.Context) []int + func (s *OAuthAppSelect) ScanX(ctx context.Context, v any) + func (s *OAuthAppSelect) String(ctx context.Context) (_ string, err error) + func (s *OAuthAppSelect) StringX(ctx context.Context) string + func (s *OAuthAppSelect) Strings(ctx context.Context) ([]string, error) + func (s *OAuthAppSelect) StringsX(ctx context.Context) []string + type OAuthAppUpdate struct + func (_u *OAuthAppUpdate) AddAccessTokenTTL(v int) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AddAuthCodeIDs(ids ...uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AddAuthCodes(v ...*OAuthAuthCode) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AddConsentIDs(ids ...uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AddConsents(v ...*OAuthConsent) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AddRefreshTokenTTL(v int) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AddSecretIDs(ids ...uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AddSecrets(v ...*OAuthAppSecret) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AddTokenIDs(ids ...uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AddTokens(v ...*OAuthToken) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AppendAllowedGrants(v []string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AppendAllowedResponseTypes(v []string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AppendAllowedScopes(v []string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) AppendRedirectUris(v []string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) ClearAuthCodes() *OAuthAppUpdate + func (_u *OAuthAppUpdate) ClearConsents() *OAuthAppUpdate + func (_u *OAuthAppUpdate) ClearDescription() *OAuthAppUpdate + func (_u *OAuthAppUpdate) ClearLogoURL() *OAuthAppUpdate + func (_u *OAuthAppUpdate) ClearMetadata() *OAuthAppUpdate + func (_u *OAuthAppUpdate) ClearOrganization() *OAuthAppUpdate + func (_u *OAuthAppUpdate) ClearOrganizationID() *OAuthAppUpdate + func (_u *OAuthAppUpdate) ClearOwner() *OAuthAppUpdate + func (_u *OAuthAppUpdate) ClearRevokedAt() *OAuthAppUpdate + func (_u *OAuthAppUpdate) ClearSecrets() *OAuthAppUpdate + func (_u *OAuthAppUpdate) ClearTokens() *OAuthAppUpdate + func (_u *OAuthAppUpdate) Exec(ctx context.Context) error + func (_u *OAuthAppUpdate) ExecX(ctx context.Context) + func (_u *OAuthAppUpdate) Mutation() *OAuthAppMutation + func (_u *OAuthAppUpdate) RemoveAuthCodeIDs(ids ...uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) RemoveAuthCodes(v ...*OAuthAuthCode) *OAuthAppUpdate + func (_u *OAuthAppUpdate) RemoveConsentIDs(ids ...uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) RemoveConsents(v ...*OAuthConsent) *OAuthAppUpdate + func (_u *OAuthAppUpdate) RemoveSecretIDs(ids ...uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) RemoveSecrets(v ...*OAuthAppSecret) *OAuthAppUpdate + func (_u *OAuthAppUpdate) RemoveTokenIDs(ids ...uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) RemoveTokens(v ...*OAuthToken) *OAuthAppUpdate + func (_u *OAuthAppUpdate) Save(ctx context.Context) (int, error) + func (_u *OAuthAppUpdate) SaveX(ctx context.Context) int + func (_u *OAuthAppUpdate) SetAccessTokenTTL(v int) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetActive(v bool) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetAllowedGrants(v []string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetAllowedResponseTypes(v []string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetAllowedScopes(v []string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetAppType(v oauthapp.AppType) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetDescription(v string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetFirstParty(v bool) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetLogoURL(v string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetMetadata(v map[string]string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetName(v string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableAccessTokenTTL(v *int) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableActive(v *bool) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableAppType(v *oauthapp.AppType) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableDescription(v *string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableFirstParty(v *bool) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableLogoURL(v *string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableName(v *string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableOrganizationID(v *uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableOwnerID(v *uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillablePublic(v *bool) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableRefreshTokenRotation(v *bool) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableRefreshTokenTTL(v *int) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetNillableRevokedAt(v *time.Time) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetOrganization(v *Organization) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetOrganizationID(v uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetOwner(v *User) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetOwnerID(v uuid.UUID) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetPublic(v bool) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetRedirectUris(v []string) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetRefreshTokenRotation(v bool) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetRefreshTokenTTL(v int) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetRevokedAt(v time.Time) *OAuthAppUpdate + func (_u *OAuthAppUpdate) SetUpdatedAt(v time.Time) *OAuthAppUpdate + func (_u *OAuthAppUpdate) Where(ps ...predicate.OAuthApp) *OAuthAppUpdate + type OAuthAppUpdateOne struct + func (_u *OAuthAppUpdateOne) AddAccessTokenTTL(v int) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AddAuthCodeIDs(ids ...uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AddAuthCodes(v ...*OAuthAuthCode) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AddConsentIDs(ids ...uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AddConsents(v ...*OAuthConsent) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AddRefreshTokenTTL(v int) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AddSecretIDs(ids ...uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AddSecrets(v ...*OAuthAppSecret) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AddTokenIDs(ids ...uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AddTokens(v ...*OAuthToken) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AppendAllowedGrants(v []string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AppendAllowedResponseTypes(v []string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AppendAllowedScopes(v []string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) AppendRedirectUris(v []string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) ClearAuthCodes() *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) ClearConsents() *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) ClearDescription() *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) ClearLogoURL() *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) ClearMetadata() *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) ClearOrganization() *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) ClearOrganizationID() *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) ClearOwner() *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) ClearRevokedAt() *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) ClearSecrets() *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) ClearTokens() *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) Exec(ctx context.Context) error + func (_u *OAuthAppUpdateOne) ExecX(ctx context.Context) + func (_u *OAuthAppUpdateOne) Mutation() *OAuthAppMutation + func (_u *OAuthAppUpdateOne) RemoveAuthCodeIDs(ids ...uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) RemoveAuthCodes(v ...*OAuthAuthCode) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) RemoveConsentIDs(ids ...uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) RemoveConsents(v ...*OAuthConsent) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) RemoveSecretIDs(ids ...uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) RemoveSecrets(v ...*OAuthAppSecret) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) RemoveTokenIDs(ids ...uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) RemoveTokens(v ...*OAuthToken) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) Save(ctx context.Context) (*OAuthApp, error) + func (_u *OAuthAppUpdateOne) SaveX(ctx context.Context) *OAuthApp + func (_u *OAuthAppUpdateOne) Select(field string, fields ...string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetAccessTokenTTL(v int) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetActive(v bool) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetAllowedGrants(v []string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetAllowedResponseTypes(v []string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetAllowedScopes(v []string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetAppType(v oauthapp.AppType) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetDescription(v string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetFirstParty(v bool) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetLogoURL(v string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetMetadata(v map[string]string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetName(v string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableAccessTokenTTL(v *int) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableActive(v *bool) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableAppType(v *oauthapp.AppType) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableDescription(v *string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableFirstParty(v *bool) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableLogoURL(v *string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableName(v *string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableOrganizationID(v *uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableOwnerID(v *uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillablePublic(v *bool) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableRefreshTokenRotation(v *bool) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableRefreshTokenTTL(v *int) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetNillableRevokedAt(v *time.Time) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetOrganization(v *Organization) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetOrganizationID(v uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetOwner(v *User) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetOwnerID(v uuid.UUID) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetPublic(v bool) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetRedirectUris(v []string) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetRefreshTokenRotation(v bool) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetRefreshTokenTTL(v int) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetRevokedAt(v time.Time) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) SetUpdatedAt(v time.Time) *OAuthAppUpdateOne + func (_u *OAuthAppUpdateOne) Where(ps ...predicate.OAuthApp) *OAuthAppUpdateOne + type OAuthAppUpsert struct + func (u *OAuthAppUpsert) AddAccessTokenTTL(v int) *OAuthAppUpsert + func (u *OAuthAppUpsert) AddRefreshTokenTTL(v int) *OAuthAppUpsert + func (u *OAuthAppUpsert) ClearDescription() *OAuthAppUpsert + func (u *OAuthAppUpsert) ClearLogoURL() *OAuthAppUpsert + func (u *OAuthAppUpsert) ClearMetadata() *OAuthAppUpsert + func (u *OAuthAppUpsert) ClearOrganizationID() *OAuthAppUpsert + func (u *OAuthAppUpsert) ClearRevokedAt() *OAuthAppUpsert + func (u *OAuthAppUpsert) SetAccessTokenTTL(v int) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetActive(v bool) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetAllowedGrants(v []string) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetAllowedResponseTypes(v []string) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetAllowedScopes(v []string) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetAppType(v oauthapp.AppType) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetDescription(v string) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetFirstParty(v bool) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetLogoURL(v string) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetMetadata(v map[string]string) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetName(v string) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetOrganizationID(v uuid.UUID) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetOwnerID(v uuid.UUID) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetPublic(v bool) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetRedirectUris(v []string) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetRefreshTokenRotation(v bool) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetRefreshTokenTTL(v int) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetRevokedAt(v time.Time) *OAuthAppUpsert + func (u *OAuthAppUpsert) SetUpdatedAt(v time.Time) *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateAccessTokenTTL() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateActive() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateAllowedGrants() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateAllowedResponseTypes() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateAllowedScopes() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateAppType() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateDescription() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateFirstParty() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateLogoURL() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateMetadata() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateName() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateOrganizationID() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateOwnerID() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdatePublic() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateRedirectUris() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateRefreshTokenRotation() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateRefreshTokenTTL() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateRevokedAt() *OAuthAppUpsert + func (u *OAuthAppUpsert) UpdateUpdatedAt() *OAuthAppUpsert + type OAuthAppUpsertBulk struct + func (u *OAuthAppUpsertBulk) AddAccessTokenTTL(v int) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) AddRefreshTokenTTL(v int) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) ClearDescription() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) ClearLogoURL() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) ClearMetadata() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) ClearOrganizationID() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) ClearRevokedAt() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) DoNothing() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) Exec(ctx context.Context) error + func (u *OAuthAppUpsertBulk) ExecX(ctx context.Context) + func (u *OAuthAppUpsertBulk) Ignore() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetAccessTokenTTL(v int) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetActive(v bool) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetAllowedGrants(v []string) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetAllowedResponseTypes(v []string) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetAllowedScopes(v []string) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetAppType(v oauthapp.AppType) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetDescription(v string) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetFirstParty(v bool) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetLogoURL(v string) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetMetadata(v map[string]string) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetName(v string) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetOrganizationID(v uuid.UUID) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetOwnerID(v uuid.UUID) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetPublic(v bool) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetRedirectUris(v []string) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetRefreshTokenRotation(v bool) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetRefreshTokenTTL(v int) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetRevokedAt(v time.Time) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) SetUpdatedAt(v time.Time) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) Update(set func(*OAuthAppUpsert)) *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateAccessTokenTTL() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateActive() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateAllowedGrants() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateAllowedResponseTypes() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateAllowedScopes() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateAppType() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateDescription() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateFirstParty() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateLogoURL() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateMetadata() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateName() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateNewValues() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateOrganizationID() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateOwnerID() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdatePublic() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateRedirectUris() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateRefreshTokenRotation() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateRefreshTokenTTL() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateRevokedAt() *OAuthAppUpsertBulk + func (u *OAuthAppUpsertBulk) UpdateUpdatedAt() *OAuthAppUpsertBulk + type OAuthAppUpsertOne struct + func (u *OAuthAppUpsertOne) AddAccessTokenTTL(v int) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) AddRefreshTokenTTL(v int) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) ClearDescription() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) ClearLogoURL() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) ClearMetadata() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) ClearOrganizationID() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) ClearRevokedAt() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) DoNothing() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) Exec(ctx context.Context) error + func (u *OAuthAppUpsertOne) ExecX(ctx context.Context) + func (u *OAuthAppUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *OAuthAppUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *OAuthAppUpsertOne) Ignore() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetAccessTokenTTL(v int) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetActive(v bool) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetAllowedGrants(v []string) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetAllowedResponseTypes(v []string) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetAllowedScopes(v []string) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetAppType(v oauthapp.AppType) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetDescription(v string) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetFirstParty(v bool) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetLogoURL(v string) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetMetadata(v map[string]string) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetName(v string) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetOrganizationID(v uuid.UUID) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetOwnerID(v uuid.UUID) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetPublic(v bool) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetRedirectUris(v []string) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetRefreshTokenRotation(v bool) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetRefreshTokenTTL(v int) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetRevokedAt(v time.Time) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) SetUpdatedAt(v time.Time) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) Update(set func(*OAuthAppUpsert)) *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateAccessTokenTTL() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateActive() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateAllowedGrants() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateAllowedResponseTypes() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateAllowedScopes() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateAppType() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateDescription() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateFirstParty() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateLogoURL() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateMetadata() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateName() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateNewValues() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateOrganizationID() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateOwnerID() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdatePublic() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateRedirectUris() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateRefreshTokenRotation() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateRefreshTokenTTL() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateRevokedAt() *OAuthAppUpsertOne + func (u *OAuthAppUpsertOne) UpdateUpdatedAt() *OAuthAppUpsertOne + type OAuthApps []*OAuthApp + type OAuthAuthCode struct + AppID uuid.UUID + ClientIP string + CodeChallenge string + CodeChallengeMethod string + CodeSignature string + CreatedAt time.Time + Edges OAuthAuthCodeEdges + ExpiresAt time.Time + ID uuid.UUID + Nonce string + RedirectURI string + RequestData string + Scopes []string + State string + Used bool + UsedAt *time.Time + UserAgent string + UserID uuid.UUID + func (_m *OAuthAuthCode) QueryApp() *OAuthAppQuery + func (_m *OAuthAuthCode) QueryUser() *UserQuery + func (_m *OAuthAuthCode) String() string + func (_m *OAuthAuthCode) Unwrap() *OAuthAuthCode + func (_m *OAuthAuthCode) Update() *OAuthAuthCodeUpdateOne + func (_m *OAuthAuthCode) Value(name string) (ent.Value, error) + type OAuthAuthCodeClient struct + func NewOAuthAuthCodeClient(c config) *OAuthAuthCodeClient + func (c *OAuthAuthCodeClient) Create() *OAuthAuthCodeCreate + func (c *OAuthAuthCodeClient) CreateBulk(builders ...*OAuthAuthCodeCreate) *OAuthAuthCodeCreateBulk + func (c *OAuthAuthCodeClient) Delete() *OAuthAuthCodeDelete + func (c *OAuthAuthCodeClient) DeleteOne(_m *OAuthAuthCode) *OAuthAuthCodeDeleteOne + func (c *OAuthAuthCodeClient) DeleteOneID(id uuid.UUID) *OAuthAuthCodeDeleteOne + func (c *OAuthAuthCodeClient) Get(ctx context.Context, id uuid.UUID) (*OAuthAuthCode, error) + func (c *OAuthAuthCodeClient) GetX(ctx context.Context, id uuid.UUID) *OAuthAuthCode + func (c *OAuthAuthCodeClient) Hooks() []Hook + func (c *OAuthAuthCodeClient) Intercept(interceptors ...Interceptor) + func (c *OAuthAuthCodeClient) Interceptors() []Interceptor + func (c *OAuthAuthCodeClient) MapCreateBulk(slice any, setFunc func(*OAuthAuthCodeCreate, int)) *OAuthAuthCodeCreateBulk + func (c *OAuthAuthCodeClient) Query() *OAuthAuthCodeQuery + func (c *OAuthAuthCodeClient) QueryApp(_m *OAuthAuthCode) *OAuthAppQuery + func (c *OAuthAuthCodeClient) QueryUser(_m *OAuthAuthCode) *UserQuery + func (c *OAuthAuthCodeClient) Update() *OAuthAuthCodeUpdate + func (c *OAuthAuthCodeClient) UpdateOne(_m *OAuthAuthCode) *OAuthAuthCodeUpdateOne + func (c *OAuthAuthCodeClient) UpdateOneID(id uuid.UUID) *OAuthAuthCodeUpdateOne + func (c *OAuthAuthCodeClient) Use(hooks ...Hook) + type OAuthAuthCodeCreate struct + func (_c *OAuthAuthCodeCreate) Exec(ctx context.Context) error + func (_c *OAuthAuthCodeCreate) ExecX(ctx context.Context) + func (_c *OAuthAuthCodeCreate) Mutation() *OAuthAuthCodeMutation + func (_c *OAuthAuthCodeCreate) OnConflict(opts ...sql.ConflictOption) *OAuthAuthCodeUpsertOne + func (_c *OAuthAuthCodeCreate) OnConflictColumns(columns ...string) *OAuthAuthCodeUpsertOne + func (_c *OAuthAuthCodeCreate) Save(ctx context.Context) (*OAuthAuthCode, error) + func (_c *OAuthAuthCodeCreate) SaveX(ctx context.Context) *OAuthAuthCode + func (_c *OAuthAuthCodeCreate) SetApp(v *OAuthApp) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetAppID(v uuid.UUID) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetClientIP(v string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetCodeChallenge(v string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetCodeChallengeMethod(v string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetCodeSignature(v string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetCreatedAt(v time.Time) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetExpiresAt(v time.Time) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetID(v uuid.UUID) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNillableClientIP(v *string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNillableCodeChallenge(v *string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNillableCodeChallengeMethod(v *string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNillableCreatedAt(v *time.Time) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNillableID(v *uuid.UUID) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNillableNonce(v *string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNillableRequestData(v *string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNillableState(v *string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNillableUsed(v *bool) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNillableUsedAt(v *time.Time) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNillableUserAgent(v *string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetNonce(v string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetRedirectURI(v string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetRequestData(v string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetScopes(v []string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetState(v string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetUsed(v bool) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetUsedAt(v time.Time) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetUser(v *User) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetUserAgent(v string) *OAuthAuthCodeCreate + func (_c *OAuthAuthCodeCreate) SetUserID(v uuid.UUID) *OAuthAuthCodeCreate + type OAuthAuthCodeCreateBulk struct + func (_c *OAuthAuthCodeCreateBulk) Exec(ctx context.Context) error + func (_c *OAuthAuthCodeCreateBulk) ExecX(ctx context.Context) + func (_c *OAuthAuthCodeCreateBulk) OnConflict(opts ...sql.ConflictOption) *OAuthAuthCodeUpsertBulk + func (_c *OAuthAuthCodeCreateBulk) OnConflictColumns(columns ...string) *OAuthAuthCodeUpsertBulk + func (_c *OAuthAuthCodeCreateBulk) Save(ctx context.Context) ([]*OAuthAuthCode, error) + func (_c *OAuthAuthCodeCreateBulk) SaveX(ctx context.Context) []*OAuthAuthCode + type OAuthAuthCodeDelete struct + func (_d *OAuthAuthCodeDelete) Exec(ctx context.Context) (int, error) + func (_d *OAuthAuthCodeDelete) ExecX(ctx context.Context) int + func (_d *OAuthAuthCodeDelete) Where(ps ...predicate.OAuthAuthCode) *OAuthAuthCodeDelete + type OAuthAuthCodeDeleteOne struct + func (_d *OAuthAuthCodeDeleteOne) Exec(ctx context.Context) error + func (_d *OAuthAuthCodeDeleteOne) ExecX(ctx context.Context) + func (_d *OAuthAuthCodeDeleteOne) Where(ps ...predicate.OAuthAuthCode) *OAuthAuthCodeDeleteOne + type OAuthAuthCodeEdges struct + App *OAuthApp + User *User + func (e OAuthAuthCodeEdges) AppOrErr() (*OAuthApp, error) + func (e OAuthAuthCodeEdges) UserOrErr() (*User, error) + type OAuthAuthCodeFilter struct + func (f *OAuthAuthCodeFilter) Where(p entql.P) + func (f *OAuthAuthCodeFilter) WhereAppID(p entql.ValueP) + func (f *OAuthAuthCodeFilter) WhereClientIP(p entql.StringP) + func (f *OAuthAuthCodeFilter) WhereCodeChallenge(p entql.StringP) + func (f *OAuthAuthCodeFilter) WhereCodeChallengeMethod(p entql.StringP) + func (f *OAuthAuthCodeFilter) WhereCodeSignature(p entql.StringP) + func (f *OAuthAuthCodeFilter) WhereCreatedAt(p entql.TimeP) + func (f *OAuthAuthCodeFilter) WhereExpiresAt(p entql.TimeP) + func (f *OAuthAuthCodeFilter) WhereHasApp() + func (f *OAuthAuthCodeFilter) WhereHasAppWith(preds ...predicate.OAuthApp) + func (f *OAuthAuthCodeFilter) WhereHasUser() + func (f *OAuthAuthCodeFilter) WhereHasUserWith(preds ...predicate.User) + func (f *OAuthAuthCodeFilter) WhereID(p entql.ValueP) + func (f *OAuthAuthCodeFilter) WhereNonce(p entql.StringP) + func (f *OAuthAuthCodeFilter) WhereRedirectURI(p entql.StringP) + func (f *OAuthAuthCodeFilter) WhereRequestData(p entql.StringP) + func (f *OAuthAuthCodeFilter) WhereScopes(p entql.BytesP) + func (f *OAuthAuthCodeFilter) WhereState(p entql.StringP) + func (f *OAuthAuthCodeFilter) WhereUsed(p entql.BoolP) + func (f *OAuthAuthCodeFilter) WhereUsedAt(p entql.TimeP) + func (f *OAuthAuthCodeFilter) WhereUserAgent(p entql.StringP) + func (f *OAuthAuthCodeFilter) WhereUserID(p entql.ValueP) + type OAuthAuthCodeGroupBy struct + func (_g *OAuthAuthCodeGroupBy) Aggregate(fns ...AggregateFunc) *OAuthAuthCodeGroupBy + func (_g *OAuthAuthCodeGroupBy) Scan(ctx context.Context, v any) error + func (s *OAuthAuthCodeGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthAuthCodeGroupBy) BoolX(ctx context.Context) bool + func (s *OAuthAuthCodeGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthAuthCodeGroupBy) BoolsX(ctx context.Context) []bool + func (s *OAuthAuthCodeGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthAuthCodeGroupBy) Float64X(ctx context.Context) float64 + func (s *OAuthAuthCodeGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthAuthCodeGroupBy) Float64sX(ctx context.Context) []float64 + func (s *OAuthAuthCodeGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *OAuthAuthCodeGroupBy) IntX(ctx context.Context) int + func (s *OAuthAuthCodeGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *OAuthAuthCodeGroupBy) IntsX(ctx context.Context) []int + func (s *OAuthAuthCodeGroupBy) ScanX(ctx context.Context, v any) + func (s *OAuthAuthCodeGroupBy) String(ctx context.Context) (_ string, err error) + func (s *OAuthAuthCodeGroupBy) StringX(ctx context.Context) string + func (s *OAuthAuthCodeGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *OAuthAuthCodeGroupBy) StringsX(ctx context.Context) []string + type OAuthAuthCodeMutation struct + func (m *OAuthAuthCodeMutation) AddField(name string, value ent.Value) error + func (m *OAuthAuthCodeMutation) AddedEdges() []string + func (m *OAuthAuthCodeMutation) AddedField(name string) (ent.Value, bool) + func (m *OAuthAuthCodeMutation) AddedFields() []string + func (m *OAuthAuthCodeMutation) AddedIDs(name string) []ent.Value + func (m *OAuthAuthCodeMutation) AppCleared() bool + func (m *OAuthAuthCodeMutation) AppID() (r uuid.UUID, exists bool) + func (m *OAuthAuthCodeMutation) AppIDs() (ids []uuid.UUID) + func (m *OAuthAuthCodeMutation) AppendScopes(s []string) + func (m *OAuthAuthCodeMutation) AppendedScopes() ([]string, bool) + func (m *OAuthAuthCodeMutation) ClearApp() + func (m *OAuthAuthCodeMutation) ClearClientIP() + func (m *OAuthAuthCodeMutation) ClearCodeChallenge() + func (m *OAuthAuthCodeMutation) ClearCodeChallengeMethod() + func (m *OAuthAuthCodeMutation) ClearEdge(name string) error + func (m *OAuthAuthCodeMutation) ClearField(name string) error + func (m *OAuthAuthCodeMutation) ClearNonce() + func (m *OAuthAuthCodeMutation) ClearRequestData() + func (m *OAuthAuthCodeMutation) ClearState() + func (m *OAuthAuthCodeMutation) ClearUsedAt() + func (m *OAuthAuthCodeMutation) ClearUser() + func (m *OAuthAuthCodeMutation) ClearUserAgent() + func (m *OAuthAuthCodeMutation) ClearedEdges() []string + func (m *OAuthAuthCodeMutation) ClearedFields() []string + func (m *OAuthAuthCodeMutation) ClientIP() (r string, exists bool) + func (m *OAuthAuthCodeMutation) ClientIPCleared() bool + func (m *OAuthAuthCodeMutation) CodeChallenge() (r string, exists bool) + func (m *OAuthAuthCodeMutation) CodeChallengeCleared() bool + func (m *OAuthAuthCodeMutation) CodeChallengeMethod() (r string, exists bool) + func (m *OAuthAuthCodeMutation) CodeChallengeMethodCleared() bool + func (m *OAuthAuthCodeMutation) CodeSignature() (r string, exists bool) + func (m *OAuthAuthCodeMutation) CreatedAt() (r time.Time, exists bool) + func (m *OAuthAuthCodeMutation) EdgeCleared(name string) bool + func (m *OAuthAuthCodeMutation) ExpiresAt() (r time.Time, exists bool) + func (m *OAuthAuthCodeMutation) Field(name string) (ent.Value, bool) + func (m *OAuthAuthCodeMutation) FieldCleared(name string) bool + func (m *OAuthAuthCodeMutation) Fields() []string + func (m *OAuthAuthCodeMutation) Filter() *OAuthAuthCodeFilter + func (m *OAuthAuthCodeMutation) ID() (id uuid.UUID, exists bool) + func (m *OAuthAuthCodeMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *OAuthAuthCodeMutation) Nonce() (r string, exists bool) + func (m *OAuthAuthCodeMutation) NonceCleared() bool + func (m *OAuthAuthCodeMutation) OldAppID(ctx context.Context) (v uuid.UUID, err error) + func (m *OAuthAuthCodeMutation) OldClientIP(ctx context.Context) (v string, err error) + func (m *OAuthAuthCodeMutation) OldCodeChallenge(ctx context.Context) (v string, err error) + func (m *OAuthAuthCodeMutation) OldCodeChallengeMethod(ctx context.Context) (v string, err error) + func (m *OAuthAuthCodeMutation) OldCodeSignature(ctx context.Context) (v string, err error) + func (m *OAuthAuthCodeMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthAuthCodeMutation) OldExpiresAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthAuthCodeMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *OAuthAuthCodeMutation) OldNonce(ctx context.Context) (v string, err error) + func (m *OAuthAuthCodeMutation) OldRedirectURI(ctx context.Context) (v string, err error) + func (m *OAuthAuthCodeMutation) OldRequestData(ctx context.Context) (v string, err error) + func (m *OAuthAuthCodeMutation) OldScopes(ctx context.Context) (v []string, err error) + func (m *OAuthAuthCodeMutation) OldState(ctx context.Context) (v string, err error) + func (m *OAuthAuthCodeMutation) OldUsed(ctx context.Context) (v bool, err error) + func (m *OAuthAuthCodeMutation) OldUsedAt(ctx context.Context) (v *time.Time, err error) + func (m *OAuthAuthCodeMutation) OldUserAgent(ctx context.Context) (v string, err error) + func (m *OAuthAuthCodeMutation) OldUserID(ctx context.Context) (v uuid.UUID, err error) + func (m *OAuthAuthCodeMutation) Op() Op + func (m *OAuthAuthCodeMutation) RedirectURI() (r string, exists bool) + func (m *OAuthAuthCodeMutation) RemovedEdges() []string + func (m *OAuthAuthCodeMutation) RemovedIDs(name string) []ent.Value + func (m *OAuthAuthCodeMutation) RequestData() (r string, exists bool) + func (m *OAuthAuthCodeMutation) RequestDataCleared() bool + func (m *OAuthAuthCodeMutation) ResetApp() + func (m *OAuthAuthCodeMutation) ResetAppID() + func (m *OAuthAuthCodeMutation) ResetClientIP() + func (m *OAuthAuthCodeMutation) ResetCodeChallenge() + func (m *OAuthAuthCodeMutation) ResetCodeChallengeMethod() + func (m *OAuthAuthCodeMutation) ResetCodeSignature() + func (m *OAuthAuthCodeMutation) ResetCreatedAt() + func (m *OAuthAuthCodeMutation) ResetEdge(name string) error + func (m *OAuthAuthCodeMutation) ResetExpiresAt() + func (m *OAuthAuthCodeMutation) ResetField(name string) error + func (m *OAuthAuthCodeMutation) ResetNonce() + func (m *OAuthAuthCodeMutation) ResetRedirectURI() + func (m *OAuthAuthCodeMutation) ResetRequestData() + func (m *OAuthAuthCodeMutation) ResetScopes() + func (m *OAuthAuthCodeMutation) ResetState() + func (m *OAuthAuthCodeMutation) ResetUsed() + func (m *OAuthAuthCodeMutation) ResetUsedAt() + func (m *OAuthAuthCodeMutation) ResetUser() + func (m *OAuthAuthCodeMutation) ResetUserAgent() + func (m *OAuthAuthCodeMutation) ResetUserID() + func (m *OAuthAuthCodeMutation) Scopes() (r []string, exists bool) + func (m *OAuthAuthCodeMutation) SetAppID(u uuid.UUID) + func (m *OAuthAuthCodeMutation) SetClientIP(s string) + func (m *OAuthAuthCodeMutation) SetCodeChallenge(s string) + func (m *OAuthAuthCodeMutation) SetCodeChallengeMethod(s string) + func (m *OAuthAuthCodeMutation) SetCodeSignature(s string) + func (m *OAuthAuthCodeMutation) SetCreatedAt(t time.Time) + func (m *OAuthAuthCodeMutation) SetExpiresAt(t time.Time) + func (m *OAuthAuthCodeMutation) SetField(name string, value ent.Value) error + func (m *OAuthAuthCodeMutation) SetID(id uuid.UUID) + func (m *OAuthAuthCodeMutation) SetNonce(s string) + func (m *OAuthAuthCodeMutation) SetOp(op Op) + func (m *OAuthAuthCodeMutation) SetRedirectURI(s string) + func (m *OAuthAuthCodeMutation) SetRequestData(s string) + func (m *OAuthAuthCodeMutation) SetScopes(s []string) + func (m *OAuthAuthCodeMutation) SetState(s string) + func (m *OAuthAuthCodeMutation) SetUsed(b bool) + func (m *OAuthAuthCodeMutation) SetUsedAt(t time.Time) + func (m *OAuthAuthCodeMutation) SetUserAgent(s string) + func (m *OAuthAuthCodeMutation) SetUserID(u uuid.UUID) + func (m *OAuthAuthCodeMutation) State() (r string, exists bool) + func (m *OAuthAuthCodeMutation) StateCleared() bool + func (m *OAuthAuthCodeMutation) Type() string + func (m *OAuthAuthCodeMutation) Used() (r bool, exists bool) + func (m *OAuthAuthCodeMutation) UsedAt() (r time.Time, exists bool) + func (m *OAuthAuthCodeMutation) UsedAtCleared() bool + func (m *OAuthAuthCodeMutation) UserAgent() (r string, exists bool) + func (m *OAuthAuthCodeMutation) UserAgentCleared() bool + func (m *OAuthAuthCodeMutation) UserCleared() bool + func (m *OAuthAuthCodeMutation) UserID() (r uuid.UUID, exists bool) + func (m *OAuthAuthCodeMutation) UserIDs() (ids []uuid.UUID) + func (m *OAuthAuthCodeMutation) Where(ps ...predicate.OAuthAuthCode) + func (m *OAuthAuthCodeMutation) WhereP(ps ...func(*sql.Selector)) + func (m OAuthAuthCodeMutation) Client() *Client + func (m OAuthAuthCodeMutation) Tx() (*Tx, error) + type OAuthAuthCodeQuery struct + func (_q *OAuthAuthCodeQuery) Aggregate(fns ...AggregateFunc) *OAuthAuthCodeSelect + func (_q *OAuthAuthCodeQuery) All(ctx context.Context) ([]*OAuthAuthCode, error) + func (_q *OAuthAuthCodeQuery) AllX(ctx context.Context) []*OAuthAuthCode + func (_q *OAuthAuthCodeQuery) Clone() *OAuthAuthCodeQuery + func (_q *OAuthAuthCodeQuery) Count(ctx context.Context) (int, error) + func (_q *OAuthAuthCodeQuery) CountX(ctx context.Context) int + func (_q *OAuthAuthCodeQuery) Exist(ctx context.Context) (bool, error) + func (_q *OAuthAuthCodeQuery) ExistX(ctx context.Context) bool + func (_q *OAuthAuthCodeQuery) Filter() *OAuthAuthCodeFilter + func (_q *OAuthAuthCodeQuery) First(ctx context.Context) (*OAuthAuthCode, error) + func (_q *OAuthAuthCodeQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthAuthCodeQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *OAuthAuthCodeQuery) FirstX(ctx context.Context) *OAuthAuthCode + func (_q *OAuthAuthCodeQuery) GroupBy(field string, fields ...string) *OAuthAuthCodeGroupBy + func (_q *OAuthAuthCodeQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *OAuthAuthCodeQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *OAuthAuthCodeQuery) Limit(limit int) *OAuthAuthCodeQuery + func (_q *OAuthAuthCodeQuery) Offset(offset int) *OAuthAuthCodeQuery + func (_q *OAuthAuthCodeQuery) Only(ctx context.Context) (*OAuthAuthCode, error) + func (_q *OAuthAuthCodeQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthAuthCodeQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *OAuthAuthCodeQuery) OnlyX(ctx context.Context) *OAuthAuthCode + func (_q *OAuthAuthCodeQuery) Order(o ...oauthauthcode.OrderOption) *OAuthAuthCodeQuery + func (_q *OAuthAuthCodeQuery) QueryApp() *OAuthAppQuery + func (_q *OAuthAuthCodeQuery) QueryUser() *UserQuery + func (_q *OAuthAuthCodeQuery) Select(fields ...string) *OAuthAuthCodeSelect + func (_q *OAuthAuthCodeQuery) Unique(unique bool) *OAuthAuthCodeQuery + func (_q *OAuthAuthCodeQuery) Where(ps ...predicate.OAuthAuthCode) *OAuthAuthCodeQuery + func (_q *OAuthAuthCodeQuery) WithApp(opts ...func(*OAuthAppQuery)) *OAuthAuthCodeQuery + func (_q *OAuthAuthCodeQuery) WithUser(opts ...func(*UserQuery)) *OAuthAuthCodeQuery + type OAuthAuthCodeSelect struct + func (_s *OAuthAuthCodeSelect) Aggregate(fns ...AggregateFunc) *OAuthAuthCodeSelect + func (_s *OAuthAuthCodeSelect) Scan(ctx context.Context, v any) error + func (s *OAuthAuthCodeSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthAuthCodeSelect) BoolX(ctx context.Context) bool + func (s *OAuthAuthCodeSelect) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthAuthCodeSelect) BoolsX(ctx context.Context) []bool + func (s *OAuthAuthCodeSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthAuthCodeSelect) Float64X(ctx context.Context) float64 + func (s *OAuthAuthCodeSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthAuthCodeSelect) Float64sX(ctx context.Context) []float64 + func (s *OAuthAuthCodeSelect) Int(ctx context.Context) (_ int, err error) + func (s *OAuthAuthCodeSelect) IntX(ctx context.Context) int + func (s *OAuthAuthCodeSelect) Ints(ctx context.Context) ([]int, error) + func (s *OAuthAuthCodeSelect) IntsX(ctx context.Context) []int + func (s *OAuthAuthCodeSelect) ScanX(ctx context.Context, v any) + func (s *OAuthAuthCodeSelect) String(ctx context.Context) (_ string, err error) + func (s *OAuthAuthCodeSelect) StringX(ctx context.Context) string + func (s *OAuthAuthCodeSelect) Strings(ctx context.Context) ([]string, error) + func (s *OAuthAuthCodeSelect) StringsX(ctx context.Context) []string + type OAuthAuthCodeUpdate struct + func (_u *OAuthAuthCodeUpdate) AppendScopes(v []string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) ClearApp() *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) ClearClientIP() *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) ClearCodeChallenge() *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) ClearCodeChallengeMethod() *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) ClearNonce() *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) ClearRequestData() *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) ClearState() *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) ClearUsedAt() *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) ClearUser() *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) ClearUserAgent() *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) Exec(ctx context.Context) error + func (_u *OAuthAuthCodeUpdate) ExecX(ctx context.Context) + func (_u *OAuthAuthCodeUpdate) Mutation() *OAuthAuthCodeMutation + func (_u *OAuthAuthCodeUpdate) Save(ctx context.Context) (int, error) + func (_u *OAuthAuthCodeUpdate) SaveX(ctx context.Context) int + func (_u *OAuthAuthCodeUpdate) SetApp(v *OAuthApp) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetAppID(v uuid.UUID) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetClientIP(v string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetCodeChallenge(v string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetCodeChallengeMethod(v string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetCodeSignature(v string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetExpiresAt(v time.Time) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableAppID(v *uuid.UUID) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableClientIP(v *string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableCodeChallenge(v *string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableCodeChallengeMethod(v *string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableCodeSignature(v *string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableExpiresAt(v *time.Time) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableNonce(v *string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableRedirectURI(v *string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableRequestData(v *string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableState(v *string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableUsed(v *bool) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableUsedAt(v *time.Time) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableUserAgent(v *string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNillableUserID(v *uuid.UUID) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetNonce(v string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetRedirectURI(v string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetRequestData(v string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetScopes(v []string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetState(v string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetUsed(v bool) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetUsedAt(v time.Time) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetUser(v *User) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetUserAgent(v string) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) SetUserID(v uuid.UUID) *OAuthAuthCodeUpdate + func (_u *OAuthAuthCodeUpdate) Where(ps ...predicate.OAuthAuthCode) *OAuthAuthCodeUpdate + type OAuthAuthCodeUpdateOne struct + func (_u *OAuthAuthCodeUpdateOne) AppendScopes(v []string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) ClearApp() *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) ClearClientIP() *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) ClearCodeChallenge() *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) ClearCodeChallengeMethod() *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) ClearNonce() *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) ClearRequestData() *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) ClearState() *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) ClearUsedAt() *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) ClearUser() *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) ClearUserAgent() *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) Exec(ctx context.Context) error + func (_u *OAuthAuthCodeUpdateOne) ExecX(ctx context.Context) + func (_u *OAuthAuthCodeUpdateOne) Mutation() *OAuthAuthCodeMutation + func (_u *OAuthAuthCodeUpdateOne) Save(ctx context.Context) (*OAuthAuthCode, error) + func (_u *OAuthAuthCodeUpdateOne) SaveX(ctx context.Context) *OAuthAuthCode + func (_u *OAuthAuthCodeUpdateOne) Select(field string, fields ...string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetApp(v *OAuthApp) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetAppID(v uuid.UUID) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetClientIP(v string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetCodeChallenge(v string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetCodeChallengeMethod(v string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetCodeSignature(v string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetExpiresAt(v time.Time) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableAppID(v *uuid.UUID) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableClientIP(v *string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableCodeChallenge(v *string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableCodeChallengeMethod(v *string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableCodeSignature(v *string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableExpiresAt(v *time.Time) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableNonce(v *string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableRedirectURI(v *string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableRequestData(v *string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableState(v *string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableUsed(v *bool) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableUsedAt(v *time.Time) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableUserAgent(v *string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNillableUserID(v *uuid.UUID) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetNonce(v string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetRedirectURI(v string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetRequestData(v string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetScopes(v []string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetState(v string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetUsed(v bool) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetUsedAt(v time.Time) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetUser(v *User) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetUserAgent(v string) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) SetUserID(v uuid.UUID) *OAuthAuthCodeUpdateOne + func (_u *OAuthAuthCodeUpdateOne) Where(ps ...predicate.OAuthAuthCode) *OAuthAuthCodeUpdateOne + type OAuthAuthCodeUpsert struct + func (u *OAuthAuthCodeUpsert) ClearClientIP() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) ClearCodeChallenge() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) ClearCodeChallengeMethod() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) ClearNonce() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) ClearRequestData() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) ClearState() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) ClearUsedAt() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) ClearUserAgent() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetAppID(v uuid.UUID) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetClientIP(v string) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetCodeChallenge(v string) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetCodeChallengeMethod(v string) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetCodeSignature(v string) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetExpiresAt(v time.Time) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetNonce(v string) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetRedirectURI(v string) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetRequestData(v string) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetScopes(v []string) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetState(v string) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetUsed(v bool) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetUsedAt(v time.Time) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetUserAgent(v string) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) SetUserID(v uuid.UUID) *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateAppID() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateClientIP() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateCodeChallenge() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateCodeChallengeMethod() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateCodeSignature() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateExpiresAt() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateNonce() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateRedirectURI() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateRequestData() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateScopes() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateState() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateUsed() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateUsedAt() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateUserAgent() *OAuthAuthCodeUpsert + func (u *OAuthAuthCodeUpsert) UpdateUserID() *OAuthAuthCodeUpsert + type OAuthAuthCodeUpsertBulk struct + func (u *OAuthAuthCodeUpsertBulk) ClearClientIP() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) ClearCodeChallenge() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) ClearCodeChallengeMethod() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) ClearNonce() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) ClearRequestData() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) ClearState() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) ClearUsedAt() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) ClearUserAgent() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) DoNothing() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) Exec(ctx context.Context) error + func (u *OAuthAuthCodeUpsertBulk) ExecX(ctx context.Context) + func (u *OAuthAuthCodeUpsertBulk) Ignore() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetAppID(v uuid.UUID) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetClientIP(v string) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetCodeChallenge(v string) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetCodeChallengeMethod(v string) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetCodeSignature(v string) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetExpiresAt(v time.Time) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetNonce(v string) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetRedirectURI(v string) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetRequestData(v string) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetScopes(v []string) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetState(v string) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetUsed(v bool) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetUsedAt(v time.Time) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetUserAgent(v string) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) SetUserID(v uuid.UUID) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) Update(set func(*OAuthAuthCodeUpsert)) *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateAppID() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateClientIP() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateCodeChallenge() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateCodeChallengeMethod() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateCodeSignature() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateExpiresAt() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateNewValues() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateNonce() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateRedirectURI() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateRequestData() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateScopes() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateState() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateUsed() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateUsedAt() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateUserAgent() *OAuthAuthCodeUpsertBulk + func (u *OAuthAuthCodeUpsertBulk) UpdateUserID() *OAuthAuthCodeUpsertBulk + type OAuthAuthCodeUpsertOne struct + func (u *OAuthAuthCodeUpsertOne) ClearClientIP() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) ClearCodeChallenge() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) ClearCodeChallengeMethod() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) ClearNonce() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) ClearRequestData() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) ClearState() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) ClearUsedAt() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) ClearUserAgent() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) DoNothing() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) Exec(ctx context.Context) error + func (u *OAuthAuthCodeUpsertOne) ExecX(ctx context.Context) + func (u *OAuthAuthCodeUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *OAuthAuthCodeUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *OAuthAuthCodeUpsertOne) Ignore() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetAppID(v uuid.UUID) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetClientIP(v string) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetCodeChallenge(v string) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetCodeChallengeMethod(v string) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetCodeSignature(v string) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetExpiresAt(v time.Time) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetNonce(v string) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetRedirectURI(v string) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetRequestData(v string) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetScopes(v []string) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetState(v string) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetUsed(v bool) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetUsedAt(v time.Time) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetUserAgent(v string) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) SetUserID(v uuid.UUID) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) Update(set func(*OAuthAuthCodeUpsert)) *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateAppID() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateClientIP() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateCodeChallenge() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateCodeChallengeMethod() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateCodeSignature() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateExpiresAt() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateNewValues() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateNonce() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateRedirectURI() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateRequestData() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateScopes() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateState() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateUsed() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateUsedAt() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateUserAgent() *OAuthAuthCodeUpsertOne + func (u *OAuthAuthCodeUpsertOne) UpdateUserID() *OAuthAuthCodeUpsertOne + type OAuthAuthCodes []*OAuthAuthCode + type OAuthConsent struct + AppID uuid.UUID + CreatedAt time.Time + Edges OAuthConsentEdges + Granted bool + GrantedAt time.Time + ID uuid.UUID + LastUsedAt *time.Time + Revoked bool + RevokedAt *time.Time + RevokedReason string + Scopes []string + UpdatedAt time.Time + UserID uuid.UUID + func (_m *OAuthConsent) QueryApp() *OAuthAppQuery + func (_m *OAuthConsent) QueryUser() *UserQuery + func (_m *OAuthConsent) String() string + func (_m *OAuthConsent) Unwrap() *OAuthConsent + func (_m *OAuthConsent) Update() *OAuthConsentUpdateOne + func (_m *OAuthConsent) Value(name string) (ent.Value, error) + type OAuthConsentClient struct + func NewOAuthConsentClient(c config) *OAuthConsentClient + func (c *OAuthConsentClient) Create() *OAuthConsentCreate + func (c *OAuthConsentClient) CreateBulk(builders ...*OAuthConsentCreate) *OAuthConsentCreateBulk + func (c *OAuthConsentClient) Delete() *OAuthConsentDelete + func (c *OAuthConsentClient) DeleteOne(_m *OAuthConsent) *OAuthConsentDeleteOne + func (c *OAuthConsentClient) DeleteOneID(id uuid.UUID) *OAuthConsentDeleteOne + func (c *OAuthConsentClient) Get(ctx context.Context, id uuid.UUID) (*OAuthConsent, error) + func (c *OAuthConsentClient) GetX(ctx context.Context, id uuid.UUID) *OAuthConsent + func (c *OAuthConsentClient) Hooks() []Hook + func (c *OAuthConsentClient) Intercept(interceptors ...Interceptor) + func (c *OAuthConsentClient) Interceptors() []Interceptor + func (c *OAuthConsentClient) MapCreateBulk(slice any, setFunc func(*OAuthConsentCreate, int)) *OAuthConsentCreateBulk + func (c *OAuthConsentClient) Query() *OAuthConsentQuery + func (c *OAuthConsentClient) QueryApp(_m *OAuthConsent) *OAuthAppQuery + func (c *OAuthConsentClient) QueryUser(_m *OAuthConsent) *UserQuery + func (c *OAuthConsentClient) Update() *OAuthConsentUpdate + func (c *OAuthConsentClient) UpdateOne(_m *OAuthConsent) *OAuthConsentUpdateOne + func (c *OAuthConsentClient) UpdateOneID(id uuid.UUID) *OAuthConsentUpdateOne + func (c *OAuthConsentClient) Use(hooks ...Hook) + type OAuthConsentCreate struct + func (_c *OAuthConsentCreate) Exec(ctx context.Context) error + func (_c *OAuthConsentCreate) ExecX(ctx context.Context) + func (_c *OAuthConsentCreate) Mutation() *OAuthConsentMutation + func (_c *OAuthConsentCreate) OnConflict(opts ...sql.ConflictOption) *OAuthConsentUpsertOne + func (_c *OAuthConsentCreate) OnConflictColumns(columns ...string) *OAuthConsentUpsertOne + func (_c *OAuthConsentCreate) Save(ctx context.Context) (*OAuthConsent, error) + func (_c *OAuthConsentCreate) SaveX(ctx context.Context) *OAuthConsent + func (_c *OAuthConsentCreate) SetApp(v *OAuthApp) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetAppID(v uuid.UUID) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetCreatedAt(v time.Time) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetGranted(v bool) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetGrantedAt(v time.Time) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetID(v uuid.UUID) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetLastUsedAt(v time.Time) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetNillableCreatedAt(v *time.Time) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetNillableGranted(v *bool) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetNillableGrantedAt(v *time.Time) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetNillableID(v *uuid.UUID) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetNillableLastUsedAt(v *time.Time) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetNillableRevoked(v *bool) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetNillableRevokedAt(v *time.Time) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetNillableRevokedReason(v *string) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetNillableUpdatedAt(v *time.Time) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetRevoked(v bool) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetRevokedAt(v time.Time) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetRevokedReason(v string) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetScopes(v []string) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetUpdatedAt(v time.Time) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetUser(v *User) *OAuthConsentCreate + func (_c *OAuthConsentCreate) SetUserID(v uuid.UUID) *OAuthConsentCreate + type OAuthConsentCreateBulk struct + func (_c *OAuthConsentCreateBulk) Exec(ctx context.Context) error + func (_c *OAuthConsentCreateBulk) ExecX(ctx context.Context) + func (_c *OAuthConsentCreateBulk) OnConflict(opts ...sql.ConflictOption) *OAuthConsentUpsertBulk + func (_c *OAuthConsentCreateBulk) OnConflictColumns(columns ...string) *OAuthConsentUpsertBulk + func (_c *OAuthConsentCreateBulk) Save(ctx context.Context) ([]*OAuthConsent, error) + func (_c *OAuthConsentCreateBulk) SaveX(ctx context.Context) []*OAuthConsent + type OAuthConsentDelete struct + func (_d *OAuthConsentDelete) Exec(ctx context.Context) (int, error) + func (_d *OAuthConsentDelete) ExecX(ctx context.Context) int + func (_d *OAuthConsentDelete) Where(ps ...predicate.OAuthConsent) *OAuthConsentDelete + type OAuthConsentDeleteOne struct + func (_d *OAuthConsentDeleteOne) Exec(ctx context.Context) error + func (_d *OAuthConsentDeleteOne) ExecX(ctx context.Context) + func (_d *OAuthConsentDeleteOne) Where(ps ...predicate.OAuthConsent) *OAuthConsentDeleteOne + type OAuthConsentEdges struct + App *OAuthApp + User *User + func (e OAuthConsentEdges) AppOrErr() (*OAuthApp, error) + func (e OAuthConsentEdges) UserOrErr() (*User, error) + type OAuthConsentFilter struct + func (f *OAuthConsentFilter) Where(p entql.P) + func (f *OAuthConsentFilter) WhereAppID(p entql.ValueP) + func (f *OAuthConsentFilter) WhereCreatedAt(p entql.TimeP) + func (f *OAuthConsentFilter) WhereGranted(p entql.BoolP) + func (f *OAuthConsentFilter) WhereGrantedAt(p entql.TimeP) + func (f *OAuthConsentFilter) WhereHasApp() + func (f *OAuthConsentFilter) WhereHasAppWith(preds ...predicate.OAuthApp) + func (f *OAuthConsentFilter) WhereHasUser() + func (f *OAuthConsentFilter) WhereHasUserWith(preds ...predicate.User) + func (f *OAuthConsentFilter) WhereID(p entql.ValueP) + func (f *OAuthConsentFilter) WhereLastUsedAt(p entql.TimeP) + func (f *OAuthConsentFilter) WhereRevoked(p entql.BoolP) + func (f *OAuthConsentFilter) WhereRevokedAt(p entql.TimeP) + func (f *OAuthConsentFilter) WhereRevokedReason(p entql.StringP) + func (f *OAuthConsentFilter) WhereScopes(p entql.BytesP) + func (f *OAuthConsentFilter) WhereUpdatedAt(p entql.TimeP) + func (f *OAuthConsentFilter) WhereUserID(p entql.ValueP) + type OAuthConsentGroupBy struct + func (_g *OAuthConsentGroupBy) Aggregate(fns ...AggregateFunc) *OAuthConsentGroupBy + func (_g *OAuthConsentGroupBy) Scan(ctx context.Context, v any) error + func (s *OAuthConsentGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthConsentGroupBy) BoolX(ctx context.Context) bool + func (s *OAuthConsentGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthConsentGroupBy) BoolsX(ctx context.Context) []bool + func (s *OAuthConsentGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthConsentGroupBy) Float64X(ctx context.Context) float64 + func (s *OAuthConsentGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthConsentGroupBy) Float64sX(ctx context.Context) []float64 + func (s *OAuthConsentGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *OAuthConsentGroupBy) IntX(ctx context.Context) int + func (s *OAuthConsentGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *OAuthConsentGroupBy) IntsX(ctx context.Context) []int + func (s *OAuthConsentGroupBy) ScanX(ctx context.Context, v any) + func (s *OAuthConsentGroupBy) String(ctx context.Context) (_ string, err error) + func (s *OAuthConsentGroupBy) StringX(ctx context.Context) string + func (s *OAuthConsentGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *OAuthConsentGroupBy) StringsX(ctx context.Context) []string + type OAuthConsentMutation struct + func (m *OAuthConsentMutation) AddField(name string, value ent.Value) error + func (m *OAuthConsentMutation) AddedEdges() []string + func (m *OAuthConsentMutation) AddedField(name string) (ent.Value, bool) + func (m *OAuthConsentMutation) AddedFields() []string + func (m *OAuthConsentMutation) AddedIDs(name string) []ent.Value + func (m *OAuthConsentMutation) AppCleared() bool + func (m *OAuthConsentMutation) AppID() (r uuid.UUID, exists bool) + func (m *OAuthConsentMutation) AppIDs() (ids []uuid.UUID) + func (m *OAuthConsentMutation) AppendScopes(s []string) + func (m *OAuthConsentMutation) AppendedScopes() ([]string, bool) + func (m *OAuthConsentMutation) ClearApp() + func (m *OAuthConsentMutation) ClearEdge(name string) error + func (m *OAuthConsentMutation) ClearField(name string) error + func (m *OAuthConsentMutation) ClearLastUsedAt() + func (m *OAuthConsentMutation) ClearRevokedAt() + func (m *OAuthConsentMutation) ClearRevokedReason() + func (m *OAuthConsentMutation) ClearUser() + func (m *OAuthConsentMutation) ClearedEdges() []string + func (m *OAuthConsentMutation) ClearedFields() []string + func (m *OAuthConsentMutation) CreatedAt() (r time.Time, exists bool) + func (m *OAuthConsentMutation) EdgeCleared(name string) bool + func (m *OAuthConsentMutation) Field(name string) (ent.Value, bool) + func (m *OAuthConsentMutation) FieldCleared(name string) bool + func (m *OAuthConsentMutation) Fields() []string + func (m *OAuthConsentMutation) Filter() *OAuthConsentFilter + func (m *OAuthConsentMutation) Granted() (r bool, exists bool) + func (m *OAuthConsentMutation) GrantedAt() (r time.Time, exists bool) + func (m *OAuthConsentMutation) ID() (id uuid.UUID, exists bool) + func (m *OAuthConsentMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *OAuthConsentMutation) LastUsedAt() (r time.Time, exists bool) + func (m *OAuthConsentMutation) LastUsedAtCleared() bool + func (m *OAuthConsentMutation) OldAppID(ctx context.Context) (v uuid.UUID, err error) + func (m *OAuthConsentMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthConsentMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *OAuthConsentMutation) OldGranted(ctx context.Context) (v bool, err error) + func (m *OAuthConsentMutation) OldGrantedAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthConsentMutation) OldLastUsedAt(ctx context.Context) (v *time.Time, err error) + func (m *OAuthConsentMutation) OldRevoked(ctx context.Context) (v bool, err error) + func (m *OAuthConsentMutation) OldRevokedAt(ctx context.Context) (v *time.Time, err error) + func (m *OAuthConsentMutation) OldRevokedReason(ctx context.Context) (v string, err error) + func (m *OAuthConsentMutation) OldScopes(ctx context.Context) (v []string, err error) + func (m *OAuthConsentMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthConsentMutation) OldUserID(ctx context.Context) (v uuid.UUID, err error) + func (m *OAuthConsentMutation) Op() Op + func (m *OAuthConsentMutation) RemovedEdges() []string + func (m *OAuthConsentMutation) RemovedIDs(name string) []ent.Value + func (m *OAuthConsentMutation) ResetApp() + func (m *OAuthConsentMutation) ResetAppID() + func (m *OAuthConsentMutation) ResetCreatedAt() + func (m *OAuthConsentMutation) ResetEdge(name string) error + func (m *OAuthConsentMutation) ResetField(name string) error + func (m *OAuthConsentMutation) ResetGranted() + func (m *OAuthConsentMutation) ResetGrantedAt() + func (m *OAuthConsentMutation) ResetLastUsedAt() + func (m *OAuthConsentMutation) ResetRevoked() + func (m *OAuthConsentMutation) ResetRevokedAt() + func (m *OAuthConsentMutation) ResetRevokedReason() + func (m *OAuthConsentMutation) ResetScopes() + func (m *OAuthConsentMutation) ResetUpdatedAt() + func (m *OAuthConsentMutation) ResetUser() + func (m *OAuthConsentMutation) ResetUserID() + func (m *OAuthConsentMutation) Revoked() (r bool, exists bool) + func (m *OAuthConsentMutation) RevokedAt() (r time.Time, exists bool) + func (m *OAuthConsentMutation) RevokedAtCleared() bool + func (m *OAuthConsentMutation) RevokedReason() (r string, exists bool) + func (m *OAuthConsentMutation) RevokedReasonCleared() bool + func (m *OAuthConsentMutation) Scopes() (r []string, exists bool) + func (m *OAuthConsentMutation) SetAppID(u uuid.UUID) + func (m *OAuthConsentMutation) SetCreatedAt(t time.Time) + func (m *OAuthConsentMutation) SetField(name string, value ent.Value) error + func (m *OAuthConsentMutation) SetGranted(b bool) + func (m *OAuthConsentMutation) SetGrantedAt(t time.Time) + func (m *OAuthConsentMutation) SetID(id uuid.UUID) + func (m *OAuthConsentMutation) SetLastUsedAt(t time.Time) + func (m *OAuthConsentMutation) SetOp(op Op) + func (m *OAuthConsentMutation) SetRevoked(b bool) + func (m *OAuthConsentMutation) SetRevokedAt(t time.Time) + func (m *OAuthConsentMutation) SetRevokedReason(s string) + func (m *OAuthConsentMutation) SetScopes(s []string) + func (m *OAuthConsentMutation) SetUpdatedAt(t time.Time) + func (m *OAuthConsentMutation) SetUserID(u uuid.UUID) + func (m *OAuthConsentMutation) Type() string + func (m *OAuthConsentMutation) UpdatedAt() (r time.Time, exists bool) + func (m *OAuthConsentMutation) UserCleared() bool + func (m *OAuthConsentMutation) UserID() (r uuid.UUID, exists bool) + func (m *OAuthConsentMutation) UserIDs() (ids []uuid.UUID) + func (m *OAuthConsentMutation) Where(ps ...predicate.OAuthConsent) + func (m *OAuthConsentMutation) WhereP(ps ...func(*sql.Selector)) + func (m OAuthConsentMutation) Client() *Client + func (m OAuthConsentMutation) Tx() (*Tx, error) + type OAuthConsentQuery struct + func (_q *OAuthConsentQuery) Aggregate(fns ...AggregateFunc) *OAuthConsentSelect + func (_q *OAuthConsentQuery) All(ctx context.Context) ([]*OAuthConsent, error) + func (_q *OAuthConsentQuery) AllX(ctx context.Context) []*OAuthConsent + func (_q *OAuthConsentQuery) Clone() *OAuthConsentQuery + func (_q *OAuthConsentQuery) Count(ctx context.Context) (int, error) + func (_q *OAuthConsentQuery) CountX(ctx context.Context) int + func (_q *OAuthConsentQuery) Exist(ctx context.Context) (bool, error) + func (_q *OAuthConsentQuery) ExistX(ctx context.Context) bool + func (_q *OAuthConsentQuery) Filter() *OAuthConsentFilter + func (_q *OAuthConsentQuery) First(ctx context.Context) (*OAuthConsent, error) + func (_q *OAuthConsentQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthConsentQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *OAuthConsentQuery) FirstX(ctx context.Context) *OAuthConsent + func (_q *OAuthConsentQuery) GroupBy(field string, fields ...string) *OAuthConsentGroupBy + func (_q *OAuthConsentQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *OAuthConsentQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *OAuthConsentQuery) Limit(limit int) *OAuthConsentQuery + func (_q *OAuthConsentQuery) Offset(offset int) *OAuthConsentQuery + func (_q *OAuthConsentQuery) Only(ctx context.Context) (*OAuthConsent, error) + func (_q *OAuthConsentQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthConsentQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *OAuthConsentQuery) OnlyX(ctx context.Context) *OAuthConsent + func (_q *OAuthConsentQuery) Order(o ...oauthconsent.OrderOption) *OAuthConsentQuery + func (_q *OAuthConsentQuery) QueryApp() *OAuthAppQuery + func (_q *OAuthConsentQuery) QueryUser() *UserQuery + func (_q *OAuthConsentQuery) Select(fields ...string) *OAuthConsentSelect + func (_q *OAuthConsentQuery) Unique(unique bool) *OAuthConsentQuery + func (_q *OAuthConsentQuery) Where(ps ...predicate.OAuthConsent) *OAuthConsentQuery + func (_q *OAuthConsentQuery) WithApp(opts ...func(*OAuthAppQuery)) *OAuthConsentQuery + func (_q *OAuthConsentQuery) WithUser(opts ...func(*UserQuery)) *OAuthConsentQuery + type OAuthConsentSelect struct + func (_s *OAuthConsentSelect) Aggregate(fns ...AggregateFunc) *OAuthConsentSelect + func (_s *OAuthConsentSelect) Scan(ctx context.Context, v any) error + func (s *OAuthConsentSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthConsentSelect) BoolX(ctx context.Context) bool + func (s *OAuthConsentSelect) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthConsentSelect) BoolsX(ctx context.Context) []bool + func (s *OAuthConsentSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthConsentSelect) Float64X(ctx context.Context) float64 + func (s *OAuthConsentSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthConsentSelect) Float64sX(ctx context.Context) []float64 + func (s *OAuthConsentSelect) Int(ctx context.Context) (_ int, err error) + func (s *OAuthConsentSelect) IntX(ctx context.Context) int + func (s *OAuthConsentSelect) Ints(ctx context.Context) ([]int, error) + func (s *OAuthConsentSelect) IntsX(ctx context.Context) []int + func (s *OAuthConsentSelect) ScanX(ctx context.Context, v any) + func (s *OAuthConsentSelect) String(ctx context.Context) (_ string, err error) + func (s *OAuthConsentSelect) StringX(ctx context.Context) string + func (s *OAuthConsentSelect) Strings(ctx context.Context) ([]string, error) + func (s *OAuthConsentSelect) StringsX(ctx context.Context) []string + type OAuthConsentUpdate struct + func (_u *OAuthConsentUpdate) AppendScopes(v []string) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) ClearApp() *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) ClearLastUsedAt() *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) ClearRevokedAt() *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) ClearRevokedReason() *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) ClearUser() *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) Exec(ctx context.Context) error + func (_u *OAuthConsentUpdate) ExecX(ctx context.Context) + func (_u *OAuthConsentUpdate) Mutation() *OAuthConsentMutation + func (_u *OAuthConsentUpdate) Save(ctx context.Context) (int, error) + func (_u *OAuthConsentUpdate) SaveX(ctx context.Context) int + func (_u *OAuthConsentUpdate) SetApp(v *OAuthApp) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetAppID(v uuid.UUID) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetGranted(v bool) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetGrantedAt(v time.Time) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetLastUsedAt(v time.Time) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetNillableAppID(v *uuid.UUID) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetNillableGranted(v *bool) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetNillableGrantedAt(v *time.Time) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetNillableLastUsedAt(v *time.Time) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetNillableRevoked(v *bool) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetNillableRevokedAt(v *time.Time) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetNillableRevokedReason(v *string) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetNillableUserID(v *uuid.UUID) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetRevoked(v bool) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetRevokedAt(v time.Time) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetRevokedReason(v string) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetScopes(v []string) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetUpdatedAt(v time.Time) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetUser(v *User) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) SetUserID(v uuid.UUID) *OAuthConsentUpdate + func (_u *OAuthConsentUpdate) Where(ps ...predicate.OAuthConsent) *OAuthConsentUpdate + type OAuthConsentUpdateOne struct + func (_u *OAuthConsentUpdateOne) AppendScopes(v []string) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) ClearApp() *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) ClearLastUsedAt() *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) ClearRevokedAt() *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) ClearRevokedReason() *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) ClearUser() *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) Exec(ctx context.Context) error + func (_u *OAuthConsentUpdateOne) ExecX(ctx context.Context) + func (_u *OAuthConsentUpdateOne) Mutation() *OAuthConsentMutation + func (_u *OAuthConsentUpdateOne) Save(ctx context.Context) (*OAuthConsent, error) + func (_u *OAuthConsentUpdateOne) SaveX(ctx context.Context) *OAuthConsent + func (_u *OAuthConsentUpdateOne) Select(field string, fields ...string) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetApp(v *OAuthApp) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetAppID(v uuid.UUID) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetGranted(v bool) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetGrantedAt(v time.Time) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetLastUsedAt(v time.Time) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetNillableAppID(v *uuid.UUID) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetNillableGranted(v *bool) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetNillableGrantedAt(v *time.Time) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetNillableLastUsedAt(v *time.Time) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetNillableRevoked(v *bool) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetNillableRevokedAt(v *time.Time) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetNillableRevokedReason(v *string) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetNillableUserID(v *uuid.UUID) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetRevoked(v bool) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetRevokedAt(v time.Time) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetRevokedReason(v string) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetScopes(v []string) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetUpdatedAt(v time.Time) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetUser(v *User) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) SetUserID(v uuid.UUID) *OAuthConsentUpdateOne + func (_u *OAuthConsentUpdateOne) Where(ps ...predicate.OAuthConsent) *OAuthConsentUpdateOne + type OAuthConsentUpsert struct + func (u *OAuthConsentUpsert) ClearLastUsedAt() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) ClearRevokedAt() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) ClearRevokedReason() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) SetAppID(v uuid.UUID) *OAuthConsentUpsert + func (u *OAuthConsentUpsert) SetGranted(v bool) *OAuthConsentUpsert + func (u *OAuthConsentUpsert) SetGrantedAt(v time.Time) *OAuthConsentUpsert + func (u *OAuthConsentUpsert) SetLastUsedAt(v time.Time) *OAuthConsentUpsert + func (u *OAuthConsentUpsert) SetRevoked(v bool) *OAuthConsentUpsert + func (u *OAuthConsentUpsert) SetRevokedAt(v time.Time) *OAuthConsentUpsert + func (u *OAuthConsentUpsert) SetRevokedReason(v string) *OAuthConsentUpsert + func (u *OAuthConsentUpsert) SetScopes(v []string) *OAuthConsentUpsert + func (u *OAuthConsentUpsert) SetUpdatedAt(v time.Time) *OAuthConsentUpsert + func (u *OAuthConsentUpsert) SetUserID(v uuid.UUID) *OAuthConsentUpsert + func (u *OAuthConsentUpsert) UpdateAppID() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) UpdateGranted() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) UpdateGrantedAt() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) UpdateLastUsedAt() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) UpdateRevoked() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) UpdateRevokedAt() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) UpdateRevokedReason() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) UpdateScopes() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) UpdateUpdatedAt() *OAuthConsentUpsert + func (u *OAuthConsentUpsert) UpdateUserID() *OAuthConsentUpsert + type OAuthConsentUpsertBulk struct + func (u *OAuthConsentUpsertBulk) ClearLastUsedAt() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) ClearRevokedAt() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) ClearRevokedReason() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) DoNothing() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) Exec(ctx context.Context) error + func (u *OAuthConsentUpsertBulk) ExecX(ctx context.Context) + func (u *OAuthConsentUpsertBulk) Ignore() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) SetAppID(v uuid.UUID) *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) SetGranted(v bool) *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) SetGrantedAt(v time.Time) *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) SetLastUsedAt(v time.Time) *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) SetRevoked(v bool) *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) SetRevokedAt(v time.Time) *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) SetRevokedReason(v string) *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) SetScopes(v []string) *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) SetUpdatedAt(v time.Time) *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) SetUserID(v uuid.UUID) *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) Update(set func(*OAuthConsentUpsert)) *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) UpdateAppID() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) UpdateGranted() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) UpdateGrantedAt() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) UpdateLastUsedAt() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) UpdateNewValues() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) UpdateRevoked() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) UpdateRevokedAt() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) UpdateRevokedReason() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) UpdateScopes() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) UpdateUpdatedAt() *OAuthConsentUpsertBulk + func (u *OAuthConsentUpsertBulk) UpdateUserID() *OAuthConsentUpsertBulk + type OAuthConsentUpsertOne struct + func (u *OAuthConsentUpsertOne) ClearLastUsedAt() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) ClearRevokedAt() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) ClearRevokedReason() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) DoNothing() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) Exec(ctx context.Context) error + func (u *OAuthConsentUpsertOne) ExecX(ctx context.Context) + func (u *OAuthConsentUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *OAuthConsentUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *OAuthConsentUpsertOne) Ignore() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) SetAppID(v uuid.UUID) *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) SetGranted(v bool) *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) SetGrantedAt(v time.Time) *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) SetLastUsedAt(v time.Time) *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) SetRevoked(v bool) *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) SetRevokedAt(v time.Time) *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) SetRevokedReason(v string) *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) SetScopes(v []string) *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) SetUpdatedAt(v time.Time) *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) SetUserID(v uuid.UUID) *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) Update(set func(*OAuthConsentUpsert)) *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) UpdateAppID() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) UpdateGranted() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) UpdateGrantedAt() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) UpdateLastUsedAt() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) UpdateNewValues() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) UpdateRevoked() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) UpdateRevokedAt() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) UpdateRevokedReason() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) UpdateScopes() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) UpdateUpdatedAt() *OAuthConsentUpsertOne + func (u *OAuthConsentUpsertOne) UpdateUserID() *OAuthConsentUpsertOne + type OAuthConsents []*OAuthConsent + type OAuthToken struct + AccessExpiresAt time.Time + AccessTokenSignature string + AppID uuid.UUID + Audience []string + ClientIP string + CreatedAt time.Time + Edges OAuthTokenEdges + FamilyID uuid.UUID + ID uuid.UUID + LastUsedAt *time.Time + RefreshExpiresAt *time.Time + RefreshTokenSignature *string + RequestData string + Revoked bool + RevokedAt *time.Time + RevokedReason string + Scopes []string + ServiceAccountID *uuid.UUID + SessionID string + UserAgent string + UserID *uuid.UUID + func (_m *OAuthToken) QueryApp() *OAuthAppQuery + func (_m *OAuthToken) QueryUser() *UserQuery + func (_m *OAuthToken) String() string + func (_m *OAuthToken) Unwrap() *OAuthToken + func (_m *OAuthToken) Update() *OAuthTokenUpdateOne + func (_m *OAuthToken) Value(name string) (ent.Value, error) + type OAuthTokenClient struct + func NewOAuthTokenClient(c config) *OAuthTokenClient + func (c *OAuthTokenClient) Create() *OAuthTokenCreate + func (c *OAuthTokenClient) CreateBulk(builders ...*OAuthTokenCreate) *OAuthTokenCreateBulk + func (c *OAuthTokenClient) Delete() *OAuthTokenDelete + func (c *OAuthTokenClient) DeleteOne(_m *OAuthToken) *OAuthTokenDeleteOne + func (c *OAuthTokenClient) DeleteOneID(id uuid.UUID) *OAuthTokenDeleteOne + func (c *OAuthTokenClient) Get(ctx context.Context, id uuid.UUID) (*OAuthToken, error) + func (c *OAuthTokenClient) GetX(ctx context.Context, id uuid.UUID) *OAuthToken + func (c *OAuthTokenClient) Hooks() []Hook + func (c *OAuthTokenClient) Intercept(interceptors ...Interceptor) + func (c *OAuthTokenClient) Interceptors() []Interceptor + func (c *OAuthTokenClient) MapCreateBulk(slice any, setFunc func(*OAuthTokenCreate, int)) *OAuthTokenCreateBulk + func (c *OAuthTokenClient) Query() *OAuthTokenQuery + func (c *OAuthTokenClient) QueryApp(_m *OAuthToken) *OAuthAppQuery + func (c *OAuthTokenClient) QueryUser(_m *OAuthToken) *UserQuery + func (c *OAuthTokenClient) Update() *OAuthTokenUpdate + func (c *OAuthTokenClient) UpdateOne(_m *OAuthToken) *OAuthTokenUpdateOne + func (c *OAuthTokenClient) UpdateOneID(id uuid.UUID) *OAuthTokenUpdateOne + func (c *OAuthTokenClient) Use(hooks ...Hook) + type OAuthTokenCreate struct + func (_c *OAuthTokenCreate) Exec(ctx context.Context) error + func (_c *OAuthTokenCreate) ExecX(ctx context.Context) + func (_c *OAuthTokenCreate) Mutation() *OAuthTokenMutation + func (_c *OAuthTokenCreate) OnConflict(opts ...sql.ConflictOption) *OAuthTokenUpsertOne + func (_c *OAuthTokenCreate) OnConflictColumns(columns ...string) *OAuthTokenUpsertOne + func (_c *OAuthTokenCreate) Save(ctx context.Context) (*OAuthToken, error) + func (_c *OAuthTokenCreate) SaveX(ctx context.Context) *OAuthToken + func (_c *OAuthTokenCreate) SetAccessExpiresAt(v time.Time) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetAccessTokenSignature(v string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetApp(v *OAuthApp) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetAppID(v uuid.UUID) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetAudience(v []string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetClientIP(v string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetCreatedAt(v time.Time) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetFamilyID(v uuid.UUID) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetID(v uuid.UUID) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetLastUsedAt(v time.Time) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableClientIP(v *string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableCreatedAt(v *time.Time) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableFamilyID(v *uuid.UUID) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableID(v *uuid.UUID) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableLastUsedAt(v *time.Time) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableRefreshExpiresAt(v *time.Time) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableRefreshTokenSignature(v *string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableRequestData(v *string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableRevoked(v *bool) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableRevokedAt(v *time.Time) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableRevokedReason(v *string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableServiceAccountID(v *uuid.UUID) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableSessionID(v *string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableUserAgent(v *string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetNillableUserID(v *uuid.UUID) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetRefreshExpiresAt(v time.Time) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetRefreshTokenSignature(v string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetRequestData(v string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetRevoked(v bool) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetRevokedAt(v time.Time) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetRevokedReason(v string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetScopes(v []string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetServiceAccountID(v uuid.UUID) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetSessionID(v string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetUser(v *User) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetUserAgent(v string) *OAuthTokenCreate + func (_c *OAuthTokenCreate) SetUserID(v uuid.UUID) *OAuthTokenCreate + type OAuthTokenCreateBulk struct + func (_c *OAuthTokenCreateBulk) Exec(ctx context.Context) error + func (_c *OAuthTokenCreateBulk) ExecX(ctx context.Context) + func (_c *OAuthTokenCreateBulk) OnConflict(opts ...sql.ConflictOption) *OAuthTokenUpsertBulk + func (_c *OAuthTokenCreateBulk) OnConflictColumns(columns ...string) *OAuthTokenUpsertBulk + func (_c *OAuthTokenCreateBulk) Save(ctx context.Context) ([]*OAuthToken, error) + func (_c *OAuthTokenCreateBulk) SaveX(ctx context.Context) []*OAuthToken + type OAuthTokenDelete struct + func (_d *OAuthTokenDelete) Exec(ctx context.Context) (int, error) + func (_d *OAuthTokenDelete) ExecX(ctx context.Context) int + func (_d *OAuthTokenDelete) Where(ps ...predicate.OAuthToken) *OAuthTokenDelete + type OAuthTokenDeleteOne struct + func (_d *OAuthTokenDeleteOne) Exec(ctx context.Context) error + func (_d *OAuthTokenDeleteOne) ExecX(ctx context.Context) + func (_d *OAuthTokenDeleteOne) Where(ps ...predicate.OAuthToken) *OAuthTokenDeleteOne + type OAuthTokenEdges struct + App *OAuthApp + User *User + func (e OAuthTokenEdges) AppOrErr() (*OAuthApp, error) + func (e OAuthTokenEdges) UserOrErr() (*User, error) + type OAuthTokenFilter struct + func (f *OAuthTokenFilter) Where(p entql.P) + func (f *OAuthTokenFilter) WhereAccessExpiresAt(p entql.TimeP) + func (f *OAuthTokenFilter) WhereAccessTokenSignature(p entql.StringP) + func (f *OAuthTokenFilter) WhereAppID(p entql.ValueP) + func (f *OAuthTokenFilter) WhereAudience(p entql.BytesP) + func (f *OAuthTokenFilter) WhereClientIP(p entql.StringP) + func (f *OAuthTokenFilter) WhereCreatedAt(p entql.TimeP) + func (f *OAuthTokenFilter) WhereFamilyID(p entql.ValueP) + func (f *OAuthTokenFilter) WhereHasApp() + func (f *OAuthTokenFilter) WhereHasAppWith(preds ...predicate.OAuthApp) + func (f *OAuthTokenFilter) WhereHasUser() + func (f *OAuthTokenFilter) WhereHasUserWith(preds ...predicate.User) + func (f *OAuthTokenFilter) WhereID(p entql.ValueP) + func (f *OAuthTokenFilter) WhereLastUsedAt(p entql.TimeP) + func (f *OAuthTokenFilter) WhereRefreshExpiresAt(p entql.TimeP) + func (f *OAuthTokenFilter) WhereRefreshTokenSignature(p entql.StringP) + func (f *OAuthTokenFilter) WhereRequestData(p entql.StringP) + func (f *OAuthTokenFilter) WhereRevoked(p entql.BoolP) + func (f *OAuthTokenFilter) WhereRevokedAt(p entql.TimeP) + func (f *OAuthTokenFilter) WhereRevokedReason(p entql.StringP) + func (f *OAuthTokenFilter) WhereScopes(p entql.BytesP) + func (f *OAuthTokenFilter) WhereServiceAccountID(p entql.ValueP) + func (f *OAuthTokenFilter) WhereSessionID(p entql.StringP) + func (f *OAuthTokenFilter) WhereUserAgent(p entql.StringP) + func (f *OAuthTokenFilter) WhereUserID(p entql.ValueP) + type OAuthTokenGroupBy struct + func (_g *OAuthTokenGroupBy) Aggregate(fns ...AggregateFunc) *OAuthTokenGroupBy + func (_g *OAuthTokenGroupBy) Scan(ctx context.Context, v any) error + func (s *OAuthTokenGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthTokenGroupBy) BoolX(ctx context.Context) bool + func (s *OAuthTokenGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthTokenGroupBy) BoolsX(ctx context.Context) []bool + func (s *OAuthTokenGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthTokenGroupBy) Float64X(ctx context.Context) float64 + func (s *OAuthTokenGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthTokenGroupBy) Float64sX(ctx context.Context) []float64 + func (s *OAuthTokenGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *OAuthTokenGroupBy) IntX(ctx context.Context) int + func (s *OAuthTokenGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *OAuthTokenGroupBy) IntsX(ctx context.Context) []int + func (s *OAuthTokenGroupBy) ScanX(ctx context.Context, v any) + func (s *OAuthTokenGroupBy) String(ctx context.Context) (_ string, err error) + func (s *OAuthTokenGroupBy) StringX(ctx context.Context) string + func (s *OAuthTokenGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *OAuthTokenGroupBy) StringsX(ctx context.Context) []string + type OAuthTokenMutation struct + func (m *OAuthTokenMutation) AccessExpiresAt() (r time.Time, exists bool) + func (m *OAuthTokenMutation) AccessTokenSignature() (r string, exists bool) + func (m *OAuthTokenMutation) AddField(name string, value ent.Value) error + func (m *OAuthTokenMutation) AddedEdges() []string + func (m *OAuthTokenMutation) AddedField(name string) (ent.Value, bool) + func (m *OAuthTokenMutation) AddedFields() []string + func (m *OAuthTokenMutation) AddedIDs(name string) []ent.Value + func (m *OAuthTokenMutation) AppCleared() bool + func (m *OAuthTokenMutation) AppID() (r uuid.UUID, exists bool) + func (m *OAuthTokenMutation) AppIDs() (ids []uuid.UUID) + func (m *OAuthTokenMutation) AppendAudience(s []string) + func (m *OAuthTokenMutation) AppendScopes(s []string) + func (m *OAuthTokenMutation) AppendedAudience() ([]string, bool) + func (m *OAuthTokenMutation) AppendedScopes() ([]string, bool) + func (m *OAuthTokenMutation) Audience() (r []string, exists bool) + func (m *OAuthTokenMutation) ClearApp() + func (m *OAuthTokenMutation) ClearClientIP() + func (m *OAuthTokenMutation) ClearEdge(name string) error + func (m *OAuthTokenMutation) ClearField(name string) error + func (m *OAuthTokenMutation) ClearLastUsedAt() + func (m *OAuthTokenMutation) ClearRefreshExpiresAt() + func (m *OAuthTokenMutation) ClearRefreshTokenSignature() + func (m *OAuthTokenMutation) ClearRequestData() + func (m *OAuthTokenMutation) ClearRevokedAt() + func (m *OAuthTokenMutation) ClearRevokedReason() + func (m *OAuthTokenMutation) ClearServiceAccountID() + func (m *OAuthTokenMutation) ClearSessionID() + func (m *OAuthTokenMutation) ClearUser() + func (m *OAuthTokenMutation) ClearUserAgent() + func (m *OAuthTokenMutation) ClearUserID() + func (m *OAuthTokenMutation) ClearedEdges() []string + func (m *OAuthTokenMutation) ClearedFields() []string + func (m *OAuthTokenMutation) ClientIP() (r string, exists bool) + func (m *OAuthTokenMutation) ClientIPCleared() bool + func (m *OAuthTokenMutation) CreatedAt() (r time.Time, exists bool) + func (m *OAuthTokenMutation) EdgeCleared(name string) bool + func (m *OAuthTokenMutation) FamilyID() (r uuid.UUID, exists bool) + func (m *OAuthTokenMutation) Field(name string) (ent.Value, bool) + func (m *OAuthTokenMutation) FieldCleared(name string) bool + func (m *OAuthTokenMutation) Fields() []string + func (m *OAuthTokenMutation) Filter() *OAuthTokenFilter + func (m *OAuthTokenMutation) ID() (id uuid.UUID, exists bool) + func (m *OAuthTokenMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *OAuthTokenMutation) LastUsedAt() (r time.Time, exists bool) + func (m *OAuthTokenMutation) LastUsedAtCleared() bool + func (m *OAuthTokenMutation) OldAccessExpiresAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthTokenMutation) OldAccessTokenSignature(ctx context.Context) (v string, err error) + func (m *OAuthTokenMutation) OldAppID(ctx context.Context) (v uuid.UUID, err error) + func (m *OAuthTokenMutation) OldAudience(ctx context.Context) (v []string, err error) + func (m *OAuthTokenMutation) OldClientIP(ctx context.Context) (v string, err error) + func (m *OAuthTokenMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *OAuthTokenMutation) OldFamilyID(ctx context.Context) (v uuid.UUID, err error) + func (m *OAuthTokenMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *OAuthTokenMutation) OldLastUsedAt(ctx context.Context) (v *time.Time, err error) + func (m *OAuthTokenMutation) OldRefreshExpiresAt(ctx context.Context) (v *time.Time, err error) + func (m *OAuthTokenMutation) OldRefreshTokenSignature(ctx context.Context) (v *string, err error) + func (m *OAuthTokenMutation) OldRequestData(ctx context.Context) (v string, err error) + func (m *OAuthTokenMutation) OldRevoked(ctx context.Context) (v bool, err error) + func (m *OAuthTokenMutation) OldRevokedAt(ctx context.Context) (v *time.Time, err error) + func (m *OAuthTokenMutation) OldRevokedReason(ctx context.Context) (v string, err error) + func (m *OAuthTokenMutation) OldScopes(ctx context.Context) (v []string, err error) + func (m *OAuthTokenMutation) OldServiceAccountID(ctx context.Context) (v *uuid.UUID, err error) + func (m *OAuthTokenMutation) OldSessionID(ctx context.Context) (v string, err error) + func (m *OAuthTokenMutation) OldUserAgent(ctx context.Context) (v string, err error) + func (m *OAuthTokenMutation) OldUserID(ctx context.Context) (v *uuid.UUID, err error) + func (m *OAuthTokenMutation) Op() Op + func (m *OAuthTokenMutation) RefreshExpiresAt() (r time.Time, exists bool) + func (m *OAuthTokenMutation) RefreshExpiresAtCleared() bool + func (m *OAuthTokenMutation) RefreshTokenSignature() (r string, exists bool) + func (m *OAuthTokenMutation) RefreshTokenSignatureCleared() bool + func (m *OAuthTokenMutation) RemovedEdges() []string + func (m *OAuthTokenMutation) RemovedIDs(name string) []ent.Value + func (m *OAuthTokenMutation) RequestData() (r string, exists bool) + func (m *OAuthTokenMutation) RequestDataCleared() bool + func (m *OAuthTokenMutation) ResetAccessExpiresAt() + func (m *OAuthTokenMutation) ResetAccessTokenSignature() + func (m *OAuthTokenMutation) ResetApp() + func (m *OAuthTokenMutation) ResetAppID() + func (m *OAuthTokenMutation) ResetAudience() + func (m *OAuthTokenMutation) ResetClientIP() + func (m *OAuthTokenMutation) ResetCreatedAt() + func (m *OAuthTokenMutation) ResetEdge(name string) error + func (m *OAuthTokenMutation) ResetFamilyID() + func (m *OAuthTokenMutation) ResetField(name string) error + func (m *OAuthTokenMutation) ResetLastUsedAt() + func (m *OAuthTokenMutation) ResetRefreshExpiresAt() + func (m *OAuthTokenMutation) ResetRefreshTokenSignature() + func (m *OAuthTokenMutation) ResetRequestData() + func (m *OAuthTokenMutation) ResetRevoked() + func (m *OAuthTokenMutation) ResetRevokedAt() + func (m *OAuthTokenMutation) ResetRevokedReason() + func (m *OAuthTokenMutation) ResetScopes() + func (m *OAuthTokenMutation) ResetServiceAccountID() + func (m *OAuthTokenMutation) ResetSessionID() + func (m *OAuthTokenMutation) ResetUser() + func (m *OAuthTokenMutation) ResetUserAgent() + func (m *OAuthTokenMutation) ResetUserID() + func (m *OAuthTokenMutation) Revoked() (r bool, exists bool) + func (m *OAuthTokenMutation) RevokedAt() (r time.Time, exists bool) + func (m *OAuthTokenMutation) RevokedAtCleared() bool + func (m *OAuthTokenMutation) RevokedReason() (r string, exists bool) + func (m *OAuthTokenMutation) RevokedReasonCleared() bool + func (m *OAuthTokenMutation) Scopes() (r []string, exists bool) + func (m *OAuthTokenMutation) ServiceAccountID() (r uuid.UUID, exists bool) + func (m *OAuthTokenMutation) ServiceAccountIDCleared() bool + func (m *OAuthTokenMutation) SessionID() (r string, exists bool) + func (m *OAuthTokenMutation) SessionIDCleared() bool + func (m *OAuthTokenMutation) SetAccessExpiresAt(t time.Time) + func (m *OAuthTokenMutation) SetAccessTokenSignature(s string) + func (m *OAuthTokenMutation) SetAppID(u uuid.UUID) + func (m *OAuthTokenMutation) SetAudience(s []string) + func (m *OAuthTokenMutation) SetClientIP(s string) + func (m *OAuthTokenMutation) SetCreatedAt(t time.Time) + func (m *OAuthTokenMutation) SetFamilyID(u uuid.UUID) + func (m *OAuthTokenMutation) SetField(name string, value ent.Value) error + func (m *OAuthTokenMutation) SetID(id uuid.UUID) + func (m *OAuthTokenMutation) SetLastUsedAt(t time.Time) + func (m *OAuthTokenMutation) SetOp(op Op) + func (m *OAuthTokenMutation) SetRefreshExpiresAt(t time.Time) + func (m *OAuthTokenMutation) SetRefreshTokenSignature(s string) + func (m *OAuthTokenMutation) SetRequestData(s string) + func (m *OAuthTokenMutation) SetRevoked(b bool) + func (m *OAuthTokenMutation) SetRevokedAt(t time.Time) + func (m *OAuthTokenMutation) SetRevokedReason(s string) + func (m *OAuthTokenMutation) SetScopes(s []string) + func (m *OAuthTokenMutation) SetServiceAccountID(u uuid.UUID) + func (m *OAuthTokenMutation) SetSessionID(s string) + func (m *OAuthTokenMutation) SetUserAgent(s string) + func (m *OAuthTokenMutation) SetUserID(u uuid.UUID) + func (m *OAuthTokenMutation) Type() string + func (m *OAuthTokenMutation) UserAgent() (r string, exists bool) + func (m *OAuthTokenMutation) UserAgentCleared() bool + func (m *OAuthTokenMutation) UserCleared() bool + func (m *OAuthTokenMutation) UserID() (r uuid.UUID, exists bool) + func (m *OAuthTokenMutation) UserIDCleared() bool + func (m *OAuthTokenMutation) UserIDs() (ids []uuid.UUID) + func (m *OAuthTokenMutation) Where(ps ...predicate.OAuthToken) + func (m *OAuthTokenMutation) WhereP(ps ...func(*sql.Selector)) + func (m OAuthTokenMutation) Client() *Client + func (m OAuthTokenMutation) Tx() (*Tx, error) + type OAuthTokenQuery struct + func (_q *OAuthTokenQuery) Aggregate(fns ...AggregateFunc) *OAuthTokenSelect + func (_q *OAuthTokenQuery) All(ctx context.Context) ([]*OAuthToken, error) + func (_q *OAuthTokenQuery) AllX(ctx context.Context) []*OAuthToken + func (_q *OAuthTokenQuery) Clone() *OAuthTokenQuery + func (_q *OAuthTokenQuery) Count(ctx context.Context) (int, error) + func (_q *OAuthTokenQuery) CountX(ctx context.Context) int + func (_q *OAuthTokenQuery) Exist(ctx context.Context) (bool, error) + func (_q *OAuthTokenQuery) ExistX(ctx context.Context) bool + func (_q *OAuthTokenQuery) Filter() *OAuthTokenFilter + func (_q *OAuthTokenQuery) First(ctx context.Context) (*OAuthToken, error) + func (_q *OAuthTokenQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthTokenQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *OAuthTokenQuery) FirstX(ctx context.Context) *OAuthToken + func (_q *OAuthTokenQuery) GroupBy(field string, fields ...string) *OAuthTokenGroupBy + func (_q *OAuthTokenQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *OAuthTokenQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *OAuthTokenQuery) Limit(limit int) *OAuthTokenQuery + func (_q *OAuthTokenQuery) Offset(offset int) *OAuthTokenQuery + func (_q *OAuthTokenQuery) Only(ctx context.Context) (*OAuthToken, error) + func (_q *OAuthTokenQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OAuthTokenQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *OAuthTokenQuery) OnlyX(ctx context.Context) *OAuthToken + func (_q *OAuthTokenQuery) Order(o ...oauthtoken.OrderOption) *OAuthTokenQuery + func (_q *OAuthTokenQuery) QueryApp() *OAuthAppQuery + func (_q *OAuthTokenQuery) QueryUser() *UserQuery + func (_q *OAuthTokenQuery) Select(fields ...string) *OAuthTokenSelect + func (_q *OAuthTokenQuery) Unique(unique bool) *OAuthTokenQuery + func (_q *OAuthTokenQuery) Where(ps ...predicate.OAuthToken) *OAuthTokenQuery + func (_q *OAuthTokenQuery) WithApp(opts ...func(*OAuthAppQuery)) *OAuthTokenQuery + func (_q *OAuthTokenQuery) WithUser(opts ...func(*UserQuery)) *OAuthTokenQuery + type OAuthTokenSelect struct + func (_s *OAuthTokenSelect) Aggregate(fns ...AggregateFunc) *OAuthTokenSelect + func (_s *OAuthTokenSelect) Scan(ctx context.Context, v any) error + func (s *OAuthTokenSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *OAuthTokenSelect) BoolX(ctx context.Context) bool + func (s *OAuthTokenSelect) Bools(ctx context.Context) ([]bool, error) + func (s *OAuthTokenSelect) BoolsX(ctx context.Context) []bool + func (s *OAuthTokenSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *OAuthTokenSelect) Float64X(ctx context.Context) float64 + func (s *OAuthTokenSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *OAuthTokenSelect) Float64sX(ctx context.Context) []float64 + func (s *OAuthTokenSelect) Int(ctx context.Context) (_ int, err error) + func (s *OAuthTokenSelect) IntX(ctx context.Context) int + func (s *OAuthTokenSelect) Ints(ctx context.Context) ([]int, error) + func (s *OAuthTokenSelect) IntsX(ctx context.Context) []int + func (s *OAuthTokenSelect) ScanX(ctx context.Context, v any) + func (s *OAuthTokenSelect) String(ctx context.Context) (_ string, err error) + func (s *OAuthTokenSelect) StringX(ctx context.Context) string + func (s *OAuthTokenSelect) Strings(ctx context.Context) ([]string, error) + func (s *OAuthTokenSelect) StringsX(ctx context.Context) []string + type OAuthTokenUpdate struct + func (_u *OAuthTokenUpdate) AppendAudience(v []string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) AppendScopes(v []string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearApp() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearClientIP() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearLastUsedAt() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearRefreshExpiresAt() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearRefreshTokenSignature() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearRequestData() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearRevokedAt() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearRevokedReason() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearServiceAccountID() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearSessionID() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearUser() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearUserAgent() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) ClearUserID() *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) Exec(ctx context.Context) error + func (_u *OAuthTokenUpdate) ExecX(ctx context.Context) + func (_u *OAuthTokenUpdate) Mutation() *OAuthTokenMutation + func (_u *OAuthTokenUpdate) Save(ctx context.Context) (int, error) + func (_u *OAuthTokenUpdate) SaveX(ctx context.Context) int + func (_u *OAuthTokenUpdate) SetAccessExpiresAt(v time.Time) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetAccessTokenSignature(v string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetApp(v *OAuthApp) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetAppID(v uuid.UUID) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetAudience(v []string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetClientIP(v string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetFamilyID(v uuid.UUID) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetLastUsedAt(v time.Time) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableAccessExpiresAt(v *time.Time) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableAccessTokenSignature(v *string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableAppID(v *uuid.UUID) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableClientIP(v *string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableFamilyID(v *uuid.UUID) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableLastUsedAt(v *time.Time) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableRefreshExpiresAt(v *time.Time) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableRefreshTokenSignature(v *string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableRequestData(v *string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableRevoked(v *bool) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableRevokedAt(v *time.Time) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableRevokedReason(v *string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableServiceAccountID(v *uuid.UUID) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableSessionID(v *string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableUserAgent(v *string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetNillableUserID(v *uuid.UUID) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetRefreshExpiresAt(v time.Time) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetRefreshTokenSignature(v string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetRequestData(v string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetRevoked(v bool) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetRevokedAt(v time.Time) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetRevokedReason(v string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetScopes(v []string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetServiceAccountID(v uuid.UUID) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetSessionID(v string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetUser(v *User) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetUserAgent(v string) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) SetUserID(v uuid.UUID) *OAuthTokenUpdate + func (_u *OAuthTokenUpdate) Where(ps ...predicate.OAuthToken) *OAuthTokenUpdate + type OAuthTokenUpdateOne struct + func (_u *OAuthTokenUpdateOne) AppendAudience(v []string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) AppendScopes(v []string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearApp() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearClientIP() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearLastUsedAt() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearRefreshExpiresAt() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearRefreshTokenSignature() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearRequestData() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearRevokedAt() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearRevokedReason() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearServiceAccountID() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearSessionID() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearUser() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearUserAgent() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) ClearUserID() *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) Exec(ctx context.Context) error + func (_u *OAuthTokenUpdateOne) ExecX(ctx context.Context) + func (_u *OAuthTokenUpdateOne) Mutation() *OAuthTokenMutation + func (_u *OAuthTokenUpdateOne) Save(ctx context.Context) (*OAuthToken, error) + func (_u *OAuthTokenUpdateOne) SaveX(ctx context.Context) *OAuthToken + func (_u *OAuthTokenUpdateOne) Select(field string, fields ...string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetAccessExpiresAt(v time.Time) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetAccessTokenSignature(v string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetApp(v *OAuthApp) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetAppID(v uuid.UUID) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetAudience(v []string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetClientIP(v string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetFamilyID(v uuid.UUID) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetLastUsedAt(v time.Time) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableAccessExpiresAt(v *time.Time) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableAccessTokenSignature(v *string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableAppID(v *uuid.UUID) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableClientIP(v *string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableFamilyID(v *uuid.UUID) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableLastUsedAt(v *time.Time) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableRefreshExpiresAt(v *time.Time) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableRefreshTokenSignature(v *string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableRequestData(v *string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableRevoked(v *bool) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableRevokedAt(v *time.Time) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableRevokedReason(v *string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableServiceAccountID(v *uuid.UUID) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableSessionID(v *string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableUserAgent(v *string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetNillableUserID(v *uuid.UUID) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetRefreshExpiresAt(v time.Time) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetRefreshTokenSignature(v string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetRequestData(v string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetRevoked(v bool) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetRevokedAt(v time.Time) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetRevokedReason(v string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetScopes(v []string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetServiceAccountID(v uuid.UUID) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetSessionID(v string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetUser(v *User) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetUserAgent(v string) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) SetUserID(v uuid.UUID) *OAuthTokenUpdateOne + func (_u *OAuthTokenUpdateOne) Where(ps ...predicate.OAuthToken) *OAuthTokenUpdateOne + type OAuthTokenUpsert struct + func (u *OAuthTokenUpsert) ClearClientIP() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) ClearLastUsedAt() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) ClearRefreshExpiresAt() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) ClearRefreshTokenSignature() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) ClearRequestData() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) ClearRevokedAt() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) ClearRevokedReason() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) ClearServiceAccountID() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) ClearSessionID() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) ClearUserAgent() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) ClearUserID() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetAccessExpiresAt(v time.Time) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetAccessTokenSignature(v string) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetAppID(v uuid.UUID) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetAudience(v []string) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetClientIP(v string) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetFamilyID(v uuid.UUID) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetLastUsedAt(v time.Time) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetRefreshExpiresAt(v time.Time) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetRefreshTokenSignature(v string) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetRequestData(v string) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetRevoked(v bool) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetRevokedAt(v time.Time) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetRevokedReason(v string) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetScopes(v []string) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetServiceAccountID(v uuid.UUID) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetSessionID(v string) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetUserAgent(v string) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) SetUserID(v uuid.UUID) *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateAccessExpiresAt() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateAccessTokenSignature() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateAppID() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateAudience() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateClientIP() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateFamilyID() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateLastUsedAt() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateRefreshExpiresAt() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateRefreshTokenSignature() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateRequestData() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateRevoked() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateRevokedAt() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateRevokedReason() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateScopes() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateServiceAccountID() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateSessionID() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateUserAgent() *OAuthTokenUpsert + func (u *OAuthTokenUpsert) UpdateUserID() *OAuthTokenUpsert + type OAuthTokenUpsertBulk struct + func (u *OAuthTokenUpsertBulk) ClearClientIP() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) ClearLastUsedAt() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) ClearRefreshExpiresAt() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) ClearRefreshTokenSignature() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) ClearRequestData() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) ClearRevokedAt() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) ClearRevokedReason() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) ClearServiceAccountID() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) ClearSessionID() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) ClearUserAgent() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) ClearUserID() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) DoNothing() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) Exec(ctx context.Context) error + func (u *OAuthTokenUpsertBulk) ExecX(ctx context.Context) + func (u *OAuthTokenUpsertBulk) Ignore() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetAccessExpiresAt(v time.Time) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetAccessTokenSignature(v string) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetAppID(v uuid.UUID) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetAudience(v []string) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetClientIP(v string) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetFamilyID(v uuid.UUID) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetLastUsedAt(v time.Time) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetRefreshExpiresAt(v time.Time) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetRefreshTokenSignature(v string) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetRequestData(v string) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetRevoked(v bool) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetRevokedAt(v time.Time) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetRevokedReason(v string) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetScopes(v []string) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetServiceAccountID(v uuid.UUID) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetSessionID(v string) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetUserAgent(v string) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) SetUserID(v uuid.UUID) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) Update(set func(*OAuthTokenUpsert)) *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateAccessExpiresAt() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateAccessTokenSignature() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateAppID() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateAudience() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateClientIP() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateFamilyID() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateLastUsedAt() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateNewValues() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateRefreshExpiresAt() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateRefreshTokenSignature() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateRequestData() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateRevoked() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateRevokedAt() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateRevokedReason() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateScopes() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateServiceAccountID() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateSessionID() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateUserAgent() *OAuthTokenUpsertBulk + func (u *OAuthTokenUpsertBulk) UpdateUserID() *OAuthTokenUpsertBulk + type OAuthTokenUpsertOne struct + func (u *OAuthTokenUpsertOne) ClearClientIP() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) ClearLastUsedAt() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) ClearRefreshExpiresAt() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) ClearRefreshTokenSignature() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) ClearRequestData() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) ClearRevokedAt() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) ClearRevokedReason() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) ClearServiceAccountID() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) ClearSessionID() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) ClearUserAgent() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) ClearUserID() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) DoNothing() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) Exec(ctx context.Context) error + func (u *OAuthTokenUpsertOne) ExecX(ctx context.Context) + func (u *OAuthTokenUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *OAuthTokenUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *OAuthTokenUpsertOne) Ignore() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetAccessExpiresAt(v time.Time) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetAccessTokenSignature(v string) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetAppID(v uuid.UUID) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetAudience(v []string) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetClientIP(v string) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetFamilyID(v uuid.UUID) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetLastUsedAt(v time.Time) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetRefreshExpiresAt(v time.Time) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetRefreshTokenSignature(v string) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetRequestData(v string) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetRevoked(v bool) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetRevokedAt(v time.Time) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetRevokedReason(v string) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetScopes(v []string) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetServiceAccountID(v uuid.UUID) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetSessionID(v string) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetUserAgent(v string) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) SetUserID(v uuid.UUID) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) Update(set func(*OAuthTokenUpsert)) *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateAccessExpiresAt() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateAccessTokenSignature() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateAppID() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateAudience() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateClientIP() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateFamilyID() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateLastUsedAt() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateNewValues() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateRefreshExpiresAt() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateRefreshTokenSignature() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateRequestData() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateRevoked() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateRevokedAt() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateRevokedReason() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateScopes() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateServiceAccountID() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateSessionID() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateUserAgent() *OAuthTokenUpsertOne + func (u *OAuthTokenUpsertOne) UpdateUserID() *OAuthTokenUpsertOne + type OAuthTokens []*OAuthToken + type Op = ent.Op + type Option func(*config) + func Debug() Option + func Driver(driver dialect.Driver) Option + func Log(fn func(...any)) Option + type OrderFunc func(*sql.Selector) + type Organization struct + Active bool + CreatedAt time.Time + Description *string + Edges OrganizationEdges + ID uuid.UUID + LogoURL *string + Name string + OrgType organization.OrgType + OwnerPrincipalID *uuid.UUID + Plan organization.Plan + Settings map[string]interface{} + Slug string + UpdatedAt time.Time + WebsiteURL *string + func (_m *Organization) QueryAPIKeys() *APIKeyQuery + func (_m *Organization) QueryInvites() *InviteQuery + func (_m *Organization) QueryLicenses() *LicenseQuery + func (_m *Organization) QueryListings() *ListingQuery + func (_m *Organization) QueryMemberships() *MembershipQuery + func (_m *Organization) QueryOauthApps() *OAuthAppQuery + func (_m *Organization) QueryOwner() *PrincipalQuery + func (_m *Organization) QueryPrincipalMemberships() *PrincipalMembershipQuery + func (_m *Organization) QueryPrincipals() *PrincipalQuery + func (_m *Organization) QueryServiceAccounts() *ServiceAccountQuery + func (_m *Organization) QuerySubscription() *SubscriptionQuery + func (_m *Organization) String() string + func (_m *Organization) Unwrap() *Organization + func (_m *Organization) Update() *OrganizationUpdateOne + func (_m *Organization) Value(name string) (ent.Value, error) + type OrganizationClient struct + func NewOrganizationClient(c config) *OrganizationClient + func (c *OrganizationClient) Create() *OrganizationCreate + func (c *OrganizationClient) CreateBulk(builders ...*OrganizationCreate) *OrganizationCreateBulk + func (c *OrganizationClient) Delete() *OrganizationDelete + func (c *OrganizationClient) DeleteOne(_m *Organization) *OrganizationDeleteOne + func (c *OrganizationClient) DeleteOneID(id uuid.UUID) *OrganizationDeleteOne + func (c *OrganizationClient) Get(ctx context.Context, id uuid.UUID) (*Organization, error) + func (c *OrganizationClient) GetX(ctx context.Context, id uuid.UUID) *Organization + func (c *OrganizationClient) Hooks() []Hook + func (c *OrganizationClient) Intercept(interceptors ...Interceptor) + func (c *OrganizationClient) Interceptors() []Interceptor + func (c *OrganizationClient) MapCreateBulk(slice any, setFunc func(*OrganizationCreate, int)) *OrganizationCreateBulk + func (c *OrganizationClient) Query() *OrganizationQuery + func (c *OrganizationClient) QueryAPIKeys(_m *Organization) *APIKeyQuery + func (c *OrganizationClient) QueryInvites(_m *Organization) *InviteQuery + func (c *OrganizationClient) QueryLicenses(_m *Organization) *LicenseQuery + func (c *OrganizationClient) QueryListings(_m *Organization) *ListingQuery + func (c *OrganizationClient) QueryMemberships(_m *Organization) *MembershipQuery + func (c *OrganizationClient) QueryOauthApps(_m *Organization) *OAuthAppQuery + func (c *OrganizationClient) QueryOwner(_m *Organization) *PrincipalQuery + func (c *OrganizationClient) QueryPrincipalMemberships(_m *Organization) *PrincipalMembershipQuery + func (c *OrganizationClient) QueryPrincipals(_m *Organization) *PrincipalQuery + func (c *OrganizationClient) QueryServiceAccounts(_m *Organization) *ServiceAccountQuery + func (c *OrganizationClient) QuerySubscription(_m *Organization) *SubscriptionQuery + func (c *OrganizationClient) Update() *OrganizationUpdate + func (c *OrganizationClient) UpdateOne(_m *Organization) *OrganizationUpdateOne + func (c *OrganizationClient) UpdateOneID(id uuid.UUID) *OrganizationUpdateOne + func (c *OrganizationClient) Use(hooks ...Hook) + type OrganizationCreate struct + func (_c *OrganizationCreate) AddAPIKeyIDs(ids ...uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) AddAPIKeys(v ...*APIKey) *OrganizationCreate + func (_c *OrganizationCreate) AddInviteIDs(ids ...uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) AddInvites(v ...*Invite) *OrganizationCreate + func (_c *OrganizationCreate) AddLicenseIDs(ids ...uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) AddLicenses(v ...*License) *OrganizationCreate + func (_c *OrganizationCreate) AddListingIDs(ids ...uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) AddListings(v ...*Listing) *OrganizationCreate + func (_c *OrganizationCreate) AddMembershipIDs(ids ...uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) AddMemberships(v ...*Membership) *OrganizationCreate + func (_c *OrganizationCreate) AddOauthAppIDs(ids ...uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) AddOauthApps(v ...*OAuthApp) *OrganizationCreate + func (_c *OrganizationCreate) AddPrincipalIDs(ids ...uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) AddPrincipalMembershipIDs(ids ...uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) AddPrincipalMemberships(v ...*PrincipalMembership) *OrganizationCreate + func (_c *OrganizationCreate) AddPrincipals(v ...*Principal) *OrganizationCreate + func (_c *OrganizationCreate) AddServiceAccountIDs(ids ...uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) AddServiceAccounts(v ...*ServiceAccount) *OrganizationCreate + func (_c *OrganizationCreate) Exec(ctx context.Context) error + func (_c *OrganizationCreate) ExecX(ctx context.Context) + func (_c *OrganizationCreate) Mutation() *OrganizationMutation + func (_c *OrganizationCreate) OnConflict(opts ...sql.ConflictOption) *OrganizationUpsertOne + func (_c *OrganizationCreate) OnConflictColumns(columns ...string) *OrganizationUpsertOne + func (_c *OrganizationCreate) Save(ctx context.Context) (*Organization, error) + func (_c *OrganizationCreate) SaveX(ctx context.Context) *Organization + func (_c *OrganizationCreate) SetActive(v bool) *OrganizationCreate + func (_c *OrganizationCreate) SetCreatedAt(v time.Time) *OrganizationCreate + func (_c *OrganizationCreate) SetDescription(v string) *OrganizationCreate + func (_c *OrganizationCreate) SetID(v uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) SetLogoURL(v string) *OrganizationCreate + func (_c *OrganizationCreate) SetName(v string) *OrganizationCreate + func (_c *OrganizationCreate) SetNillableActive(v *bool) *OrganizationCreate + func (_c *OrganizationCreate) SetNillableCreatedAt(v *time.Time) *OrganizationCreate + func (_c *OrganizationCreate) SetNillableDescription(v *string) *OrganizationCreate + func (_c *OrganizationCreate) SetNillableID(v *uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) SetNillableLogoURL(v *string) *OrganizationCreate + func (_c *OrganizationCreate) SetNillableOrgType(v *organization.OrgType) *OrganizationCreate + func (_c *OrganizationCreate) SetNillableOwnerID(id *uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) SetNillableOwnerPrincipalID(v *uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) SetNillablePlan(v *organization.Plan) *OrganizationCreate + func (_c *OrganizationCreate) SetNillableSubscriptionID(id *uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) SetNillableUpdatedAt(v *time.Time) *OrganizationCreate + func (_c *OrganizationCreate) SetNillableWebsiteURL(v *string) *OrganizationCreate + func (_c *OrganizationCreate) SetOrgType(v organization.OrgType) *OrganizationCreate + func (_c *OrganizationCreate) SetOwner(v *Principal) *OrganizationCreate + func (_c *OrganizationCreate) SetOwnerID(id uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) SetOwnerPrincipalID(v uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) SetPlan(v organization.Plan) *OrganizationCreate + func (_c *OrganizationCreate) SetSettings(v map[string]interface{}) *OrganizationCreate + func (_c *OrganizationCreate) SetSlug(v string) *OrganizationCreate + func (_c *OrganizationCreate) SetSubscription(v *Subscription) *OrganizationCreate + func (_c *OrganizationCreate) SetSubscriptionID(id uuid.UUID) *OrganizationCreate + func (_c *OrganizationCreate) SetUpdatedAt(v time.Time) *OrganizationCreate + func (_c *OrganizationCreate) SetWebsiteURL(v string) *OrganizationCreate + type OrganizationCreateBulk struct + func (_c *OrganizationCreateBulk) Exec(ctx context.Context) error + func (_c *OrganizationCreateBulk) ExecX(ctx context.Context) + func (_c *OrganizationCreateBulk) OnConflict(opts ...sql.ConflictOption) *OrganizationUpsertBulk + func (_c *OrganizationCreateBulk) OnConflictColumns(columns ...string) *OrganizationUpsertBulk + func (_c *OrganizationCreateBulk) Save(ctx context.Context) ([]*Organization, error) + func (_c *OrganizationCreateBulk) SaveX(ctx context.Context) []*Organization + type OrganizationDelete struct + func (_d *OrganizationDelete) Exec(ctx context.Context) (int, error) + func (_d *OrganizationDelete) ExecX(ctx context.Context) int + func (_d *OrganizationDelete) Where(ps ...predicate.Organization) *OrganizationDelete + type OrganizationDeleteOne struct + func (_d *OrganizationDeleteOne) Exec(ctx context.Context) error + func (_d *OrganizationDeleteOne) ExecX(ctx context.Context) + func (_d *OrganizationDeleteOne) Where(ps ...predicate.Organization) *OrganizationDeleteOne + type OrganizationEdges struct + APIKeys []*APIKey + Invites []*Invite + Licenses []*License + Listings []*Listing + Memberships []*Membership + OauthApps []*OAuthApp + Owner *Principal + PrincipalMemberships []*PrincipalMembership + Principals []*Principal + ServiceAccounts []*ServiceAccount + Subscription *Subscription + func (e OrganizationEdges) APIKeysOrErr() ([]*APIKey, error) + func (e OrganizationEdges) InvitesOrErr() ([]*Invite, error) + func (e OrganizationEdges) LicensesOrErr() ([]*License, error) + func (e OrganizationEdges) ListingsOrErr() ([]*Listing, error) + func (e OrganizationEdges) MembershipsOrErr() ([]*Membership, error) + func (e OrganizationEdges) OauthAppsOrErr() ([]*OAuthApp, error) + func (e OrganizationEdges) OwnerOrErr() (*Principal, error) + func (e OrganizationEdges) PrincipalMembershipsOrErr() ([]*PrincipalMembership, error) + func (e OrganizationEdges) PrincipalsOrErr() ([]*Principal, error) + func (e OrganizationEdges) ServiceAccountsOrErr() ([]*ServiceAccount, error) + func (e OrganizationEdges) SubscriptionOrErr() (*Subscription, error) + type OrganizationFilter struct + func (f *OrganizationFilter) Where(p entql.P) + func (f *OrganizationFilter) WhereActive(p entql.BoolP) + func (f *OrganizationFilter) WhereCreatedAt(p entql.TimeP) + func (f *OrganizationFilter) WhereDescription(p entql.StringP) + func (f *OrganizationFilter) WhereHasAPIKeys() + func (f *OrganizationFilter) WhereHasAPIKeysWith(preds ...predicate.APIKey) + func (f *OrganizationFilter) WhereHasInvites() + func (f *OrganizationFilter) WhereHasInvitesWith(preds ...predicate.Invite) + func (f *OrganizationFilter) WhereHasLicenses() + func (f *OrganizationFilter) WhereHasLicensesWith(preds ...predicate.License) + func (f *OrganizationFilter) WhereHasListings() + func (f *OrganizationFilter) WhereHasListingsWith(preds ...predicate.Listing) + func (f *OrganizationFilter) WhereHasMemberships() + func (f *OrganizationFilter) WhereHasMembershipsWith(preds ...predicate.Membership) + func (f *OrganizationFilter) WhereHasOauthApps() + func (f *OrganizationFilter) WhereHasOauthAppsWith(preds ...predicate.OAuthApp) + func (f *OrganizationFilter) WhereHasOwner() + func (f *OrganizationFilter) WhereHasOwnerWith(preds ...predicate.Principal) + func (f *OrganizationFilter) WhereHasPrincipalMemberships() + func (f *OrganizationFilter) WhereHasPrincipalMembershipsWith(preds ...predicate.PrincipalMembership) + func (f *OrganizationFilter) WhereHasPrincipals() + func (f *OrganizationFilter) WhereHasPrincipalsWith(preds ...predicate.Principal) + func (f *OrganizationFilter) WhereHasServiceAccounts() + func (f *OrganizationFilter) WhereHasServiceAccountsWith(preds ...predicate.ServiceAccount) + func (f *OrganizationFilter) WhereHasSubscription() + func (f *OrganizationFilter) WhereHasSubscriptionWith(preds ...predicate.Subscription) + func (f *OrganizationFilter) WhereID(p entql.ValueP) + func (f *OrganizationFilter) WhereLogoURL(p entql.StringP) + func (f *OrganizationFilter) WhereName(p entql.StringP) + func (f *OrganizationFilter) WhereOrgType(p entql.StringP) + func (f *OrganizationFilter) WhereOwnerPrincipalID(p entql.ValueP) + func (f *OrganizationFilter) WherePlan(p entql.StringP) + func (f *OrganizationFilter) WhereSettings(p entql.BytesP) + func (f *OrganizationFilter) WhereSlug(p entql.StringP) + func (f *OrganizationFilter) WhereUpdatedAt(p entql.TimeP) + func (f *OrganizationFilter) WhereWebsiteURL(p entql.StringP) + type OrganizationGroupBy struct + func (_g *OrganizationGroupBy) Aggregate(fns ...AggregateFunc) *OrganizationGroupBy + func (_g *OrganizationGroupBy) Scan(ctx context.Context, v any) error + func (s *OrganizationGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *OrganizationGroupBy) BoolX(ctx context.Context) bool + func (s *OrganizationGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *OrganizationGroupBy) BoolsX(ctx context.Context) []bool + func (s *OrganizationGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *OrganizationGroupBy) Float64X(ctx context.Context) float64 + func (s *OrganizationGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *OrganizationGroupBy) Float64sX(ctx context.Context) []float64 + func (s *OrganizationGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *OrganizationGroupBy) IntX(ctx context.Context) int + func (s *OrganizationGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *OrganizationGroupBy) IntsX(ctx context.Context) []int + func (s *OrganizationGroupBy) ScanX(ctx context.Context, v any) + func (s *OrganizationGroupBy) String(ctx context.Context) (_ string, err error) + func (s *OrganizationGroupBy) StringX(ctx context.Context) string + func (s *OrganizationGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *OrganizationGroupBy) StringsX(ctx context.Context) []string + type OrganizationMutation struct + func (m *OrganizationMutation) APIKeysCleared() bool + func (m *OrganizationMutation) APIKeysIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) Active() (r bool, exists bool) + func (m *OrganizationMutation) AddAPIKeyIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) AddField(name string, value ent.Value) error + func (m *OrganizationMutation) AddInviteIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) AddLicenseIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) AddListingIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) AddMembershipIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) AddOauthAppIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) AddPrincipalIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) AddPrincipalMembershipIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) AddServiceAccountIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) AddedEdges() []string + func (m *OrganizationMutation) AddedField(name string) (ent.Value, bool) + func (m *OrganizationMutation) AddedFields() []string + func (m *OrganizationMutation) AddedIDs(name string) []ent.Value + func (m *OrganizationMutation) ClearAPIKeys() + func (m *OrganizationMutation) ClearDescription() + func (m *OrganizationMutation) ClearEdge(name string) error + func (m *OrganizationMutation) ClearField(name string) error + func (m *OrganizationMutation) ClearInvites() + func (m *OrganizationMutation) ClearLicenses() + func (m *OrganizationMutation) ClearListings() + func (m *OrganizationMutation) ClearLogoURL() + func (m *OrganizationMutation) ClearMemberships() + func (m *OrganizationMutation) ClearOauthApps() + func (m *OrganizationMutation) ClearOwner() + func (m *OrganizationMutation) ClearOwnerPrincipalID() + func (m *OrganizationMutation) ClearPrincipalMemberships() + func (m *OrganizationMutation) ClearPrincipals() + func (m *OrganizationMutation) ClearServiceAccounts() + func (m *OrganizationMutation) ClearSettings() + func (m *OrganizationMutation) ClearSubscription() + func (m *OrganizationMutation) ClearWebsiteURL() + func (m *OrganizationMutation) ClearedEdges() []string + func (m *OrganizationMutation) ClearedFields() []string + func (m *OrganizationMutation) CreatedAt() (r time.Time, exists bool) + func (m *OrganizationMutation) Description() (r string, exists bool) + func (m *OrganizationMutation) DescriptionCleared() bool + func (m *OrganizationMutation) EdgeCleared(name string) bool + func (m *OrganizationMutation) Field(name string) (ent.Value, bool) + func (m *OrganizationMutation) FieldCleared(name string) bool + func (m *OrganizationMutation) Fields() []string + func (m *OrganizationMutation) Filter() *OrganizationFilter + func (m *OrganizationMutation) ID() (id uuid.UUID, exists bool) + func (m *OrganizationMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *OrganizationMutation) InvitesCleared() bool + func (m *OrganizationMutation) InvitesIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) LicensesCleared() bool + func (m *OrganizationMutation) LicensesIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) ListingsCleared() bool + func (m *OrganizationMutation) ListingsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) LogoURL() (r string, exists bool) + func (m *OrganizationMutation) LogoURLCleared() bool + func (m *OrganizationMutation) MembershipsCleared() bool + func (m *OrganizationMutation) MembershipsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) Name() (r string, exists bool) + func (m *OrganizationMutation) OauthAppsCleared() bool + func (m *OrganizationMutation) OauthAppsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *OrganizationMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *OrganizationMutation) OldDescription(ctx context.Context) (v *string, err error) + func (m *OrganizationMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *OrganizationMutation) OldLogoURL(ctx context.Context) (v *string, err error) + func (m *OrganizationMutation) OldName(ctx context.Context) (v string, err error) + func (m *OrganizationMutation) OldOrgType(ctx context.Context) (v organization.OrgType, err error) + func (m *OrganizationMutation) OldOwnerPrincipalID(ctx context.Context) (v *uuid.UUID, err error) + func (m *OrganizationMutation) OldPlan(ctx context.Context) (v organization.Plan, err error) + func (m *OrganizationMutation) OldSettings(ctx context.Context) (v map[string]interface{}, err error) + func (m *OrganizationMutation) OldSlug(ctx context.Context) (v string, err error) + func (m *OrganizationMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *OrganizationMutation) OldWebsiteURL(ctx context.Context) (v *string, err error) + func (m *OrganizationMutation) Op() Op + func (m *OrganizationMutation) OrgType() (r organization.OrgType, exists bool) + func (m *OrganizationMutation) OwnerCleared() bool + func (m *OrganizationMutation) OwnerID() (id uuid.UUID, exists bool) + func (m *OrganizationMutation) OwnerIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) OwnerPrincipalID() (r uuid.UUID, exists bool) + func (m *OrganizationMutation) OwnerPrincipalIDCleared() bool + func (m *OrganizationMutation) Plan() (r organization.Plan, exists bool) + func (m *OrganizationMutation) PrincipalMembershipsCleared() bool + func (m *OrganizationMutation) PrincipalMembershipsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) PrincipalsCleared() bool + func (m *OrganizationMutation) PrincipalsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) RemoveAPIKeyIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) RemoveInviteIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) RemoveLicenseIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) RemoveListingIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) RemoveMembershipIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) RemoveOauthAppIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) RemovePrincipalIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) RemovePrincipalMembershipIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) RemoveServiceAccountIDs(ids ...uuid.UUID) + func (m *OrganizationMutation) RemovedAPIKeysIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) RemovedEdges() []string + func (m *OrganizationMutation) RemovedIDs(name string) []ent.Value + func (m *OrganizationMutation) RemovedInvitesIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) RemovedLicensesIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) RemovedListingsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) RemovedMembershipsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) RemovedOauthAppsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) RemovedPrincipalMembershipsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) RemovedPrincipalsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) RemovedServiceAccountsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) ResetAPIKeys() + func (m *OrganizationMutation) ResetActive() + func (m *OrganizationMutation) ResetCreatedAt() + func (m *OrganizationMutation) ResetDescription() + func (m *OrganizationMutation) ResetEdge(name string) error + func (m *OrganizationMutation) ResetField(name string) error + func (m *OrganizationMutation) ResetInvites() + func (m *OrganizationMutation) ResetLicenses() + func (m *OrganizationMutation) ResetListings() + func (m *OrganizationMutation) ResetLogoURL() + func (m *OrganizationMutation) ResetMemberships() + func (m *OrganizationMutation) ResetName() + func (m *OrganizationMutation) ResetOauthApps() + func (m *OrganizationMutation) ResetOrgType() + func (m *OrganizationMutation) ResetOwner() + func (m *OrganizationMutation) ResetOwnerPrincipalID() + func (m *OrganizationMutation) ResetPlan() + func (m *OrganizationMutation) ResetPrincipalMemberships() + func (m *OrganizationMutation) ResetPrincipals() + func (m *OrganizationMutation) ResetServiceAccounts() + func (m *OrganizationMutation) ResetSettings() + func (m *OrganizationMutation) ResetSlug() + func (m *OrganizationMutation) ResetSubscription() + func (m *OrganizationMutation) ResetUpdatedAt() + func (m *OrganizationMutation) ResetWebsiteURL() + func (m *OrganizationMutation) ServiceAccountsCleared() bool + func (m *OrganizationMutation) ServiceAccountsIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) SetActive(b bool) + func (m *OrganizationMutation) SetCreatedAt(t time.Time) + func (m *OrganizationMutation) SetDescription(s string) + func (m *OrganizationMutation) SetField(name string, value ent.Value) error + func (m *OrganizationMutation) SetID(id uuid.UUID) + func (m *OrganizationMutation) SetLogoURL(s string) + func (m *OrganizationMutation) SetName(s string) + func (m *OrganizationMutation) SetOp(op Op) + func (m *OrganizationMutation) SetOrgType(ot organization.OrgType) + func (m *OrganizationMutation) SetOwnerID(id uuid.UUID) + func (m *OrganizationMutation) SetOwnerPrincipalID(u uuid.UUID) + func (m *OrganizationMutation) SetPlan(o organization.Plan) + func (m *OrganizationMutation) SetSettings(value map[string]interface{}) + func (m *OrganizationMutation) SetSlug(s string) + func (m *OrganizationMutation) SetSubscriptionID(id uuid.UUID) + func (m *OrganizationMutation) SetUpdatedAt(t time.Time) + func (m *OrganizationMutation) SetWebsiteURL(s string) + func (m *OrganizationMutation) Settings() (r map[string]interface{}, exists bool) + func (m *OrganizationMutation) SettingsCleared() bool + func (m *OrganizationMutation) Slug() (r string, exists bool) + func (m *OrganizationMutation) SubscriptionCleared() bool + func (m *OrganizationMutation) SubscriptionID() (id uuid.UUID, exists bool) + func (m *OrganizationMutation) SubscriptionIDs() (ids []uuid.UUID) + func (m *OrganizationMutation) Type() string + func (m *OrganizationMutation) UpdatedAt() (r time.Time, exists bool) + func (m *OrganizationMutation) WebsiteURL() (r string, exists bool) + func (m *OrganizationMutation) WebsiteURLCleared() bool + func (m *OrganizationMutation) Where(ps ...predicate.Organization) + func (m *OrganizationMutation) WhereP(ps ...func(*sql.Selector)) + func (m OrganizationMutation) Client() *Client + func (m OrganizationMutation) Tx() (*Tx, error) + type OrganizationQuery struct + func (_q *OrganizationQuery) Aggregate(fns ...AggregateFunc) *OrganizationSelect + func (_q *OrganizationQuery) All(ctx context.Context) ([]*Organization, error) + func (_q *OrganizationQuery) AllX(ctx context.Context) []*Organization + func (_q *OrganizationQuery) Clone() *OrganizationQuery + func (_q *OrganizationQuery) Count(ctx context.Context) (int, error) + func (_q *OrganizationQuery) CountX(ctx context.Context) int + func (_q *OrganizationQuery) Exist(ctx context.Context) (bool, error) + func (_q *OrganizationQuery) ExistX(ctx context.Context) bool + func (_q *OrganizationQuery) Filter() *OrganizationFilter + func (_q *OrganizationQuery) First(ctx context.Context) (*Organization, error) + func (_q *OrganizationQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OrganizationQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *OrganizationQuery) FirstX(ctx context.Context) *Organization + func (_q *OrganizationQuery) GroupBy(field string, fields ...string) *OrganizationGroupBy + func (_q *OrganizationQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *OrganizationQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *OrganizationQuery) Limit(limit int) *OrganizationQuery + func (_q *OrganizationQuery) Offset(offset int) *OrganizationQuery + func (_q *OrganizationQuery) Only(ctx context.Context) (*Organization, error) + func (_q *OrganizationQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *OrganizationQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *OrganizationQuery) OnlyX(ctx context.Context) *Organization + func (_q *OrganizationQuery) Order(o ...organization.OrderOption) *OrganizationQuery + func (_q *OrganizationQuery) QueryAPIKeys() *APIKeyQuery + func (_q *OrganizationQuery) QueryInvites() *InviteQuery + func (_q *OrganizationQuery) QueryLicenses() *LicenseQuery + func (_q *OrganizationQuery) QueryListings() *ListingQuery + func (_q *OrganizationQuery) QueryMemberships() *MembershipQuery + func (_q *OrganizationQuery) QueryOauthApps() *OAuthAppQuery + func (_q *OrganizationQuery) QueryOwner() *PrincipalQuery + func (_q *OrganizationQuery) QueryPrincipalMemberships() *PrincipalMembershipQuery + func (_q *OrganizationQuery) QueryPrincipals() *PrincipalQuery + func (_q *OrganizationQuery) QueryServiceAccounts() *ServiceAccountQuery + func (_q *OrganizationQuery) QuerySubscription() *SubscriptionQuery + func (_q *OrganizationQuery) Select(fields ...string) *OrganizationSelect + func (_q *OrganizationQuery) Unique(unique bool) *OrganizationQuery + func (_q *OrganizationQuery) Where(ps ...predicate.Organization) *OrganizationQuery + func (_q *OrganizationQuery) WithAPIKeys(opts ...func(*APIKeyQuery)) *OrganizationQuery + func (_q *OrganizationQuery) WithInvites(opts ...func(*InviteQuery)) *OrganizationQuery + func (_q *OrganizationQuery) WithLicenses(opts ...func(*LicenseQuery)) *OrganizationQuery + func (_q *OrganizationQuery) WithListings(opts ...func(*ListingQuery)) *OrganizationQuery + func (_q *OrganizationQuery) WithMemberships(opts ...func(*MembershipQuery)) *OrganizationQuery + func (_q *OrganizationQuery) WithOauthApps(opts ...func(*OAuthAppQuery)) *OrganizationQuery + func (_q *OrganizationQuery) WithOwner(opts ...func(*PrincipalQuery)) *OrganizationQuery + func (_q *OrganizationQuery) WithPrincipalMemberships(opts ...func(*PrincipalMembershipQuery)) *OrganizationQuery + func (_q *OrganizationQuery) WithPrincipals(opts ...func(*PrincipalQuery)) *OrganizationQuery + func (_q *OrganizationQuery) WithServiceAccounts(opts ...func(*ServiceAccountQuery)) *OrganizationQuery + func (_q *OrganizationQuery) WithSubscription(opts ...func(*SubscriptionQuery)) *OrganizationQuery + type OrganizationSelect struct + func (_s *OrganizationSelect) Aggregate(fns ...AggregateFunc) *OrganizationSelect + func (_s *OrganizationSelect) Scan(ctx context.Context, v any) error + func (s *OrganizationSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *OrganizationSelect) BoolX(ctx context.Context) bool + func (s *OrganizationSelect) Bools(ctx context.Context) ([]bool, error) + func (s *OrganizationSelect) BoolsX(ctx context.Context) []bool + func (s *OrganizationSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *OrganizationSelect) Float64X(ctx context.Context) float64 + func (s *OrganizationSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *OrganizationSelect) Float64sX(ctx context.Context) []float64 + func (s *OrganizationSelect) Int(ctx context.Context) (_ int, err error) + func (s *OrganizationSelect) IntX(ctx context.Context) int + func (s *OrganizationSelect) Ints(ctx context.Context) ([]int, error) + func (s *OrganizationSelect) IntsX(ctx context.Context) []int + func (s *OrganizationSelect) ScanX(ctx context.Context, v any) + func (s *OrganizationSelect) String(ctx context.Context) (_ string, err error) + func (s *OrganizationSelect) StringX(ctx context.Context) string + func (s *OrganizationSelect) Strings(ctx context.Context) ([]string, error) + func (s *OrganizationSelect) StringsX(ctx context.Context) []string + type OrganizationUpdate struct + func (_u *OrganizationUpdate) AddAPIKeyIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) AddAPIKeys(v ...*APIKey) *OrganizationUpdate + func (_u *OrganizationUpdate) AddInviteIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) AddInvites(v ...*Invite) *OrganizationUpdate + func (_u *OrganizationUpdate) AddLicenseIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) AddLicenses(v ...*License) *OrganizationUpdate + func (_u *OrganizationUpdate) AddListingIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) AddListings(v ...*Listing) *OrganizationUpdate + func (_u *OrganizationUpdate) AddMembershipIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) AddMemberships(v ...*Membership) *OrganizationUpdate + func (_u *OrganizationUpdate) AddOauthAppIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) AddOauthApps(v ...*OAuthApp) *OrganizationUpdate + func (_u *OrganizationUpdate) AddPrincipalIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) AddPrincipalMembershipIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) AddPrincipalMemberships(v ...*PrincipalMembership) *OrganizationUpdate + func (_u *OrganizationUpdate) AddPrincipals(v ...*Principal) *OrganizationUpdate + func (_u *OrganizationUpdate) AddServiceAccountIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) AddServiceAccounts(v ...*ServiceAccount) *OrganizationUpdate + func (_u *OrganizationUpdate) ClearAPIKeys() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearDescription() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearInvites() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearLicenses() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearListings() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearLogoURL() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearMemberships() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearOauthApps() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearOwner() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearOwnerPrincipalID() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearPrincipalMemberships() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearPrincipals() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearServiceAccounts() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearSettings() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearSubscription() *OrganizationUpdate + func (_u *OrganizationUpdate) ClearWebsiteURL() *OrganizationUpdate + func (_u *OrganizationUpdate) Exec(ctx context.Context) error + func (_u *OrganizationUpdate) ExecX(ctx context.Context) + func (_u *OrganizationUpdate) Mutation() *OrganizationMutation + func (_u *OrganizationUpdate) RemoveAPIKeyIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveAPIKeys(v ...*APIKey) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveInviteIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveInvites(v ...*Invite) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveLicenseIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveLicenses(v ...*License) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveListingIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveListings(v ...*Listing) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveMembershipIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveMemberships(v ...*Membership) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveOauthAppIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveOauthApps(v ...*OAuthApp) *OrganizationUpdate + func (_u *OrganizationUpdate) RemovePrincipalIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) RemovePrincipalMembershipIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) RemovePrincipalMemberships(v ...*PrincipalMembership) *OrganizationUpdate + func (_u *OrganizationUpdate) RemovePrincipals(v ...*Principal) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveServiceAccountIDs(ids ...uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) RemoveServiceAccounts(v ...*ServiceAccount) *OrganizationUpdate + func (_u *OrganizationUpdate) Save(ctx context.Context) (int, error) + func (_u *OrganizationUpdate) SaveX(ctx context.Context) int + func (_u *OrganizationUpdate) SetActive(v bool) *OrganizationUpdate + func (_u *OrganizationUpdate) SetDescription(v string) *OrganizationUpdate + func (_u *OrganizationUpdate) SetLogoURL(v string) *OrganizationUpdate + func (_u *OrganizationUpdate) SetName(v string) *OrganizationUpdate + func (_u *OrganizationUpdate) SetNillableActive(v *bool) *OrganizationUpdate + func (_u *OrganizationUpdate) SetNillableDescription(v *string) *OrganizationUpdate + func (_u *OrganizationUpdate) SetNillableLogoURL(v *string) *OrganizationUpdate + func (_u *OrganizationUpdate) SetNillableName(v *string) *OrganizationUpdate + func (_u *OrganizationUpdate) SetNillableOrgType(v *organization.OrgType) *OrganizationUpdate + func (_u *OrganizationUpdate) SetNillableOwnerID(id *uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) SetNillableOwnerPrincipalID(v *uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) SetNillablePlan(v *organization.Plan) *OrganizationUpdate + func (_u *OrganizationUpdate) SetNillableSlug(v *string) *OrganizationUpdate + func (_u *OrganizationUpdate) SetNillableSubscriptionID(id *uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) SetNillableWebsiteURL(v *string) *OrganizationUpdate + func (_u *OrganizationUpdate) SetOrgType(v organization.OrgType) *OrganizationUpdate + func (_u *OrganizationUpdate) SetOwner(v *Principal) *OrganizationUpdate + func (_u *OrganizationUpdate) SetOwnerID(id uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) SetOwnerPrincipalID(v uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) SetPlan(v organization.Plan) *OrganizationUpdate + func (_u *OrganizationUpdate) SetSettings(v map[string]interface{}) *OrganizationUpdate + func (_u *OrganizationUpdate) SetSlug(v string) *OrganizationUpdate + func (_u *OrganizationUpdate) SetSubscription(v *Subscription) *OrganizationUpdate + func (_u *OrganizationUpdate) SetSubscriptionID(id uuid.UUID) *OrganizationUpdate + func (_u *OrganizationUpdate) SetUpdatedAt(v time.Time) *OrganizationUpdate + func (_u *OrganizationUpdate) SetWebsiteURL(v string) *OrganizationUpdate + func (_u *OrganizationUpdate) Where(ps ...predicate.Organization) *OrganizationUpdate + type OrganizationUpdateOne struct + func (_u *OrganizationUpdateOne) AddAPIKeyIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddAPIKeys(v ...*APIKey) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddInviteIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddInvites(v ...*Invite) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddLicenseIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddLicenses(v ...*License) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddListingIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddListings(v ...*Listing) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddMembershipIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddMemberships(v ...*Membership) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddOauthAppIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddOauthApps(v ...*OAuthApp) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddPrincipalIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddPrincipalMembershipIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddPrincipalMemberships(v ...*PrincipalMembership) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddPrincipals(v ...*Principal) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddServiceAccountIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) AddServiceAccounts(v ...*ServiceAccount) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearAPIKeys() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearDescription() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearInvites() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearLicenses() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearListings() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearLogoURL() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearMemberships() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearOauthApps() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearOwner() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearOwnerPrincipalID() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearPrincipalMemberships() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearPrincipals() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearServiceAccounts() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearSettings() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearSubscription() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) ClearWebsiteURL() *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) Exec(ctx context.Context) error + func (_u *OrganizationUpdateOne) ExecX(ctx context.Context) + func (_u *OrganizationUpdateOne) Mutation() *OrganizationMutation + func (_u *OrganizationUpdateOne) RemoveAPIKeyIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveAPIKeys(v ...*APIKey) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveInviteIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveInvites(v ...*Invite) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveLicenseIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveLicenses(v ...*License) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveListingIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveListings(v ...*Listing) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveMembershipIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveMemberships(v ...*Membership) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveOauthAppIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveOauthApps(v ...*OAuthApp) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemovePrincipalIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemovePrincipalMembershipIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemovePrincipalMemberships(v ...*PrincipalMembership) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemovePrincipals(v ...*Principal) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveServiceAccountIDs(ids ...uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) RemoveServiceAccounts(v ...*ServiceAccount) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) Save(ctx context.Context) (*Organization, error) + func (_u *OrganizationUpdateOne) SaveX(ctx context.Context) *Organization + func (_u *OrganizationUpdateOne) Select(field string, fields ...string) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetActive(v bool) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetDescription(v string) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetLogoURL(v string) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetName(v string) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetNillableActive(v *bool) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetNillableDescription(v *string) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetNillableLogoURL(v *string) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetNillableName(v *string) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetNillableOrgType(v *organization.OrgType) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetNillableOwnerID(id *uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetNillableOwnerPrincipalID(v *uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetNillablePlan(v *organization.Plan) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetNillableSlug(v *string) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetNillableSubscriptionID(id *uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetNillableWebsiteURL(v *string) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetOrgType(v organization.OrgType) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetOwner(v *Principal) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetOwnerID(id uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetOwnerPrincipalID(v uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetPlan(v organization.Plan) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetSettings(v map[string]interface{}) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetSlug(v string) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetSubscription(v *Subscription) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetSubscriptionID(id uuid.UUID) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetUpdatedAt(v time.Time) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) SetWebsiteURL(v string) *OrganizationUpdateOne + func (_u *OrganizationUpdateOne) Where(ps ...predicate.Organization) *OrganizationUpdateOne + type OrganizationUpsert struct + func (u *OrganizationUpsert) ClearDescription() *OrganizationUpsert + func (u *OrganizationUpsert) ClearLogoURL() *OrganizationUpsert + func (u *OrganizationUpsert) ClearOwnerPrincipalID() *OrganizationUpsert + func (u *OrganizationUpsert) ClearSettings() *OrganizationUpsert + func (u *OrganizationUpsert) ClearWebsiteURL() *OrganizationUpsert + func (u *OrganizationUpsert) SetActive(v bool) *OrganizationUpsert + func (u *OrganizationUpsert) SetDescription(v string) *OrganizationUpsert + func (u *OrganizationUpsert) SetLogoURL(v string) *OrganizationUpsert + func (u *OrganizationUpsert) SetName(v string) *OrganizationUpsert + func (u *OrganizationUpsert) SetOrgType(v organization.OrgType) *OrganizationUpsert + func (u *OrganizationUpsert) SetOwnerPrincipalID(v uuid.UUID) *OrganizationUpsert + func (u *OrganizationUpsert) SetPlan(v organization.Plan) *OrganizationUpsert + func (u *OrganizationUpsert) SetSettings(v map[string]interface{}) *OrganizationUpsert + func (u *OrganizationUpsert) SetSlug(v string) *OrganizationUpsert + func (u *OrganizationUpsert) SetUpdatedAt(v time.Time) *OrganizationUpsert + func (u *OrganizationUpsert) SetWebsiteURL(v string) *OrganizationUpsert + func (u *OrganizationUpsert) UpdateActive() *OrganizationUpsert + func (u *OrganizationUpsert) UpdateDescription() *OrganizationUpsert + func (u *OrganizationUpsert) UpdateLogoURL() *OrganizationUpsert + func (u *OrganizationUpsert) UpdateName() *OrganizationUpsert + func (u *OrganizationUpsert) UpdateOrgType() *OrganizationUpsert + func (u *OrganizationUpsert) UpdateOwnerPrincipalID() *OrganizationUpsert + func (u *OrganizationUpsert) UpdatePlan() *OrganizationUpsert + func (u *OrganizationUpsert) UpdateSettings() *OrganizationUpsert + func (u *OrganizationUpsert) UpdateSlug() *OrganizationUpsert + func (u *OrganizationUpsert) UpdateUpdatedAt() *OrganizationUpsert + func (u *OrganizationUpsert) UpdateWebsiteURL() *OrganizationUpsert + type OrganizationUpsertBulk struct + func (u *OrganizationUpsertBulk) ClearDescription() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) ClearLogoURL() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) ClearOwnerPrincipalID() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) ClearSettings() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) ClearWebsiteURL() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) DoNothing() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) Exec(ctx context.Context) error + func (u *OrganizationUpsertBulk) ExecX(ctx context.Context) + func (u *OrganizationUpsertBulk) Ignore() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetActive(v bool) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetDescription(v string) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetLogoURL(v string) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetName(v string) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetOrgType(v organization.OrgType) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetOwnerPrincipalID(v uuid.UUID) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetPlan(v organization.Plan) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetSettings(v map[string]interface{}) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetSlug(v string) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetUpdatedAt(v time.Time) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) SetWebsiteURL(v string) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) Update(set func(*OrganizationUpsert)) *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateActive() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateDescription() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateLogoURL() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateName() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateNewValues() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateOrgType() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateOwnerPrincipalID() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdatePlan() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateSettings() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateSlug() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateUpdatedAt() *OrganizationUpsertBulk + func (u *OrganizationUpsertBulk) UpdateWebsiteURL() *OrganizationUpsertBulk + type OrganizationUpsertOne struct + func (u *OrganizationUpsertOne) ClearDescription() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) ClearLogoURL() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) ClearOwnerPrincipalID() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) ClearSettings() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) ClearWebsiteURL() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) DoNothing() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) Exec(ctx context.Context) error + func (u *OrganizationUpsertOne) ExecX(ctx context.Context) + func (u *OrganizationUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *OrganizationUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *OrganizationUpsertOne) Ignore() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetActive(v bool) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetDescription(v string) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetLogoURL(v string) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetName(v string) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetOrgType(v organization.OrgType) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetOwnerPrincipalID(v uuid.UUID) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetPlan(v organization.Plan) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetSettings(v map[string]interface{}) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetSlug(v string) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetUpdatedAt(v time.Time) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) SetWebsiteURL(v string) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) Update(set func(*OrganizationUpsert)) *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateActive() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateDescription() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateLogoURL() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateName() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateNewValues() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateOrgType() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateOwnerPrincipalID() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdatePlan() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateSettings() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateSlug() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateUpdatedAt() *OrganizationUpsertOne + func (u *OrganizationUpsertOne) UpdateWebsiteURL() *OrganizationUpsertOne + type Organizations []*Organization + type Policy = ent.Policy + type Principal struct + Active bool + AllowedScopes []string + Capabilities map[string]bool + CreatedAt time.Time + DisplayName string + Edges PrincipalEdges + ID uuid.UUID + Identifier string + Metadata map[string]interface{} + OrganizationID *uuid.UUID + Type principal.Type + UpdatedAt time.Time + func (_m *Principal) QueryAgent() *AgentQuery + func (_m *Principal) QueryApplication() *ApplicationQuery + func (_m *Principal) QueryAssignedSeats() *SeatAssignmentQuery + func (_m *Principal) QueryCredentials() *CredentialQuery + func (_m *Principal) QueryHuman() *HumanQuery + func (_m *Principal) QueryOrganization() *OrganizationQuery + func (_m *Principal) QueryOwnedListings() *ListingQuery + func (_m *Principal) QueryOwnedOrganizations() *OrganizationQuery + func (_m *Principal) QueryPrincipalMemberships() *PrincipalMembershipQuery + func (_m *Principal) QueryPrincipalTokens() *PrincipalTokenQuery + func (_m *Principal) QueryPurchasedLicenses() *LicenseQuery + func (_m *Principal) QuerySeatAssignments() *SeatAssignmentQuery + func (_m *Principal) QuerySentInvites() *InviteQuery + func (_m *Principal) QueryServicePrincipal() *ServicePrincipalQuery + func (_m *Principal) String() string + func (_m *Principal) Unwrap() *Principal + func (_m *Principal) Update() *PrincipalUpdateOne + func (_m *Principal) Value(name string) (ent.Value, error) + type PrincipalClient struct + func NewPrincipalClient(c config) *PrincipalClient + func (c *PrincipalClient) Create() *PrincipalCreate + func (c *PrincipalClient) CreateBulk(builders ...*PrincipalCreate) *PrincipalCreateBulk + func (c *PrincipalClient) Delete() *PrincipalDelete + func (c *PrincipalClient) DeleteOne(_m *Principal) *PrincipalDeleteOne + func (c *PrincipalClient) DeleteOneID(id uuid.UUID) *PrincipalDeleteOne + func (c *PrincipalClient) Get(ctx context.Context, id uuid.UUID) (*Principal, error) + func (c *PrincipalClient) GetX(ctx context.Context, id uuid.UUID) *Principal + func (c *PrincipalClient) Hooks() []Hook + func (c *PrincipalClient) Intercept(interceptors ...Interceptor) + func (c *PrincipalClient) Interceptors() []Interceptor + func (c *PrincipalClient) MapCreateBulk(slice any, setFunc func(*PrincipalCreate, int)) *PrincipalCreateBulk + func (c *PrincipalClient) Query() *PrincipalQuery + func (c *PrincipalClient) QueryAgent(_m *Principal) *AgentQuery + func (c *PrincipalClient) QueryApplication(_m *Principal) *ApplicationQuery + func (c *PrincipalClient) QueryAssignedSeats(_m *Principal) *SeatAssignmentQuery + func (c *PrincipalClient) QueryCredentials(_m *Principal) *CredentialQuery + func (c *PrincipalClient) QueryHuman(_m *Principal) *HumanQuery + func (c *PrincipalClient) QueryOrganization(_m *Principal) *OrganizationQuery + func (c *PrincipalClient) QueryOwnedListings(_m *Principal) *ListingQuery + func (c *PrincipalClient) QueryOwnedOrganizations(_m *Principal) *OrganizationQuery + func (c *PrincipalClient) QueryPrincipalMemberships(_m *Principal) *PrincipalMembershipQuery + func (c *PrincipalClient) QueryPrincipalTokens(_m *Principal) *PrincipalTokenQuery + func (c *PrincipalClient) QueryPurchasedLicenses(_m *Principal) *LicenseQuery + func (c *PrincipalClient) QuerySeatAssignments(_m *Principal) *SeatAssignmentQuery + func (c *PrincipalClient) QuerySentInvites(_m *Principal) *InviteQuery + func (c *PrincipalClient) QueryServicePrincipal(_m *Principal) *ServicePrincipalQuery + func (c *PrincipalClient) Update() *PrincipalUpdate + func (c *PrincipalClient) UpdateOne(_m *Principal) *PrincipalUpdateOne + func (c *PrincipalClient) UpdateOneID(id uuid.UUID) *PrincipalUpdateOne + func (c *PrincipalClient) Use(hooks ...Hook) + type PrincipalCreate struct + func (_c *PrincipalCreate) AddAssignedSeatIDs(ids ...uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) AddAssignedSeats(v ...*SeatAssignment) *PrincipalCreate + func (_c *PrincipalCreate) AddCredentialIDs(ids ...uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) AddCredentials(v ...*Credential) *PrincipalCreate + func (_c *PrincipalCreate) AddOwnedListingIDs(ids ...uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) AddOwnedListings(v ...*Listing) *PrincipalCreate + func (_c *PrincipalCreate) AddOwnedOrganizationIDs(ids ...uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) AddOwnedOrganizations(v ...*Organization) *PrincipalCreate + func (_c *PrincipalCreate) AddPrincipalMembershipIDs(ids ...uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) AddPrincipalMemberships(v ...*PrincipalMembership) *PrincipalCreate + func (_c *PrincipalCreate) AddPrincipalTokenIDs(ids ...uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) AddPrincipalTokens(v ...*PrincipalToken) *PrincipalCreate + func (_c *PrincipalCreate) AddPurchasedLicenseIDs(ids ...uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) AddPurchasedLicenses(v ...*License) *PrincipalCreate + func (_c *PrincipalCreate) AddSeatAssignmentIDs(ids ...uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) AddSeatAssignments(v ...*SeatAssignment) *PrincipalCreate + func (_c *PrincipalCreate) AddSentInviteIDs(ids ...uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) AddSentInvites(v ...*Invite) *PrincipalCreate + func (_c *PrincipalCreate) Exec(ctx context.Context) error + func (_c *PrincipalCreate) ExecX(ctx context.Context) + func (_c *PrincipalCreate) Mutation() *PrincipalMutation + func (_c *PrincipalCreate) OnConflict(opts ...sql.ConflictOption) *PrincipalUpsertOne + func (_c *PrincipalCreate) OnConflictColumns(columns ...string) *PrincipalUpsertOne + func (_c *PrincipalCreate) Save(ctx context.Context) (*Principal, error) + func (_c *PrincipalCreate) SaveX(ctx context.Context) *Principal + func (_c *PrincipalCreate) SetActive(v bool) *PrincipalCreate + func (_c *PrincipalCreate) SetAgent(v *Agent) *PrincipalCreate + func (_c *PrincipalCreate) SetAgentID(id uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetAllowedScopes(v []string) *PrincipalCreate + func (_c *PrincipalCreate) SetApplication(v *Application) *PrincipalCreate + func (_c *PrincipalCreate) SetApplicationID(id uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetCapabilities(v map[string]bool) *PrincipalCreate + func (_c *PrincipalCreate) SetCreatedAt(v time.Time) *PrincipalCreate + func (_c *PrincipalCreate) SetDisplayName(v string) *PrincipalCreate + func (_c *PrincipalCreate) SetHuman(v *Human) *PrincipalCreate + func (_c *PrincipalCreate) SetHumanID(id uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetID(v uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetIdentifier(v string) *PrincipalCreate + func (_c *PrincipalCreate) SetMetadata(v map[string]interface{}) *PrincipalCreate + func (_c *PrincipalCreate) SetNillableActive(v *bool) *PrincipalCreate + func (_c *PrincipalCreate) SetNillableAgentID(id *uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetNillableApplicationID(id *uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetNillableCreatedAt(v *time.Time) *PrincipalCreate + func (_c *PrincipalCreate) SetNillableHumanID(id *uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetNillableID(v *uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetNillableOrganizationID(v *uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetNillableServicePrincipalID(id *uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetNillableUpdatedAt(v *time.Time) *PrincipalCreate + func (_c *PrincipalCreate) SetOrganization(v *Organization) *PrincipalCreate + func (_c *PrincipalCreate) SetOrganizationID(v uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetServicePrincipal(v *ServicePrincipal) *PrincipalCreate + func (_c *PrincipalCreate) SetServicePrincipalID(id uuid.UUID) *PrincipalCreate + func (_c *PrincipalCreate) SetType(v principal.Type) *PrincipalCreate + func (_c *PrincipalCreate) SetUpdatedAt(v time.Time) *PrincipalCreate + type PrincipalCreateBulk struct + func (_c *PrincipalCreateBulk) Exec(ctx context.Context) error + func (_c *PrincipalCreateBulk) ExecX(ctx context.Context) + func (_c *PrincipalCreateBulk) OnConflict(opts ...sql.ConflictOption) *PrincipalUpsertBulk + func (_c *PrincipalCreateBulk) OnConflictColumns(columns ...string) *PrincipalUpsertBulk + func (_c *PrincipalCreateBulk) Save(ctx context.Context) ([]*Principal, error) + func (_c *PrincipalCreateBulk) SaveX(ctx context.Context) []*Principal + type PrincipalDelete struct + func (_d *PrincipalDelete) Exec(ctx context.Context) (int, error) + func (_d *PrincipalDelete) ExecX(ctx context.Context) int + func (_d *PrincipalDelete) Where(ps ...predicate.Principal) *PrincipalDelete + type PrincipalDeleteOne struct + func (_d *PrincipalDeleteOne) Exec(ctx context.Context) error + func (_d *PrincipalDeleteOne) ExecX(ctx context.Context) + func (_d *PrincipalDeleteOne) Where(ps ...predicate.Principal) *PrincipalDeleteOne + type PrincipalEdges struct + Agent *Agent + Application *Application + AssignedSeats []*SeatAssignment + Credentials []*Credential + Human *Human + Organization *Organization + OwnedListings []*Listing + OwnedOrganizations []*Organization + PrincipalMemberships []*PrincipalMembership + PrincipalTokens []*PrincipalToken + PurchasedLicenses []*License + SeatAssignments []*SeatAssignment + SentInvites []*Invite + ServicePrincipal *ServicePrincipal + func (e PrincipalEdges) AgentOrErr() (*Agent, error) + func (e PrincipalEdges) ApplicationOrErr() (*Application, error) + func (e PrincipalEdges) AssignedSeatsOrErr() ([]*SeatAssignment, error) + func (e PrincipalEdges) CredentialsOrErr() ([]*Credential, error) + func (e PrincipalEdges) HumanOrErr() (*Human, error) + func (e PrincipalEdges) OrganizationOrErr() (*Organization, error) + func (e PrincipalEdges) OwnedListingsOrErr() ([]*Listing, error) + func (e PrincipalEdges) OwnedOrganizationsOrErr() ([]*Organization, error) + func (e PrincipalEdges) PrincipalMembershipsOrErr() ([]*PrincipalMembership, error) + func (e PrincipalEdges) PrincipalTokensOrErr() ([]*PrincipalToken, error) + func (e PrincipalEdges) PurchasedLicensesOrErr() ([]*License, error) + func (e PrincipalEdges) SeatAssignmentsOrErr() ([]*SeatAssignment, error) + func (e PrincipalEdges) SentInvitesOrErr() ([]*Invite, error) + func (e PrincipalEdges) ServicePrincipalOrErr() (*ServicePrincipal, error) + type PrincipalFilter struct + func (f *PrincipalFilter) Where(p entql.P) + func (f *PrincipalFilter) WhereActive(p entql.BoolP) + func (f *PrincipalFilter) WhereAllowedScopes(p entql.BytesP) + func (f *PrincipalFilter) WhereCapabilities(p entql.BytesP) + func (f *PrincipalFilter) WhereCreatedAt(p entql.TimeP) + func (f *PrincipalFilter) WhereDisplayName(p entql.StringP) + func (f *PrincipalFilter) WhereHasAgent() + func (f *PrincipalFilter) WhereHasAgentWith(preds ...predicate.Agent) + func (f *PrincipalFilter) WhereHasApplication() + func (f *PrincipalFilter) WhereHasApplicationWith(preds ...predicate.Application) + func (f *PrincipalFilter) WhereHasAssignedSeats() + func (f *PrincipalFilter) WhereHasAssignedSeatsWith(preds ...predicate.SeatAssignment) + func (f *PrincipalFilter) WhereHasCredentials() + func (f *PrincipalFilter) WhereHasCredentialsWith(preds ...predicate.Credential) + func (f *PrincipalFilter) WhereHasHuman() + func (f *PrincipalFilter) WhereHasHumanWith(preds ...predicate.Human) + func (f *PrincipalFilter) WhereHasOrganization() + func (f *PrincipalFilter) WhereHasOrganizationWith(preds ...predicate.Organization) + func (f *PrincipalFilter) WhereHasOwnedListings() + func (f *PrincipalFilter) WhereHasOwnedListingsWith(preds ...predicate.Listing) + func (f *PrincipalFilter) WhereHasOwnedOrganizations() + func (f *PrincipalFilter) WhereHasOwnedOrganizationsWith(preds ...predicate.Organization) + func (f *PrincipalFilter) WhereHasPrincipalMemberships() + func (f *PrincipalFilter) WhereHasPrincipalMembershipsWith(preds ...predicate.PrincipalMembership) + func (f *PrincipalFilter) WhereHasPrincipalTokens() + func (f *PrincipalFilter) WhereHasPrincipalTokensWith(preds ...predicate.PrincipalToken) + func (f *PrincipalFilter) WhereHasPurchasedLicenses() + func (f *PrincipalFilter) WhereHasPurchasedLicensesWith(preds ...predicate.License) + func (f *PrincipalFilter) WhereHasSeatAssignments() + func (f *PrincipalFilter) WhereHasSeatAssignmentsWith(preds ...predicate.SeatAssignment) + func (f *PrincipalFilter) WhereHasSentInvites() + func (f *PrincipalFilter) WhereHasSentInvitesWith(preds ...predicate.Invite) + func (f *PrincipalFilter) WhereHasServicePrincipal() + func (f *PrincipalFilter) WhereHasServicePrincipalWith(preds ...predicate.ServicePrincipal) + func (f *PrincipalFilter) WhereID(p entql.ValueP) + func (f *PrincipalFilter) WhereIdentifier(p entql.StringP) + func (f *PrincipalFilter) WhereMetadata(p entql.BytesP) + func (f *PrincipalFilter) WhereOrganizationID(p entql.ValueP) + func (f *PrincipalFilter) WhereType(p entql.StringP) + func (f *PrincipalFilter) WhereUpdatedAt(p entql.TimeP) + type PrincipalGroupBy struct + func (_g *PrincipalGroupBy) Aggregate(fns ...AggregateFunc) *PrincipalGroupBy + func (_g *PrincipalGroupBy) Scan(ctx context.Context, v any) error + func (s *PrincipalGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *PrincipalGroupBy) BoolX(ctx context.Context) bool + func (s *PrincipalGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *PrincipalGroupBy) BoolsX(ctx context.Context) []bool + func (s *PrincipalGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *PrincipalGroupBy) Float64X(ctx context.Context) float64 + func (s *PrincipalGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *PrincipalGroupBy) Float64sX(ctx context.Context) []float64 + func (s *PrincipalGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *PrincipalGroupBy) IntX(ctx context.Context) int + func (s *PrincipalGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *PrincipalGroupBy) IntsX(ctx context.Context) []int + func (s *PrincipalGroupBy) ScanX(ctx context.Context, v any) + func (s *PrincipalGroupBy) String(ctx context.Context) (_ string, err error) + func (s *PrincipalGroupBy) StringX(ctx context.Context) string + func (s *PrincipalGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *PrincipalGroupBy) StringsX(ctx context.Context) []string + type PrincipalMembership struct + Active bool + CreatedAt time.Time + Edges PrincipalMembershipEdges + ID uuid.UUID + OrganizationID uuid.UUID + Permissions []string + PrincipalID uuid.UUID + Role string + UpdatedAt time.Time + func (_m *PrincipalMembership) QueryOrganization() *OrganizationQuery + func (_m *PrincipalMembership) QueryPrincipal() *PrincipalQuery + func (_m *PrincipalMembership) String() string + func (_m *PrincipalMembership) Unwrap() *PrincipalMembership + func (_m *PrincipalMembership) Update() *PrincipalMembershipUpdateOne + func (_m *PrincipalMembership) Value(name string) (ent.Value, error) + type PrincipalMembershipClient struct + func NewPrincipalMembershipClient(c config) *PrincipalMembershipClient + func (c *PrincipalMembershipClient) Create() *PrincipalMembershipCreate + func (c *PrincipalMembershipClient) CreateBulk(builders ...*PrincipalMembershipCreate) *PrincipalMembershipCreateBulk + func (c *PrincipalMembershipClient) Delete() *PrincipalMembershipDelete + func (c *PrincipalMembershipClient) DeleteOne(_m *PrincipalMembership) *PrincipalMembershipDeleteOne + func (c *PrincipalMembershipClient) DeleteOneID(id uuid.UUID) *PrincipalMembershipDeleteOne + func (c *PrincipalMembershipClient) Get(ctx context.Context, id uuid.UUID) (*PrincipalMembership, error) + func (c *PrincipalMembershipClient) GetX(ctx context.Context, id uuid.UUID) *PrincipalMembership + func (c *PrincipalMembershipClient) Hooks() []Hook + func (c *PrincipalMembershipClient) Intercept(interceptors ...Interceptor) + func (c *PrincipalMembershipClient) Interceptors() []Interceptor + func (c *PrincipalMembershipClient) MapCreateBulk(slice any, setFunc func(*PrincipalMembershipCreate, int)) *PrincipalMembershipCreateBulk + func (c *PrincipalMembershipClient) Query() *PrincipalMembershipQuery + func (c *PrincipalMembershipClient) QueryOrganization(_m *PrincipalMembership) *OrganizationQuery + func (c *PrincipalMembershipClient) QueryPrincipal(_m *PrincipalMembership) *PrincipalQuery + func (c *PrincipalMembershipClient) Update() *PrincipalMembershipUpdate + func (c *PrincipalMembershipClient) UpdateOne(_m *PrincipalMembership) *PrincipalMembershipUpdateOne + func (c *PrincipalMembershipClient) UpdateOneID(id uuid.UUID) *PrincipalMembershipUpdateOne + func (c *PrincipalMembershipClient) Use(hooks ...Hook) + type PrincipalMembershipCreate struct + func (_c *PrincipalMembershipCreate) Exec(ctx context.Context) error + func (_c *PrincipalMembershipCreate) ExecX(ctx context.Context) + func (_c *PrincipalMembershipCreate) Mutation() *PrincipalMembershipMutation + func (_c *PrincipalMembershipCreate) OnConflict(opts ...sql.ConflictOption) *PrincipalMembershipUpsertOne + func (_c *PrincipalMembershipCreate) OnConflictColumns(columns ...string) *PrincipalMembershipUpsertOne + func (_c *PrincipalMembershipCreate) Save(ctx context.Context) (*PrincipalMembership, error) + func (_c *PrincipalMembershipCreate) SaveX(ctx context.Context) *PrincipalMembership + func (_c *PrincipalMembershipCreate) SetActive(v bool) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetCreatedAt(v time.Time) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetID(v uuid.UUID) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetNillableActive(v *bool) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetNillableCreatedAt(v *time.Time) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetNillableID(v *uuid.UUID) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetNillableUpdatedAt(v *time.Time) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetOrganization(v *Organization) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetOrganizationID(v uuid.UUID) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetPermissions(v []string) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetPrincipal(v *Principal) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetPrincipalID(v uuid.UUID) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetRole(v string) *PrincipalMembershipCreate + func (_c *PrincipalMembershipCreate) SetUpdatedAt(v time.Time) *PrincipalMembershipCreate + type PrincipalMembershipCreateBulk struct + func (_c *PrincipalMembershipCreateBulk) Exec(ctx context.Context) error + func (_c *PrincipalMembershipCreateBulk) ExecX(ctx context.Context) + func (_c *PrincipalMembershipCreateBulk) OnConflict(opts ...sql.ConflictOption) *PrincipalMembershipUpsertBulk + func (_c *PrincipalMembershipCreateBulk) OnConflictColumns(columns ...string) *PrincipalMembershipUpsertBulk + func (_c *PrincipalMembershipCreateBulk) Save(ctx context.Context) ([]*PrincipalMembership, error) + func (_c *PrincipalMembershipCreateBulk) SaveX(ctx context.Context) []*PrincipalMembership + type PrincipalMembershipDelete struct + func (_d *PrincipalMembershipDelete) Exec(ctx context.Context) (int, error) + func (_d *PrincipalMembershipDelete) ExecX(ctx context.Context) int + func (_d *PrincipalMembershipDelete) Where(ps ...predicate.PrincipalMembership) *PrincipalMembershipDelete + type PrincipalMembershipDeleteOne struct + func (_d *PrincipalMembershipDeleteOne) Exec(ctx context.Context) error + func (_d *PrincipalMembershipDeleteOne) ExecX(ctx context.Context) + func (_d *PrincipalMembershipDeleteOne) Where(ps ...predicate.PrincipalMembership) *PrincipalMembershipDeleteOne + type PrincipalMembershipEdges struct + Organization *Organization + Principal *Principal + func (e PrincipalMembershipEdges) OrganizationOrErr() (*Organization, error) + func (e PrincipalMembershipEdges) PrincipalOrErr() (*Principal, error) + type PrincipalMembershipFilter struct + func (f *PrincipalMembershipFilter) Where(p entql.P) + func (f *PrincipalMembershipFilter) WhereActive(p entql.BoolP) + func (f *PrincipalMembershipFilter) WhereCreatedAt(p entql.TimeP) + func (f *PrincipalMembershipFilter) WhereHasOrganization() + func (f *PrincipalMembershipFilter) WhereHasOrganizationWith(preds ...predicate.Organization) + func (f *PrincipalMembershipFilter) WhereHasPrincipal() + func (f *PrincipalMembershipFilter) WhereHasPrincipalWith(preds ...predicate.Principal) + func (f *PrincipalMembershipFilter) WhereID(p entql.ValueP) + func (f *PrincipalMembershipFilter) WhereOrganizationID(p entql.ValueP) + func (f *PrincipalMembershipFilter) WherePermissions(p entql.BytesP) + func (f *PrincipalMembershipFilter) WherePrincipalID(p entql.ValueP) + func (f *PrincipalMembershipFilter) WhereRole(p entql.StringP) + func (f *PrincipalMembershipFilter) WhereUpdatedAt(p entql.TimeP) + type PrincipalMembershipGroupBy struct + func (_g *PrincipalMembershipGroupBy) Aggregate(fns ...AggregateFunc) *PrincipalMembershipGroupBy + func (_g *PrincipalMembershipGroupBy) Scan(ctx context.Context, v any) error + func (s *PrincipalMembershipGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *PrincipalMembershipGroupBy) BoolX(ctx context.Context) bool + func (s *PrincipalMembershipGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *PrincipalMembershipGroupBy) BoolsX(ctx context.Context) []bool + func (s *PrincipalMembershipGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *PrincipalMembershipGroupBy) Float64X(ctx context.Context) float64 + func (s *PrincipalMembershipGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *PrincipalMembershipGroupBy) Float64sX(ctx context.Context) []float64 + func (s *PrincipalMembershipGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *PrincipalMembershipGroupBy) IntX(ctx context.Context) int + func (s *PrincipalMembershipGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *PrincipalMembershipGroupBy) IntsX(ctx context.Context) []int + func (s *PrincipalMembershipGroupBy) ScanX(ctx context.Context, v any) + func (s *PrincipalMembershipGroupBy) String(ctx context.Context) (_ string, err error) + func (s *PrincipalMembershipGroupBy) StringX(ctx context.Context) string + func (s *PrincipalMembershipGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *PrincipalMembershipGroupBy) StringsX(ctx context.Context) []string + type PrincipalMembershipMutation struct + func (m *PrincipalMembershipMutation) Active() (r bool, exists bool) + func (m *PrincipalMembershipMutation) AddField(name string, value ent.Value) error + func (m *PrincipalMembershipMutation) AddedEdges() []string + func (m *PrincipalMembershipMutation) AddedField(name string) (ent.Value, bool) + func (m *PrincipalMembershipMutation) AddedFields() []string + func (m *PrincipalMembershipMutation) AddedIDs(name string) []ent.Value + func (m *PrincipalMembershipMutation) AppendPermissions(s []string) + func (m *PrincipalMembershipMutation) AppendedPermissions() ([]string, bool) + func (m *PrincipalMembershipMutation) ClearEdge(name string) error + func (m *PrincipalMembershipMutation) ClearField(name string) error + func (m *PrincipalMembershipMutation) ClearOrganization() + func (m *PrincipalMembershipMutation) ClearPermissions() + func (m *PrincipalMembershipMutation) ClearPrincipal() + func (m *PrincipalMembershipMutation) ClearedEdges() []string + func (m *PrincipalMembershipMutation) ClearedFields() []string + func (m *PrincipalMembershipMutation) CreatedAt() (r time.Time, exists bool) + func (m *PrincipalMembershipMutation) EdgeCleared(name string) bool + func (m *PrincipalMembershipMutation) Field(name string) (ent.Value, bool) + func (m *PrincipalMembershipMutation) FieldCleared(name string) bool + func (m *PrincipalMembershipMutation) Fields() []string + func (m *PrincipalMembershipMutation) Filter() *PrincipalMembershipFilter + func (m *PrincipalMembershipMutation) ID() (id uuid.UUID, exists bool) + func (m *PrincipalMembershipMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *PrincipalMembershipMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *PrincipalMembershipMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *PrincipalMembershipMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *PrincipalMembershipMutation) OldOrganizationID(ctx context.Context) (v uuid.UUID, err error) + func (m *PrincipalMembershipMutation) OldPermissions(ctx context.Context) (v []string, err error) + func (m *PrincipalMembershipMutation) OldPrincipalID(ctx context.Context) (v uuid.UUID, err error) + func (m *PrincipalMembershipMutation) OldRole(ctx context.Context) (v string, err error) + func (m *PrincipalMembershipMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *PrincipalMembershipMutation) Op() Op + func (m *PrincipalMembershipMutation) OrganizationCleared() bool + func (m *PrincipalMembershipMutation) OrganizationID() (r uuid.UUID, exists bool) + func (m *PrincipalMembershipMutation) OrganizationIDs() (ids []uuid.UUID) + func (m *PrincipalMembershipMutation) Permissions() (r []string, exists bool) + func (m *PrincipalMembershipMutation) PermissionsCleared() bool + func (m *PrincipalMembershipMutation) PrincipalCleared() bool + func (m *PrincipalMembershipMutation) PrincipalID() (r uuid.UUID, exists bool) + func (m *PrincipalMembershipMutation) PrincipalIDs() (ids []uuid.UUID) + func (m *PrincipalMembershipMutation) RemovedEdges() []string + func (m *PrincipalMembershipMutation) RemovedIDs(name string) []ent.Value + func (m *PrincipalMembershipMutation) ResetActive() + func (m *PrincipalMembershipMutation) ResetCreatedAt() + func (m *PrincipalMembershipMutation) ResetEdge(name string) error + func (m *PrincipalMembershipMutation) ResetField(name string) error + func (m *PrincipalMembershipMutation) ResetOrganization() + func (m *PrincipalMembershipMutation) ResetOrganizationID() + func (m *PrincipalMembershipMutation) ResetPermissions() + func (m *PrincipalMembershipMutation) ResetPrincipal() + func (m *PrincipalMembershipMutation) ResetPrincipalID() + func (m *PrincipalMembershipMutation) ResetRole() + func (m *PrincipalMembershipMutation) ResetUpdatedAt() + func (m *PrincipalMembershipMutation) Role() (r string, exists bool) + func (m *PrincipalMembershipMutation) SetActive(b bool) + func (m *PrincipalMembershipMutation) SetCreatedAt(t time.Time) + func (m *PrincipalMembershipMutation) SetField(name string, value ent.Value) error + func (m *PrincipalMembershipMutation) SetID(id uuid.UUID) + func (m *PrincipalMembershipMutation) SetOp(op Op) + func (m *PrincipalMembershipMutation) SetOrganizationID(u uuid.UUID) + func (m *PrincipalMembershipMutation) SetPermissions(s []string) + func (m *PrincipalMembershipMutation) SetPrincipalID(u uuid.UUID) + func (m *PrincipalMembershipMutation) SetRole(s string) + func (m *PrincipalMembershipMutation) SetUpdatedAt(t time.Time) + func (m *PrincipalMembershipMutation) Type() string + func (m *PrincipalMembershipMutation) UpdatedAt() (r time.Time, exists bool) + func (m *PrincipalMembershipMutation) Where(ps ...predicate.PrincipalMembership) + func (m *PrincipalMembershipMutation) WhereP(ps ...func(*sql.Selector)) + func (m PrincipalMembershipMutation) Client() *Client + func (m PrincipalMembershipMutation) Tx() (*Tx, error) + type PrincipalMembershipQuery struct + func (_q *PrincipalMembershipQuery) Aggregate(fns ...AggregateFunc) *PrincipalMembershipSelect + func (_q *PrincipalMembershipQuery) All(ctx context.Context) ([]*PrincipalMembership, error) + func (_q *PrincipalMembershipQuery) AllX(ctx context.Context) []*PrincipalMembership + func (_q *PrincipalMembershipQuery) Clone() *PrincipalMembershipQuery + func (_q *PrincipalMembershipQuery) Count(ctx context.Context) (int, error) + func (_q *PrincipalMembershipQuery) CountX(ctx context.Context) int + func (_q *PrincipalMembershipQuery) Exist(ctx context.Context) (bool, error) + func (_q *PrincipalMembershipQuery) ExistX(ctx context.Context) bool + func (_q *PrincipalMembershipQuery) Filter() *PrincipalMembershipFilter + func (_q *PrincipalMembershipQuery) First(ctx context.Context) (*PrincipalMembership, error) + func (_q *PrincipalMembershipQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *PrincipalMembershipQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *PrincipalMembershipQuery) FirstX(ctx context.Context) *PrincipalMembership + func (_q *PrincipalMembershipQuery) GroupBy(field string, fields ...string) *PrincipalMembershipGroupBy + func (_q *PrincipalMembershipQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *PrincipalMembershipQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *PrincipalMembershipQuery) Limit(limit int) *PrincipalMembershipQuery + func (_q *PrincipalMembershipQuery) Offset(offset int) *PrincipalMembershipQuery + func (_q *PrincipalMembershipQuery) Only(ctx context.Context) (*PrincipalMembership, error) + func (_q *PrincipalMembershipQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *PrincipalMembershipQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *PrincipalMembershipQuery) OnlyX(ctx context.Context) *PrincipalMembership + func (_q *PrincipalMembershipQuery) Order(o ...principalmembership.OrderOption) *PrincipalMembershipQuery + func (_q *PrincipalMembershipQuery) QueryOrganization() *OrganizationQuery + func (_q *PrincipalMembershipQuery) QueryPrincipal() *PrincipalQuery + func (_q *PrincipalMembershipQuery) Select(fields ...string) *PrincipalMembershipSelect + func (_q *PrincipalMembershipQuery) Unique(unique bool) *PrincipalMembershipQuery + func (_q *PrincipalMembershipQuery) Where(ps ...predicate.PrincipalMembership) *PrincipalMembershipQuery + func (_q *PrincipalMembershipQuery) WithOrganization(opts ...func(*OrganizationQuery)) *PrincipalMembershipQuery + func (_q *PrincipalMembershipQuery) WithPrincipal(opts ...func(*PrincipalQuery)) *PrincipalMembershipQuery + type PrincipalMembershipSelect struct + func (_s *PrincipalMembershipSelect) Aggregate(fns ...AggregateFunc) *PrincipalMembershipSelect + func (_s *PrincipalMembershipSelect) Scan(ctx context.Context, v any) error + func (s *PrincipalMembershipSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *PrincipalMembershipSelect) BoolX(ctx context.Context) bool + func (s *PrincipalMembershipSelect) Bools(ctx context.Context) ([]bool, error) + func (s *PrincipalMembershipSelect) BoolsX(ctx context.Context) []bool + func (s *PrincipalMembershipSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *PrincipalMembershipSelect) Float64X(ctx context.Context) float64 + func (s *PrincipalMembershipSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *PrincipalMembershipSelect) Float64sX(ctx context.Context) []float64 + func (s *PrincipalMembershipSelect) Int(ctx context.Context) (_ int, err error) + func (s *PrincipalMembershipSelect) IntX(ctx context.Context) int + func (s *PrincipalMembershipSelect) Ints(ctx context.Context) ([]int, error) + func (s *PrincipalMembershipSelect) IntsX(ctx context.Context) []int + func (s *PrincipalMembershipSelect) ScanX(ctx context.Context, v any) + func (s *PrincipalMembershipSelect) String(ctx context.Context) (_ string, err error) + func (s *PrincipalMembershipSelect) StringX(ctx context.Context) string + func (s *PrincipalMembershipSelect) Strings(ctx context.Context) ([]string, error) + func (s *PrincipalMembershipSelect) StringsX(ctx context.Context) []string + type PrincipalMembershipUpdate struct + func (_u *PrincipalMembershipUpdate) AppendPermissions(v []string) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) ClearOrganization() *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) ClearPermissions() *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) ClearPrincipal() *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) Exec(ctx context.Context) error + func (_u *PrincipalMembershipUpdate) ExecX(ctx context.Context) + func (_u *PrincipalMembershipUpdate) Mutation() *PrincipalMembershipMutation + func (_u *PrincipalMembershipUpdate) Save(ctx context.Context) (int, error) + func (_u *PrincipalMembershipUpdate) SaveX(ctx context.Context) int + func (_u *PrincipalMembershipUpdate) SetActive(v bool) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) SetNillableActive(v *bool) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) SetNillableOrganizationID(v *uuid.UUID) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) SetNillablePrincipalID(v *uuid.UUID) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) SetNillableRole(v *string) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) SetOrganization(v *Organization) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) SetOrganizationID(v uuid.UUID) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) SetPermissions(v []string) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) SetPrincipal(v *Principal) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) SetPrincipalID(v uuid.UUID) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) SetRole(v string) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) SetUpdatedAt(v time.Time) *PrincipalMembershipUpdate + func (_u *PrincipalMembershipUpdate) Where(ps ...predicate.PrincipalMembership) *PrincipalMembershipUpdate + type PrincipalMembershipUpdateOne struct + func (_u *PrincipalMembershipUpdateOne) AppendPermissions(v []string) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) ClearOrganization() *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) ClearPermissions() *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) ClearPrincipal() *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) Exec(ctx context.Context) error + func (_u *PrincipalMembershipUpdateOne) ExecX(ctx context.Context) + func (_u *PrincipalMembershipUpdateOne) Mutation() *PrincipalMembershipMutation + func (_u *PrincipalMembershipUpdateOne) Save(ctx context.Context) (*PrincipalMembership, error) + func (_u *PrincipalMembershipUpdateOne) SaveX(ctx context.Context) *PrincipalMembership + func (_u *PrincipalMembershipUpdateOne) Select(field string, fields ...string) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetActive(v bool) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetNillableActive(v *bool) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetNillableOrganizationID(v *uuid.UUID) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetNillablePrincipalID(v *uuid.UUID) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetNillableRole(v *string) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetOrganization(v *Organization) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetOrganizationID(v uuid.UUID) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetPermissions(v []string) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetPrincipal(v *Principal) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetPrincipalID(v uuid.UUID) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetRole(v string) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) SetUpdatedAt(v time.Time) *PrincipalMembershipUpdateOne + func (_u *PrincipalMembershipUpdateOne) Where(ps ...predicate.PrincipalMembership) *PrincipalMembershipUpdateOne + type PrincipalMembershipUpsert struct + func (u *PrincipalMembershipUpsert) ClearPermissions() *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) SetActive(v bool) *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) SetOrganizationID(v uuid.UUID) *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) SetPermissions(v []string) *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) SetPrincipalID(v uuid.UUID) *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) SetRole(v string) *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) SetUpdatedAt(v time.Time) *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) UpdateActive() *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) UpdateOrganizationID() *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) UpdatePermissions() *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) UpdatePrincipalID() *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) UpdateRole() *PrincipalMembershipUpsert + func (u *PrincipalMembershipUpsert) UpdateUpdatedAt() *PrincipalMembershipUpsert + type PrincipalMembershipUpsertBulk struct + func (u *PrincipalMembershipUpsertBulk) ClearPermissions() *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) DoNothing() *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) Exec(ctx context.Context) error + func (u *PrincipalMembershipUpsertBulk) ExecX(ctx context.Context) + func (u *PrincipalMembershipUpsertBulk) Ignore() *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) SetActive(v bool) *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) SetOrganizationID(v uuid.UUID) *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) SetPermissions(v []string) *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) SetPrincipalID(v uuid.UUID) *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) SetRole(v string) *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) SetUpdatedAt(v time.Time) *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) Update(set func(*PrincipalMembershipUpsert)) *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) UpdateActive() *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) UpdateNewValues() *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) UpdateOrganizationID() *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) UpdatePermissions() *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) UpdatePrincipalID() *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) UpdateRole() *PrincipalMembershipUpsertBulk + func (u *PrincipalMembershipUpsertBulk) UpdateUpdatedAt() *PrincipalMembershipUpsertBulk + type PrincipalMembershipUpsertOne struct + func (u *PrincipalMembershipUpsertOne) ClearPermissions() *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) DoNothing() *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) Exec(ctx context.Context) error + func (u *PrincipalMembershipUpsertOne) ExecX(ctx context.Context) + func (u *PrincipalMembershipUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *PrincipalMembershipUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *PrincipalMembershipUpsertOne) Ignore() *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) SetActive(v bool) *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) SetOrganizationID(v uuid.UUID) *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) SetPermissions(v []string) *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) SetPrincipalID(v uuid.UUID) *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) SetRole(v string) *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) SetUpdatedAt(v time.Time) *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) Update(set func(*PrincipalMembershipUpsert)) *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) UpdateActive() *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) UpdateNewValues() *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) UpdateOrganizationID() *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) UpdatePermissions() *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) UpdatePrincipalID() *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) UpdateRole() *PrincipalMembershipUpsertOne + func (u *PrincipalMembershipUpsertOne) UpdateUpdatedAt() *PrincipalMembershipUpsertOne + type PrincipalMemberships []*PrincipalMembership + type PrincipalMutation struct + func (m *PrincipalMutation) Active() (r bool, exists bool) + func (m *PrincipalMutation) AddAssignedSeatIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) AddCredentialIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) AddField(name string, value ent.Value) error + func (m *PrincipalMutation) AddOwnedListingIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) AddOwnedOrganizationIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) AddPrincipalMembershipIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) AddPrincipalTokenIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) AddPurchasedLicenseIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) AddSeatAssignmentIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) AddSentInviteIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) AddedEdges() []string + func (m *PrincipalMutation) AddedField(name string) (ent.Value, bool) + func (m *PrincipalMutation) AddedFields() []string + func (m *PrincipalMutation) AddedIDs(name string) []ent.Value + func (m *PrincipalMutation) AgentCleared() bool + func (m *PrincipalMutation) AgentID() (id uuid.UUID, exists bool) + func (m *PrincipalMutation) AgentIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) AllowedScopes() (r []string, exists bool) + func (m *PrincipalMutation) AppendAllowedScopes(s []string) + func (m *PrincipalMutation) AppendedAllowedScopes() ([]string, bool) + func (m *PrincipalMutation) ApplicationCleared() bool + func (m *PrincipalMutation) ApplicationID() (id uuid.UUID, exists bool) + func (m *PrincipalMutation) ApplicationIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) AssignedSeatsCleared() bool + func (m *PrincipalMutation) AssignedSeatsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) Capabilities() (r map[string]bool, exists bool) + func (m *PrincipalMutation) ClearAgent() + func (m *PrincipalMutation) ClearApplication() + func (m *PrincipalMutation) ClearAssignedSeats() + func (m *PrincipalMutation) ClearCredentials() + func (m *PrincipalMutation) ClearEdge(name string) error + func (m *PrincipalMutation) ClearField(name string) error + func (m *PrincipalMutation) ClearHuman() + func (m *PrincipalMutation) ClearMetadata() + func (m *PrincipalMutation) ClearOrganization() + func (m *PrincipalMutation) ClearOrganizationID() + func (m *PrincipalMutation) ClearOwnedListings() + func (m *PrincipalMutation) ClearOwnedOrganizations() + func (m *PrincipalMutation) ClearPrincipalMemberships() + func (m *PrincipalMutation) ClearPrincipalTokens() + func (m *PrincipalMutation) ClearPurchasedLicenses() + func (m *PrincipalMutation) ClearSeatAssignments() + func (m *PrincipalMutation) ClearSentInvites() + func (m *PrincipalMutation) ClearServicePrincipal() + func (m *PrincipalMutation) ClearedEdges() []string + func (m *PrincipalMutation) ClearedFields() []string + func (m *PrincipalMutation) CreatedAt() (r time.Time, exists bool) + func (m *PrincipalMutation) CredentialsCleared() bool + func (m *PrincipalMutation) CredentialsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) DisplayName() (r string, exists bool) + func (m *PrincipalMutation) EdgeCleared(name string) bool + func (m *PrincipalMutation) Field(name string) (ent.Value, bool) + func (m *PrincipalMutation) FieldCleared(name string) bool + func (m *PrincipalMutation) Fields() []string + func (m *PrincipalMutation) Filter() *PrincipalFilter + func (m *PrincipalMutation) GetType() (r principal.Type, exists bool) + func (m *PrincipalMutation) HumanCleared() bool + func (m *PrincipalMutation) HumanID() (id uuid.UUID, exists bool) + func (m *PrincipalMutation) HumanIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) ID() (id uuid.UUID, exists bool) + func (m *PrincipalMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *PrincipalMutation) Identifier() (r string, exists bool) + func (m *PrincipalMutation) Metadata() (r map[string]interface{}, exists bool) + func (m *PrincipalMutation) MetadataCleared() bool + func (m *PrincipalMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *PrincipalMutation) OldAllowedScopes(ctx context.Context) (v []string, err error) + func (m *PrincipalMutation) OldCapabilities(ctx context.Context) (v map[string]bool, err error) + func (m *PrincipalMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *PrincipalMutation) OldDisplayName(ctx context.Context) (v string, err error) + func (m *PrincipalMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *PrincipalMutation) OldIdentifier(ctx context.Context) (v string, err error) + func (m *PrincipalMutation) OldMetadata(ctx context.Context) (v map[string]interface{}, err error) + func (m *PrincipalMutation) OldOrganizationID(ctx context.Context) (v *uuid.UUID, err error) + func (m *PrincipalMutation) OldType(ctx context.Context) (v principal.Type, err error) + func (m *PrincipalMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *PrincipalMutation) Op() Op + func (m *PrincipalMutation) OrganizationCleared() bool + func (m *PrincipalMutation) OrganizationID() (r uuid.UUID, exists bool) + func (m *PrincipalMutation) OrganizationIDCleared() bool + func (m *PrincipalMutation) OrganizationIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) OwnedListingsCleared() bool + func (m *PrincipalMutation) OwnedListingsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) OwnedOrganizationsCleared() bool + func (m *PrincipalMutation) OwnedOrganizationsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) PrincipalMembershipsCleared() bool + func (m *PrincipalMutation) PrincipalMembershipsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) PrincipalTokensCleared() bool + func (m *PrincipalMutation) PrincipalTokensIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) PurchasedLicensesCleared() bool + func (m *PrincipalMutation) PurchasedLicensesIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) RemoveAssignedSeatIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) RemoveCredentialIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) RemoveOwnedListingIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) RemoveOwnedOrganizationIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) RemovePrincipalMembershipIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) RemovePrincipalTokenIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) RemovePurchasedLicenseIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) RemoveSeatAssignmentIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) RemoveSentInviteIDs(ids ...uuid.UUID) + func (m *PrincipalMutation) RemovedAssignedSeatsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) RemovedCredentialsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) RemovedEdges() []string + func (m *PrincipalMutation) RemovedIDs(name string) []ent.Value + func (m *PrincipalMutation) RemovedOwnedListingsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) RemovedOwnedOrganizationsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) RemovedPrincipalMembershipsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) RemovedPrincipalTokensIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) RemovedPurchasedLicensesIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) RemovedSeatAssignmentsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) RemovedSentInvitesIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) ResetActive() + func (m *PrincipalMutation) ResetAgent() + func (m *PrincipalMutation) ResetAllowedScopes() + func (m *PrincipalMutation) ResetApplication() + func (m *PrincipalMutation) ResetAssignedSeats() + func (m *PrincipalMutation) ResetCapabilities() + func (m *PrincipalMutation) ResetCreatedAt() + func (m *PrincipalMutation) ResetCredentials() + func (m *PrincipalMutation) ResetDisplayName() + func (m *PrincipalMutation) ResetEdge(name string) error + func (m *PrincipalMutation) ResetField(name string) error + func (m *PrincipalMutation) ResetHuman() + func (m *PrincipalMutation) ResetIdentifier() + func (m *PrincipalMutation) ResetMetadata() + func (m *PrincipalMutation) ResetOrganization() + func (m *PrincipalMutation) ResetOrganizationID() + func (m *PrincipalMutation) ResetOwnedListings() + func (m *PrincipalMutation) ResetOwnedOrganizations() + func (m *PrincipalMutation) ResetPrincipalMemberships() + func (m *PrincipalMutation) ResetPrincipalTokens() + func (m *PrincipalMutation) ResetPurchasedLicenses() + func (m *PrincipalMutation) ResetSeatAssignments() + func (m *PrincipalMutation) ResetSentInvites() + func (m *PrincipalMutation) ResetServicePrincipal() + func (m *PrincipalMutation) ResetType() + func (m *PrincipalMutation) ResetUpdatedAt() + func (m *PrincipalMutation) SeatAssignmentsCleared() bool + func (m *PrincipalMutation) SeatAssignmentsIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) SentInvitesCleared() bool + func (m *PrincipalMutation) SentInvitesIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) ServicePrincipalCleared() bool + func (m *PrincipalMutation) ServicePrincipalID() (id uuid.UUID, exists bool) + func (m *PrincipalMutation) ServicePrincipalIDs() (ids []uuid.UUID) + func (m *PrincipalMutation) SetActive(b bool) + func (m *PrincipalMutation) SetAgentID(id uuid.UUID) + func (m *PrincipalMutation) SetAllowedScopes(s []string) + func (m *PrincipalMutation) SetApplicationID(id uuid.UUID) + func (m *PrincipalMutation) SetCapabilities(value map[string]bool) + func (m *PrincipalMutation) SetCreatedAt(t time.Time) + func (m *PrincipalMutation) SetDisplayName(s string) + func (m *PrincipalMutation) SetField(name string, value ent.Value) error + func (m *PrincipalMutation) SetHumanID(id uuid.UUID) + func (m *PrincipalMutation) SetID(id uuid.UUID) + func (m *PrincipalMutation) SetIdentifier(s string) + func (m *PrincipalMutation) SetMetadata(value map[string]interface{}) + func (m *PrincipalMutation) SetOp(op Op) + func (m *PrincipalMutation) SetOrganizationID(u uuid.UUID) + func (m *PrincipalMutation) SetServicePrincipalID(id uuid.UUID) + func (m *PrincipalMutation) SetType(pr principal.Type) + func (m *PrincipalMutation) SetUpdatedAt(t time.Time) + func (m *PrincipalMutation) Type() string + func (m *PrincipalMutation) UpdatedAt() (r time.Time, exists bool) + func (m *PrincipalMutation) Where(ps ...predicate.Principal) + func (m *PrincipalMutation) WhereP(ps ...func(*sql.Selector)) + func (m PrincipalMutation) Client() *Client + func (m PrincipalMutation) Tx() (*Tx, error) + type PrincipalQuery struct + func (_q *PrincipalQuery) Aggregate(fns ...AggregateFunc) *PrincipalSelect + func (_q *PrincipalQuery) All(ctx context.Context) ([]*Principal, error) + func (_q *PrincipalQuery) AllX(ctx context.Context) []*Principal + func (_q *PrincipalQuery) Clone() *PrincipalQuery + func (_q *PrincipalQuery) Count(ctx context.Context) (int, error) + func (_q *PrincipalQuery) CountX(ctx context.Context) int + func (_q *PrincipalQuery) Exist(ctx context.Context) (bool, error) + func (_q *PrincipalQuery) ExistX(ctx context.Context) bool + func (_q *PrincipalQuery) Filter() *PrincipalFilter + func (_q *PrincipalQuery) First(ctx context.Context) (*Principal, error) + func (_q *PrincipalQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *PrincipalQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *PrincipalQuery) FirstX(ctx context.Context) *Principal + func (_q *PrincipalQuery) GroupBy(field string, fields ...string) *PrincipalGroupBy + func (_q *PrincipalQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *PrincipalQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *PrincipalQuery) Limit(limit int) *PrincipalQuery + func (_q *PrincipalQuery) Offset(offset int) *PrincipalQuery + func (_q *PrincipalQuery) Only(ctx context.Context) (*Principal, error) + func (_q *PrincipalQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *PrincipalQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *PrincipalQuery) OnlyX(ctx context.Context) *Principal + func (_q *PrincipalQuery) Order(o ...principal.OrderOption) *PrincipalQuery + func (_q *PrincipalQuery) QueryAgent() *AgentQuery + func (_q *PrincipalQuery) QueryApplication() *ApplicationQuery + func (_q *PrincipalQuery) QueryAssignedSeats() *SeatAssignmentQuery + func (_q *PrincipalQuery) QueryCredentials() *CredentialQuery + func (_q *PrincipalQuery) QueryHuman() *HumanQuery + func (_q *PrincipalQuery) QueryOrganization() *OrganizationQuery + func (_q *PrincipalQuery) QueryOwnedListings() *ListingQuery + func (_q *PrincipalQuery) QueryOwnedOrganizations() *OrganizationQuery + func (_q *PrincipalQuery) QueryPrincipalMemberships() *PrincipalMembershipQuery + func (_q *PrincipalQuery) QueryPrincipalTokens() *PrincipalTokenQuery + func (_q *PrincipalQuery) QueryPurchasedLicenses() *LicenseQuery + func (_q *PrincipalQuery) QuerySeatAssignments() *SeatAssignmentQuery + func (_q *PrincipalQuery) QuerySentInvites() *InviteQuery + func (_q *PrincipalQuery) QueryServicePrincipal() *ServicePrincipalQuery + func (_q *PrincipalQuery) Select(fields ...string) *PrincipalSelect + func (_q *PrincipalQuery) Unique(unique bool) *PrincipalQuery + func (_q *PrincipalQuery) Where(ps ...predicate.Principal) *PrincipalQuery + func (_q *PrincipalQuery) WithAgent(opts ...func(*AgentQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithApplication(opts ...func(*ApplicationQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithAssignedSeats(opts ...func(*SeatAssignmentQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithCredentials(opts ...func(*CredentialQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithHuman(opts ...func(*HumanQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithOrganization(opts ...func(*OrganizationQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithOwnedListings(opts ...func(*ListingQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithOwnedOrganizations(opts ...func(*OrganizationQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithPrincipalMemberships(opts ...func(*PrincipalMembershipQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithPrincipalTokens(opts ...func(*PrincipalTokenQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithPurchasedLicenses(opts ...func(*LicenseQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithSeatAssignments(opts ...func(*SeatAssignmentQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithSentInvites(opts ...func(*InviteQuery)) *PrincipalQuery + func (_q *PrincipalQuery) WithServicePrincipal(opts ...func(*ServicePrincipalQuery)) *PrincipalQuery + type PrincipalSelect struct + func (_s *PrincipalSelect) Aggregate(fns ...AggregateFunc) *PrincipalSelect + func (_s *PrincipalSelect) Scan(ctx context.Context, v any) error + func (s *PrincipalSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *PrincipalSelect) BoolX(ctx context.Context) bool + func (s *PrincipalSelect) Bools(ctx context.Context) ([]bool, error) + func (s *PrincipalSelect) BoolsX(ctx context.Context) []bool + func (s *PrincipalSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *PrincipalSelect) Float64X(ctx context.Context) float64 + func (s *PrincipalSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *PrincipalSelect) Float64sX(ctx context.Context) []float64 + func (s *PrincipalSelect) Int(ctx context.Context) (_ int, err error) + func (s *PrincipalSelect) IntX(ctx context.Context) int + func (s *PrincipalSelect) Ints(ctx context.Context) ([]int, error) + func (s *PrincipalSelect) IntsX(ctx context.Context) []int + func (s *PrincipalSelect) ScanX(ctx context.Context, v any) + func (s *PrincipalSelect) String(ctx context.Context) (_ string, err error) + func (s *PrincipalSelect) StringX(ctx context.Context) string + func (s *PrincipalSelect) Strings(ctx context.Context) ([]string, error) + func (s *PrincipalSelect) StringsX(ctx context.Context) []string + type PrincipalToken struct + AccessExpiresAt time.Time + AccessTokenSignature string + Audience []string + Capabilities map[string]bool + ClientIP string + CreatedAt time.Time + DelegationChain []string + DpopJkt string + Edges PrincipalTokenEdges + FamilyID uuid.UUID + ID uuid.UUID + IssuedByAppID *uuid.UUID + LastUsedAt *time.Time + ParentTokenID *uuid.UUID + PrincipalID uuid.UUID + PrincipalType principaltoken.PrincipalType + RefreshExpiresAt *time.Time + RefreshTokenSignature *string + RequestData string + Revoked bool + RevokedAt *time.Time + RevokedReason string + Scopes []string + SessionID string + UserAgent string + func (_m *PrincipalToken) QueryChildTokens() *PrincipalTokenQuery + func (_m *PrincipalToken) QueryIssuedByApp() *ApplicationQuery + func (_m *PrincipalToken) QueryParentToken() *PrincipalTokenQuery + func (_m *PrincipalToken) QueryPrincipal() *PrincipalQuery + func (_m *PrincipalToken) String() string + func (_m *PrincipalToken) Unwrap() *PrincipalToken + func (_m *PrincipalToken) Update() *PrincipalTokenUpdateOne + func (_m *PrincipalToken) Value(name string) (ent.Value, error) + type PrincipalTokenClient struct + func NewPrincipalTokenClient(c config) *PrincipalTokenClient + func (c *PrincipalTokenClient) Create() *PrincipalTokenCreate + func (c *PrincipalTokenClient) CreateBulk(builders ...*PrincipalTokenCreate) *PrincipalTokenCreateBulk + func (c *PrincipalTokenClient) Delete() *PrincipalTokenDelete + func (c *PrincipalTokenClient) DeleteOne(_m *PrincipalToken) *PrincipalTokenDeleteOne + func (c *PrincipalTokenClient) DeleteOneID(id uuid.UUID) *PrincipalTokenDeleteOne + func (c *PrincipalTokenClient) Get(ctx context.Context, id uuid.UUID) (*PrincipalToken, error) + func (c *PrincipalTokenClient) GetX(ctx context.Context, id uuid.UUID) *PrincipalToken + func (c *PrincipalTokenClient) Hooks() []Hook + func (c *PrincipalTokenClient) Intercept(interceptors ...Interceptor) + func (c *PrincipalTokenClient) Interceptors() []Interceptor + func (c *PrincipalTokenClient) MapCreateBulk(slice any, setFunc func(*PrincipalTokenCreate, int)) *PrincipalTokenCreateBulk + func (c *PrincipalTokenClient) Query() *PrincipalTokenQuery + func (c *PrincipalTokenClient) QueryChildTokens(_m *PrincipalToken) *PrincipalTokenQuery + func (c *PrincipalTokenClient) QueryIssuedByApp(_m *PrincipalToken) *ApplicationQuery + func (c *PrincipalTokenClient) QueryParentToken(_m *PrincipalToken) *PrincipalTokenQuery + func (c *PrincipalTokenClient) QueryPrincipal(_m *PrincipalToken) *PrincipalQuery + func (c *PrincipalTokenClient) Update() *PrincipalTokenUpdate + func (c *PrincipalTokenClient) UpdateOne(_m *PrincipalToken) *PrincipalTokenUpdateOne + func (c *PrincipalTokenClient) UpdateOneID(id uuid.UUID) *PrincipalTokenUpdateOne + func (c *PrincipalTokenClient) Use(hooks ...Hook) + type PrincipalTokenCreate struct + func (_c *PrincipalTokenCreate) AddChildTokenIDs(ids ...uuid.UUID) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) AddChildTokens(v ...*PrincipalToken) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) Exec(ctx context.Context) error + func (_c *PrincipalTokenCreate) ExecX(ctx context.Context) + func (_c *PrincipalTokenCreate) Mutation() *PrincipalTokenMutation + func (_c *PrincipalTokenCreate) OnConflict(opts ...sql.ConflictOption) *PrincipalTokenUpsertOne + func (_c *PrincipalTokenCreate) OnConflictColumns(columns ...string) *PrincipalTokenUpsertOne + func (_c *PrincipalTokenCreate) Save(ctx context.Context) (*PrincipalToken, error) + func (_c *PrincipalTokenCreate) SaveX(ctx context.Context) *PrincipalToken + func (_c *PrincipalTokenCreate) SetAccessExpiresAt(v time.Time) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetAccessTokenSignature(v string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetAudience(v []string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetCapabilities(v map[string]bool) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetClientIP(v string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetCreatedAt(v time.Time) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetDelegationChain(v []string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetDpopJkt(v string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetFamilyID(v uuid.UUID) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetID(v uuid.UUID) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetIssuedByApp(v *Application) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetIssuedByAppID(v uuid.UUID) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetLastUsedAt(v time.Time) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableClientIP(v *string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableCreatedAt(v *time.Time) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableDpopJkt(v *string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableFamilyID(v *uuid.UUID) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableID(v *uuid.UUID) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableIssuedByAppID(v *uuid.UUID) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableLastUsedAt(v *time.Time) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableParentTokenID(v *uuid.UUID) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableRefreshExpiresAt(v *time.Time) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableRefreshTokenSignature(v *string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableRequestData(v *string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableRevoked(v *bool) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableRevokedAt(v *time.Time) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableRevokedReason(v *string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableSessionID(v *string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetNillableUserAgent(v *string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetParentToken(v *PrincipalToken) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetParentTokenID(v uuid.UUID) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetPrincipal(v *Principal) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetPrincipalID(v uuid.UUID) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetPrincipalType(v principaltoken.PrincipalType) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetRefreshExpiresAt(v time.Time) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetRefreshTokenSignature(v string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetRequestData(v string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetRevoked(v bool) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetRevokedAt(v time.Time) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetRevokedReason(v string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetScopes(v []string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetSessionID(v string) *PrincipalTokenCreate + func (_c *PrincipalTokenCreate) SetUserAgent(v string) *PrincipalTokenCreate + type PrincipalTokenCreateBulk struct + func (_c *PrincipalTokenCreateBulk) Exec(ctx context.Context) error + func (_c *PrincipalTokenCreateBulk) ExecX(ctx context.Context) + func (_c *PrincipalTokenCreateBulk) OnConflict(opts ...sql.ConflictOption) *PrincipalTokenUpsertBulk + func (_c *PrincipalTokenCreateBulk) OnConflictColumns(columns ...string) *PrincipalTokenUpsertBulk + func (_c *PrincipalTokenCreateBulk) Save(ctx context.Context) ([]*PrincipalToken, error) + func (_c *PrincipalTokenCreateBulk) SaveX(ctx context.Context) []*PrincipalToken + type PrincipalTokenDelete struct + func (_d *PrincipalTokenDelete) Exec(ctx context.Context) (int, error) + func (_d *PrincipalTokenDelete) ExecX(ctx context.Context) int + func (_d *PrincipalTokenDelete) Where(ps ...predicate.PrincipalToken) *PrincipalTokenDelete + type PrincipalTokenDeleteOne struct + func (_d *PrincipalTokenDeleteOne) Exec(ctx context.Context) error + func (_d *PrincipalTokenDeleteOne) ExecX(ctx context.Context) + func (_d *PrincipalTokenDeleteOne) Where(ps ...predicate.PrincipalToken) *PrincipalTokenDeleteOne + type PrincipalTokenEdges struct + ChildTokens []*PrincipalToken + IssuedByApp *Application + ParentToken *PrincipalToken + Principal *Principal + func (e PrincipalTokenEdges) ChildTokensOrErr() ([]*PrincipalToken, error) + func (e PrincipalTokenEdges) IssuedByAppOrErr() (*Application, error) + func (e PrincipalTokenEdges) ParentTokenOrErr() (*PrincipalToken, error) + func (e PrincipalTokenEdges) PrincipalOrErr() (*Principal, error) + type PrincipalTokenFilter struct + func (f *PrincipalTokenFilter) Where(p entql.P) + func (f *PrincipalTokenFilter) WhereAccessExpiresAt(p entql.TimeP) + func (f *PrincipalTokenFilter) WhereAccessTokenSignature(p entql.StringP) + func (f *PrincipalTokenFilter) WhereAudience(p entql.BytesP) + func (f *PrincipalTokenFilter) WhereCapabilities(p entql.BytesP) + func (f *PrincipalTokenFilter) WhereClientIP(p entql.StringP) + func (f *PrincipalTokenFilter) WhereCreatedAt(p entql.TimeP) + func (f *PrincipalTokenFilter) WhereDelegationChain(p entql.BytesP) + func (f *PrincipalTokenFilter) WhereDpopJkt(p entql.StringP) + func (f *PrincipalTokenFilter) WhereFamilyID(p entql.ValueP) + func (f *PrincipalTokenFilter) WhereHasChildTokens() + func (f *PrincipalTokenFilter) WhereHasChildTokensWith(preds ...predicate.PrincipalToken) + func (f *PrincipalTokenFilter) WhereHasIssuedByApp() + func (f *PrincipalTokenFilter) WhereHasIssuedByAppWith(preds ...predicate.Application) + func (f *PrincipalTokenFilter) WhereHasParentToken() + func (f *PrincipalTokenFilter) WhereHasParentTokenWith(preds ...predicate.PrincipalToken) + func (f *PrincipalTokenFilter) WhereHasPrincipal() + func (f *PrincipalTokenFilter) WhereHasPrincipalWith(preds ...predicate.Principal) + func (f *PrincipalTokenFilter) WhereID(p entql.ValueP) + func (f *PrincipalTokenFilter) WhereIssuedByAppID(p entql.ValueP) + func (f *PrincipalTokenFilter) WhereLastUsedAt(p entql.TimeP) + func (f *PrincipalTokenFilter) WhereParentTokenID(p entql.ValueP) + func (f *PrincipalTokenFilter) WherePrincipalID(p entql.ValueP) + func (f *PrincipalTokenFilter) WherePrincipalType(p entql.StringP) + func (f *PrincipalTokenFilter) WhereRefreshExpiresAt(p entql.TimeP) + func (f *PrincipalTokenFilter) WhereRefreshTokenSignature(p entql.StringP) + func (f *PrincipalTokenFilter) WhereRequestData(p entql.StringP) + func (f *PrincipalTokenFilter) WhereRevoked(p entql.BoolP) + func (f *PrincipalTokenFilter) WhereRevokedAt(p entql.TimeP) + func (f *PrincipalTokenFilter) WhereRevokedReason(p entql.StringP) + func (f *PrincipalTokenFilter) WhereScopes(p entql.BytesP) + func (f *PrincipalTokenFilter) WhereSessionID(p entql.StringP) + func (f *PrincipalTokenFilter) WhereUserAgent(p entql.StringP) + type PrincipalTokenGroupBy struct + func (_g *PrincipalTokenGroupBy) Aggregate(fns ...AggregateFunc) *PrincipalTokenGroupBy + func (_g *PrincipalTokenGroupBy) Scan(ctx context.Context, v any) error + func (s *PrincipalTokenGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *PrincipalTokenGroupBy) BoolX(ctx context.Context) bool + func (s *PrincipalTokenGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *PrincipalTokenGroupBy) BoolsX(ctx context.Context) []bool + func (s *PrincipalTokenGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *PrincipalTokenGroupBy) Float64X(ctx context.Context) float64 + func (s *PrincipalTokenGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *PrincipalTokenGroupBy) Float64sX(ctx context.Context) []float64 + func (s *PrincipalTokenGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *PrincipalTokenGroupBy) IntX(ctx context.Context) int + func (s *PrincipalTokenGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *PrincipalTokenGroupBy) IntsX(ctx context.Context) []int + func (s *PrincipalTokenGroupBy) ScanX(ctx context.Context, v any) + func (s *PrincipalTokenGroupBy) String(ctx context.Context) (_ string, err error) + func (s *PrincipalTokenGroupBy) StringX(ctx context.Context) string + func (s *PrincipalTokenGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *PrincipalTokenGroupBy) StringsX(ctx context.Context) []string + type PrincipalTokenMutation struct + func (m *PrincipalTokenMutation) AccessExpiresAt() (r time.Time, exists bool) + func (m *PrincipalTokenMutation) AccessTokenSignature() (r string, exists bool) + func (m *PrincipalTokenMutation) AddChildTokenIDs(ids ...uuid.UUID) + func (m *PrincipalTokenMutation) AddField(name string, value ent.Value) error + func (m *PrincipalTokenMutation) AddedEdges() []string + func (m *PrincipalTokenMutation) AddedField(name string) (ent.Value, bool) + func (m *PrincipalTokenMutation) AddedFields() []string + func (m *PrincipalTokenMutation) AddedIDs(name string) []ent.Value + func (m *PrincipalTokenMutation) AppendAudience(s []string) + func (m *PrincipalTokenMutation) AppendDelegationChain(s []string) + func (m *PrincipalTokenMutation) AppendScopes(s []string) + func (m *PrincipalTokenMutation) AppendedAudience() ([]string, bool) + func (m *PrincipalTokenMutation) AppendedDelegationChain() ([]string, bool) + func (m *PrincipalTokenMutation) AppendedScopes() ([]string, bool) + func (m *PrincipalTokenMutation) Audience() (r []string, exists bool) + func (m *PrincipalTokenMutation) Capabilities() (r map[string]bool, exists bool) + func (m *PrincipalTokenMutation) ChildTokensCleared() bool + func (m *PrincipalTokenMutation) ChildTokensIDs() (ids []uuid.UUID) + func (m *PrincipalTokenMutation) ClearChildTokens() + func (m *PrincipalTokenMutation) ClearClientIP() + func (m *PrincipalTokenMutation) ClearDpopJkt() + func (m *PrincipalTokenMutation) ClearEdge(name string) error + func (m *PrincipalTokenMutation) ClearField(name string) error + func (m *PrincipalTokenMutation) ClearIssuedByApp() + func (m *PrincipalTokenMutation) ClearIssuedByAppID() + func (m *PrincipalTokenMutation) ClearLastUsedAt() + func (m *PrincipalTokenMutation) ClearParentToken() + func (m *PrincipalTokenMutation) ClearParentTokenID() + func (m *PrincipalTokenMutation) ClearPrincipal() + func (m *PrincipalTokenMutation) ClearRefreshExpiresAt() + func (m *PrincipalTokenMutation) ClearRefreshTokenSignature() + func (m *PrincipalTokenMutation) ClearRequestData() + func (m *PrincipalTokenMutation) ClearRevokedAt() + func (m *PrincipalTokenMutation) ClearRevokedReason() + func (m *PrincipalTokenMutation) ClearSessionID() + func (m *PrincipalTokenMutation) ClearUserAgent() + func (m *PrincipalTokenMutation) ClearedEdges() []string + func (m *PrincipalTokenMutation) ClearedFields() []string + func (m *PrincipalTokenMutation) ClientIP() (r string, exists bool) + func (m *PrincipalTokenMutation) ClientIPCleared() bool + func (m *PrincipalTokenMutation) CreatedAt() (r time.Time, exists bool) + func (m *PrincipalTokenMutation) DelegationChain() (r []string, exists bool) + func (m *PrincipalTokenMutation) DpopJkt() (r string, exists bool) + func (m *PrincipalTokenMutation) DpopJktCleared() bool + func (m *PrincipalTokenMutation) EdgeCleared(name string) bool + func (m *PrincipalTokenMutation) FamilyID() (r uuid.UUID, exists bool) + func (m *PrincipalTokenMutation) Field(name string) (ent.Value, bool) + func (m *PrincipalTokenMutation) FieldCleared(name string) bool + func (m *PrincipalTokenMutation) Fields() []string + func (m *PrincipalTokenMutation) Filter() *PrincipalTokenFilter + func (m *PrincipalTokenMutation) ID() (id uuid.UUID, exists bool) + func (m *PrincipalTokenMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *PrincipalTokenMutation) IssuedByAppCleared() bool + func (m *PrincipalTokenMutation) IssuedByAppID() (r uuid.UUID, exists bool) + func (m *PrincipalTokenMutation) IssuedByAppIDCleared() bool + func (m *PrincipalTokenMutation) IssuedByAppIDs() (ids []uuid.UUID) + func (m *PrincipalTokenMutation) LastUsedAt() (r time.Time, exists bool) + func (m *PrincipalTokenMutation) LastUsedAtCleared() bool + func (m *PrincipalTokenMutation) OldAccessExpiresAt(ctx context.Context) (v time.Time, err error) + func (m *PrincipalTokenMutation) OldAccessTokenSignature(ctx context.Context) (v string, err error) + func (m *PrincipalTokenMutation) OldAudience(ctx context.Context) (v []string, err error) + func (m *PrincipalTokenMutation) OldCapabilities(ctx context.Context) (v map[string]bool, err error) + func (m *PrincipalTokenMutation) OldClientIP(ctx context.Context) (v string, err error) + func (m *PrincipalTokenMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *PrincipalTokenMutation) OldDelegationChain(ctx context.Context) (v []string, err error) + func (m *PrincipalTokenMutation) OldDpopJkt(ctx context.Context) (v string, err error) + func (m *PrincipalTokenMutation) OldFamilyID(ctx context.Context) (v uuid.UUID, err error) + func (m *PrincipalTokenMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *PrincipalTokenMutation) OldIssuedByAppID(ctx context.Context) (v *uuid.UUID, err error) + func (m *PrincipalTokenMutation) OldLastUsedAt(ctx context.Context) (v *time.Time, err error) + func (m *PrincipalTokenMutation) OldParentTokenID(ctx context.Context) (v *uuid.UUID, err error) + func (m *PrincipalTokenMutation) OldPrincipalID(ctx context.Context) (v uuid.UUID, err error) + func (m *PrincipalTokenMutation) OldPrincipalType(ctx context.Context) (v principaltoken.PrincipalType, err error) + func (m *PrincipalTokenMutation) OldRefreshExpiresAt(ctx context.Context) (v *time.Time, err error) + func (m *PrincipalTokenMutation) OldRefreshTokenSignature(ctx context.Context) (v *string, err error) + func (m *PrincipalTokenMutation) OldRequestData(ctx context.Context) (v string, err error) + func (m *PrincipalTokenMutation) OldRevoked(ctx context.Context) (v bool, err error) + func (m *PrincipalTokenMutation) OldRevokedAt(ctx context.Context) (v *time.Time, err error) + func (m *PrincipalTokenMutation) OldRevokedReason(ctx context.Context) (v string, err error) + func (m *PrincipalTokenMutation) OldScopes(ctx context.Context) (v []string, err error) + func (m *PrincipalTokenMutation) OldSessionID(ctx context.Context) (v string, err error) + func (m *PrincipalTokenMutation) OldUserAgent(ctx context.Context) (v string, err error) + func (m *PrincipalTokenMutation) Op() Op + func (m *PrincipalTokenMutation) ParentTokenCleared() bool + func (m *PrincipalTokenMutation) ParentTokenID() (r uuid.UUID, exists bool) + func (m *PrincipalTokenMutation) ParentTokenIDCleared() bool + func (m *PrincipalTokenMutation) ParentTokenIDs() (ids []uuid.UUID) + func (m *PrincipalTokenMutation) PrincipalCleared() bool + func (m *PrincipalTokenMutation) PrincipalID() (r uuid.UUID, exists bool) + func (m *PrincipalTokenMutation) PrincipalIDs() (ids []uuid.UUID) + func (m *PrincipalTokenMutation) PrincipalType() (r principaltoken.PrincipalType, exists bool) + func (m *PrincipalTokenMutation) RefreshExpiresAt() (r time.Time, exists bool) + func (m *PrincipalTokenMutation) RefreshExpiresAtCleared() bool + func (m *PrincipalTokenMutation) RefreshTokenSignature() (r string, exists bool) + func (m *PrincipalTokenMutation) RefreshTokenSignatureCleared() bool + func (m *PrincipalTokenMutation) RemoveChildTokenIDs(ids ...uuid.UUID) + func (m *PrincipalTokenMutation) RemovedChildTokensIDs() (ids []uuid.UUID) + func (m *PrincipalTokenMutation) RemovedEdges() []string + func (m *PrincipalTokenMutation) RemovedIDs(name string) []ent.Value + func (m *PrincipalTokenMutation) RequestData() (r string, exists bool) + func (m *PrincipalTokenMutation) RequestDataCleared() bool + func (m *PrincipalTokenMutation) ResetAccessExpiresAt() + func (m *PrincipalTokenMutation) ResetAccessTokenSignature() + func (m *PrincipalTokenMutation) ResetAudience() + func (m *PrincipalTokenMutation) ResetCapabilities() + func (m *PrincipalTokenMutation) ResetChildTokens() + func (m *PrincipalTokenMutation) ResetClientIP() + func (m *PrincipalTokenMutation) ResetCreatedAt() + func (m *PrincipalTokenMutation) ResetDelegationChain() + func (m *PrincipalTokenMutation) ResetDpopJkt() + func (m *PrincipalTokenMutation) ResetEdge(name string) error + func (m *PrincipalTokenMutation) ResetFamilyID() + func (m *PrincipalTokenMutation) ResetField(name string) error + func (m *PrincipalTokenMutation) ResetIssuedByApp() + func (m *PrincipalTokenMutation) ResetIssuedByAppID() + func (m *PrincipalTokenMutation) ResetLastUsedAt() + func (m *PrincipalTokenMutation) ResetParentToken() + func (m *PrincipalTokenMutation) ResetParentTokenID() + func (m *PrincipalTokenMutation) ResetPrincipal() + func (m *PrincipalTokenMutation) ResetPrincipalID() + func (m *PrincipalTokenMutation) ResetPrincipalType() + func (m *PrincipalTokenMutation) ResetRefreshExpiresAt() + func (m *PrincipalTokenMutation) ResetRefreshTokenSignature() + func (m *PrincipalTokenMutation) ResetRequestData() + func (m *PrincipalTokenMutation) ResetRevoked() + func (m *PrincipalTokenMutation) ResetRevokedAt() + func (m *PrincipalTokenMutation) ResetRevokedReason() + func (m *PrincipalTokenMutation) ResetScopes() + func (m *PrincipalTokenMutation) ResetSessionID() + func (m *PrincipalTokenMutation) ResetUserAgent() + func (m *PrincipalTokenMutation) Revoked() (r bool, exists bool) + func (m *PrincipalTokenMutation) RevokedAt() (r time.Time, exists bool) + func (m *PrincipalTokenMutation) RevokedAtCleared() bool + func (m *PrincipalTokenMutation) RevokedReason() (r string, exists bool) + func (m *PrincipalTokenMutation) RevokedReasonCleared() bool + func (m *PrincipalTokenMutation) Scopes() (r []string, exists bool) + func (m *PrincipalTokenMutation) SessionID() (r string, exists bool) + func (m *PrincipalTokenMutation) SessionIDCleared() bool + func (m *PrincipalTokenMutation) SetAccessExpiresAt(t time.Time) + func (m *PrincipalTokenMutation) SetAccessTokenSignature(s string) + func (m *PrincipalTokenMutation) SetAudience(s []string) + func (m *PrincipalTokenMutation) SetCapabilities(value map[string]bool) + func (m *PrincipalTokenMutation) SetClientIP(s string) + func (m *PrincipalTokenMutation) SetCreatedAt(t time.Time) + func (m *PrincipalTokenMutation) SetDelegationChain(s []string) + func (m *PrincipalTokenMutation) SetDpopJkt(s string) + func (m *PrincipalTokenMutation) SetFamilyID(u uuid.UUID) + func (m *PrincipalTokenMutation) SetField(name string, value ent.Value) error + func (m *PrincipalTokenMutation) SetID(id uuid.UUID) + func (m *PrincipalTokenMutation) SetIssuedByAppID(u uuid.UUID) + func (m *PrincipalTokenMutation) SetLastUsedAt(t time.Time) + func (m *PrincipalTokenMutation) SetOp(op Op) + func (m *PrincipalTokenMutation) SetParentTokenID(u uuid.UUID) + func (m *PrincipalTokenMutation) SetPrincipalID(u uuid.UUID) + func (m *PrincipalTokenMutation) SetPrincipalType(pt principaltoken.PrincipalType) + func (m *PrincipalTokenMutation) SetRefreshExpiresAt(t time.Time) + func (m *PrincipalTokenMutation) SetRefreshTokenSignature(s string) + func (m *PrincipalTokenMutation) SetRequestData(s string) + func (m *PrincipalTokenMutation) SetRevoked(b bool) + func (m *PrincipalTokenMutation) SetRevokedAt(t time.Time) + func (m *PrincipalTokenMutation) SetRevokedReason(s string) + func (m *PrincipalTokenMutation) SetScopes(s []string) + func (m *PrincipalTokenMutation) SetSessionID(s string) + func (m *PrincipalTokenMutation) SetUserAgent(s string) + func (m *PrincipalTokenMutation) Type() string + func (m *PrincipalTokenMutation) UserAgent() (r string, exists bool) + func (m *PrincipalTokenMutation) UserAgentCleared() bool + func (m *PrincipalTokenMutation) Where(ps ...predicate.PrincipalToken) + func (m *PrincipalTokenMutation) WhereP(ps ...func(*sql.Selector)) + func (m PrincipalTokenMutation) Client() *Client + func (m PrincipalTokenMutation) Tx() (*Tx, error) + type PrincipalTokenQuery struct + func (_q *PrincipalTokenQuery) Aggregate(fns ...AggregateFunc) *PrincipalTokenSelect + func (_q *PrincipalTokenQuery) All(ctx context.Context) ([]*PrincipalToken, error) + func (_q *PrincipalTokenQuery) AllX(ctx context.Context) []*PrincipalToken + func (_q *PrincipalTokenQuery) Clone() *PrincipalTokenQuery + func (_q *PrincipalTokenQuery) Count(ctx context.Context) (int, error) + func (_q *PrincipalTokenQuery) CountX(ctx context.Context) int + func (_q *PrincipalTokenQuery) Exist(ctx context.Context) (bool, error) + func (_q *PrincipalTokenQuery) ExistX(ctx context.Context) bool + func (_q *PrincipalTokenQuery) Filter() *PrincipalTokenFilter + func (_q *PrincipalTokenQuery) First(ctx context.Context) (*PrincipalToken, error) + func (_q *PrincipalTokenQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *PrincipalTokenQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *PrincipalTokenQuery) FirstX(ctx context.Context) *PrincipalToken + func (_q *PrincipalTokenQuery) GroupBy(field string, fields ...string) *PrincipalTokenGroupBy + func (_q *PrincipalTokenQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *PrincipalTokenQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *PrincipalTokenQuery) Limit(limit int) *PrincipalTokenQuery + func (_q *PrincipalTokenQuery) Offset(offset int) *PrincipalTokenQuery + func (_q *PrincipalTokenQuery) Only(ctx context.Context) (*PrincipalToken, error) + func (_q *PrincipalTokenQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *PrincipalTokenQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *PrincipalTokenQuery) OnlyX(ctx context.Context) *PrincipalToken + func (_q *PrincipalTokenQuery) Order(o ...principaltoken.OrderOption) *PrincipalTokenQuery + func (_q *PrincipalTokenQuery) QueryChildTokens() *PrincipalTokenQuery + func (_q *PrincipalTokenQuery) QueryIssuedByApp() *ApplicationQuery + func (_q *PrincipalTokenQuery) QueryParentToken() *PrincipalTokenQuery + func (_q *PrincipalTokenQuery) QueryPrincipal() *PrincipalQuery + func (_q *PrincipalTokenQuery) Select(fields ...string) *PrincipalTokenSelect + func (_q *PrincipalTokenQuery) Unique(unique bool) *PrincipalTokenQuery + func (_q *PrincipalTokenQuery) Where(ps ...predicate.PrincipalToken) *PrincipalTokenQuery + func (_q *PrincipalTokenQuery) WithChildTokens(opts ...func(*PrincipalTokenQuery)) *PrincipalTokenQuery + func (_q *PrincipalTokenQuery) WithIssuedByApp(opts ...func(*ApplicationQuery)) *PrincipalTokenQuery + func (_q *PrincipalTokenQuery) WithParentToken(opts ...func(*PrincipalTokenQuery)) *PrincipalTokenQuery + func (_q *PrincipalTokenQuery) WithPrincipal(opts ...func(*PrincipalQuery)) *PrincipalTokenQuery + type PrincipalTokenSelect struct + func (_s *PrincipalTokenSelect) Aggregate(fns ...AggregateFunc) *PrincipalTokenSelect + func (_s *PrincipalTokenSelect) Scan(ctx context.Context, v any) error + func (s *PrincipalTokenSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *PrincipalTokenSelect) BoolX(ctx context.Context) bool + func (s *PrincipalTokenSelect) Bools(ctx context.Context) ([]bool, error) + func (s *PrincipalTokenSelect) BoolsX(ctx context.Context) []bool + func (s *PrincipalTokenSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *PrincipalTokenSelect) Float64X(ctx context.Context) float64 + func (s *PrincipalTokenSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *PrincipalTokenSelect) Float64sX(ctx context.Context) []float64 + func (s *PrincipalTokenSelect) Int(ctx context.Context) (_ int, err error) + func (s *PrincipalTokenSelect) IntX(ctx context.Context) int + func (s *PrincipalTokenSelect) Ints(ctx context.Context) ([]int, error) + func (s *PrincipalTokenSelect) IntsX(ctx context.Context) []int + func (s *PrincipalTokenSelect) ScanX(ctx context.Context, v any) + func (s *PrincipalTokenSelect) String(ctx context.Context) (_ string, err error) + func (s *PrincipalTokenSelect) StringX(ctx context.Context) string + func (s *PrincipalTokenSelect) Strings(ctx context.Context) ([]string, error) + func (s *PrincipalTokenSelect) StringsX(ctx context.Context) []string + type PrincipalTokenUpdate struct + func (_u *PrincipalTokenUpdate) AddChildTokenIDs(ids ...uuid.UUID) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) AddChildTokens(v ...*PrincipalToken) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) AppendAudience(v []string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) AppendDelegationChain(v []string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) AppendScopes(v []string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearChildTokens() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearClientIP() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearDpopJkt() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearIssuedByApp() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearIssuedByAppID() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearLastUsedAt() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearParentToken() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearParentTokenID() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearPrincipal() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearRefreshExpiresAt() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearRefreshTokenSignature() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearRequestData() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearRevokedAt() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearRevokedReason() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearSessionID() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) ClearUserAgent() *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) Exec(ctx context.Context) error + func (_u *PrincipalTokenUpdate) ExecX(ctx context.Context) + func (_u *PrincipalTokenUpdate) Mutation() *PrincipalTokenMutation + func (_u *PrincipalTokenUpdate) RemoveChildTokenIDs(ids ...uuid.UUID) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) RemoveChildTokens(v ...*PrincipalToken) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) Save(ctx context.Context) (int, error) + func (_u *PrincipalTokenUpdate) SaveX(ctx context.Context) int + func (_u *PrincipalTokenUpdate) SetAccessExpiresAt(v time.Time) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetAccessTokenSignature(v string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetAudience(v []string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetCapabilities(v map[string]bool) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetClientIP(v string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetDelegationChain(v []string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetDpopJkt(v string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetFamilyID(v uuid.UUID) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetIssuedByApp(v *Application) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetIssuedByAppID(v uuid.UUID) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetLastUsedAt(v time.Time) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableAccessExpiresAt(v *time.Time) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableAccessTokenSignature(v *string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableClientIP(v *string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableDpopJkt(v *string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableFamilyID(v *uuid.UUID) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableIssuedByAppID(v *uuid.UUID) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableLastUsedAt(v *time.Time) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableParentTokenID(v *uuid.UUID) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillablePrincipalID(v *uuid.UUID) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillablePrincipalType(v *principaltoken.PrincipalType) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableRefreshExpiresAt(v *time.Time) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableRefreshTokenSignature(v *string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableRequestData(v *string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableRevoked(v *bool) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableRevokedAt(v *time.Time) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableRevokedReason(v *string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableSessionID(v *string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetNillableUserAgent(v *string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetParentToken(v *PrincipalToken) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetParentTokenID(v uuid.UUID) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetPrincipal(v *Principal) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetPrincipalID(v uuid.UUID) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetPrincipalType(v principaltoken.PrincipalType) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetRefreshExpiresAt(v time.Time) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetRefreshTokenSignature(v string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetRequestData(v string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetRevoked(v bool) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetRevokedAt(v time.Time) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetRevokedReason(v string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetScopes(v []string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetSessionID(v string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) SetUserAgent(v string) *PrincipalTokenUpdate + func (_u *PrincipalTokenUpdate) Where(ps ...predicate.PrincipalToken) *PrincipalTokenUpdate + type PrincipalTokenUpdateOne struct + func (_u *PrincipalTokenUpdateOne) AddChildTokenIDs(ids ...uuid.UUID) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) AddChildTokens(v ...*PrincipalToken) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) AppendAudience(v []string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) AppendDelegationChain(v []string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) AppendScopes(v []string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearChildTokens() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearClientIP() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearDpopJkt() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearIssuedByApp() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearIssuedByAppID() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearLastUsedAt() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearParentToken() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearParentTokenID() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearPrincipal() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearRefreshExpiresAt() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearRefreshTokenSignature() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearRequestData() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearRevokedAt() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearRevokedReason() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearSessionID() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) ClearUserAgent() *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) Exec(ctx context.Context) error + func (_u *PrincipalTokenUpdateOne) ExecX(ctx context.Context) + func (_u *PrincipalTokenUpdateOne) Mutation() *PrincipalTokenMutation + func (_u *PrincipalTokenUpdateOne) RemoveChildTokenIDs(ids ...uuid.UUID) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) RemoveChildTokens(v ...*PrincipalToken) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) Save(ctx context.Context) (*PrincipalToken, error) + func (_u *PrincipalTokenUpdateOne) SaveX(ctx context.Context) *PrincipalToken + func (_u *PrincipalTokenUpdateOne) Select(field string, fields ...string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetAccessExpiresAt(v time.Time) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetAccessTokenSignature(v string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetAudience(v []string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetCapabilities(v map[string]bool) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetClientIP(v string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetDelegationChain(v []string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetDpopJkt(v string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetFamilyID(v uuid.UUID) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetIssuedByApp(v *Application) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetIssuedByAppID(v uuid.UUID) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetLastUsedAt(v time.Time) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableAccessExpiresAt(v *time.Time) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableAccessTokenSignature(v *string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableClientIP(v *string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableDpopJkt(v *string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableFamilyID(v *uuid.UUID) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableIssuedByAppID(v *uuid.UUID) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableLastUsedAt(v *time.Time) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableParentTokenID(v *uuid.UUID) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillablePrincipalID(v *uuid.UUID) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillablePrincipalType(v *principaltoken.PrincipalType) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableRefreshExpiresAt(v *time.Time) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableRefreshTokenSignature(v *string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableRequestData(v *string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableRevoked(v *bool) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableRevokedAt(v *time.Time) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableRevokedReason(v *string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableSessionID(v *string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetNillableUserAgent(v *string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetParentToken(v *PrincipalToken) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetParentTokenID(v uuid.UUID) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetPrincipal(v *Principal) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetPrincipalID(v uuid.UUID) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetPrincipalType(v principaltoken.PrincipalType) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetRefreshExpiresAt(v time.Time) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetRefreshTokenSignature(v string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetRequestData(v string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetRevoked(v bool) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetRevokedAt(v time.Time) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetRevokedReason(v string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetScopes(v []string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetSessionID(v string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) SetUserAgent(v string) *PrincipalTokenUpdateOne + func (_u *PrincipalTokenUpdateOne) Where(ps ...predicate.PrincipalToken) *PrincipalTokenUpdateOne + type PrincipalTokenUpsert struct + func (u *PrincipalTokenUpsert) ClearClientIP() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) ClearDpopJkt() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) ClearIssuedByAppID() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) ClearLastUsedAt() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) ClearParentTokenID() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) ClearRefreshExpiresAt() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) ClearRefreshTokenSignature() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) ClearRequestData() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) ClearRevokedAt() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) ClearRevokedReason() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) ClearSessionID() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) ClearUserAgent() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetAccessExpiresAt(v time.Time) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetAccessTokenSignature(v string) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetAudience(v []string) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetCapabilities(v map[string]bool) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetClientIP(v string) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetDelegationChain(v []string) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetDpopJkt(v string) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetFamilyID(v uuid.UUID) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetIssuedByAppID(v uuid.UUID) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetLastUsedAt(v time.Time) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetParentTokenID(v uuid.UUID) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetPrincipalID(v uuid.UUID) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetPrincipalType(v principaltoken.PrincipalType) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetRefreshExpiresAt(v time.Time) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetRefreshTokenSignature(v string) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetRequestData(v string) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetRevoked(v bool) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetRevokedAt(v time.Time) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetRevokedReason(v string) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetScopes(v []string) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetSessionID(v string) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) SetUserAgent(v string) *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateAccessExpiresAt() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateAccessTokenSignature() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateAudience() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateCapabilities() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateClientIP() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateDelegationChain() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateDpopJkt() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateFamilyID() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateIssuedByAppID() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateLastUsedAt() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateParentTokenID() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdatePrincipalID() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdatePrincipalType() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateRefreshExpiresAt() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateRefreshTokenSignature() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateRequestData() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateRevoked() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateRevokedAt() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateRevokedReason() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateScopes() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateSessionID() *PrincipalTokenUpsert + func (u *PrincipalTokenUpsert) UpdateUserAgent() *PrincipalTokenUpsert + type PrincipalTokenUpsertBulk struct + func (u *PrincipalTokenUpsertBulk) ClearClientIP() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) ClearDpopJkt() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) ClearIssuedByAppID() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) ClearLastUsedAt() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) ClearParentTokenID() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) ClearRefreshExpiresAt() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) ClearRefreshTokenSignature() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) ClearRequestData() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) ClearRevokedAt() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) ClearRevokedReason() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) ClearSessionID() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) ClearUserAgent() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) DoNothing() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) Exec(ctx context.Context) error + func (u *PrincipalTokenUpsertBulk) ExecX(ctx context.Context) + func (u *PrincipalTokenUpsertBulk) Ignore() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetAccessExpiresAt(v time.Time) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetAccessTokenSignature(v string) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetAudience(v []string) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetCapabilities(v map[string]bool) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetClientIP(v string) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetDelegationChain(v []string) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetDpopJkt(v string) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetFamilyID(v uuid.UUID) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetIssuedByAppID(v uuid.UUID) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetLastUsedAt(v time.Time) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetParentTokenID(v uuid.UUID) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetPrincipalID(v uuid.UUID) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetPrincipalType(v principaltoken.PrincipalType) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetRefreshExpiresAt(v time.Time) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetRefreshTokenSignature(v string) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetRequestData(v string) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetRevoked(v bool) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetRevokedAt(v time.Time) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetRevokedReason(v string) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetScopes(v []string) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetSessionID(v string) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) SetUserAgent(v string) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) Update(set func(*PrincipalTokenUpsert)) *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateAccessExpiresAt() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateAccessTokenSignature() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateAudience() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateCapabilities() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateClientIP() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateDelegationChain() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateDpopJkt() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateFamilyID() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateIssuedByAppID() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateLastUsedAt() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateNewValues() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateParentTokenID() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdatePrincipalID() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdatePrincipalType() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateRefreshExpiresAt() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateRefreshTokenSignature() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateRequestData() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateRevoked() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateRevokedAt() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateRevokedReason() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateScopes() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateSessionID() *PrincipalTokenUpsertBulk + func (u *PrincipalTokenUpsertBulk) UpdateUserAgent() *PrincipalTokenUpsertBulk + type PrincipalTokenUpsertOne struct + func (u *PrincipalTokenUpsertOne) ClearClientIP() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) ClearDpopJkt() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) ClearIssuedByAppID() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) ClearLastUsedAt() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) ClearParentTokenID() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) ClearRefreshExpiresAt() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) ClearRefreshTokenSignature() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) ClearRequestData() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) ClearRevokedAt() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) ClearRevokedReason() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) ClearSessionID() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) ClearUserAgent() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) DoNothing() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) Exec(ctx context.Context) error + func (u *PrincipalTokenUpsertOne) ExecX(ctx context.Context) + func (u *PrincipalTokenUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *PrincipalTokenUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *PrincipalTokenUpsertOne) Ignore() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetAccessExpiresAt(v time.Time) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetAccessTokenSignature(v string) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetAudience(v []string) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetCapabilities(v map[string]bool) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetClientIP(v string) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetDelegationChain(v []string) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetDpopJkt(v string) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetFamilyID(v uuid.UUID) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetIssuedByAppID(v uuid.UUID) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetLastUsedAt(v time.Time) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetParentTokenID(v uuid.UUID) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetPrincipalID(v uuid.UUID) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetPrincipalType(v principaltoken.PrincipalType) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetRefreshExpiresAt(v time.Time) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetRefreshTokenSignature(v string) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetRequestData(v string) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetRevoked(v bool) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetRevokedAt(v time.Time) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetRevokedReason(v string) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetScopes(v []string) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetSessionID(v string) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) SetUserAgent(v string) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) Update(set func(*PrincipalTokenUpsert)) *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateAccessExpiresAt() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateAccessTokenSignature() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateAudience() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateCapabilities() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateClientIP() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateDelegationChain() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateDpopJkt() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateFamilyID() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateIssuedByAppID() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateLastUsedAt() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateNewValues() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateParentTokenID() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdatePrincipalID() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdatePrincipalType() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateRefreshExpiresAt() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateRefreshTokenSignature() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateRequestData() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateRevoked() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateRevokedAt() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateRevokedReason() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateScopes() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateSessionID() *PrincipalTokenUpsertOne + func (u *PrincipalTokenUpsertOne) UpdateUserAgent() *PrincipalTokenUpsertOne + type PrincipalTokens []*PrincipalToken + type PrincipalUpdate struct + func (_u *PrincipalUpdate) AddAssignedSeatIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) AddAssignedSeats(v ...*SeatAssignment) *PrincipalUpdate + func (_u *PrincipalUpdate) AddCredentialIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) AddCredentials(v ...*Credential) *PrincipalUpdate + func (_u *PrincipalUpdate) AddOwnedListingIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) AddOwnedListings(v ...*Listing) *PrincipalUpdate + func (_u *PrincipalUpdate) AddOwnedOrganizationIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) AddOwnedOrganizations(v ...*Organization) *PrincipalUpdate + func (_u *PrincipalUpdate) AddPrincipalMembershipIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) AddPrincipalMemberships(v ...*PrincipalMembership) *PrincipalUpdate + func (_u *PrincipalUpdate) AddPrincipalTokenIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) AddPrincipalTokens(v ...*PrincipalToken) *PrincipalUpdate + func (_u *PrincipalUpdate) AddPurchasedLicenseIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) AddPurchasedLicenses(v ...*License) *PrincipalUpdate + func (_u *PrincipalUpdate) AddSeatAssignmentIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) AddSeatAssignments(v ...*SeatAssignment) *PrincipalUpdate + func (_u *PrincipalUpdate) AddSentInviteIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) AddSentInvites(v ...*Invite) *PrincipalUpdate + func (_u *PrincipalUpdate) AppendAllowedScopes(v []string) *PrincipalUpdate + func (_u *PrincipalUpdate) ClearAgent() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearApplication() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearAssignedSeats() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearCredentials() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearHuman() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearMetadata() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearOrganization() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearOrganizationID() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearOwnedListings() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearOwnedOrganizations() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearPrincipalMemberships() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearPrincipalTokens() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearPurchasedLicenses() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearSeatAssignments() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearSentInvites() *PrincipalUpdate + func (_u *PrincipalUpdate) ClearServicePrincipal() *PrincipalUpdate + func (_u *PrincipalUpdate) Exec(ctx context.Context) error + func (_u *PrincipalUpdate) ExecX(ctx context.Context) + func (_u *PrincipalUpdate) Mutation() *PrincipalMutation + func (_u *PrincipalUpdate) RemoveAssignedSeatIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) RemoveAssignedSeats(v ...*SeatAssignment) *PrincipalUpdate + func (_u *PrincipalUpdate) RemoveCredentialIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) RemoveCredentials(v ...*Credential) *PrincipalUpdate + func (_u *PrincipalUpdate) RemoveOwnedListingIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) RemoveOwnedListings(v ...*Listing) *PrincipalUpdate + func (_u *PrincipalUpdate) RemoveOwnedOrganizationIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) RemoveOwnedOrganizations(v ...*Organization) *PrincipalUpdate + func (_u *PrincipalUpdate) RemovePrincipalMembershipIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) RemovePrincipalMemberships(v ...*PrincipalMembership) *PrincipalUpdate + func (_u *PrincipalUpdate) RemovePrincipalTokenIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) RemovePrincipalTokens(v ...*PrincipalToken) *PrincipalUpdate + func (_u *PrincipalUpdate) RemovePurchasedLicenseIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) RemovePurchasedLicenses(v ...*License) *PrincipalUpdate + func (_u *PrincipalUpdate) RemoveSeatAssignmentIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) RemoveSeatAssignments(v ...*SeatAssignment) *PrincipalUpdate + func (_u *PrincipalUpdate) RemoveSentInviteIDs(ids ...uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) RemoveSentInvites(v ...*Invite) *PrincipalUpdate + func (_u *PrincipalUpdate) Save(ctx context.Context) (int, error) + func (_u *PrincipalUpdate) SaveX(ctx context.Context) int + func (_u *PrincipalUpdate) SetActive(v bool) *PrincipalUpdate + func (_u *PrincipalUpdate) SetAgent(v *Agent) *PrincipalUpdate + func (_u *PrincipalUpdate) SetAgentID(id uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) SetAllowedScopes(v []string) *PrincipalUpdate + func (_u *PrincipalUpdate) SetApplication(v *Application) *PrincipalUpdate + func (_u *PrincipalUpdate) SetApplicationID(id uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) SetCapabilities(v map[string]bool) *PrincipalUpdate + func (_u *PrincipalUpdate) SetDisplayName(v string) *PrincipalUpdate + func (_u *PrincipalUpdate) SetHuman(v *Human) *PrincipalUpdate + func (_u *PrincipalUpdate) SetHumanID(id uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) SetIdentifier(v string) *PrincipalUpdate + func (_u *PrincipalUpdate) SetMetadata(v map[string]interface{}) *PrincipalUpdate + func (_u *PrincipalUpdate) SetNillableActive(v *bool) *PrincipalUpdate + func (_u *PrincipalUpdate) SetNillableAgentID(id *uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) SetNillableApplicationID(id *uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) SetNillableDisplayName(v *string) *PrincipalUpdate + func (_u *PrincipalUpdate) SetNillableHumanID(id *uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) SetNillableIdentifier(v *string) *PrincipalUpdate + func (_u *PrincipalUpdate) SetNillableOrganizationID(v *uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) SetNillableServicePrincipalID(id *uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) SetOrganization(v *Organization) *PrincipalUpdate + func (_u *PrincipalUpdate) SetOrganizationID(v uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) SetServicePrincipal(v *ServicePrincipal) *PrincipalUpdate + func (_u *PrincipalUpdate) SetServicePrincipalID(id uuid.UUID) *PrincipalUpdate + func (_u *PrincipalUpdate) SetUpdatedAt(v time.Time) *PrincipalUpdate + func (_u *PrincipalUpdate) Where(ps ...predicate.Principal) *PrincipalUpdate + type PrincipalUpdateOne struct + func (_u *PrincipalUpdateOne) AddAssignedSeatIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddAssignedSeats(v ...*SeatAssignment) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddCredentialIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddCredentials(v ...*Credential) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddOwnedListingIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddOwnedListings(v ...*Listing) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddOwnedOrganizationIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddOwnedOrganizations(v ...*Organization) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddPrincipalMembershipIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddPrincipalMemberships(v ...*PrincipalMembership) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddPrincipalTokenIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddPrincipalTokens(v ...*PrincipalToken) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddPurchasedLicenseIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddPurchasedLicenses(v ...*License) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddSeatAssignmentIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddSeatAssignments(v ...*SeatAssignment) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddSentInviteIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AddSentInvites(v ...*Invite) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) AppendAllowedScopes(v []string) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearAgent() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearApplication() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearAssignedSeats() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearCredentials() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearHuman() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearMetadata() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearOrganization() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearOrganizationID() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearOwnedListings() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearOwnedOrganizations() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearPrincipalMemberships() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearPrincipalTokens() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearPurchasedLicenses() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearSeatAssignments() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearSentInvites() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) ClearServicePrincipal() *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) Exec(ctx context.Context) error + func (_u *PrincipalUpdateOne) ExecX(ctx context.Context) + func (_u *PrincipalUpdateOne) Mutation() *PrincipalMutation + func (_u *PrincipalUpdateOne) RemoveAssignedSeatIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemoveAssignedSeats(v ...*SeatAssignment) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemoveCredentialIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemoveCredentials(v ...*Credential) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemoveOwnedListingIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemoveOwnedListings(v ...*Listing) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemoveOwnedOrganizationIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemoveOwnedOrganizations(v ...*Organization) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemovePrincipalMembershipIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemovePrincipalMemberships(v ...*PrincipalMembership) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemovePrincipalTokenIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemovePrincipalTokens(v ...*PrincipalToken) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemovePurchasedLicenseIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemovePurchasedLicenses(v ...*License) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemoveSeatAssignmentIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemoveSeatAssignments(v ...*SeatAssignment) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemoveSentInviteIDs(ids ...uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) RemoveSentInvites(v ...*Invite) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) Save(ctx context.Context) (*Principal, error) + func (_u *PrincipalUpdateOne) SaveX(ctx context.Context) *Principal + func (_u *PrincipalUpdateOne) Select(field string, fields ...string) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetActive(v bool) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetAgent(v *Agent) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetAgentID(id uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetAllowedScopes(v []string) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetApplication(v *Application) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetApplicationID(id uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetCapabilities(v map[string]bool) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetDisplayName(v string) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetHuman(v *Human) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetHumanID(id uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetIdentifier(v string) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetMetadata(v map[string]interface{}) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetNillableActive(v *bool) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetNillableAgentID(id *uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetNillableApplicationID(id *uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetNillableDisplayName(v *string) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetNillableHumanID(id *uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetNillableIdentifier(v *string) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetNillableOrganizationID(v *uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetNillableServicePrincipalID(id *uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetOrganization(v *Organization) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetOrganizationID(v uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetServicePrincipal(v *ServicePrincipal) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetServicePrincipalID(id uuid.UUID) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) SetUpdatedAt(v time.Time) *PrincipalUpdateOne + func (_u *PrincipalUpdateOne) Where(ps ...predicate.Principal) *PrincipalUpdateOne + type PrincipalUpsert struct + func (u *PrincipalUpsert) ClearMetadata() *PrincipalUpsert + func (u *PrincipalUpsert) ClearOrganizationID() *PrincipalUpsert + func (u *PrincipalUpsert) SetActive(v bool) *PrincipalUpsert + func (u *PrincipalUpsert) SetAllowedScopes(v []string) *PrincipalUpsert + func (u *PrincipalUpsert) SetCapabilities(v map[string]bool) *PrincipalUpsert + func (u *PrincipalUpsert) SetDisplayName(v string) *PrincipalUpsert + func (u *PrincipalUpsert) SetIdentifier(v string) *PrincipalUpsert + func (u *PrincipalUpsert) SetMetadata(v map[string]interface{}) *PrincipalUpsert + func (u *PrincipalUpsert) SetOrganizationID(v uuid.UUID) *PrincipalUpsert + func (u *PrincipalUpsert) SetUpdatedAt(v time.Time) *PrincipalUpsert + func (u *PrincipalUpsert) UpdateActive() *PrincipalUpsert + func (u *PrincipalUpsert) UpdateAllowedScopes() *PrincipalUpsert + func (u *PrincipalUpsert) UpdateCapabilities() *PrincipalUpsert + func (u *PrincipalUpsert) UpdateDisplayName() *PrincipalUpsert + func (u *PrincipalUpsert) UpdateIdentifier() *PrincipalUpsert + func (u *PrincipalUpsert) UpdateMetadata() *PrincipalUpsert + func (u *PrincipalUpsert) UpdateOrganizationID() *PrincipalUpsert + func (u *PrincipalUpsert) UpdateUpdatedAt() *PrincipalUpsert + type PrincipalUpsertBulk struct + func (u *PrincipalUpsertBulk) ClearMetadata() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) ClearOrganizationID() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) DoNothing() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) Exec(ctx context.Context) error + func (u *PrincipalUpsertBulk) ExecX(ctx context.Context) + func (u *PrincipalUpsertBulk) Ignore() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) SetActive(v bool) *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) SetAllowedScopes(v []string) *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) SetCapabilities(v map[string]bool) *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) SetDisplayName(v string) *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) SetIdentifier(v string) *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) SetMetadata(v map[string]interface{}) *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) SetOrganizationID(v uuid.UUID) *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) SetUpdatedAt(v time.Time) *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) Update(set func(*PrincipalUpsert)) *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) UpdateActive() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) UpdateAllowedScopes() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) UpdateCapabilities() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) UpdateDisplayName() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) UpdateIdentifier() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) UpdateMetadata() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) UpdateNewValues() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) UpdateOrganizationID() *PrincipalUpsertBulk + func (u *PrincipalUpsertBulk) UpdateUpdatedAt() *PrincipalUpsertBulk + type PrincipalUpsertOne struct + func (u *PrincipalUpsertOne) ClearMetadata() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) ClearOrganizationID() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) DoNothing() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) Exec(ctx context.Context) error + func (u *PrincipalUpsertOne) ExecX(ctx context.Context) + func (u *PrincipalUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *PrincipalUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *PrincipalUpsertOne) Ignore() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) SetActive(v bool) *PrincipalUpsertOne + func (u *PrincipalUpsertOne) SetAllowedScopes(v []string) *PrincipalUpsertOne + func (u *PrincipalUpsertOne) SetCapabilities(v map[string]bool) *PrincipalUpsertOne + func (u *PrincipalUpsertOne) SetDisplayName(v string) *PrincipalUpsertOne + func (u *PrincipalUpsertOne) SetIdentifier(v string) *PrincipalUpsertOne + func (u *PrincipalUpsertOne) SetMetadata(v map[string]interface{}) *PrincipalUpsertOne + func (u *PrincipalUpsertOne) SetOrganizationID(v uuid.UUID) *PrincipalUpsertOne + func (u *PrincipalUpsertOne) SetUpdatedAt(v time.Time) *PrincipalUpsertOne + func (u *PrincipalUpsertOne) Update(set func(*PrincipalUpsert)) *PrincipalUpsertOne + func (u *PrincipalUpsertOne) UpdateActive() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) UpdateAllowedScopes() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) UpdateCapabilities() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) UpdateDisplayName() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) UpdateIdentifier() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) UpdateMetadata() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) UpdateNewValues() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) UpdateOrganizationID() *PrincipalUpsertOne + func (u *PrincipalUpsertOne) UpdateUpdatedAt() *PrincipalUpsertOne + type Principals []*Principal + type Querier = ent.Querier + type QuerierFunc = ent.QuerierFunc + type Query = ent.Query + type QueryContext = ent.QueryContext + type RefreshToken struct + CreatedAt time.Time + Edges RefreshTokenEdges + ExpiresAt time.Time + Family string + ID uuid.UUID + IPAddress string + Revoked bool + Token string + UpdatedAt time.Time + UserAgent string + UserID uuid.UUID + func (_m *RefreshToken) QueryUser() *UserQuery + func (_m *RefreshToken) String() string + func (_m *RefreshToken) Unwrap() *RefreshToken + func (_m *RefreshToken) Update() *RefreshTokenUpdateOne + func (_m *RefreshToken) Value(name string) (ent.Value, error) + type RefreshTokenClient struct + func NewRefreshTokenClient(c config) *RefreshTokenClient + func (c *RefreshTokenClient) Create() *RefreshTokenCreate + func (c *RefreshTokenClient) CreateBulk(builders ...*RefreshTokenCreate) *RefreshTokenCreateBulk + func (c *RefreshTokenClient) Delete() *RefreshTokenDelete + func (c *RefreshTokenClient) DeleteOne(_m *RefreshToken) *RefreshTokenDeleteOne + func (c *RefreshTokenClient) DeleteOneID(id uuid.UUID) *RefreshTokenDeleteOne + func (c *RefreshTokenClient) Get(ctx context.Context, id uuid.UUID) (*RefreshToken, error) + func (c *RefreshTokenClient) GetX(ctx context.Context, id uuid.UUID) *RefreshToken + func (c *RefreshTokenClient) Hooks() []Hook + func (c *RefreshTokenClient) Intercept(interceptors ...Interceptor) + func (c *RefreshTokenClient) Interceptors() []Interceptor + func (c *RefreshTokenClient) MapCreateBulk(slice any, setFunc func(*RefreshTokenCreate, int)) *RefreshTokenCreateBulk + func (c *RefreshTokenClient) Query() *RefreshTokenQuery + func (c *RefreshTokenClient) QueryUser(_m *RefreshToken) *UserQuery + func (c *RefreshTokenClient) Update() *RefreshTokenUpdate + func (c *RefreshTokenClient) UpdateOne(_m *RefreshToken) *RefreshTokenUpdateOne + func (c *RefreshTokenClient) UpdateOneID(id uuid.UUID) *RefreshTokenUpdateOne + func (c *RefreshTokenClient) Use(hooks ...Hook) + type RefreshTokenCreate struct + func (_c *RefreshTokenCreate) Exec(ctx context.Context) error + func (_c *RefreshTokenCreate) ExecX(ctx context.Context) + func (_c *RefreshTokenCreate) Mutation() *RefreshTokenMutation + func (_c *RefreshTokenCreate) OnConflict(opts ...sql.ConflictOption) *RefreshTokenUpsertOne + func (_c *RefreshTokenCreate) OnConflictColumns(columns ...string) *RefreshTokenUpsertOne + func (_c *RefreshTokenCreate) Save(ctx context.Context) (*RefreshToken, error) + func (_c *RefreshTokenCreate) SaveX(ctx context.Context) *RefreshToken + func (_c *RefreshTokenCreate) SetCreatedAt(v time.Time) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetExpiresAt(v time.Time) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetFamily(v string) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetID(v uuid.UUID) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetIPAddress(v string) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetNillableCreatedAt(v *time.Time) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetNillableID(v *uuid.UUID) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetNillableIPAddress(v *string) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetNillableRevoked(v *bool) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetNillableUpdatedAt(v *time.Time) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetNillableUserAgent(v *string) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetRevoked(v bool) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetToken(v string) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetUpdatedAt(v time.Time) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetUser(v *User) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetUserAgent(v string) *RefreshTokenCreate + func (_c *RefreshTokenCreate) SetUserID(v uuid.UUID) *RefreshTokenCreate + type RefreshTokenCreateBulk struct + func (_c *RefreshTokenCreateBulk) Exec(ctx context.Context) error + func (_c *RefreshTokenCreateBulk) ExecX(ctx context.Context) + func (_c *RefreshTokenCreateBulk) OnConflict(opts ...sql.ConflictOption) *RefreshTokenUpsertBulk + func (_c *RefreshTokenCreateBulk) OnConflictColumns(columns ...string) *RefreshTokenUpsertBulk + func (_c *RefreshTokenCreateBulk) Save(ctx context.Context) ([]*RefreshToken, error) + func (_c *RefreshTokenCreateBulk) SaveX(ctx context.Context) []*RefreshToken + type RefreshTokenDelete struct + func (_d *RefreshTokenDelete) Exec(ctx context.Context) (int, error) + func (_d *RefreshTokenDelete) ExecX(ctx context.Context) int + func (_d *RefreshTokenDelete) Where(ps ...predicate.RefreshToken) *RefreshTokenDelete + type RefreshTokenDeleteOne struct + func (_d *RefreshTokenDeleteOne) Exec(ctx context.Context) error + func (_d *RefreshTokenDeleteOne) ExecX(ctx context.Context) + func (_d *RefreshTokenDeleteOne) Where(ps ...predicate.RefreshToken) *RefreshTokenDeleteOne + type RefreshTokenEdges struct + User *User + func (e RefreshTokenEdges) UserOrErr() (*User, error) + type RefreshTokenFilter struct + func (f *RefreshTokenFilter) Where(p entql.P) + func (f *RefreshTokenFilter) WhereCreatedAt(p entql.TimeP) + func (f *RefreshTokenFilter) WhereExpiresAt(p entql.TimeP) + func (f *RefreshTokenFilter) WhereFamily(p entql.StringP) + func (f *RefreshTokenFilter) WhereHasUser() + func (f *RefreshTokenFilter) WhereHasUserWith(preds ...predicate.User) + func (f *RefreshTokenFilter) WhereID(p entql.ValueP) + func (f *RefreshTokenFilter) WhereIPAddress(p entql.StringP) + func (f *RefreshTokenFilter) WhereRevoked(p entql.BoolP) + func (f *RefreshTokenFilter) WhereToken(p entql.StringP) + func (f *RefreshTokenFilter) WhereUpdatedAt(p entql.TimeP) + func (f *RefreshTokenFilter) WhereUserAgent(p entql.StringP) + func (f *RefreshTokenFilter) WhereUserID(p entql.ValueP) + type RefreshTokenGroupBy struct + func (_g *RefreshTokenGroupBy) Aggregate(fns ...AggregateFunc) *RefreshTokenGroupBy + func (_g *RefreshTokenGroupBy) Scan(ctx context.Context, v any) error + func (s *RefreshTokenGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *RefreshTokenGroupBy) BoolX(ctx context.Context) bool + func (s *RefreshTokenGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *RefreshTokenGroupBy) BoolsX(ctx context.Context) []bool + func (s *RefreshTokenGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *RefreshTokenGroupBy) Float64X(ctx context.Context) float64 + func (s *RefreshTokenGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *RefreshTokenGroupBy) Float64sX(ctx context.Context) []float64 + func (s *RefreshTokenGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *RefreshTokenGroupBy) IntX(ctx context.Context) int + func (s *RefreshTokenGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *RefreshTokenGroupBy) IntsX(ctx context.Context) []int + func (s *RefreshTokenGroupBy) ScanX(ctx context.Context, v any) + func (s *RefreshTokenGroupBy) String(ctx context.Context) (_ string, err error) + func (s *RefreshTokenGroupBy) StringX(ctx context.Context) string + func (s *RefreshTokenGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *RefreshTokenGroupBy) StringsX(ctx context.Context) []string + type RefreshTokenMutation struct + func (m *RefreshTokenMutation) AddField(name string, value ent.Value) error + func (m *RefreshTokenMutation) AddedEdges() []string + func (m *RefreshTokenMutation) AddedField(name string) (ent.Value, bool) + func (m *RefreshTokenMutation) AddedFields() []string + func (m *RefreshTokenMutation) AddedIDs(name string) []ent.Value + func (m *RefreshTokenMutation) ClearEdge(name string) error + func (m *RefreshTokenMutation) ClearField(name string) error + func (m *RefreshTokenMutation) ClearIPAddress() + func (m *RefreshTokenMutation) ClearUser() + func (m *RefreshTokenMutation) ClearUserAgent() + func (m *RefreshTokenMutation) ClearedEdges() []string + func (m *RefreshTokenMutation) ClearedFields() []string + func (m *RefreshTokenMutation) CreatedAt() (r time.Time, exists bool) + func (m *RefreshTokenMutation) EdgeCleared(name string) bool + func (m *RefreshTokenMutation) ExpiresAt() (r time.Time, exists bool) + func (m *RefreshTokenMutation) Family() (r string, exists bool) + func (m *RefreshTokenMutation) Field(name string) (ent.Value, bool) + func (m *RefreshTokenMutation) FieldCleared(name string) bool + func (m *RefreshTokenMutation) Fields() []string + func (m *RefreshTokenMutation) Filter() *RefreshTokenFilter + func (m *RefreshTokenMutation) ID() (id uuid.UUID, exists bool) + func (m *RefreshTokenMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *RefreshTokenMutation) IPAddress() (r string, exists bool) + func (m *RefreshTokenMutation) IPAddressCleared() bool + func (m *RefreshTokenMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *RefreshTokenMutation) OldExpiresAt(ctx context.Context) (v time.Time, err error) + func (m *RefreshTokenMutation) OldFamily(ctx context.Context) (v string, err error) + func (m *RefreshTokenMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *RefreshTokenMutation) OldIPAddress(ctx context.Context) (v string, err error) + func (m *RefreshTokenMutation) OldRevoked(ctx context.Context) (v bool, err error) + func (m *RefreshTokenMutation) OldToken(ctx context.Context) (v string, err error) + func (m *RefreshTokenMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *RefreshTokenMutation) OldUserAgent(ctx context.Context) (v string, err error) + func (m *RefreshTokenMutation) OldUserID(ctx context.Context) (v uuid.UUID, err error) + func (m *RefreshTokenMutation) Op() Op + func (m *RefreshTokenMutation) RemovedEdges() []string + func (m *RefreshTokenMutation) RemovedIDs(name string) []ent.Value + func (m *RefreshTokenMutation) ResetCreatedAt() + func (m *RefreshTokenMutation) ResetEdge(name string) error + func (m *RefreshTokenMutation) ResetExpiresAt() + func (m *RefreshTokenMutation) ResetFamily() + func (m *RefreshTokenMutation) ResetField(name string) error + func (m *RefreshTokenMutation) ResetIPAddress() + func (m *RefreshTokenMutation) ResetRevoked() + func (m *RefreshTokenMutation) ResetToken() + func (m *RefreshTokenMutation) ResetUpdatedAt() + func (m *RefreshTokenMutation) ResetUser() + func (m *RefreshTokenMutation) ResetUserAgent() + func (m *RefreshTokenMutation) ResetUserID() + func (m *RefreshTokenMutation) Revoked() (r bool, exists bool) + func (m *RefreshTokenMutation) SetCreatedAt(t time.Time) + func (m *RefreshTokenMutation) SetExpiresAt(t time.Time) + func (m *RefreshTokenMutation) SetFamily(s string) + func (m *RefreshTokenMutation) SetField(name string, value ent.Value) error + func (m *RefreshTokenMutation) SetID(id uuid.UUID) + func (m *RefreshTokenMutation) SetIPAddress(s string) + func (m *RefreshTokenMutation) SetOp(op Op) + func (m *RefreshTokenMutation) SetRevoked(b bool) + func (m *RefreshTokenMutation) SetToken(s string) + func (m *RefreshTokenMutation) SetUpdatedAt(t time.Time) + func (m *RefreshTokenMutation) SetUserAgent(s string) + func (m *RefreshTokenMutation) SetUserID(u uuid.UUID) + func (m *RefreshTokenMutation) Token() (r string, exists bool) + func (m *RefreshTokenMutation) Type() string + func (m *RefreshTokenMutation) UpdatedAt() (r time.Time, exists bool) + func (m *RefreshTokenMutation) UserAgent() (r string, exists bool) + func (m *RefreshTokenMutation) UserAgentCleared() bool + func (m *RefreshTokenMutation) UserCleared() bool + func (m *RefreshTokenMutation) UserID() (r uuid.UUID, exists bool) + func (m *RefreshTokenMutation) UserIDs() (ids []uuid.UUID) + func (m *RefreshTokenMutation) Where(ps ...predicate.RefreshToken) + func (m *RefreshTokenMutation) WhereP(ps ...func(*sql.Selector)) + func (m RefreshTokenMutation) Client() *Client + func (m RefreshTokenMutation) Tx() (*Tx, error) + type RefreshTokenQuery struct + func (_q *RefreshTokenQuery) Aggregate(fns ...AggregateFunc) *RefreshTokenSelect + func (_q *RefreshTokenQuery) All(ctx context.Context) ([]*RefreshToken, error) + func (_q *RefreshTokenQuery) AllX(ctx context.Context) []*RefreshToken + func (_q *RefreshTokenQuery) Clone() *RefreshTokenQuery + func (_q *RefreshTokenQuery) Count(ctx context.Context) (int, error) + func (_q *RefreshTokenQuery) CountX(ctx context.Context) int + func (_q *RefreshTokenQuery) Exist(ctx context.Context) (bool, error) + func (_q *RefreshTokenQuery) ExistX(ctx context.Context) bool + func (_q *RefreshTokenQuery) Filter() *RefreshTokenFilter + func (_q *RefreshTokenQuery) First(ctx context.Context) (*RefreshToken, error) + func (_q *RefreshTokenQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *RefreshTokenQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *RefreshTokenQuery) FirstX(ctx context.Context) *RefreshToken + func (_q *RefreshTokenQuery) GroupBy(field string, fields ...string) *RefreshTokenGroupBy + func (_q *RefreshTokenQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *RefreshTokenQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *RefreshTokenQuery) Limit(limit int) *RefreshTokenQuery + func (_q *RefreshTokenQuery) Offset(offset int) *RefreshTokenQuery + func (_q *RefreshTokenQuery) Only(ctx context.Context) (*RefreshToken, error) + func (_q *RefreshTokenQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *RefreshTokenQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *RefreshTokenQuery) OnlyX(ctx context.Context) *RefreshToken + func (_q *RefreshTokenQuery) Order(o ...refreshtoken.OrderOption) *RefreshTokenQuery + func (_q *RefreshTokenQuery) QueryUser() *UserQuery + func (_q *RefreshTokenQuery) Select(fields ...string) *RefreshTokenSelect + func (_q *RefreshTokenQuery) Unique(unique bool) *RefreshTokenQuery + func (_q *RefreshTokenQuery) Where(ps ...predicate.RefreshToken) *RefreshTokenQuery + func (_q *RefreshTokenQuery) WithUser(opts ...func(*UserQuery)) *RefreshTokenQuery + type RefreshTokenSelect struct + func (_s *RefreshTokenSelect) Aggregate(fns ...AggregateFunc) *RefreshTokenSelect + func (_s *RefreshTokenSelect) Scan(ctx context.Context, v any) error + func (s *RefreshTokenSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *RefreshTokenSelect) BoolX(ctx context.Context) bool + func (s *RefreshTokenSelect) Bools(ctx context.Context) ([]bool, error) + func (s *RefreshTokenSelect) BoolsX(ctx context.Context) []bool + func (s *RefreshTokenSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *RefreshTokenSelect) Float64X(ctx context.Context) float64 + func (s *RefreshTokenSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *RefreshTokenSelect) Float64sX(ctx context.Context) []float64 + func (s *RefreshTokenSelect) Int(ctx context.Context) (_ int, err error) + func (s *RefreshTokenSelect) IntX(ctx context.Context) int + func (s *RefreshTokenSelect) Ints(ctx context.Context) ([]int, error) + func (s *RefreshTokenSelect) IntsX(ctx context.Context) []int + func (s *RefreshTokenSelect) ScanX(ctx context.Context, v any) + func (s *RefreshTokenSelect) String(ctx context.Context) (_ string, err error) + func (s *RefreshTokenSelect) StringX(ctx context.Context) string + func (s *RefreshTokenSelect) Strings(ctx context.Context) ([]string, error) + func (s *RefreshTokenSelect) StringsX(ctx context.Context) []string + type RefreshTokenUpdate struct + func (_u *RefreshTokenUpdate) ClearIPAddress() *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) ClearUser() *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) ClearUserAgent() *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) Exec(ctx context.Context) error + func (_u *RefreshTokenUpdate) ExecX(ctx context.Context) + func (_u *RefreshTokenUpdate) Mutation() *RefreshTokenMutation + func (_u *RefreshTokenUpdate) Save(ctx context.Context) (int, error) + func (_u *RefreshTokenUpdate) SaveX(ctx context.Context) int + func (_u *RefreshTokenUpdate) SetExpiresAt(v time.Time) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetFamily(v string) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetIPAddress(v string) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetNillableExpiresAt(v *time.Time) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetNillableFamily(v *string) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetNillableIPAddress(v *string) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetNillableRevoked(v *bool) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetNillableToken(v *string) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetNillableUserAgent(v *string) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetNillableUserID(v *uuid.UUID) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetRevoked(v bool) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetToken(v string) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetUpdatedAt(v time.Time) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetUser(v *User) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetUserAgent(v string) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) SetUserID(v uuid.UUID) *RefreshTokenUpdate + func (_u *RefreshTokenUpdate) Where(ps ...predicate.RefreshToken) *RefreshTokenUpdate + type RefreshTokenUpdateOne struct + func (_u *RefreshTokenUpdateOne) ClearIPAddress() *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) ClearUser() *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) ClearUserAgent() *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) Exec(ctx context.Context) error + func (_u *RefreshTokenUpdateOne) ExecX(ctx context.Context) + func (_u *RefreshTokenUpdateOne) Mutation() *RefreshTokenMutation + func (_u *RefreshTokenUpdateOne) Save(ctx context.Context) (*RefreshToken, error) + func (_u *RefreshTokenUpdateOne) SaveX(ctx context.Context) *RefreshToken + func (_u *RefreshTokenUpdateOne) Select(field string, fields ...string) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetExpiresAt(v time.Time) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetFamily(v string) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetIPAddress(v string) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetNillableExpiresAt(v *time.Time) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetNillableFamily(v *string) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetNillableIPAddress(v *string) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetNillableRevoked(v *bool) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetNillableToken(v *string) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetNillableUserAgent(v *string) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetNillableUserID(v *uuid.UUID) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetRevoked(v bool) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetToken(v string) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetUpdatedAt(v time.Time) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetUser(v *User) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetUserAgent(v string) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) SetUserID(v uuid.UUID) *RefreshTokenUpdateOne + func (_u *RefreshTokenUpdateOne) Where(ps ...predicate.RefreshToken) *RefreshTokenUpdateOne + type RefreshTokenUpsert struct + func (u *RefreshTokenUpsert) ClearIPAddress() *RefreshTokenUpsert + func (u *RefreshTokenUpsert) ClearUserAgent() *RefreshTokenUpsert + func (u *RefreshTokenUpsert) SetExpiresAt(v time.Time) *RefreshTokenUpsert + func (u *RefreshTokenUpsert) SetFamily(v string) *RefreshTokenUpsert + func (u *RefreshTokenUpsert) SetIPAddress(v string) *RefreshTokenUpsert + func (u *RefreshTokenUpsert) SetRevoked(v bool) *RefreshTokenUpsert + func (u *RefreshTokenUpsert) SetToken(v string) *RefreshTokenUpsert + func (u *RefreshTokenUpsert) SetUpdatedAt(v time.Time) *RefreshTokenUpsert + func (u *RefreshTokenUpsert) SetUserAgent(v string) *RefreshTokenUpsert + func (u *RefreshTokenUpsert) SetUserID(v uuid.UUID) *RefreshTokenUpsert + func (u *RefreshTokenUpsert) UpdateExpiresAt() *RefreshTokenUpsert + func (u *RefreshTokenUpsert) UpdateFamily() *RefreshTokenUpsert + func (u *RefreshTokenUpsert) UpdateIPAddress() *RefreshTokenUpsert + func (u *RefreshTokenUpsert) UpdateRevoked() *RefreshTokenUpsert + func (u *RefreshTokenUpsert) UpdateToken() *RefreshTokenUpsert + func (u *RefreshTokenUpsert) UpdateUpdatedAt() *RefreshTokenUpsert + func (u *RefreshTokenUpsert) UpdateUserAgent() *RefreshTokenUpsert + func (u *RefreshTokenUpsert) UpdateUserID() *RefreshTokenUpsert + type RefreshTokenUpsertBulk struct + func (u *RefreshTokenUpsertBulk) ClearIPAddress() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) ClearUserAgent() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) DoNothing() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) Exec(ctx context.Context) error + func (u *RefreshTokenUpsertBulk) ExecX(ctx context.Context) + func (u *RefreshTokenUpsertBulk) Ignore() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) SetExpiresAt(v time.Time) *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) SetFamily(v string) *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) SetIPAddress(v string) *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) SetRevoked(v bool) *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) SetToken(v string) *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) SetUpdatedAt(v time.Time) *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) SetUserAgent(v string) *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) SetUserID(v uuid.UUID) *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) Update(set func(*RefreshTokenUpsert)) *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) UpdateExpiresAt() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) UpdateFamily() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) UpdateIPAddress() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) UpdateNewValues() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) UpdateRevoked() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) UpdateToken() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) UpdateUpdatedAt() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) UpdateUserAgent() *RefreshTokenUpsertBulk + func (u *RefreshTokenUpsertBulk) UpdateUserID() *RefreshTokenUpsertBulk + type RefreshTokenUpsertOne struct + func (u *RefreshTokenUpsertOne) ClearIPAddress() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) ClearUserAgent() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) DoNothing() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) Exec(ctx context.Context) error + func (u *RefreshTokenUpsertOne) ExecX(ctx context.Context) + func (u *RefreshTokenUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *RefreshTokenUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *RefreshTokenUpsertOne) Ignore() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) SetExpiresAt(v time.Time) *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) SetFamily(v string) *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) SetIPAddress(v string) *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) SetRevoked(v bool) *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) SetToken(v string) *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) SetUpdatedAt(v time.Time) *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) SetUserAgent(v string) *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) SetUserID(v uuid.UUID) *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) Update(set func(*RefreshTokenUpsert)) *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) UpdateExpiresAt() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) UpdateFamily() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) UpdateIPAddress() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) UpdateNewValues() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) UpdateRevoked() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) UpdateToken() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) UpdateUpdatedAt() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) UpdateUserAgent() *RefreshTokenUpsertOne + func (u *RefreshTokenUpsertOne) UpdateUserID() *RefreshTokenUpsertOne + type RefreshTokens []*RefreshToken + type RollbackFunc func(context.Context, *Tx) error + func (f RollbackFunc) Rollback(ctx context.Context, tx *Tx) error + type RollbackHook func(Rollbacker) Rollbacker + type Rollbacker interface + Rollback func(context.Context, *Tx) error + type SeatAssignment struct + AssignedAt time.Time + AssignedBy uuid.UUID + Edges SeatAssignmentEdges + ID uuid.UUID + LicenseID uuid.UUID + PrincipalID uuid.UUID + func (_m *SeatAssignment) QueryAssigner() *PrincipalQuery + func (_m *SeatAssignment) QueryLicense() *LicenseQuery + func (_m *SeatAssignment) QueryPrincipal() *PrincipalQuery + func (_m *SeatAssignment) String() string + func (_m *SeatAssignment) Unwrap() *SeatAssignment + func (_m *SeatAssignment) Update() *SeatAssignmentUpdateOne + func (_m *SeatAssignment) Value(name string) (ent.Value, error) + type SeatAssignmentClient struct + func NewSeatAssignmentClient(c config) *SeatAssignmentClient + func (c *SeatAssignmentClient) Create() *SeatAssignmentCreate + func (c *SeatAssignmentClient) CreateBulk(builders ...*SeatAssignmentCreate) *SeatAssignmentCreateBulk + func (c *SeatAssignmentClient) Delete() *SeatAssignmentDelete + func (c *SeatAssignmentClient) DeleteOne(_m *SeatAssignment) *SeatAssignmentDeleteOne + func (c *SeatAssignmentClient) DeleteOneID(id uuid.UUID) *SeatAssignmentDeleteOne + func (c *SeatAssignmentClient) Get(ctx context.Context, id uuid.UUID) (*SeatAssignment, error) + func (c *SeatAssignmentClient) GetX(ctx context.Context, id uuid.UUID) *SeatAssignment + func (c *SeatAssignmentClient) Hooks() []Hook + func (c *SeatAssignmentClient) Intercept(interceptors ...Interceptor) + func (c *SeatAssignmentClient) Interceptors() []Interceptor + func (c *SeatAssignmentClient) MapCreateBulk(slice any, setFunc func(*SeatAssignmentCreate, int)) *SeatAssignmentCreateBulk + func (c *SeatAssignmentClient) Query() *SeatAssignmentQuery + func (c *SeatAssignmentClient) QueryAssigner(_m *SeatAssignment) *PrincipalQuery + func (c *SeatAssignmentClient) QueryLicense(_m *SeatAssignment) *LicenseQuery + func (c *SeatAssignmentClient) QueryPrincipal(_m *SeatAssignment) *PrincipalQuery + func (c *SeatAssignmentClient) Update() *SeatAssignmentUpdate + func (c *SeatAssignmentClient) UpdateOne(_m *SeatAssignment) *SeatAssignmentUpdateOne + func (c *SeatAssignmentClient) UpdateOneID(id uuid.UUID) *SeatAssignmentUpdateOne + func (c *SeatAssignmentClient) Use(hooks ...Hook) + type SeatAssignmentCreate struct + func (_c *SeatAssignmentCreate) Exec(ctx context.Context) error + func (_c *SeatAssignmentCreate) ExecX(ctx context.Context) + func (_c *SeatAssignmentCreate) Mutation() *SeatAssignmentMutation + func (_c *SeatAssignmentCreate) OnConflict(opts ...sql.ConflictOption) *SeatAssignmentUpsertOne + func (_c *SeatAssignmentCreate) OnConflictColumns(columns ...string) *SeatAssignmentUpsertOne + func (_c *SeatAssignmentCreate) Save(ctx context.Context) (*SeatAssignment, error) + func (_c *SeatAssignmentCreate) SaveX(ctx context.Context) *SeatAssignment + func (_c *SeatAssignmentCreate) SetAssignedAt(v time.Time) *SeatAssignmentCreate + func (_c *SeatAssignmentCreate) SetAssignedBy(v uuid.UUID) *SeatAssignmentCreate + func (_c *SeatAssignmentCreate) SetAssigner(v *Principal) *SeatAssignmentCreate + func (_c *SeatAssignmentCreate) SetAssignerID(id uuid.UUID) *SeatAssignmentCreate + func (_c *SeatAssignmentCreate) SetID(v uuid.UUID) *SeatAssignmentCreate + func (_c *SeatAssignmentCreate) SetLicense(v *License) *SeatAssignmentCreate + func (_c *SeatAssignmentCreate) SetLicenseID(v uuid.UUID) *SeatAssignmentCreate + func (_c *SeatAssignmentCreate) SetNillableAssignedAt(v *time.Time) *SeatAssignmentCreate + func (_c *SeatAssignmentCreate) SetNillableID(v *uuid.UUID) *SeatAssignmentCreate + func (_c *SeatAssignmentCreate) SetPrincipal(v *Principal) *SeatAssignmentCreate + func (_c *SeatAssignmentCreate) SetPrincipalID(v uuid.UUID) *SeatAssignmentCreate + type SeatAssignmentCreateBulk struct + func (_c *SeatAssignmentCreateBulk) Exec(ctx context.Context) error + func (_c *SeatAssignmentCreateBulk) ExecX(ctx context.Context) + func (_c *SeatAssignmentCreateBulk) OnConflict(opts ...sql.ConflictOption) *SeatAssignmentUpsertBulk + func (_c *SeatAssignmentCreateBulk) OnConflictColumns(columns ...string) *SeatAssignmentUpsertBulk + func (_c *SeatAssignmentCreateBulk) Save(ctx context.Context) ([]*SeatAssignment, error) + func (_c *SeatAssignmentCreateBulk) SaveX(ctx context.Context) []*SeatAssignment + type SeatAssignmentDelete struct + func (_d *SeatAssignmentDelete) Exec(ctx context.Context) (int, error) + func (_d *SeatAssignmentDelete) ExecX(ctx context.Context) int + func (_d *SeatAssignmentDelete) Where(ps ...predicate.SeatAssignment) *SeatAssignmentDelete + type SeatAssignmentDeleteOne struct + func (_d *SeatAssignmentDeleteOne) Exec(ctx context.Context) error + func (_d *SeatAssignmentDeleteOne) ExecX(ctx context.Context) + func (_d *SeatAssignmentDeleteOne) Where(ps ...predicate.SeatAssignment) *SeatAssignmentDeleteOne + type SeatAssignmentEdges struct + Assigner *Principal + License *License + Principal *Principal + func (e SeatAssignmentEdges) AssignerOrErr() (*Principal, error) + func (e SeatAssignmentEdges) LicenseOrErr() (*License, error) + func (e SeatAssignmentEdges) PrincipalOrErr() (*Principal, error) + type SeatAssignmentFilter struct + func (f *SeatAssignmentFilter) Where(p entql.P) + func (f *SeatAssignmentFilter) WhereAssignedAt(p entql.TimeP) + func (f *SeatAssignmentFilter) WhereAssignedBy(p entql.ValueP) + func (f *SeatAssignmentFilter) WhereHasAssigner() + func (f *SeatAssignmentFilter) WhereHasAssignerWith(preds ...predicate.Principal) + func (f *SeatAssignmentFilter) WhereHasLicense() + func (f *SeatAssignmentFilter) WhereHasLicenseWith(preds ...predicate.License) + func (f *SeatAssignmentFilter) WhereHasPrincipal() + func (f *SeatAssignmentFilter) WhereHasPrincipalWith(preds ...predicate.Principal) + func (f *SeatAssignmentFilter) WhereID(p entql.ValueP) + func (f *SeatAssignmentFilter) WhereLicenseID(p entql.ValueP) + func (f *SeatAssignmentFilter) WherePrincipalID(p entql.ValueP) + type SeatAssignmentGroupBy struct + func (_g *SeatAssignmentGroupBy) Aggregate(fns ...AggregateFunc) *SeatAssignmentGroupBy + func (_g *SeatAssignmentGroupBy) Scan(ctx context.Context, v any) error + func (s *SeatAssignmentGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *SeatAssignmentGroupBy) BoolX(ctx context.Context) bool + func (s *SeatAssignmentGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *SeatAssignmentGroupBy) BoolsX(ctx context.Context) []bool + func (s *SeatAssignmentGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *SeatAssignmentGroupBy) Float64X(ctx context.Context) float64 + func (s *SeatAssignmentGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *SeatAssignmentGroupBy) Float64sX(ctx context.Context) []float64 + func (s *SeatAssignmentGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *SeatAssignmentGroupBy) IntX(ctx context.Context) int + func (s *SeatAssignmentGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *SeatAssignmentGroupBy) IntsX(ctx context.Context) []int + func (s *SeatAssignmentGroupBy) ScanX(ctx context.Context, v any) + func (s *SeatAssignmentGroupBy) String(ctx context.Context) (_ string, err error) + func (s *SeatAssignmentGroupBy) StringX(ctx context.Context) string + func (s *SeatAssignmentGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *SeatAssignmentGroupBy) StringsX(ctx context.Context) []string + type SeatAssignmentMutation struct + func (m *SeatAssignmentMutation) AddField(name string, value ent.Value) error + func (m *SeatAssignmentMutation) AddedEdges() []string + func (m *SeatAssignmentMutation) AddedField(name string) (ent.Value, bool) + func (m *SeatAssignmentMutation) AddedFields() []string + func (m *SeatAssignmentMutation) AddedIDs(name string) []ent.Value + func (m *SeatAssignmentMutation) AssignedAt() (r time.Time, exists bool) + func (m *SeatAssignmentMutation) AssignedBy() (r uuid.UUID, exists bool) + func (m *SeatAssignmentMutation) AssignerCleared() bool + func (m *SeatAssignmentMutation) AssignerID() (id uuid.UUID, exists bool) + func (m *SeatAssignmentMutation) AssignerIDs() (ids []uuid.UUID) + func (m *SeatAssignmentMutation) ClearAssigner() + func (m *SeatAssignmentMutation) ClearEdge(name string) error + func (m *SeatAssignmentMutation) ClearField(name string) error + func (m *SeatAssignmentMutation) ClearLicense() + func (m *SeatAssignmentMutation) ClearPrincipal() + func (m *SeatAssignmentMutation) ClearedEdges() []string + func (m *SeatAssignmentMutation) ClearedFields() []string + func (m *SeatAssignmentMutation) EdgeCleared(name string) bool + func (m *SeatAssignmentMutation) Field(name string) (ent.Value, bool) + func (m *SeatAssignmentMutation) FieldCleared(name string) bool + func (m *SeatAssignmentMutation) Fields() []string + func (m *SeatAssignmentMutation) Filter() *SeatAssignmentFilter + func (m *SeatAssignmentMutation) ID() (id uuid.UUID, exists bool) + func (m *SeatAssignmentMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *SeatAssignmentMutation) LicenseCleared() bool + func (m *SeatAssignmentMutation) LicenseID() (r uuid.UUID, exists bool) + func (m *SeatAssignmentMutation) LicenseIDs() (ids []uuid.UUID) + func (m *SeatAssignmentMutation) OldAssignedAt(ctx context.Context) (v time.Time, err error) + func (m *SeatAssignmentMutation) OldAssignedBy(ctx context.Context) (v uuid.UUID, err error) + func (m *SeatAssignmentMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *SeatAssignmentMutation) OldLicenseID(ctx context.Context) (v uuid.UUID, err error) + func (m *SeatAssignmentMutation) OldPrincipalID(ctx context.Context) (v uuid.UUID, err error) + func (m *SeatAssignmentMutation) Op() Op + func (m *SeatAssignmentMutation) PrincipalCleared() bool + func (m *SeatAssignmentMutation) PrincipalID() (r uuid.UUID, exists bool) + func (m *SeatAssignmentMutation) PrincipalIDs() (ids []uuid.UUID) + func (m *SeatAssignmentMutation) RemovedEdges() []string + func (m *SeatAssignmentMutation) RemovedIDs(name string) []ent.Value + func (m *SeatAssignmentMutation) ResetAssignedAt() + func (m *SeatAssignmentMutation) ResetAssignedBy() + func (m *SeatAssignmentMutation) ResetAssigner() + func (m *SeatAssignmentMutation) ResetEdge(name string) error + func (m *SeatAssignmentMutation) ResetField(name string) error + func (m *SeatAssignmentMutation) ResetLicense() + func (m *SeatAssignmentMutation) ResetLicenseID() + func (m *SeatAssignmentMutation) ResetPrincipal() + func (m *SeatAssignmentMutation) ResetPrincipalID() + func (m *SeatAssignmentMutation) SetAssignedAt(t time.Time) + func (m *SeatAssignmentMutation) SetAssignedBy(u uuid.UUID) + func (m *SeatAssignmentMutation) SetAssignerID(id uuid.UUID) + func (m *SeatAssignmentMutation) SetField(name string, value ent.Value) error + func (m *SeatAssignmentMutation) SetID(id uuid.UUID) + func (m *SeatAssignmentMutation) SetLicenseID(u uuid.UUID) + func (m *SeatAssignmentMutation) SetOp(op Op) + func (m *SeatAssignmentMutation) SetPrincipalID(u uuid.UUID) + func (m *SeatAssignmentMutation) Type() string + func (m *SeatAssignmentMutation) Where(ps ...predicate.SeatAssignment) + func (m *SeatAssignmentMutation) WhereP(ps ...func(*sql.Selector)) + func (m SeatAssignmentMutation) Client() *Client + func (m SeatAssignmentMutation) Tx() (*Tx, error) + type SeatAssignmentQuery struct + func (_q *SeatAssignmentQuery) Aggregate(fns ...AggregateFunc) *SeatAssignmentSelect + func (_q *SeatAssignmentQuery) All(ctx context.Context) ([]*SeatAssignment, error) + func (_q *SeatAssignmentQuery) AllX(ctx context.Context) []*SeatAssignment + func (_q *SeatAssignmentQuery) Clone() *SeatAssignmentQuery + func (_q *SeatAssignmentQuery) Count(ctx context.Context) (int, error) + func (_q *SeatAssignmentQuery) CountX(ctx context.Context) int + func (_q *SeatAssignmentQuery) Exist(ctx context.Context) (bool, error) + func (_q *SeatAssignmentQuery) ExistX(ctx context.Context) bool + func (_q *SeatAssignmentQuery) Filter() *SeatAssignmentFilter + func (_q *SeatAssignmentQuery) First(ctx context.Context) (*SeatAssignment, error) + func (_q *SeatAssignmentQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *SeatAssignmentQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *SeatAssignmentQuery) FirstX(ctx context.Context) *SeatAssignment + func (_q *SeatAssignmentQuery) GroupBy(field string, fields ...string) *SeatAssignmentGroupBy + func (_q *SeatAssignmentQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *SeatAssignmentQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *SeatAssignmentQuery) Limit(limit int) *SeatAssignmentQuery + func (_q *SeatAssignmentQuery) Offset(offset int) *SeatAssignmentQuery + func (_q *SeatAssignmentQuery) Only(ctx context.Context) (*SeatAssignment, error) + func (_q *SeatAssignmentQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *SeatAssignmentQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *SeatAssignmentQuery) OnlyX(ctx context.Context) *SeatAssignment + func (_q *SeatAssignmentQuery) Order(o ...seatassignment.OrderOption) *SeatAssignmentQuery + func (_q *SeatAssignmentQuery) QueryAssigner() *PrincipalQuery + func (_q *SeatAssignmentQuery) QueryLicense() *LicenseQuery + func (_q *SeatAssignmentQuery) QueryPrincipal() *PrincipalQuery + func (_q *SeatAssignmentQuery) Select(fields ...string) *SeatAssignmentSelect + func (_q *SeatAssignmentQuery) Unique(unique bool) *SeatAssignmentQuery + func (_q *SeatAssignmentQuery) Where(ps ...predicate.SeatAssignment) *SeatAssignmentQuery + func (_q *SeatAssignmentQuery) WithAssigner(opts ...func(*PrincipalQuery)) *SeatAssignmentQuery + func (_q *SeatAssignmentQuery) WithLicense(opts ...func(*LicenseQuery)) *SeatAssignmentQuery + func (_q *SeatAssignmentQuery) WithPrincipal(opts ...func(*PrincipalQuery)) *SeatAssignmentQuery + type SeatAssignmentSelect struct + func (_s *SeatAssignmentSelect) Aggregate(fns ...AggregateFunc) *SeatAssignmentSelect + func (_s *SeatAssignmentSelect) Scan(ctx context.Context, v any) error + func (s *SeatAssignmentSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *SeatAssignmentSelect) BoolX(ctx context.Context) bool + func (s *SeatAssignmentSelect) Bools(ctx context.Context) ([]bool, error) + func (s *SeatAssignmentSelect) BoolsX(ctx context.Context) []bool + func (s *SeatAssignmentSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *SeatAssignmentSelect) Float64X(ctx context.Context) float64 + func (s *SeatAssignmentSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *SeatAssignmentSelect) Float64sX(ctx context.Context) []float64 + func (s *SeatAssignmentSelect) Int(ctx context.Context) (_ int, err error) + func (s *SeatAssignmentSelect) IntX(ctx context.Context) int + func (s *SeatAssignmentSelect) Ints(ctx context.Context) ([]int, error) + func (s *SeatAssignmentSelect) IntsX(ctx context.Context) []int + func (s *SeatAssignmentSelect) ScanX(ctx context.Context, v any) + func (s *SeatAssignmentSelect) String(ctx context.Context) (_ string, err error) + func (s *SeatAssignmentSelect) StringX(ctx context.Context) string + func (s *SeatAssignmentSelect) Strings(ctx context.Context) ([]string, error) + func (s *SeatAssignmentSelect) StringsX(ctx context.Context) []string + type SeatAssignmentUpdate struct + func (_u *SeatAssignmentUpdate) ClearAssigner() *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) ClearLicense() *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) ClearPrincipal() *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) Exec(ctx context.Context) error + func (_u *SeatAssignmentUpdate) ExecX(ctx context.Context) + func (_u *SeatAssignmentUpdate) Mutation() *SeatAssignmentMutation + func (_u *SeatAssignmentUpdate) Save(ctx context.Context) (int, error) + func (_u *SeatAssignmentUpdate) SaveX(ctx context.Context) int + func (_u *SeatAssignmentUpdate) SetAssignedBy(v uuid.UUID) *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) SetAssigner(v *Principal) *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) SetAssignerID(id uuid.UUID) *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) SetLicense(v *License) *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) SetLicenseID(v uuid.UUID) *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) SetNillableAssignedBy(v *uuid.UUID) *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) SetNillableLicenseID(v *uuid.UUID) *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) SetNillablePrincipalID(v *uuid.UUID) *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) SetPrincipal(v *Principal) *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) SetPrincipalID(v uuid.UUID) *SeatAssignmentUpdate + func (_u *SeatAssignmentUpdate) Where(ps ...predicate.SeatAssignment) *SeatAssignmentUpdate + type SeatAssignmentUpdateOne struct + func (_u *SeatAssignmentUpdateOne) ClearAssigner() *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) ClearLicense() *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) ClearPrincipal() *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) Exec(ctx context.Context) error + func (_u *SeatAssignmentUpdateOne) ExecX(ctx context.Context) + func (_u *SeatAssignmentUpdateOne) Mutation() *SeatAssignmentMutation + func (_u *SeatAssignmentUpdateOne) Save(ctx context.Context) (*SeatAssignment, error) + func (_u *SeatAssignmentUpdateOne) SaveX(ctx context.Context) *SeatAssignment + func (_u *SeatAssignmentUpdateOne) Select(field string, fields ...string) *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) SetAssignedBy(v uuid.UUID) *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) SetAssigner(v *Principal) *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) SetAssignerID(id uuid.UUID) *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) SetLicense(v *License) *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) SetLicenseID(v uuid.UUID) *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) SetNillableAssignedBy(v *uuid.UUID) *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) SetNillableLicenseID(v *uuid.UUID) *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) SetNillablePrincipalID(v *uuid.UUID) *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) SetPrincipal(v *Principal) *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) SetPrincipalID(v uuid.UUID) *SeatAssignmentUpdateOne + func (_u *SeatAssignmentUpdateOne) Where(ps ...predicate.SeatAssignment) *SeatAssignmentUpdateOne + type SeatAssignmentUpsert struct + func (u *SeatAssignmentUpsert) SetAssignedBy(v uuid.UUID) *SeatAssignmentUpsert + func (u *SeatAssignmentUpsert) SetLicenseID(v uuid.UUID) *SeatAssignmentUpsert + func (u *SeatAssignmentUpsert) SetPrincipalID(v uuid.UUID) *SeatAssignmentUpsert + func (u *SeatAssignmentUpsert) UpdateAssignedBy() *SeatAssignmentUpsert + func (u *SeatAssignmentUpsert) UpdateLicenseID() *SeatAssignmentUpsert + func (u *SeatAssignmentUpsert) UpdatePrincipalID() *SeatAssignmentUpsert + type SeatAssignmentUpsertBulk struct + func (u *SeatAssignmentUpsertBulk) DoNothing() *SeatAssignmentUpsertBulk + func (u *SeatAssignmentUpsertBulk) Exec(ctx context.Context) error + func (u *SeatAssignmentUpsertBulk) ExecX(ctx context.Context) + func (u *SeatAssignmentUpsertBulk) Ignore() *SeatAssignmentUpsertBulk + func (u *SeatAssignmentUpsertBulk) SetAssignedBy(v uuid.UUID) *SeatAssignmentUpsertBulk + func (u *SeatAssignmentUpsertBulk) SetLicenseID(v uuid.UUID) *SeatAssignmentUpsertBulk + func (u *SeatAssignmentUpsertBulk) SetPrincipalID(v uuid.UUID) *SeatAssignmentUpsertBulk + func (u *SeatAssignmentUpsertBulk) Update(set func(*SeatAssignmentUpsert)) *SeatAssignmentUpsertBulk + func (u *SeatAssignmentUpsertBulk) UpdateAssignedBy() *SeatAssignmentUpsertBulk + func (u *SeatAssignmentUpsertBulk) UpdateLicenseID() *SeatAssignmentUpsertBulk + func (u *SeatAssignmentUpsertBulk) UpdateNewValues() *SeatAssignmentUpsertBulk + func (u *SeatAssignmentUpsertBulk) UpdatePrincipalID() *SeatAssignmentUpsertBulk + type SeatAssignmentUpsertOne struct + func (u *SeatAssignmentUpsertOne) DoNothing() *SeatAssignmentUpsertOne + func (u *SeatAssignmentUpsertOne) Exec(ctx context.Context) error + func (u *SeatAssignmentUpsertOne) ExecX(ctx context.Context) + func (u *SeatAssignmentUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *SeatAssignmentUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *SeatAssignmentUpsertOne) Ignore() *SeatAssignmentUpsertOne + func (u *SeatAssignmentUpsertOne) SetAssignedBy(v uuid.UUID) *SeatAssignmentUpsertOne + func (u *SeatAssignmentUpsertOne) SetLicenseID(v uuid.UUID) *SeatAssignmentUpsertOne + func (u *SeatAssignmentUpsertOne) SetPrincipalID(v uuid.UUID) *SeatAssignmentUpsertOne + func (u *SeatAssignmentUpsertOne) Update(set func(*SeatAssignmentUpsert)) *SeatAssignmentUpsertOne + func (u *SeatAssignmentUpsertOne) UpdateAssignedBy() *SeatAssignmentUpsertOne + func (u *SeatAssignmentUpsertOne) UpdateLicenseID() *SeatAssignmentUpsertOne + func (u *SeatAssignmentUpsertOne) UpdateNewValues() *SeatAssignmentUpsertOne + func (u *SeatAssignmentUpsertOne) UpdatePrincipalID() *SeatAssignmentUpsertOne + type SeatAssignments []*SeatAssignment + type ServiceAccount struct + Active bool + AllowedScopes []string + CreatedAt time.Time + CreatedBy uuid.UUID + Description string + Edges ServiceAccountEdges + Email string + ID uuid.UUID + LastUsedAt *time.Time + Name string + OrganizationID uuid.UUID + UpdatedAt time.Time + func (_m *ServiceAccount) QueryCreator() *UserQuery + func (_m *ServiceAccount) QueryKeyPairs() *ServiceAccountKeyPairQuery + func (_m *ServiceAccount) QueryOrganization() *OrganizationQuery + func (_m *ServiceAccount) String() string + func (_m *ServiceAccount) Unwrap() *ServiceAccount + func (_m *ServiceAccount) Update() *ServiceAccountUpdateOne + func (_m *ServiceAccount) Value(name string) (ent.Value, error) + type ServiceAccountClient struct + func NewServiceAccountClient(c config) *ServiceAccountClient + func (c *ServiceAccountClient) Create() *ServiceAccountCreate + func (c *ServiceAccountClient) CreateBulk(builders ...*ServiceAccountCreate) *ServiceAccountCreateBulk + func (c *ServiceAccountClient) Delete() *ServiceAccountDelete + func (c *ServiceAccountClient) DeleteOne(_m *ServiceAccount) *ServiceAccountDeleteOne + func (c *ServiceAccountClient) DeleteOneID(id uuid.UUID) *ServiceAccountDeleteOne + func (c *ServiceAccountClient) Get(ctx context.Context, id uuid.UUID) (*ServiceAccount, error) + func (c *ServiceAccountClient) GetX(ctx context.Context, id uuid.UUID) *ServiceAccount + func (c *ServiceAccountClient) Hooks() []Hook + func (c *ServiceAccountClient) Intercept(interceptors ...Interceptor) + func (c *ServiceAccountClient) Interceptors() []Interceptor + func (c *ServiceAccountClient) MapCreateBulk(slice any, setFunc func(*ServiceAccountCreate, int)) *ServiceAccountCreateBulk + func (c *ServiceAccountClient) Query() *ServiceAccountQuery + func (c *ServiceAccountClient) QueryCreator(_m *ServiceAccount) *UserQuery + func (c *ServiceAccountClient) QueryKeyPairs(_m *ServiceAccount) *ServiceAccountKeyPairQuery + func (c *ServiceAccountClient) QueryOrganization(_m *ServiceAccount) *OrganizationQuery + func (c *ServiceAccountClient) Update() *ServiceAccountUpdate + func (c *ServiceAccountClient) UpdateOne(_m *ServiceAccount) *ServiceAccountUpdateOne + func (c *ServiceAccountClient) UpdateOneID(id uuid.UUID) *ServiceAccountUpdateOne + func (c *ServiceAccountClient) Use(hooks ...Hook) + type ServiceAccountCreate struct + func (_c *ServiceAccountCreate) AddKeyPairIDs(ids ...uuid.UUID) *ServiceAccountCreate + func (_c *ServiceAccountCreate) AddKeyPairs(v ...*ServiceAccountKeyPair) *ServiceAccountCreate + func (_c *ServiceAccountCreate) Exec(ctx context.Context) error + func (_c *ServiceAccountCreate) ExecX(ctx context.Context) + func (_c *ServiceAccountCreate) Mutation() *ServiceAccountMutation + func (_c *ServiceAccountCreate) OnConflict(opts ...sql.ConflictOption) *ServiceAccountUpsertOne + func (_c *ServiceAccountCreate) OnConflictColumns(columns ...string) *ServiceAccountUpsertOne + func (_c *ServiceAccountCreate) Save(ctx context.Context) (*ServiceAccount, error) + func (_c *ServiceAccountCreate) SaveX(ctx context.Context) *ServiceAccount + func (_c *ServiceAccountCreate) SetActive(v bool) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetAllowedScopes(v []string) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetCreatedAt(v time.Time) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetCreatedBy(v uuid.UUID) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetCreator(v *User) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetCreatorID(id uuid.UUID) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetDescription(v string) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetEmail(v string) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetID(v uuid.UUID) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetLastUsedAt(v time.Time) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetName(v string) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetNillableActive(v *bool) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetNillableCreatedAt(v *time.Time) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetNillableDescription(v *string) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetNillableID(v *uuid.UUID) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetNillableLastUsedAt(v *time.Time) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetNillableUpdatedAt(v *time.Time) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetOrganization(v *Organization) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetOrganizationID(v uuid.UUID) *ServiceAccountCreate + func (_c *ServiceAccountCreate) SetUpdatedAt(v time.Time) *ServiceAccountCreate + type ServiceAccountCreateBulk struct + func (_c *ServiceAccountCreateBulk) Exec(ctx context.Context) error + func (_c *ServiceAccountCreateBulk) ExecX(ctx context.Context) + func (_c *ServiceAccountCreateBulk) OnConflict(opts ...sql.ConflictOption) *ServiceAccountUpsertBulk + func (_c *ServiceAccountCreateBulk) OnConflictColumns(columns ...string) *ServiceAccountUpsertBulk + func (_c *ServiceAccountCreateBulk) Save(ctx context.Context) ([]*ServiceAccount, error) + func (_c *ServiceAccountCreateBulk) SaveX(ctx context.Context) []*ServiceAccount + type ServiceAccountDelete struct + func (_d *ServiceAccountDelete) Exec(ctx context.Context) (int, error) + func (_d *ServiceAccountDelete) ExecX(ctx context.Context) int + func (_d *ServiceAccountDelete) Where(ps ...predicate.ServiceAccount) *ServiceAccountDelete + type ServiceAccountDeleteOne struct + func (_d *ServiceAccountDeleteOne) Exec(ctx context.Context) error + func (_d *ServiceAccountDeleteOne) ExecX(ctx context.Context) + func (_d *ServiceAccountDeleteOne) Where(ps ...predicate.ServiceAccount) *ServiceAccountDeleteOne + type ServiceAccountEdges struct + Creator *User + KeyPairs []*ServiceAccountKeyPair + Organization *Organization + func (e ServiceAccountEdges) CreatorOrErr() (*User, error) + func (e ServiceAccountEdges) KeyPairsOrErr() ([]*ServiceAccountKeyPair, error) + func (e ServiceAccountEdges) OrganizationOrErr() (*Organization, error) + type ServiceAccountFilter struct + func (f *ServiceAccountFilter) Where(p entql.P) + func (f *ServiceAccountFilter) WhereActive(p entql.BoolP) + func (f *ServiceAccountFilter) WhereAllowedScopes(p entql.BytesP) + func (f *ServiceAccountFilter) WhereCreatedAt(p entql.TimeP) + func (f *ServiceAccountFilter) WhereCreatedBy(p entql.ValueP) + func (f *ServiceAccountFilter) WhereDescription(p entql.StringP) + func (f *ServiceAccountFilter) WhereEmail(p entql.StringP) + func (f *ServiceAccountFilter) WhereHasCreator() + func (f *ServiceAccountFilter) WhereHasCreatorWith(preds ...predicate.User) + func (f *ServiceAccountFilter) WhereHasKeyPairs() + func (f *ServiceAccountFilter) WhereHasKeyPairsWith(preds ...predicate.ServiceAccountKeyPair) + func (f *ServiceAccountFilter) WhereHasOrganization() + func (f *ServiceAccountFilter) WhereHasOrganizationWith(preds ...predicate.Organization) + func (f *ServiceAccountFilter) WhereID(p entql.ValueP) + func (f *ServiceAccountFilter) WhereLastUsedAt(p entql.TimeP) + func (f *ServiceAccountFilter) WhereName(p entql.StringP) + func (f *ServiceAccountFilter) WhereOrganizationID(p entql.ValueP) + func (f *ServiceAccountFilter) WhereUpdatedAt(p entql.TimeP) + type ServiceAccountGroupBy struct + func (_g *ServiceAccountGroupBy) Aggregate(fns ...AggregateFunc) *ServiceAccountGroupBy + func (_g *ServiceAccountGroupBy) Scan(ctx context.Context, v any) error + func (s *ServiceAccountGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ServiceAccountGroupBy) BoolX(ctx context.Context) bool + func (s *ServiceAccountGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ServiceAccountGroupBy) BoolsX(ctx context.Context) []bool + func (s *ServiceAccountGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ServiceAccountGroupBy) Float64X(ctx context.Context) float64 + func (s *ServiceAccountGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ServiceAccountGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ServiceAccountGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ServiceAccountGroupBy) IntX(ctx context.Context) int + func (s *ServiceAccountGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ServiceAccountGroupBy) IntsX(ctx context.Context) []int + func (s *ServiceAccountGroupBy) ScanX(ctx context.Context, v any) + func (s *ServiceAccountGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ServiceAccountGroupBy) StringX(ctx context.Context) string + func (s *ServiceAccountGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ServiceAccountGroupBy) StringsX(ctx context.Context) []string + type ServiceAccountKeyPair struct + Active bool + Algorithm serviceaccountkeypair.Algorithm + CreatedAt time.Time + Edges ServiceAccountKeyPairEdges + ExpiresAt *time.Time + ID uuid.UUID + KeyID string + KeyType serviceaccountkeypair.KeyType + LastUsedAt *time.Time + PublicKeyPem string + Revoked bool + RevokedAt *time.Time + ServiceAccountID uuid.UUID + func (_m *ServiceAccountKeyPair) QueryServiceAccount() *ServiceAccountQuery + func (_m *ServiceAccountKeyPair) String() string + func (_m *ServiceAccountKeyPair) Unwrap() *ServiceAccountKeyPair + func (_m *ServiceAccountKeyPair) Update() *ServiceAccountKeyPairUpdateOne + func (_m *ServiceAccountKeyPair) Value(name string) (ent.Value, error) + type ServiceAccountKeyPairClient struct + func NewServiceAccountKeyPairClient(c config) *ServiceAccountKeyPairClient + func (c *ServiceAccountKeyPairClient) Create() *ServiceAccountKeyPairCreate + func (c *ServiceAccountKeyPairClient) CreateBulk(builders ...*ServiceAccountKeyPairCreate) *ServiceAccountKeyPairCreateBulk + func (c *ServiceAccountKeyPairClient) Delete() *ServiceAccountKeyPairDelete + func (c *ServiceAccountKeyPairClient) DeleteOne(_m *ServiceAccountKeyPair) *ServiceAccountKeyPairDeleteOne + func (c *ServiceAccountKeyPairClient) DeleteOneID(id uuid.UUID) *ServiceAccountKeyPairDeleteOne + func (c *ServiceAccountKeyPairClient) Get(ctx context.Context, id uuid.UUID) (*ServiceAccountKeyPair, error) + func (c *ServiceAccountKeyPairClient) GetX(ctx context.Context, id uuid.UUID) *ServiceAccountKeyPair + func (c *ServiceAccountKeyPairClient) Hooks() []Hook + func (c *ServiceAccountKeyPairClient) Intercept(interceptors ...Interceptor) + func (c *ServiceAccountKeyPairClient) Interceptors() []Interceptor + func (c *ServiceAccountKeyPairClient) MapCreateBulk(slice any, setFunc func(*ServiceAccountKeyPairCreate, int)) *ServiceAccountKeyPairCreateBulk + func (c *ServiceAccountKeyPairClient) Query() *ServiceAccountKeyPairQuery + func (c *ServiceAccountKeyPairClient) QueryServiceAccount(_m *ServiceAccountKeyPair) *ServiceAccountQuery + func (c *ServiceAccountKeyPairClient) Update() *ServiceAccountKeyPairUpdate + func (c *ServiceAccountKeyPairClient) UpdateOne(_m *ServiceAccountKeyPair) *ServiceAccountKeyPairUpdateOne + func (c *ServiceAccountKeyPairClient) UpdateOneID(id uuid.UUID) *ServiceAccountKeyPairUpdateOne + func (c *ServiceAccountKeyPairClient) Use(hooks ...Hook) + type ServiceAccountKeyPairCreate struct + func (_c *ServiceAccountKeyPairCreate) Exec(ctx context.Context) error + func (_c *ServiceAccountKeyPairCreate) ExecX(ctx context.Context) + func (_c *ServiceAccountKeyPairCreate) Mutation() *ServiceAccountKeyPairMutation + func (_c *ServiceAccountKeyPairCreate) OnConflict(opts ...sql.ConflictOption) *ServiceAccountKeyPairUpsertOne + func (_c *ServiceAccountKeyPairCreate) OnConflictColumns(columns ...string) *ServiceAccountKeyPairUpsertOne + func (_c *ServiceAccountKeyPairCreate) Save(ctx context.Context) (*ServiceAccountKeyPair, error) + func (_c *ServiceAccountKeyPairCreate) SaveX(ctx context.Context) *ServiceAccountKeyPair + func (_c *ServiceAccountKeyPairCreate) SetActive(v bool) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetAlgorithm(v serviceaccountkeypair.Algorithm) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetCreatedAt(v time.Time) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetExpiresAt(v time.Time) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetID(v uuid.UUID) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetKeyID(v string) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetKeyType(v serviceaccountkeypair.KeyType) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetLastUsedAt(v time.Time) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetNillableActive(v *bool) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetNillableAlgorithm(v *serviceaccountkeypair.Algorithm) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetNillableCreatedAt(v *time.Time) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetNillableExpiresAt(v *time.Time) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetNillableID(v *uuid.UUID) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetNillableKeyType(v *serviceaccountkeypair.KeyType) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetNillableLastUsedAt(v *time.Time) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetNillableRevoked(v *bool) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetNillableRevokedAt(v *time.Time) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetPublicKeyPem(v string) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetRevoked(v bool) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetRevokedAt(v time.Time) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetServiceAccount(v *ServiceAccount) *ServiceAccountKeyPairCreate + func (_c *ServiceAccountKeyPairCreate) SetServiceAccountID(v uuid.UUID) *ServiceAccountKeyPairCreate + type ServiceAccountKeyPairCreateBulk struct + func (_c *ServiceAccountKeyPairCreateBulk) Exec(ctx context.Context) error + func (_c *ServiceAccountKeyPairCreateBulk) ExecX(ctx context.Context) + func (_c *ServiceAccountKeyPairCreateBulk) OnConflict(opts ...sql.ConflictOption) *ServiceAccountKeyPairUpsertBulk + func (_c *ServiceAccountKeyPairCreateBulk) OnConflictColumns(columns ...string) *ServiceAccountKeyPairUpsertBulk + func (_c *ServiceAccountKeyPairCreateBulk) Save(ctx context.Context) ([]*ServiceAccountKeyPair, error) + func (_c *ServiceAccountKeyPairCreateBulk) SaveX(ctx context.Context) []*ServiceAccountKeyPair + type ServiceAccountKeyPairDelete struct + func (_d *ServiceAccountKeyPairDelete) Exec(ctx context.Context) (int, error) + func (_d *ServiceAccountKeyPairDelete) ExecX(ctx context.Context) int + func (_d *ServiceAccountKeyPairDelete) Where(ps ...predicate.ServiceAccountKeyPair) *ServiceAccountKeyPairDelete + type ServiceAccountKeyPairDeleteOne struct + func (_d *ServiceAccountKeyPairDeleteOne) Exec(ctx context.Context) error + func (_d *ServiceAccountKeyPairDeleteOne) ExecX(ctx context.Context) + func (_d *ServiceAccountKeyPairDeleteOne) Where(ps ...predicate.ServiceAccountKeyPair) *ServiceAccountKeyPairDeleteOne + type ServiceAccountKeyPairEdges struct + ServiceAccount *ServiceAccount + func (e ServiceAccountKeyPairEdges) ServiceAccountOrErr() (*ServiceAccount, error) + type ServiceAccountKeyPairFilter struct + func (f *ServiceAccountKeyPairFilter) Where(p entql.P) + func (f *ServiceAccountKeyPairFilter) WhereActive(p entql.BoolP) + func (f *ServiceAccountKeyPairFilter) WhereAlgorithm(p entql.StringP) + func (f *ServiceAccountKeyPairFilter) WhereCreatedAt(p entql.TimeP) + func (f *ServiceAccountKeyPairFilter) WhereExpiresAt(p entql.TimeP) + func (f *ServiceAccountKeyPairFilter) WhereHasServiceAccount() + func (f *ServiceAccountKeyPairFilter) WhereHasServiceAccountWith(preds ...predicate.ServiceAccount) + func (f *ServiceAccountKeyPairFilter) WhereID(p entql.ValueP) + func (f *ServiceAccountKeyPairFilter) WhereKeyID(p entql.StringP) + func (f *ServiceAccountKeyPairFilter) WhereKeyType(p entql.StringP) + func (f *ServiceAccountKeyPairFilter) WhereLastUsedAt(p entql.TimeP) + func (f *ServiceAccountKeyPairFilter) WherePublicKeyPem(p entql.StringP) + func (f *ServiceAccountKeyPairFilter) WhereRevoked(p entql.BoolP) + func (f *ServiceAccountKeyPairFilter) WhereRevokedAt(p entql.TimeP) + func (f *ServiceAccountKeyPairFilter) WhereServiceAccountID(p entql.ValueP) + type ServiceAccountKeyPairGroupBy struct + func (_g *ServiceAccountKeyPairGroupBy) Aggregate(fns ...AggregateFunc) *ServiceAccountKeyPairGroupBy + func (_g *ServiceAccountKeyPairGroupBy) Scan(ctx context.Context, v any) error + func (s *ServiceAccountKeyPairGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ServiceAccountKeyPairGroupBy) BoolX(ctx context.Context) bool + func (s *ServiceAccountKeyPairGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ServiceAccountKeyPairGroupBy) BoolsX(ctx context.Context) []bool + func (s *ServiceAccountKeyPairGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ServiceAccountKeyPairGroupBy) Float64X(ctx context.Context) float64 + func (s *ServiceAccountKeyPairGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ServiceAccountKeyPairGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ServiceAccountKeyPairGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ServiceAccountKeyPairGroupBy) IntX(ctx context.Context) int + func (s *ServiceAccountKeyPairGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ServiceAccountKeyPairGroupBy) IntsX(ctx context.Context) []int + func (s *ServiceAccountKeyPairGroupBy) ScanX(ctx context.Context, v any) + func (s *ServiceAccountKeyPairGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ServiceAccountKeyPairGroupBy) StringX(ctx context.Context) string + func (s *ServiceAccountKeyPairGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ServiceAccountKeyPairGroupBy) StringsX(ctx context.Context) []string + type ServiceAccountKeyPairMutation struct + func (m *ServiceAccountKeyPairMutation) Active() (r bool, exists bool) + func (m *ServiceAccountKeyPairMutation) AddField(name string, value ent.Value) error + func (m *ServiceAccountKeyPairMutation) AddedEdges() []string + func (m *ServiceAccountKeyPairMutation) AddedField(name string) (ent.Value, bool) + func (m *ServiceAccountKeyPairMutation) AddedFields() []string + func (m *ServiceAccountKeyPairMutation) AddedIDs(name string) []ent.Value + func (m *ServiceAccountKeyPairMutation) Algorithm() (r serviceaccountkeypair.Algorithm, exists bool) + func (m *ServiceAccountKeyPairMutation) ClearEdge(name string) error + func (m *ServiceAccountKeyPairMutation) ClearExpiresAt() + func (m *ServiceAccountKeyPairMutation) ClearField(name string) error + func (m *ServiceAccountKeyPairMutation) ClearLastUsedAt() + func (m *ServiceAccountKeyPairMutation) ClearRevokedAt() + func (m *ServiceAccountKeyPairMutation) ClearServiceAccount() + func (m *ServiceAccountKeyPairMutation) ClearedEdges() []string + func (m *ServiceAccountKeyPairMutation) ClearedFields() []string + func (m *ServiceAccountKeyPairMutation) CreatedAt() (r time.Time, exists bool) + func (m *ServiceAccountKeyPairMutation) EdgeCleared(name string) bool + func (m *ServiceAccountKeyPairMutation) ExpiresAt() (r time.Time, exists bool) + func (m *ServiceAccountKeyPairMutation) ExpiresAtCleared() bool + func (m *ServiceAccountKeyPairMutation) Field(name string) (ent.Value, bool) + func (m *ServiceAccountKeyPairMutation) FieldCleared(name string) bool + func (m *ServiceAccountKeyPairMutation) Fields() []string + func (m *ServiceAccountKeyPairMutation) Filter() *ServiceAccountKeyPairFilter + func (m *ServiceAccountKeyPairMutation) ID() (id uuid.UUID, exists bool) + func (m *ServiceAccountKeyPairMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *ServiceAccountKeyPairMutation) KeyID() (r string, exists bool) + func (m *ServiceAccountKeyPairMutation) KeyType() (r serviceaccountkeypair.KeyType, exists bool) + func (m *ServiceAccountKeyPairMutation) LastUsedAt() (r time.Time, exists bool) + func (m *ServiceAccountKeyPairMutation) LastUsedAtCleared() bool + func (m *ServiceAccountKeyPairMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *ServiceAccountKeyPairMutation) OldAlgorithm(ctx context.Context) (v serviceaccountkeypair.Algorithm, err error) + func (m *ServiceAccountKeyPairMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *ServiceAccountKeyPairMutation) OldExpiresAt(ctx context.Context) (v *time.Time, err error) + func (m *ServiceAccountKeyPairMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ServiceAccountKeyPairMutation) OldKeyID(ctx context.Context) (v string, err error) + func (m *ServiceAccountKeyPairMutation) OldKeyType(ctx context.Context) (v serviceaccountkeypair.KeyType, err error) + func (m *ServiceAccountKeyPairMutation) OldLastUsedAt(ctx context.Context) (v *time.Time, err error) + func (m *ServiceAccountKeyPairMutation) OldPublicKeyPem(ctx context.Context) (v string, err error) + func (m *ServiceAccountKeyPairMutation) OldRevoked(ctx context.Context) (v bool, err error) + func (m *ServiceAccountKeyPairMutation) OldRevokedAt(ctx context.Context) (v *time.Time, err error) + func (m *ServiceAccountKeyPairMutation) OldServiceAccountID(ctx context.Context) (v uuid.UUID, err error) + func (m *ServiceAccountKeyPairMutation) Op() Op + func (m *ServiceAccountKeyPairMutation) PublicKeyPem() (r string, exists bool) + func (m *ServiceAccountKeyPairMutation) RemovedEdges() []string + func (m *ServiceAccountKeyPairMutation) RemovedIDs(name string) []ent.Value + func (m *ServiceAccountKeyPairMutation) ResetActive() + func (m *ServiceAccountKeyPairMutation) ResetAlgorithm() + func (m *ServiceAccountKeyPairMutation) ResetCreatedAt() + func (m *ServiceAccountKeyPairMutation) ResetEdge(name string) error + func (m *ServiceAccountKeyPairMutation) ResetExpiresAt() + func (m *ServiceAccountKeyPairMutation) ResetField(name string) error + func (m *ServiceAccountKeyPairMutation) ResetKeyID() + func (m *ServiceAccountKeyPairMutation) ResetKeyType() + func (m *ServiceAccountKeyPairMutation) ResetLastUsedAt() + func (m *ServiceAccountKeyPairMutation) ResetPublicKeyPem() + func (m *ServiceAccountKeyPairMutation) ResetRevoked() + func (m *ServiceAccountKeyPairMutation) ResetRevokedAt() + func (m *ServiceAccountKeyPairMutation) ResetServiceAccount() + func (m *ServiceAccountKeyPairMutation) ResetServiceAccountID() + func (m *ServiceAccountKeyPairMutation) Revoked() (r bool, exists bool) + func (m *ServiceAccountKeyPairMutation) RevokedAt() (r time.Time, exists bool) + func (m *ServiceAccountKeyPairMutation) RevokedAtCleared() bool + func (m *ServiceAccountKeyPairMutation) ServiceAccountCleared() bool + func (m *ServiceAccountKeyPairMutation) ServiceAccountID() (r uuid.UUID, exists bool) + func (m *ServiceAccountKeyPairMutation) ServiceAccountIDs() (ids []uuid.UUID) + func (m *ServiceAccountKeyPairMutation) SetActive(b bool) + func (m *ServiceAccountKeyPairMutation) SetAlgorithm(s serviceaccountkeypair.Algorithm) + func (m *ServiceAccountKeyPairMutation) SetCreatedAt(t time.Time) + func (m *ServiceAccountKeyPairMutation) SetExpiresAt(t time.Time) + func (m *ServiceAccountKeyPairMutation) SetField(name string, value ent.Value) error + func (m *ServiceAccountKeyPairMutation) SetID(id uuid.UUID) + func (m *ServiceAccountKeyPairMutation) SetKeyID(s string) + func (m *ServiceAccountKeyPairMutation) SetKeyType(st serviceaccountkeypair.KeyType) + func (m *ServiceAccountKeyPairMutation) SetLastUsedAt(t time.Time) + func (m *ServiceAccountKeyPairMutation) SetOp(op Op) + func (m *ServiceAccountKeyPairMutation) SetPublicKeyPem(s string) + func (m *ServiceAccountKeyPairMutation) SetRevoked(b bool) + func (m *ServiceAccountKeyPairMutation) SetRevokedAt(t time.Time) + func (m *ServiceAccountKeyPairMutation) SetServiceAccountID(u uuid.UUID) + func (m *ServiceAccountKeyPairMutation) Type() string + func (m *ServiceAccountKeyPairMutation) Where(ps ...predicate.ServiceAccountKeyPair) + func (m *ServiceAccountKeyPairMutation) WhereP(ps ...func(*sql.Selector)) + func (m ServiceAccountKeyPairMutation) Client() *Client + func (m ServiceAccountKeyPairMutation) Tx() (*Tx, error) + type ServiceAccountKeyPairQuery struct + func (_q *ServiceAccountKeyPairQuery) Aggregate(fns ...AggregateFunc) *ServiceAccountKeyPairSelect + func (_q *ServiceAccountKeyPairQuery) All(ctx context.Context) ([]*ServiceAccountKeyPair, error) + func (_q *ServiceAccountKeyPairQuery) AllX(ctx context.Context) []*ServiceAccountKeyPair + func (_q *ServiceAccountKeyPairQuery) Clone() *ServiceAccountKeyPairQuery + func (_q *ServiceAccountKeyPairQuery) Count(ctx context.Context) (int, error) + func (_q *ServiceAccountKeyPairQuery) CountX(ctx context.Context) int + func (_q *ServiceAccountKeyPairQuery) Exist(ctx context.Context) (bool, error) + func (_q *ServiceAccountKeyPairQuery) ExistX(ctx context.Context) bool + func (_q *ServiceAccountKeyPairQuery) Filter() *ServiceAccountKeyPairFilter + func (_q *ServiceAccountKeyPairQuery) First(ctx context.Context) (*ServiceAccountKeyPair, error) + func (_q *ServiceAccountKeyPairQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *ServiceAccountKeyPairQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *ServiceAccountKeyPairQuery) FirstX(ctx context.Context) *ServiceAccountKeyPair + func (_q *ServiceAccountKeyPairQuery) GroupBy(field string, fields ...string) *ServiceAccountKeyPairGroupBy + func (_q *ServiceAccountKeyPairQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *ServiceAccountKeyPairQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *ServiceAccountKeyPairQuery) Limit(limit int) *ServiceAccountKeyPairQuery + func (_q *ServiceAccountKeyPairQuery) Offset(offset int) *ServiceAccountKeyPairQuery + func (_q *ServiceAccountKeyPairQuery) Only(ctx context.Context) (*ServiceAccountKeyPair, error) + func (_q *ServiceAccountKeyPairQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *ServiceAccountKeyPairQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *ServiceAccountKeyPairQuery) OnlyX(ctx context.Context) *ServiceAccountKeyPair + func (_q *ServiceAccountKeyPairQuery) Order(o ...serviceaccountkeypair.OrderOption) *ServiceAccountKeyPairQuery + func (_q *ServiceAccountKeyPairQuery) QueryServiceAccount() *ServiceAccountQuery + func (_q *ServiceAccountKeyPairQuery) Select(fields ...string) *ServiceAccountKeyPairSelect + func (_q *ServiceAccountKeyPairQuery) Unique(unique bool) *ServiceAccountKeyPairQuery + func (_q *ServiceAccountKeyPairQuery) Where(ps ...predicate.ServiceAccountKeyPair) *ServiceAccountKeyPairQuery + func (_q *ServiceAccountKeyPairQuery) WithServiceAccount(opts ...func(*ServiceAccountQuery)) *ServiceAccountKeyPairQuery + type ServiceAccountKeyPairSelect struct + func (_s *ServiceAccountKeyPairSelect) Aggregate(fns ...AggregateFunc) *ServiceAccountKeyPairSelect + func (_s *ServiceAccountKeyPairSelect) Scan(ctx context.Context, v any) error + func (s *ServiceAccountKeyPairSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ServiceAccountKeyPairSelect) BoolX(ctx context.Context) bool + func (s *ServiceAccountKeyPairSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ServiceAccountKeyPairSelect) BoolsX(ctx context.Context) []bool + func (s *ServiceAccountKeyPairSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ServiceAccountKeyPairSelect) Float64X(ctx context.Context) float64 + func (s *ServiceAccountKeyPairSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ServiceAccountKeyPairSelect) Float64sX(ctx context.Context) []float64 + func (s *ServiceAccountKeyPairSelect) Int(ctx context.Context) (_ int, err error) + func (s *ServiceAccountKeyPairSelect) IntX(ctx context.Context) int + func (s *ServiceAccountKeyPairSelect) Ints(ctx context.Context) ([]int, error) + func (s *ServiceAccountKeyPairSelect) IntsX(ctx context.Context) []int + func (s *ServiceAccountKeyPairSelect) ScanX(ctx context.Context, v any) + func (s *ServiceAccountKeyPairSelect) String(ctx context.Context) (_ string, err error) + func (s *ServiceAccountKeyPairSelect) StringX(ctx context.Context) string + func (s *ServiceAccountKeyPairSelect) Strings(ctx context.Context) ([]string, error) + func (s *ServiceAccountKeyPairSelect) StringsX(ctx context.Context) []string + type ServiceAccountKeyPairUpdate struct + func (_u *ServiceAccountKeyPairUpdate) ClearExpiresAt() *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) ClearLastUsedAt() *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) ClearRevokedAt() *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) ClearServiceAccount() *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) Exec(ctx context.Context) error + func (_u *ServiceAccountKeyPairUpdate) ExecX(ctx context.Context) + func (_u *ServiceAccountKeyPairUpdate) Mutation() *ServiceAccountKeyPairMutation + func (_u *ServiceAccountKeyPairUpdate) Save(ctx context.Context) (int, error) + func (_u *ServiceAccountKeyPairUpdate) SaveX(ctx context.Context) int + func (_u *ServiceAccountKeyPairUpdate) SetActive(v bool) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetAlgorithm(v serviceaccountkeypair.Algorithm) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetExpiresAt(v time.Time) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetKeyID(v string) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetKeyType(v serviceaccountkeypair.KeyType) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetLastUsedAt(v time.Time) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetNillableActive(v *bool) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetNillableAlgorithm(v *serviceaccountkeypair.Algorithm) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetNillableExpiresAt(v *time.Time) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetNillableKeyID(v *string) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetNillableKeyType(v *serviceaccountkeypair.KeyType) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetNillableLastUsedAt(v *time.Time) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetNillablePublicKeyPem(v *string) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetNillableRevoked(v *bool) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetNillableRevokedAt(v *time.Time) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetNillableServiceAccountID(v *uuid.UUID) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetPublicKeyPem(v string) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetRevoked(v bool) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetRevokedAt(v time.Time) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetServiceAccount(v *ServiceAccount) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) SetServiceAccountID(v uuid.UUID) *ServiceAccountKeyPairUpdate + func (_u *ServiceAccountKeyPairUpdate) Where(ps ...predicate.ServiceAccountKeyPair) *ServiceAccountKeyPairUpdate + type ServiceAccountKeyPairUpdateOne struct + func (_u *ServiceAccountKeyPairUpdateOne) ClearExpiresAt() *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) ClearLastUsedAt() *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) ClearRevokedAt() *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) ClearServiceAccount() *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) Exec(ctx context.Context) error + func (_u *ServiceAccountKeyPairUpdateOne) ExecX(ctx context.Context) + func (_u *ServiceAccountKeyPairUpdateOne) Mutation() *ServiceAccountKeyPairMutation + func (_u *ServiceAccountKeyPairUpdateOne) Save(ctx context.Context) (*ServiceAccountKeyPair, error) + func (_u *ServiceAccountKeyPairUpdateOne) SaveX(ctx context.Context) *ServiceAccountKeyPair + func (_u *ServiceAccountKeyPairUpdateOne) Select(field string, fields ...string) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetActive(v bool) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetAlgorithm(v serviceaccountkeypair.Algorithm) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetExpiresAt(v time.Time) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetKeyID(v string) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetKeyType(v serviceaccountkeypair.KeyType) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetLastUsedAt(v time.Time) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetNillableActive(v *bool) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetNillableAlgorithm(v *serviceaccountkeypair.Algorithm) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetNillableExpiresAt(v *time.Time) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetNillableKeyID(v *string) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetNillableKeyType(v *serviceaccountkeypair.KeyType) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetNillableLastUsedAt(v *time.Time) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetNillablePublicKeyPem(v *string) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetNillableRevoked(v *bool) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetNillableRevokedAt(v *time.Time) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetNillableServiceAccountID(v *uuid.UUID) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetPublicKeyPem(v string) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetRevoked(v bool) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetRevokedAt(v time.Time) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetServiceAccount(v *ServiceAccount) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) SetServiceAccountID(v uuid.UUID) *ServiceAccountKeyPairUpdateOne + func (_u *ServiceAccountKeyPairUpdateOne) Where(ps ...predicate.ServiceAccountKeyPair) *ServiceAccountKeyPairUpdateOne + type ServiceAccountKeyPairUpsert struct + func (u *ServiceAccountKeyPairUpsert) ClearExpiresAt() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) ClearLastUsedAt() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) ClearRevokedAt() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) SetActive(v bool) *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) SetAlgorithm(v serviceaccountkeypair.Algorithm) *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) SetExpiresAt(v time.Time) *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) SetKeyID(v string) *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) SetKeyType(v serviceaccountkeypair.KeyType) *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) SetLastUsedAt(v time.Time) *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) SetPublicKeyPem(v string) *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) SetRevoked(v bool) *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) SetRevokedAt(v time.Time) *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) SetServiceAccountID(v uuid.UUID) *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) UpdateActive() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) UpdateAlgorithm() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) UpdateExpiresAt() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) UpdateKeyID() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) UpdateKeyType() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) UpdateLastUsedAt() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) UpdatePublicKeyPem() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) UpdateRevoked() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) UpdateRevokedAt() *ServiceAccountKeyPairUpsert + func (u *ServiceAccountKeyPairUpsert) UpdateServiceAccountID() *ServiceAccountKeyPairUpsert + type ServiceAccountKeyPairUpsertBulk struct + func (u *ServiceAccountKeyPairUpsertBulk) ClearExpiresAt() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) ClearLastUsedAt() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) ClearRevokedAt() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) DoNothing() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) Exec(ctx context.Context) error + func (u *ServiceAccountKeyPairUpsertBulk) ExecX(ctx context.Context) + func (u *ServiceAccountKeyPairUpsertBulk) Ignore() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) SetActive(v bool) *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) SetAlgorithm(v serviceaccountkeypair.Algorithm) *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) SetExpiresAt(v time.Time) *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) SetKeyID(v string) *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) SetKeyType(v serviceaccountkeypair.KeyType) *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) SetLastUsedAt(v time.Time) *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) SetPublicKeyPem(v string) *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) SetRevoked(v bool) *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) SetRevokedAt(v time.Time) *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) SetServiceAccountID(v uuid.UUID) *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) Update(set func(*ServiceAccountKeyPairUpsert)) *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) UpdateActive() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) UpdateAlgorithm() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) UpdateExpiresAt() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) UpdateKeyID() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) UpdateKeyType() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) UpdateLastUsedAt() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) UpdateNewValues() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) UpdatePublicKeyPem() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) UpdateRevoked() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) UpdateRevokedAt() *ServiceAccountKeyPairUpsertBulk + func (u *ServiceAccountKeyPairUpsertBulk) UpdateServiceAccountID() *ServiceAccountKeyPairUpsertBulk + type ServiceAccountKeyPairUpsertOne struct + func (u *ServiceAccountKeyPairUpsertOne) ClearExpiresAt() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) ClearLastUsedAt() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) ClearRevokedAt() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) DoNothing() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) Exec(ctx context.Context) error + func (u *ServiceAccountKeyPairUpsertOne) ExecX(ctx context.Context) + func (u *ServiceAccountKeyPairUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *ServiceAccountKeyPairUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *ServiceAccountKeyPairUpsertOne) Ignore() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) SetActive(v bool) *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) SetAlgorithm(v serviceaccountkeypair.Algorithm) *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) SetExpiresAt(v time.Time) *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) SetKeyID(v string) *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) SetKeyType(v serviceaccountkeypair.KeyType) *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) SetLastUsedAt(v time.Time) *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) SetPublicKeyPem(v string) *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) SetRevoked(v bool) *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) SetRevokedAt(v time.Time) *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) SetServiceAccountID(v uuid.UUID) *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) Update(set func(*ServiceAccountKeyPairUpsert)) *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) UpdateActive() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) UpdateAlgorithm() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) UpdateExpiresAt() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) UpdateKeyID() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) UpdateKeyType() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) UpdateLastUsedAt() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) UpdateNewValues() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) UpdatePublicKeyPem() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) UpdateRevoked() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) UpdateRevokedAt() *ServiceAccountKeyPairUpsertOne + func (u *ServiceAccountKeyPairUpsertOne) UpdateServiceAccountID() *ServiceAccountKeyPairUpsertOne + type ServiceAccountKeyPairs []*ServiceAccountKeyPair + type ServiceAccountMutation struct + func (m *ServiceAccountMutation) Active() (r bool, exists bool) + func (m *ServiceAccountMutation) AddField(name string, value ent.Value) error + func (m *ServiceAccountMutation) AddKeyPairIDs(ids ...uuid.UUID) + func (m *ServiceAccountMutation) AddedEdges() []string + func (m *ServiceAccountMutation) AddedField(name string) (ent.Value, bool) + func (m *ServiceAccountMutation) AddedFields() []string + func (m *ServiceAccountMutation) AddedIDs(name string) []ent.Value + func (m *ServiceAccountMutation) AllowedScopes() (r []string, exists bool) + func (m *ServiceAccountMutation) AppendAllowedScopes(s []string) + func (m *ServiceAccountMutation) AppendedAllowedScopes() ([]string, bool) + func (m *ServiceAccountMutation) ClearCreator() + func (m *ServiceAccountMutation) ClearDescription() + func (m *ServiceAccountMutation) ClearEdge(name string) error + func (m *ServiceAccountMutation) ClearField(name string) error + func (m *ServiceAccountMutation) ClearKeyPairs() + func (m *ServiceAccountMutation) ClearLastUsedAt() + func (m *ServiceAccountMutation) ClearOrganization() + func (m *ServiceAccountMutation) ClearedEdges() []string + func (m *ServiceAccountMutation) ClearedFields() []string + func (m *ServiceAccountMutation) CreatedAt() (r time.Time, exists bool) + func (m *ServiceAccountMutation) CreatedBy() (r uuid.UUID, exists bool) + func (m *ServiceAccountMutation) CreatorCleared() bool + func (m *ServiceAccountMutation) CreatorID() (id uuid.UUID, exists bool) + func (m *ServiceAccountMutation) CreatorIDs() (ids []uuid.UUID) + func (m *ServiceAccountMutation) Description() (r string, exists bool) + func (m *ServiceAccountMutation) DescriptionCleared() bool + func (m *ServiceAccountMutation) EdgeCleared(name string) bool + func (m *ServiceAccountMutation) Email() (r string, exists bool) + func (m *ServiceAccountMutation) Field(name string) (ent.Value, bool) + func (m *ServiceAccountMutation) FieldCleared(name string) bool + func (m *ServiceAccountMutation) Fields() []string + func (m *ServiceAccountMutation) Filter() *ServiceAccountFilter + func (m *ServiceAccountMutation) ID() (id uuid.UUID, exists bool) + func (m *ServiceAccountMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *ServiceAccountMutation) KeyPairsCleared() bool + func (m *ServiceAccountMutation) KeyPairsIDs() (ids []uuid.UUID) + func (m *ServiceAccountMutation) LastUsedAt() (r time.Time, exists bool) + func (m *ServiceAccountMutation) LastUsedAtCleared() bool + func (m *ServiceAccountMutation) Name() (r string, exists bool) + func (m *ServiceAccountMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *ServiceAccountMutation) OldAllowedScopes(ctx context.Context) (v []string, err error) + func (m *ServiceAccountMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *ServiceAccountMutation) OldCreatedBy(ctx context.Context) (v uuid.UUID, err error) + func (m *ServiceAccountMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *ServiceAccountMutation) OldEmail(ctx context.Context) (v string, err error) + func (m *ServiceAccountMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ServiceAccountMutation) OldLastUsedAt(ctx context.Context) (v *time.Time, err error) + func (m *ServiceAccountMutation) OldName(ctx context.Context) (v string, err error) + func (m *ServiceAccountMutation) OldOrganizationID(ctx context.Context) (v uuid.UUID, err error) + func (m *ServiceAccountMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *ServiceAccountMutation) Op() Op + func (m *ServiceAccountMutation) OrganizationCleared() bool + func (m *ServiceAccountMutation) OrganizationID() (r uuid.UUID, exists bool) + func (m *ServiceAccountMutation) OrganizationIDs() (ids []uuid.UUID) + func (m *ServiceAccountMutation) RemoveKeyPairIDs(ids ...uuid.UUID) + func (m *ServiceAccountMutation) RemovedEdges() []string + func (m *ServiceAccountMutation) RemovedIDs(name string) []ent.Value + func (m *ServiceAccountMutation) RemovedKeyPairsIDs() (ids []uuid.UUID) + func (m *ServiceAccountMutation) ResetActive() + func (m *ServiceAccountMutation) ResetAllowedScopes() + func (m *ServiceAccountMutation) ResetCreatedAt() + func (m *ServiceAccountMutation) ResetCreatedBy() + func (m *ServiceAccountMutation) ResetCreator() + func (m *ServiceAccountMutation) ResetDescription() + func (m *ServiceAccountMutation) ResetEdge(name string) error + func (m *ServiceAccountMutation) ResetEmail() + func (m *ServiceAccountMutation) ResetField(name string) error + func (m *ServiceAccountMutation) ResetKeyPairs() + func (m *ServiceAccountMutation) ResetLastUsedAt() + func (m *ServiceAccountMutation) ResetName() + func (m *ServiceAccountMutation) ResetOrganization() + func (m *ServiceAccountMutation) ResetOrganizationID() + func (m *ServiceAccountMutation) ResetUpdatedAt() + func (m *ServiceAccountMutation) SetActive(b bool) + func (m *ServiceAccountMutation) SetAllowedScopes(s []string) + func (m *ServiceAccountMutation) SetCreatedAt(t time.Time) + func (m *ServiceAccountMutation) SetCreatedBy(u uuid.UUID) + func (m *ServiceAccountMutation) SetCreatorID(id uuid.UUID) + func (m *ServiceAccountMutation) SetDescription(s string) + func (m *ServiceAccountMutation) SetEmail(s string) + func (m *ServiceAccountMutation) SetField(name string, value ent.Value) error + func (m *ServiceAccountMutation) SetID(id uuid.UUID) + func (m *ServiceAccountMutation) SetLastUsedAt(t time.Time) + func (m *ServiceAccountMutation) SetName(s string) + func (m *ServiceAccountMutation) SetOp(op Op) + func (m *ServiceAccountMutation) SetOrganizationID(u uuid.UUID) + func (m *ServiceAccountMutation) SetUpdatedAt(t time.Time) + func (m *ServiceAccountMutation) Type() string + func (m *ServiceAccountMutation) UpdatedAt() (r time.Time, exists bool) + func (m *ServiceAccountMutation) Where(ps ...predicate.ServiceAccount) + func (m *ServiceAccountMutation) WhereP(ps ...func(*sql.Selector)) + func (m ServiceAccountMutation) Client() *Client + func (m ServiceAccountMutation) Tx() (*Tx, error) + type ServiceAccountQuery struct + func (_q *ServiceAccountQuery) Aggregate(fns ...AggregateFunc) *ServiceAccountSelect + func (_q *ServiceAccountQuery) All(ctx context.Context) ([]*ServiceAccount, error) + func (_q *ServiceAccountQuery) AllX(ctx context.Context) []*ServiceAccount + func (_q *ServiceAccountQuery) Clone() *ServiceAccountQuery + func (_q *ServiceAccountQuery) Count(ctx context.Context) (int, error) + func (_q *ServiceAccountQuery) CountX(ctx context.Context) int + func (_q *ServiceAccountQuery) Exist(ctx context.Context) (bool, error) + func (_q *ServiceAccountQuery) ExistX(ctx context.Context) bool + func (_q *ServiceAccountQuery) Filter() *ServiceAccountFilter + func (_q *ServiceAccountQuery) First(ctx context.Context) (*ServiceAccount, error) + func (_q *ServiceAccountQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *ServiceAccountQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *ServiceAccountQuery) FirstX(ctx context.Context) *ServiceAccount + func (_q *ServiceAccountQuery) GroupBy(field string, fields ...string) *ServiceAccountGroupBy + func (_q *ServiceAccountQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *ServiceAccountQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *ServiceAccountQuery) Limit(limit int) *ServiceAccountQuery + func (_q *ServiceAccountQuery) Offset(offset int) *ServiceAccountQuery + func (_q *ServiceAccountQuery) Only(ctx context.Context) (*ServiceAccount, error) + func (_q *ServiceAccountQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *ServiceAccountQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *ServiceAccountQuery) OnlyX(ctx context.Context) *ServiceAccount + func (_q *ServiceAccountQuery) Order(o ...serviceaccount.OrderOption) *ServiceAccountQuery + func (_q *ServiceAccountQuery) QueryCreator() *UserQuery + func (_q *ServiceAccountQuery) QueryKeyPairs() *ServiceAccountKeyPairQuery + func (_q *ServiceAccountQuery) QueryOrganization() *OrganizationQuery + func (_q *ServiceAccountQuery) Select(fields ...string) *ServiceAccountSelect + func (_q *ServiceAccountQuery) Unique(unique bool) *ServiceAccountQuery + func (_q *ServiceAccountQuery) Where(ps ...predicate.ServiceAccount) *ServiceAccountQuery + func (_q *ServiceAccountQuery) WithCreator(opts ...func(*UserQuery)) *ServiceAccountQuery + func (_q *ServiceAccountQuery) WithKeyPairs(opts ...func(*ServiceAccountKeyPairQuery)) *ServiceAccountQuery + func (_q *ServiceAccountQuery) WithOrganization(opts ...func(*OrganizationQuery)) *ServiceAccountQuery + type ServiceAccountSelect struct + func (_s *ServiceAccountSelect) Aggregate(fns ...AggregateFunc) *ServiceAccountSelect + func (_s *ServiceAccountSelect) Scan(ctx context.Context, v any) error + func (s *ServiceAccountSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ServiceAccountSelect) BoolX(ctx context.Context) bool + func (s *ServiceAccountSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ServiceAccountSelect) BoolsX(ctx context.Context) []bool + func (s *ServiceAccountSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ServiceAccountSelect) Float64X(ctx context.Context) float64 + func (s *ServiceAccountSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ServiceAccountSelect) Float64sX(ctx context.Context) []float64 + func (s *ServiceAccountSelect) Int(ctx context.Context) (_ int, err error) + func (s *ServiceAccountSelect) IntX(ctx context.Context) int + func (s *ServiceAccountSelect) Ints(ctx context.Context) ([]int, error) + func (s *ServiceAccountSelect) IntsX(ctx context.Context) []int + func (s *ServiceAccountSelect) ScanX(ctx context.Context, v any) + func (s *ServiceAccountSelect) String(ctx context.Context) (_ string, err error) + func (s *ServiceAccountSelect) StringX(ctx context.Context) string + func (s *ServiceAccountSelect) Strings(ctx context.Context) ([]string, error) + func (s *ServiceAccountSelect) StringsX(ctx context.Context) []string + type ServiceAccountUpdate struct + func (_u *ServiceAccountUpdate) AddKeyPairIDs(ids ...uuid.UUID) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) AddKeyPairs(v ...*ServiceAccountKeyPair) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) AppendAllowedScopes(v []string) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) ClearCreator() *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) ClearDescription() *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) ClearKeyPairs() *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) ClearLastUsedAt() *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) ClearOrganization() *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) Exec(ctx context.Context) error + func (_u *ServiceAccountUpdate) ExecX(ctx context.Context) + func (_u *ServiceAccountUpdate) Mutation() *ServiceAccountMutation + func (_u *ServiceAccountUpdate) RemoveKeyPairIDs(ids ...uuid.UUID) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) RemoveKeyPairs(v ...*ServiceAccountKeyPair) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) Save(ctx context.Context) (int, error) + func (_u *ServiceAccountUpdate) SaveX(ctx context.Context) int + func (_u *ServiceAccountUpdate) SetActive(v bool) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetAllowedScopes(v []string) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetCreatedBy(v uuid.UUID) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetCreator(v *User) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetCreatorID(id uuid.UUID) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetDescription(v string) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetEmail(v string) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetLastUsedAt(v time.Time) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetName(v string) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetNillableActive(v *bool) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetNillableCreatedBy(v *uuid.UUID) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetNillableDescription(v *string) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetNillableEmail(v *string) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetNillableLastUsedAt(v *time.Time) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetNillableName(v *string) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetNillableOrganizationID(v *uuid.UUID) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetOrganization(v *Organization) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetOrganizationID(v uuid.UUID) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) SetUpdatedAt(v time.Time) *ServiceAccountUpdate + func (_u *ServiceAccountUpdate) Where(ps ...predicate.ServiceAccount) *ServiceAccountUpdate + type ServiceAccountUpdateOne struct + func (_u *ServiceAccountUpdateOne) AddKeyPairIDs(ids ...uuid.UUID) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) AddKeyPairs(v ...*ServiceAccountKeyPair) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) AppendAllowedScopes(v []string) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) ClearCreator() *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) ClearDescription() *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) ClearKeyPairs() *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) ClearLastUsedAt() *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) ClearOrganization() *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) Exec(ctx context.Context) error + func (_u *ServiceAccountUpdateOne) ExecX(ctx context.Context) + func (_u *ServiceAccountUpdateOne) Mutation() *ServiceAccountMutation + func (_u *ServiceAccountUpdateOne) RemoveKeyPairIDs(ids ...uuid.UUID) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) RemoveKeyPairs(v ...*ServiceAccountKeyPair) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) Save(ctx context.Context) (*ServiceAccount, error) + func (_u *ServiceAccountUpdateOne) SaveX(ctx context.Context) *ServiceAccount + func (_u *ServiceAccountUpdateOne) Select(field string, fields ...string) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetActive(v bool) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetAllowedScopes(v []string) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetCreatedBy(v uuid.UUID) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetCreator(v *User) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetCreatorID(id uuid.UUID) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetDescription(v string) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetEmail(v string) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetLastUsedAt(v time.Time) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetName(v string) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetNillableActive(v *bool) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetNillableCreatedBy(v *uuid.UUID) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetNillableDescription(v *string) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetNillableEmail(v *string) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetNillableLastUsedAt(v *time.Time) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetNillableName(v *string) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetNillableOrganizationID(v *uuid.UUID) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetOrganization(v *Organization) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetOrganizationID(v uuid.UUID) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) SetUpdatedAt(v time.Time) *ServiceAccountUpdateOne + func (_u *ServiceAccountUpdateOne) Where(ps ...predicate.ServiceAccount) *ServiceAccountUpdateOne + type ServiceAccountUpsert struct + func (u *ServiceAccountUpsert) ClearDescription() *ServiceAccountUpsert + func (u *ServiceAccountUpsert) ClearLastUsedAt() *ServiceAccountUpsert + func (u *ServiceAccountUpsert) SetActive(v bool) *ServiceAccountUpsert + func (u *ServiceAccountUpsert) SetAllowedScopes(v []string) *ServiceAccountUpsert + func (u *ServiceAccountUpsert) SetCreatedBy(v uuid.UUID) *ServiceAccountUpsert + func (u *ServiceAccountUpsert) SetDescription(v string) *ServiceAccountUpsert + func (u *ServiceAccountUpsert) SetEmail(v string) *ServiceAccountUpsert + func (u *ServiceAccountUpsert) SetLastUsedAt(v time.Time) *ServiceAccountUpsert + func (u *ServiceAccountUpsert) SetName(v string) *ServiceAccountUpsert + func (u *ServiceAccountUpsert) SetOrganizationID(v uuid.UUID) *ServiceAccountUpsert + func (u *ServiceAccountUpsert) SetUpdatedAt(v time.Time) *ServiceAccountUpsert + func (u *ServiceAccountUpsert) UpdateActive() *ServiceAccountUpsert + func (u *ServiceAccountUpsert) UpdateAllowedScopes() *ServiceAccountUpsert + func (u *ServiceAccountUpsert) UpdateCreatedBy() *ServiceAccountUpsert + func (u *ServiceAccountUpsert) UpdateDescription() *ServiceAccountUpsert + func (u *ServiceAccountUpsert) UpdateEmail() *ServiceAccountUpsert + func (u *ServiceAccountUpsert) UpdateLastUsedAt() *ServiceAccountUpsert + func (u *ServiceAccountUpsert) UpdateName() *ServiceAccountUpsert + func (u *ServiceAccountUpsert) UpdateOrganizationID() *ServiceAccountUpsert + func (u *ServiceAccountUpsert) UpdateUpdatedAt() *ServiceAccountUpsert + type ServiceAccountUpsertBulk struct + func (u *ServiceAccountUpsertBulk) ClearDescription() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) ClearLastUsedAt() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) DoNothing() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) Exec(ctx context.Context) error + func (u *ServiceAccountUpsertBulk) ExecX(ctx context.Context) + func (u *ServiceAccountUpsertBulk) Ignore() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) SetActive(v bool) *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) SetAllowedScopes(v []string) *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) SetCreatedBy(v uuid.UUID) *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) SetDescription(v string) *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) SetEmail(v string) *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) SetLastUsedAt(v time.Time) *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) SetName(v string) *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) SetOrganizationID(v uuid.UUID) *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) SetUpdatedAt(v time.Time) *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) Update(set func(*ServiceAccountUpsert)) *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) UpdateActive() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) UpdateAllowedScopes() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) UpdateCreatedBy() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) UpdateDescription() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) UpdateEmail() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) UpdateLastUsedAt() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) UpdateName() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) UpdateNewValues() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) UpdateOrganizationID() *ServiceAccountUpsertBulk + func (u *ServiceAccountUpsertBulk) UpdateUpdatedAt() *ServiceAccountUpsertBulk + type ServiceAccountUpsertOne struct + func (u *ServiceAccountUpsertOne) ClearDescription() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) ClearLastUsedAt() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) DoNothing() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) Exec(ctx context.Context) error + func (u *ServiceAccountUpsertOne) ExecX(ctx context.Context) + func (u *ServiceAccountUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *ServiceAccountUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *ServiceAccountUpsertOne) Ignore() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) SetActive(v bool) *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) SetAllowedScopes(v []string) *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) SetCreatedBy(v uuid.UUID) *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) SetDescription(v string) *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) SetEmail(v string) *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) SetLastUsedAt(v time.Time) *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) SetName(v string) *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) SetOrganizationID(v uuid.UUID) *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) SetUpdatedAt(v time.Time) *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) Update(set func(*ServiceAccountUpsert)) *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) UpdateActive() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) UpdateAllowedScopes() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) UpdateCreatedBy() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) UpdateDescription() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) UpdateEmail() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) UpdateLastUsedAt() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) UpdateName() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) UpdateNewValues() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) UpdateOrganizationID() *ServiceAccountUpsertOne + func (u *ServiceAccountUpsertOne) UpdateUpdatedAt() *ServiceAccountUpsertOne + type ServiceAccounts []*ServiceAccount + type ServicePrincipal struct + AllowedIps []string + CreatedAt time.Time + CreatedBy *uuid.UUID + Description string + Edges ServicePrincipalEdges + ID uuid.UUID + LastUsedAt *time.Time + PrincipalID uuid.UUID + ServiceType string + UpdatedAt time.Time + func (_m *ServicePrincipal) QueryCreator() *PrincipalQuery + func (_m *ServicePrincipal) QueryPrincipal() *PrincipalQuery + func (_m *ServicePrincipal) String() string + func (_m *ServicePrincipal) Unwrap() *ServicePrincipal + func (_m *ServicePrincipal) Update() *ServicePrincipalUpdateOne + func (_m *ServicePrincipal) Value(name string) (ent.Value, error) + type ServicePrincipalClient struct + func NewServicePrincipalClient(c config) *ServicePrincipalClient + func (c *ServicePrincipalClient) Create() *ServicePrincipalCreate + func (c *ServicePrincipalClient) CreateBulk(builders ...*ServicePrincipalCreate) *ServicePrincipalCreateBulk + func (c *ServicePrincipalClient) Delete() *ServicePrincipalDelete + func (c *ServicePrincipalClient) DeleteOne(_m *ServicePrincipal) *ServicePrincipalDeleteOne + func (c *ServicePrincipalClient) DeleteOneID(id uuid.UUID) *ServicePrincipalDeleteOne + func (c *ServicePrincipalClient) Get(ctx context.Context, id uuid.UUID) (*ServicePrincipal, error) + func (c *ServicePrincipalClient) GetX(ctx context.Context, id uuid.UUID) *ServicePrincipal + func (c *ServicePrincipalClient) Hooks() []Hook + func (c *ServicePrincipalClient) Intercept(interceptors ...Interceptor) + func (c *ServicePrincipalClient) Interceptors() []Interceptor + func (c *ServicePrincipalClient) MapCreateBulk(slice any, setFunc func(*ServicePrincipalCreate, int)) *ServicePrincipalCreateBulk + func (c *ServicePrincipalClient) Query() *ServicePrincipalQuery + func (c *ServicePrincipalClient) QueryCreator(_m *ServicePrincipal) *PrincipalQuery + func (c *ServicePrincipalClient) QueryPrincipal(_m *ServicePrincipal) *PrincipalQuery + func (c *ServicePrincipalClient) Update() *ServicePrincipalUpdate + func (c *ServicePrincipalClient) UpdateOne(_m *ServicePrincipal) *ServicePrincipalUpdateOne + func (c *ServicePrincipalClient) UpdateOneID(id uuid.UUID) *ServicePrincipalUpdateOne + func (c *ServicePrincipalClient) Use(hooks ...Hook) + type ServicePrincipalCreate struct + func (_c *ServicePrincipalCreate) Exec(ctx context.Context) error + func (_c *ServicePrincipalCreate) ExecX(ctx context.Context) + func (_c *ServicePrincipalCreate) Mutation() *ServicePrincipalMutation + func (_c *ServicePrincipalCreate) OnConflict(opts ...sql.ConflictOption) *ServicePrincipalUpsertOne + func (_c *ServicePrincipalCreate) OnConflictColumns(columns ...string) *ServicePrincipalUpsertOne + func (_c *ServicePrincipalCreate) Save(ctx context.Context) (*ServicePrincipal, error) + func (_c *ServicePrincipalCreate) SaveX(ctx context.Context) *ServicePrincipal + func (_c *ServicePrincipalCreate) SetAllowedIps(v []string) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetCreatedAt(v time.Time) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetCreatedBy(v uuid.UUID) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetCreator(v *Principal) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetCreatorID(id uuid.UUID) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetDescription(v string) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetID(v uuid.UUID) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetLastUsedAt(v time.Time) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetNillableCreatedAt(v *time.Time) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetNillableCreatedBy(v *uuid.UUID) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetNillableCreatorID(id *uuid.UUID) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetNillableDescription(v *string) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetNillableID(v *uuid.UUID) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetNillableLastUsedAt(v *time.Time) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetNillableUpdatedAt(v *time.Time) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetPrincipal(v *Principal) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetPrincipalID(v uuid.UUID) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetServiceType(v string) *ServicePrincipalCreate + func (_c *ServicePrincipalCreate) SetUpdatedAt(v time.Time) *ServicePrincipalCreate + type ServicePrincipalCreateBulk struct + func (_c *ServicePrincipalCreateBulk) Exec(ctx context.Context) error + func (_c *ServicePrincipalCreateBulk) ExecX(ctx context.Context) + func (_c *ServicePrincipalCreateBulk) OnConflict(opts ...sql.ConflictOption) *ServicePrincipalUpsertBulk + func (_c *ServicePrincipalCreateBulk) OnConflictColumns(columns ...string) *ServicePrincipalUpsertBulk + func (_c *ServicePrincipalCreateBulk) Save(ctx context.Context) ([]*ServicePrincipal, error) + func (_c *ServicePrincipalCreateBulk) SaveX(ctx context.Context) []*ServicePrincipal + type ServicePrincipalDelete struct + func (_d *ServicePrincipalDelete) Exec(ctx context.Context) (int, error) + func (_d *ServicePrincipalDelete) ExecX(ctx context.Context) int + func (_d *ServicePrincipalDelete) Where(ps ...predicate.ServicePrincipal) *ServicePrincipalDelete + type ServicePrincipalDeleteOne struct + func (_d *ServicePrincipalDeleteOne) Exec(ctx context.Context) error + func (_d *ServicePrincipalDeleteOne) ExecX(ctx context.Context) + func (_d *ServicePrincipalDeleteOne) Where(ps ...predicate.ServicePrincipal) *ServicePrincipalDeleteOne + type ServicePrincipalEdges struct + Creator *Principal + Principal *Principal + func (e ServicePrincipalEdges) CreatorOrErr() (*Principal, error) + func (e ServicePrincipalEdges) PrincipalOrErr() (*Principal, error) + type ServicePrincipalFilter struct + func (f *ServicePrincipalFilter) Where(p entql.P) + func (f *ServicePrincipalFilter) WhereAllowedIps(p entql.BytesP) + func (f *ServicePrincipalFilter) WhereCreatedAt(p entql.TimeP) + func (f *ServicePrincipalFilter) WhereCreatedBy(p entql.ValueP) + func (f *ServicePrincipalFilter) WhereDescription(p entql.StringP) + func (f *ServicePrincipalFilter) WhereHasCreator() + func (f *ServicePrincipalFilter) WhereHasCreatorWith(preds ...predicate.Principal) + func (f *ServicePrincipalFilter) WhereHasPrincipal() + func (f *ServicePrincipalFilter) WhereHasPrincipalWith(preds ...predicate.Principal) + func (f *ServicePrincipalFilter) WhereID(p entql.ValueP) + func (f *ServicePrincipalFilter) WhereLastUsedAt(p entql.TimeP) + func (f *ServicePrincipalFilter) WherePrincipalID(p entql.ValueP) + func (f *ServicePrincipalFilter) WhereServiceType(p entql.StringP) + func (f *ServicePrincipalFilter) WhereUpdatedAt(p entql.TimeP) + type ServicePrincipalGroupBy struct + func (_g *ServicePrincipalGroupBy) Aggregate(fns ...AggregateFunc) *ServicePrincipalGroupBy + func (_g *ServicePrincipalGroupBy) Scan(ctx context.Context, v any) error + func (s *ServicePrincipalGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ServicePrincipalGroupBy) BoolX(ctx context.Context) bool + func (s *ServicePrincipalGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ServicePrincipalGroupBy) BoolsX(ctx context.Context) []bool + func (s *ServicePrincipalGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ServicePrincipalGroupBy) Float64X(ctx context.Context) float64 + func (s *ServicePrincipalGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ServicePrincipalGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ServicePrincipalGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ServicePrincipalGroupBy) IntX(ctx context.Context) int + func (s *ServicePrincipalGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ServicePrincipalGroupBy) IntsX(ctx context.Context) []int + func (s *ServicePrincipalGroupBy) ScanX(ctx context.Context, v any) + func (s *ServicePrincipalGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ServicePrincipalGroupBy) StringX(ctx context.Context) string + func (s *ServicePrincipalGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ServicePrincipalGroupBy) StringsX(ctx context.Context) []string + type ServicePrincipalMutation struct + func (m *ServicePrincipalMutation) AddField(name string, value ent.Value) error + func (m *ServicePrincipalMutation) AddedEdges() []string + func (m *ServicePrincipalMutation) AddedField(name string) (ent.Value, bool) + func (m *ServicePrincipalMutation) AddedFields() []string + func (m *ServicePrincipalMutation) AddedIDs(name string) []ent.Value + func (m *ServicePrincipalMutation) AllowedIps() (r []string, exists bool) + func (m *ServicePrincipalMutation) AppendAllowedIps(s []string) + func (m *ServicePrincipalMutation) AppendedAllowedIps() ([]string, bool) + func (m *ServicePrincipalMutation) ClearCreatedBy() + func (m *ServicePrincipalMutation) ClearCreator() + func (m *ServicePrincipalMutation) ClearDescription() + func (m *ServicePrincipalMutation) ClearEdge(name string) error + func (m *ServicePrincipalMutation) ClearField(name string) error + func (m *ServicePrincipalMutation) ClearLastUsedAt() + func (m *ServicePrincipalMutation) ClearPrincipal() + func (m *ServicePrincipalMutation) ClearedEdges() []string + func (m *ServicePrincipalMutation) ClearedFields() []string + func (m *ServicePrincipalMutation) CreatedAt() (r time.Time, exists bool) + func (m *ServicePrincipalMutation) CreatedBy() (r uuid.UUID, exists bool) + func (m *ServicePrincipalMutation) CreatedByCleared() bool + func (m *ServicePrincipalMutation) CreatorCleared() bool + func (m *ServicePrincipalMutation) CreatorID() (id uuid.UUID, exists bool) + func (m *ServicePrincipalMutation) CreatorIDs() (ids []uuid.UUID) + func (m *ServicePrincipalMutation) Description() (r string, exists bool) + func (m *ServicePrincipalMutation) DescriptionCleared() bool + func (m *ServicePrincipalMutation) EdgeCleared(name string) bool + func (m *ServicePrincipalMutation) Field(name string) (ent.Value, bool) + func (m *ServicePrincipalMutation) FieldCleared(name string) bool + func (m *ServicePrincipalMutation) Fields() []string + func (m *ServicePrincipalMutation) Filter() *ServicePrincipalFilter + func (m *ServicePrincipalMutation) ID() (id uuid.UUID, exists bool) + func (m *ServicePrincipalMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *ServicePrincipalMutation) LastUsedAt() (r time.Time, exists bool) + func (m *ServicePrincipalMutation) LastUsedAtCleared() bool + func (m *ServicePrincipalMutation) OldAllowedIps(ctx context.Context) (v []string, err error) + func (m *ServicePrincipalMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *ServicePrincipalMutation) OldCreatedBy(ctx context.Context) (v *uuid.UUID, err error) + func (m *ServicePrincipalMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *ServicePrincipalMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ServicePrincipalMutation) OldLastUsedAt(ctx context.Context) (v *time.Time, err error) + func (m *ServicePrincipalMutation) OldPrincipalID(ctx context.Context) (v uuid.UUID, err error) + func (m *ServicePrincipalMutation) OldServiceType(ctx context.Context) (v string, err error) + func (m *ServicePrincipalMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *ServicePrincipalMutation) Op() Op + func (m *ServicePrincipalMutation) PrincipalCleared() bool + func (m *ServicePrincipalMutation) PrincipalID() (r uuid.UUID, exists bool) + func (m *ServicePrincipalMutation) PrincipalIDs() (ids []uuid.UUID) + func (m *ServicePrincipalMutation) RemovedEdges() []string + func (m *ServicePrincipalMutation) RemovedIDs(name string) []ent.Value + func (m *ServicePrincipalMutation) ResetAllowedIps() + func (m *ServicePrincipalMutation) ResetCreatedAt() + func (m *ServicePrincipalMutation) ResetCreatedBy() + func (m *ServicePrincipalMutation) ResetCreator() + func (m *ServicePrincipalMutation) ResetDescription() + func (m *ServicePrincipalMutation) ResetEdge(name string) error + func (m *ServicePrincipalMutation) ResetField(name string) error + func (m *ServicePrincipalMutation) ResetLastUsedAt() + func (m *ServicePrincipalMutation) ResetPrincipal() + func (m *ServicePrincipalMutation) ResetPrincipalID() + func (m *ServicePrincipalMutation) ResetServiceType() + func (m *ServicePrincipalMutation) ResetUpdatedAt() + func (m *ServicePrincipalMutation) ServiceType() (r string, exists bool) + func (m *ServicePrincipalMutation) SetAllowedIps(s []string) + func (m *ServicePrincipalMutation) SetCreatedAt(t time.Time) + func (m *ServicePrincipalMutation) SetCreatedBy(u uuid.UUID) + func (m *ServicePrincipalMutation) SetCreatorID(id uuid.UUID) + func (m *ServicePrincipalMutation) SetDescription(s string) + func (m *ServicePrincipalMutation) SetField(name string, value ent.Value) error + func (m *ServicePrincipalMutation) SetID(id uuid.UUID) + func (m *ServicePrincipalMutation) SetLastUsedAt(t time.Time) + func (m *ServicePrincipalMutation) SetOp(op Op) + func (m *ServicePrincipalMutation) SetPrincipalID(u uuid.UUID) + func (m *ServicePrincipalMutation) SetServiceType(s string) + func (m *ServicePrincipalMutation) SetUpdatedAt(t time.Time) + func (m *ServicePrincipalMutation) Type() string + func (m *ServicePrincipalMutation) UpdatedAt() (r time.Time, exists bool) + func (m *ServicePrincipalMutation) Where(ps ...predicate.ServicePrincipal) + func (m *ServicePrincipalMutation) WhereP(ps ...func(*sql.Selector)) + func (m ServicePrincipalMutation) Client() *Client + func (m ServicePrincipalMutation) Tx() (*Tx, error) + type ServicePrincipalQuery struct + func (_q *ServicePrincipalQuery) Aggregate(fns ...AggregateFunc) *ServicePrincipalSelect + func (_q *ServicePrincipalQuery) All(ctx context.Context) ([]*ServicePrincipal, error) + func (_q *ServicePrincipalQuery) AllX(ctx context.Context) []*ServicePrincipal + func (_q *ServicePrincipalQuery) Clone() *ServicePrincipalQuery + func (_q *ServicePrincipalQuery) Count(ctx context.Context) (int, error) + func (_q *ServicePrincipalQuery) CountX(ctx context.Context) int + func (_q *ServicePrincipalQuery) Exist(ctx context.Context) (bool, error) + func (_q *ServicePrincipalQuery) ExistX(ctx context.Context) bool + func (_q *ServicePrincipalQuery) Filter() *ServicePrincipalFilter + func (_q *ServicePrincipalQuery) First(ctx context.Context) (*ServicePrincipal, error) + func (_q *ServicePrincipalQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *ServicePrincipalQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *ServicePrincipalQuery) FirstX(ctx context.Context) *ServicePrincipal + func (_q *ServicePrincipalQuery) GroupBy(field string, fields ...string) *ServicePrincipalGroupBy + func (_q *ServicePrincipalQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *ServicePrincipalQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *ServicePrincipalQuery) Limit(limit int) *ServicePrincipalQuery + func (_q *ServicePrincipalQuery) Offset(offset int) *ServicePrincipalQuery + func (_q *ServicePrincipalQuery) Only(ctx context.Context) (*ServicePrincipal, error) + func (_q *ServicePrincipalQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *ServicePrincipalQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *ServicePrincipalQuery) OnlyX(ctx context.Context) *ServicePrincipal + func (_q *ServicePrincipalQuery) Order(o ...serviceprincipal.OrderOption) *ServicePrincipalQuery + func (_q *ServicePrincipalQuery) QueryCreator() *PrincipalQuery + func (_q *ServicePrincipalQuery) QueryPrincipal() *PrincipalQuery + func (_q *ServicePrincipalQuery) Select(fields ...string) *ServicePrincipalSelect + func (_q *ServicePrincipalQuery) Unique(unique bool) *ServicePrincipalQuery + func (_q *ServicePrincipalQuery) Where(ps ...predicate.ServicePrincipal) *ServicePrincipalQuery + func (_q *ServicePrincipalQuery) WithCreator(opts ...func(*PrincipalQuery)) *ServicePrincipalQuery + func (_q *ServicePrincipalQuery) WithPrincipal(opts ...func(*PrincipalQuery)) *ServicePrincipalQuery + type ServicePrincipalSelect struct + func (_s *ServicePrincipalSelect) Aggregate(fns ...AggregateFunc) *ServicePrincipalSelect + func (_s *ServicePrincipalSelect) Scan(ctx context.Context, v any) error + func (s *ServicePrincipalSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ServicePrincipalSelect) BoolX(ctx context.Context) bool + func (s *ServicePrincipalSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ServicePrincipalSelect) BoolsX(ctx context.Context) []bool + func (s *ServicePrincipalSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ServicePrincipalSelect) Float64X(ctx context.Context) float64 + func (s *ServicePrincipalSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ServicePrincipalSelect) Float64sX(ctx context.Context) []float64 + func (s *ServicePrincipalSelect) Int(ctx context.Context) (_ int, err error) + func (s *ServicePrincipalSelect) IntX(ctx context.Context) int + func (s *ServicePrincipalSelect) Ints(ctx context.Context) ([]int, error) + func (s *ServicePrincipalSelect) IntsX(ctx context.Context) []int + func (s *ServicePrincipalSelect) ScanX(ctx context.Context, v any) + func (s *ServicePrincipalSelect) String(ctx context.Context) (_ string, err error) + func (s *ServicePrincipalSelect) StringX(ctx context.Context) string + func (s *ServicePrincipalSelect) Strings(ctx context.Context) ([]string, error) + func (s *ServicePrincipalSelect) StringsX(ctx context.Context) []string + type ServicePrincipalUpdate struct + func (_u *ServicePrincipalUpdate) AppendAllowedIps(v []string) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) ClearCreatedBy() *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) ClearCreator() *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) ClearDescription() *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) ClearLastUsedAt() *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) Exec(ctx context.Context) error + func (_u *ServicePrincipalUpdate) ExecX(ctx context.Context) + func (_u *ServicePrincipalUpdate) Mutation() *ServicePrincipalMutation + func (_u *ServicePrincipalUpdate) Save(ctx context.Context) (int, error) + func (_u *ServicePrincipalUpdate) SaveX(ctx context.Context) int + func (_u *ServicePrincipalUpdate) SetAllowedIps(v []string) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetCreatedBy(v uuid.UUID) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetCreator(v *Principal) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetCreatorID(id uuid.UUID) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetDescription(v string) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetLastUsedAt(v time.Time) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetNillableCreatedBy(v *uuid.UUID) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetNillableCreatorID(id *uuid.UUID) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetNillableDescription(v *string) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetNillableLastUsedAt(v *time.Time) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetNillableServiceType(v *string) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetServiceType(v string) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) SetUpdatedAt(v time.Time) *ServicePrincipalUpdate + func (_u *ServicePrincipalUpdate) Where(ps ...predicate.ServicePrincipal) *ServicePrincipalUpdate + type ServicePrincipalUpdateOne struct + func (_u *ServicePrincipalUpdateOne) AppendAllowedIps(v []string) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) ClearCreatedBy() *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) ClearCreator() *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) ClearDescription() *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) ClearLastUsedAt() *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) Exec(ctx context.Context) error + func (_u *ServicePrincipalUpdateOne) ExecX(ctx context.Context) + func (_u *ServicePrincipalUpdateOne) Mutation() *ServicePrincipalMutation + func (_u *ServicePrincipalUpdateOne) Save(ctx context.Context) (*ServicePrincipal, error) + func (_u *ServicePrincipalUpdateOne) SaveX(ctx context.Context) *ServicePrincipal + func (_u *ServicePrincipalUpdateOne) Select(field string, fields ...string) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetAllowedIps(v []string) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetCreatedBy(v uuid.UUID) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetCreator(v *Principal) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetCreatorID(id uuid.UUID) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetDescription(v string) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetLastUsedAt(v time.Time) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetNillableCreatedBy(v *uuid.UUID) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetNillableCreatorID(id *uuid.UUID) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetNillableDescription(v *string) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetNillableLastUsedAt(v *time.Time) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetNillableServiceType(v *string) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetServiceType(v string) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) SetUpdatedAt(v time.Time) *ServicePrincipalUpdateOne + func (_u *ServicePrincipalUpdateOne) Where(ps ...predicate.ServicePrincipal) *ServicePrincipalUpdateOne + type ServicePrincipalUpsert struct + func (u *ServicePrincipalUpsert) ClearCreatedBy() *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) ClearDescription() *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) ClearLastUsedAt() *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) SetAllowedIps(v []string) *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) SetCreatedBy(v uuid.UUID) *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) SetDescription(v string) *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) SetLastUsedAt(v time.Time) *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) SetServiceType(v string) *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) SetUpdatedAt(v time.Time) *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) UpdateAllowedIps() *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) UpdateCreatedBy() *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) UpdateDescription() *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) UpdateLastUsedAt() *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) UpdateServiceType() *ServicePrincipalUpsert + func (u *ServicePrincipalUpsert) UpdateUpdatedAt() *ServicePrincipalUpsert + type ServicePrincipalUpsertBulk struct + func (u *ServicePrincipalUpsertBulk) ClearCreatedBy() *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) ClearDescription() *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) ClearLastUsedAt() *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) DoNothing() *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) Exec(ctx context.Context) error + func (u *ServicePrincipalUpsertBulk) ExecX(ctx context.Context) + func (u *ServicePrincipalUpsertBulk) Ignore() *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) SetAllowedIps(v []string) *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) SetCreatedBy(v uuid.UUID) *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) SetDescription(v string) *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) SetLastUsedAt(v time.Time) *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) SetServiceType(v string) *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) SetUpdatedAt(v time.Time) *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) Update(set func(*ServicePrincipalUpsert)) *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) UpdateAllowedIps() *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) UpdateCreatedBy() *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) UpdateDescription() *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) UpdateLastUsedAt() *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) UpdateNewValues() *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) UpdateServiceType() *ServicePrincipalUpsertBulk + func (u *ServicePrincipalUpsertBulk) UpdateUpdatedAt() *ServicePrincipalUpsertBulk + type ServicePrincipalUpsertOne struct + func (u *ServicePrincipalUpsertOne) ClearCreatedBy() *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) ClearDescription() *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) ClearLastUsedAt() *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) DoNothing() *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) Exec(ctx context.Context) error + func (u *ServicePrincipalUpsertOne) ExecX(ctx context.Context) + func (u *ServicePrincipalUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *ServicePrincipalUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *ServicePrincipalUpsertOne) Ignore() *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) SetAllowedIps(v []string) *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) SetCreatedBy(v uuid.UUID) *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) SetDescription(v string) *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) SetLastUsedAt(v time.Time) *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) SetServiceType(v string) *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) SetUpdatedAt(v time.Time) *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) Update(set func(*ServicePrincipalUpsert)) *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) UpdateAllowedIps() *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) UpdateCreatedBy() *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) UpdateDescription() *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) UpdateLastUsedAt() *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) UpdateNewValues() *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) UpdateServiceType() *ServicePrincipalUpsertOne + func (u *ServicePrincipalUpsertOne) UpdateUpdatedAt() *ServicePrincipalUpsertOne + type ServicePrincipals []*ServicePrincipal + type Subscription struct + CancelAtPeriodEnd bool + CreatedAt time.Time + CurrentPeriodEnd time.Time + CurrentPeriodStart time.Time + Edges SubscriptionEdges + ID uuid.UUID + OrganizationID uuid.UUID + PlanTier string + Status subscription.Status + StripeCustomerID *string + StripeSubscriptionID *string + UpdatedAt time.Time + func (_m *Subscription) QueryOrganization() *OrganizationQuery + func (_m *Subscription) String() string + func (_m *Subscription) Unwrap() *Subscription + func (_m *Subscription) Update() *SubscriptionUpdateOne + func (_m *Subscription) Value(name string) (ent.Value, error) + type SubscriptionClient struct + func NewSubscriptionClient(c config) *SubscriptionClient + func (c *SubscriptionClient) Create() *SubscriptionCreate + func (c *SubscriptionClient) CreateBulk(builders ...*SubscriptionCreate) *SubscriptionCreateBulk + func (c *SubscriptionClient) Delete() *SubscriptionDelete + func (c *SubscriptionClient) DeleteOne(_m *Subscription) *SubscriptionDeleteOne + func (c *SubscriptionClient) DeleteOneID(id uuid.UUID) *SubscriptionDeleteOne + func (c *SubscriptionClient) Get(ctx context.Context, id uuid.UUID) (*Subscription, error) + func (c *SubscriptionClient) GetX(ctx context.Context, id uuid.UUID) *Subscription + func (c *SubscriptionClient) Hooks() []Hook + func (c *SubscriptionClient) Intercept(interceptors ...Interceptor) + func (c *SubscriptionClient) Interceptors() []Interceptor + func (c *SubscriptionClient) MapCreateBulk(slice any, setFunc func(*SubscriptionCreate, int)) *SubscriptionCreateBulk + func (c *SubscriptionClient) Query() *SubscriptionQuery + func (c *SubscriptionClient) QueryOrganization(_m *Subscription) *OrganizationQuery + func (c *SubscriptionClient) Update() *SubscriptionUpdate + func (c *SubscriptionClient) UpdateOne(_m *Subscription) *SubscriptionUpdateOne + func (c *SubscriptionClient) UpdateOneID(id uuid.UUID) *SubscriptionUpdateOne + func (c *SubscriptionClient) Use(hooks ...Hook) + type SubscriptionCreate struct + func (_c *SubscriptionCreate) Exec(ctx context.Context) error + func (_c *SubscriptionCreate) ExecX(ctx context.Context) + func (_c *SubscriptionCreate) Mutation() *SubscriptionMutation + func (_c *SubscriptionCreate) OnConflict(opts ...sql.ConflictOption) *SubscriptionUpsertOne + func (_c *SubscriptionCreate) OnConflictColumns(columns ...string) *SubscriptionUpsertOne + func (_c *SubscriptionCreate) Save(ctx context.Context) (*Subscription, error) + func (_c *SubscriptionCreate) SaveX(ctx context.Context) *Subscription + func (_c *SubscriptionCreate) SetCancelAtPeriodEnd(v bool) *SubscriptionCreate + func (_c *SubscriptionCreate) SetCreatedAt(v time.Time) *SubscriptionCreate + func (_c *SubscriptionCreate) SetCurrentPeriodEnd(v time.Time) *SubscriptionCreate + func (_c *SubscriptionCreate) SetCurrentPeriodStart(v time.Time) *SubscriptionCreate + func (_c *SubscriptionCreate) SetID(v uuid.UUID) *SubscriptionCreate + func (_c *SubscriptionCreate) SetNillableCancelAtPeriodEnd(v *bool) *SubscriptionCreate + func (_c *SubscriptionCreate) SetNillableCreatedAt(v *time.Time) *SubscriptionCreate + func (_c *SubscriptionCreate) SetNillableCurrentPeriodStart(v *time.Time) *SubscriptionCreate + func (_c *SubscriptionCreate) SetNillableID(v *uuid.UUID) *SubscriptionCreate + func (_c *SubscriptionCreate) SetNillablePlanTier(v *string) *SubscriptionCreate + func (_c *SubscriptionCreate) SetNillableStatus(v *subscription.Status) *SubscriptionCreate + func (_c *SubscriptionCreate) SetNillableStripeCustomerID(v *string) *SubscriptionCreate + func (_c *SubscriptionCreate) SetNillableStripeSubscriptionID(v *string) *SubscriptionCreate + func (_c *SubscriptionCreate) SetNillableUpdatedAt(v *time.Time) *SubscriptionCreate + func (_c *SubscriptionCreate) SetOrganization(v *Organization) *SubscriptionCreate + func (_c *SubscriptionCreate) SetOrganizationID(v uuid.UUID) *SubscriptionCreate + func (_c *SubscriptionCreate) SetPlanTier(v string) *SubscriptionCreate + func (_c *SubscriptionCreate) SetStatus(v subscription.Status) *SubscriptionCreate + func (_c *SubscriptionCreate) SetStripeCustomerID(v string) *SubscriptionCreate + func (_c *SubscriptionCreate) SetStripeSubscriptionID(v string) *SubscriptionCreate + func (_c *SubscriptionCreate) SetUpdatedAt(v time.Time) *SubscriptionCreate + type SubscriptionCreateBulk struct + func (_c *SubscriptionCreateBulk) Exec(ctx context.Context) error + func (_c *SubscriptionCreateBulk) ExecX(ctx context.Context) + func (_c *SubscriptionCreateBulk) OnConflict(opts ...sql.ConflictOption) *SubscriptionUpsertBulk + func (_c *SubscriptionCreateBulk) OnConflictColumns(columns ...string) *SubscriptionUpsertBulk + func (_c *SubscriptionCreateBulk) Save(ctx context.Context) ([]*Subscription, error) + func (_c *SubscriptionCreateBulk) SaveX(ctx context.Context) []*Subscription + type SubscriptionDelete struct + func (_d *SubscriptionDelete) Exec(ctx context.Context) (int, error) + func (_d *SubscriptionDelete) ExecX(ctx context.Context) int + func (_d *SubscriptionDelete) Where(ps ...predicate.Subscription) *SubscriptionDelete + type SubscriptionDeleteOne struct + func (_d *SubscriptionDeleteOne) Exec(ctx context.Context) error + func (_d *SubscriptionDeleteOne) ExecX(ctx context.Context) + func (_d *SubscriptionDeleteOne) Where(ps ...predicate.Subscription) *SubscriptionDeleteOne + type SubscriptionEdges struct + Organization *Organization + func (e SubscriptionEdges) OrganizationOrErr() (*Organization, error) + type SubscriptionFilter struct + func (f *SubscriptionFilter) Where(p entql.P) + func (f *SubscriptionFilter) WhereCancelAtPeriodEnd(p entql.BoolP) + func (f *SubscriptionFilter) WhereCreatedAt(p entql.TimeP) + func (f *SubscriptionFilter) WhereCurrentPeriodEnd(p entql.TimeP) + func (f *SubscriptionFilter) WhereCurrentPeriodStart(p entql.TimeP) + func (f *SubscriptionFilter) WhereHasOrganization() + func (f *SubscriptionFilter) WhereHasOrganizationWith(preds ...predicate.Organization) + func (f *SubscriptionFilter) WhereID(p entql.ValueP) + func (f *SubscriptionFilter) WhereOrganizationID(p entql.ValueP) + func (f *SubscriptionFilter) WherePlanTier(p entql.StringP) + func (f *SubscriptionFilter) WhereStatus(p entql.StringP) + func (f *SubscriptionFilter) WhereStripeCustomerID(p entql.StringP) + func (f *SubscriptionFilter) WhereStripeSubscriptionID(p entql.StringP) + func (f *SubscriptionFilter) WhereUpdatedAt(p entql.TimeP) + type SubscriptionGroupBy struct + func (_g *SubscriptionGroupBy) Aggregate(fns ...AggregateFunc) *SubscriptionGroupBy + func (_g *SubscriptionGroupBy) Scan(ctx context.Context, v any) error + func (s *SubscriptionGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *SubscriptionGroupBy) BoolX(ctx context.Context) bool + func (s *SubscriptionGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *SubscriptionGroupBy) BoolsX(ctx context.Context) []bool + func (s *SubscriptionGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *SubscriptionGroupBy) Float64X(ctx context.Context) float64 + func (s *SubscriptionGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *SubscriptionGroupBy) Float64sX(ctx context.Context) []float64 + func (s *SubscriptionGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *SubscriptionGroupBy) IntX(ctx context.Context) int + func (s *SubscriptionGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *SubscriptionGroupBy) IntsX(ctx context.Context) []int + func (s *SubscriptionGroupBy) ScanX(ctx context.Context, v any) + func (s *SubscriptionGroupBy) String(ctx context.Context) (_ string, err error) + func (s *SubscriptionGroupBy) StringX(ctx context.Context) string + func (s *SubscriptionGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *SubscriptionGroupBy) StringsX(ctx context.Context) []string + type SubscriptionMutation struct + func (m *SubscriptionMutation) AddField(name string, value ent.Value) error + func (m *SubscriptionMutation) AddedEdges() []string + func (m *SubscriptionMutation) AddedField(name string) (ent.Value, bool) + func (m *SubscriptionMutation) AddedFields() []string + func (m *SubscriptionMutation) AddedIDs(name string) []ent.Value + func (m *SubscriptionMutation) CancelAtPeriodEnd() (r bool, exists bool) + func (m *SubscriptionMutation) ClearEdge(name string) error + func (m *SubscriptionMutation) ClearField(name string) error + func (m *SubscriptionMutation) ClearOrganization() + func (m *SubscriptionMutation) ClearStripeCustomerID() + func (m *SubscriptionMutation) ClearStripeSubscriptionID() + func (m *SubscriptionMutation) ClearedEdges() []string + func (m *SubscriptionMutation) ClearedFields() []string + func (m *SubscriptionMutation) CreatedAt() (r time.Time, exists bool) + func (m *SubscriptionMutation) CurrentPeriodEnd() (r time.Time, exists bool) + func (m *SubscriptionMutation) CurrentPeriodStart() (r time.Time, exists bool) + func (m *SubscriptionMutation) EdgeCleared(name string) bool + func (m *SubscriptionMutation) Field(name string) (ent.Value, bool) + func (m *SubscriptionMutation) FieldCleared(name string) bool + func (m *SubscriptionMutation) Fields() []string + func (m *SubscriptionMutation) Filter() *SubscriptionFilter + func (m *SubscriptionMutation) ID() (id uuid.UUID, exists bool) + func (m *SubscriptionMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *SubscriptionMutation) OldCancelAtPeriodEnd(ctx context.Context) (v bool, err error) + func (m *SubscriptionMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *SubscriptionMutation) OldCurrentPeriodEnd(ctx context.Context) (v time.Time, err error) + func (m *SubscriptionMutation) OldCurrentPeriodStart(ctx context.Context) (v time.Time, err error) + func (m *SubscriptionMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *SubscriptionMutation) OldOrganizationID(ctx context.Context) (v uuid.UUID, err error) + func (m *SubscriptionMutation) OldPlanTier(ctx context.Context) (v string, err error) + func (m *SubscriptionMutation) OldStatus(ctx context.Context) (v subscription.Status, err error) + func (m *SubscriptionMutation) OldStripeCustomerID(ctx context.Context) (v *string, err error) + func (m *SubscriptionMutation) OldStripeSubscriptionID(ctx context.Context) (v *string, err error) + func (m *SubscriptionMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *SubscriptionMutation) Op() Op + func (m *SubscriptionMutation) OrganizationCleared() bool + func (m *SubscriptionMutation) OrganizationID() (r uuid.UUID, exists bool) + func (m *SubscriptionMutation) OrganizationIDs() (ids []uuid.UUID) + func (m *SubscriptionMutation) PlanTier() (r string, exists bool) + func (m *SubscriptionMutation) RemovedEdges() []string + func (m *SubscriptionMutation) RemovedIDs(name string) []ent.Value + func (m *SubscriptionMutation) ResetCancelAtPeriodEnd() + func (m *SubscriptionMutation) ResetCreatedAt() + func (m *SubscriptionMutation) ResetCurrentPeriodEnd() + func (m *SubscriptionMutation) ResetCurrentPeriodStart() + func (m *SubscriptionMutation) ResetEdge(name string) error + func (m *SubscriptionMutation) ResetField(name string) error + func (m *SubscriptionMutation) ResetOrganization() + func (m *SubscriptionMutation) ResetOrganizationID() + func (m *SubscriptionMutation) ResetPlanTier() + func (m *SubscriptionMutation) ResetStatus() + func (m *SubscriptionMutation) ResetStripeCustomerID() + func (m *SubscriptionMutation) ResetStripeSubscriptionID() + func (m *SubscriptionMutation) ResetUpdatedAt() + func (m *SubscriptionMutation) SetCancelAtPeriodEnd(b bool) + func (m *SubscriptionMutation) SetCreatedAt(t time.Time) + func (m *SubscriptionMutation) SetCurrentPeriodEnd(t time.Time) + func (m *SubscriptionMutation) SetCurrentPeriodStart(t time.Time) + func (m *SubscriptionMutation) SetField(name string, value ent.Value) error + func (m *SubscriptionMutation) SetID(id uuid.UUID) + func (m *SubscriptionMutation) SetOp(op Op) + func (m *SubscriptionMutation) SetOrganizationID(u uuid.UUID) + func (m *SubscriptionMutation) SetPlanTier(s string) + func (m *SubscriptionMutation) SetStatus(s subscription.Status) + func (m *SubscriptionMutation) SetStripeCustomerID(s string) + func (m *SubscriptionMutation) SetStripeSubscriptionID(s string) + func (m *SubscriptionMutation) SetUpdatedAt(t time.Time) + func (m *SubscriptionMutation) Status() (r subscription.Status, exists bool) + func (m *SubscriptionMutation) StripeCustomerID() (r string, exists bool) + func (m *SubscriptionMutation) StripeCustomerIDCleared() bool + func (m *SubscriptionMutation) StripeSubscriptionID() (r string, exists bool) + func (m *SubscriptionMutation) StripeSubscriptionIDCleared() bool + func (m *SubscriptionMutation) Type() string + func (m *SubscriptionMutation) UpdatedAt() (r time.Time, exists bool) + func (m *SubscriptionMutation) Where(ps ...predicate.Subscription) + func (m *SubscriptionMutation) WhereP(ps ...func(*sql.Selector)) + func (m SubscriptionMutation) Client() *Client + func (m SubscriptionMutation) Tx() (*Tx, error) + type SubscriptionQuery struct + func (_q *SubscriptionQuery) Aggregate(fns ...AggregateFunc) *SubscriptionSelect + func (_q *SubscriptionQuery) All(ctx context.Context) ([]*Subscription, error) + func (_q *SubscriptionQuery) AllX(ctx context.Context) []*Subscription + func (_q *SubscriptionQuery) Clone() *SubscriptionQuery + func (_q *SubscriptionQuery) Count(ctx context.Context) (int, error) + func (_q *SubscriptionQuery) CountX(ctx context.Context) int + func (_q *SubscriptionQuery) Exist(ctx context.Context) (bool, error) + func (_q *SubscriptionQuery) ExistX(ctx context.Context) bool + func (_q *SubscriptionQuery) Filter() *SubscriptionFilter + func (_q *SubscriptionQuery) First(ctx context.Context) (*Subscription, error) + func (_q *SubscriptionQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *SubscriptionQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *SubscriptionQuery) FirstX(ctx context.Context) *Subscription + func (_q *SubscriptionQuery) GroupBy(field string, fields ...string) *SubscriptionGroupBy + func (_q *SubscriptionQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *SubscriptionQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *SubscriptionQuery) Limit(limit int) *SubscriptionQuery + func (_q *SubscriptionQuery) Offset(offset int) *SubscriptionQuery + func (_q *SubscriptionQuery) Only(ctx context.Context) (*Subscription, error) + func (_q *SubscriptionQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *SubscriptionQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *SubscriptionQuery) OnlyX(ctx context.Context) *Subscription + func (_q *SubscriptionQuery) Order(o ...subscription.OrderOption) *SubscriptionQuery + func (_q *SubscriptionQuery) QueryOrganization() *OrganizationQuery + func (_q *SubscriptionQuery) Select(fields ...string) *SubscriptionSelect + func (_q *SubscriptionQuery) Unique(unique bool) *SubscriptionQuery + func (_q *SubscriptionQuery) Where(ps ...predicate.Subscription) *SubscriptionQuery + func (_q *SubscriptionQuery) WithOrganization(opts ...func(*OrganizationQuery)) *SubscriptionQuery + type SubscriptionSelect struct + func (_s *SubscriptionSelect) Aggregate(fns ...AggregateFunc) *SubscriptionSelect + func (_s *SubscriptionSelect) Scan(ctx context.Context, v any) error + func (s *SubscriptionSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *SubscriptionSelect) BoolX(ctx context.Context) bool + func (s *SubscriptionSelect) Bools(ctx context.Context) ([]bool, error) + func (s *SubscriptionSelect) BoolsX(ctx context.Context) []bool + func (s *SubscriptionSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *SubscriptionSelect) Float64X(ctx context.Context) float64 + func (s *SubscriptionSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *SubscriptionSelect) Float64sX(ctx context.Context) []float64 + func (s *SubscriptionSelect) Int(ctx context.Context) (_ int, err error) + func (s *SubscriptionSelect) IntX(ctx context.Context) int + func (s *SubscriptionSelect) Ints(ctx context.Context) ([]int, error) + func (s *SubscriptionSelect) IntsX(ctx context.Context) []int + func (s *SubscriptionSelect) ScanX(ctx context.Context, v any) + func (s *SubscriptionSelect) String(ctx context.Context) (_ string, err error) + func (s *SubscriptionSelect) StringX(ctx context.Context) string + func (s *SubscriptionSelect) Strings(ctx context.Context) ([]string, error) + func (s *SubscriptionSelect) StringsX(ctx context.Context) []string + type SubscriptionUpdate struct + func (_u *SubscriptionUpdate) ClearOrganization() *SubscriptionUpdate + func (_u *SubscriptionUpdate) ClearStripeCustomerID() *SubscriptionUpdate + func (_u *SubscriptionUpdate) ClearStripeSubscriptionID() *SubscriptionUpdate + func (_u *SubscriptionUpdate) Exec(ctx context.Context) error + func (_u *SubscriptionUpdate) ExecX(ctx context.Context) + func (_u *SubscriptionUpdate) Mutation() *SubscriptionMutation + func (_u *SubscriptionUpdate) Save(ctx context.Context) (int, error) + func (_u *SubscriptionUpdate) SaveX(ctx context.Context) int + func (_u *SubscriptionUpdate) SetCancelAtPeriodEnd(v bool) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetCurrentPeriodEnd(v time.Time) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetCurrentPeriodStart(v time.Time) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetNillableCancelAtPeriodEnd(v *bool) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetNillableCurrentPeriodEnd(v *time.Time) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetNillableCurrentPeriodStart(v *time.Time) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetNillableOrganizationID(v *uuid.UUID) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetNillablePlanTier(v *string) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetNillableStatus(v *subscription.Status) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetNillableStripeCustomerID(v *string) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetNillableStripeSubscriptionID(v *string) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetOrganization(v *Organization) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetOrganizationID(v uuid.UUID) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetPlanTier(v string) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetStatus(v subscription.Status) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetStripeCustomerID(v string) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetStripeSubscriptionID(v string) *SubscriptionUpdate + func (_u *SubscriptionUpdate) SetUpdatedAt(v time.Time) *SubscriptionUpdate + func (_u *SubscriptionUpdate) Where(ps ...predicate.Subscription) *SubscriptionUpdate + type SubscriptionUpdateOne struct + func (_u *SubscriptionUpdateOne) ClearOrganization() *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) ClearStripeCustomerID() *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) ClearStripeSubscriptionID() *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) Exec(ctx context.Context) error + func (_u *SubscriptionUpdateOne) ExecX(ctx context.Context) + func (_u *SubscriptionUpdateOne) Mutation() *SubscriptionMutation + func (_u *SubscriptionUpdateOne) Save(ctx context.Context) (*Subscription, error) + func (_u *SubscriptionUpdateOne) SaveX(ctx context.Context) *Subscription + func (_u *SubscriptionUpdateOne) Select(field string, fields ...string) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetCancelAtPeriodEnd(v bool) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetCurrentPeriodEnd(v time.Time) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetCurrentPeriodStart(v time.Time) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetNillableCancelAtPeriodEnd(v *bool) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetNillableCurrentPeriodEnd(v *time.Time) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetNillableCurrentPeriodStart(v *time.Time) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetNillableOrganizationID(v *uuid.UUID) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetNillablePlanTier(v *string) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetNillableStatus(v *subscription.Status) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetNillableStripeCustomerID(v *string) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetNillableStripeSubscriptionID(v *string) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetOrganization(v *Organization) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetOrganizationID(v uuid.UUID) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetPlanTier(v string) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetStatus(v subscription.Status) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetStripeCustomerID(v string) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetStripeSubscriptionID(v string) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) SetUpdatedAt(v time.Time) *SubscriptionUpdateOne + func (_u *SubscriptionUpdateOne) Where(ps ...predicate.Subscription) *SubscriptionUpdateOne + type SubscriptionUpsert struct + func (u *SubscriptionUpsert) ClearStripeCustomerID() *SubscriptionUpsert + func (u *SubscriptionUpsert) ClearStripeSubscriptionID() *SubscriptionUpsert + func (u *SubscriptionUpsert) SetCancelAtPeriodEnd(v bool) *SubscriptionUpsert + func (u *SubscriptionUpsert) SetCurrentPeriodEnd(v time.Time) *SubscriptionUpsert + func (u *SubscriptionUpsert) SetCurrentPeriodStart(v time.Time) *SubscriptionUpsert + func (u *SubscriptionUpsert) SetOrganizationID(v uuid.UUID) *SubscriptionUpsert + func (u *SubscriptionUpsert) SetPlanTier(v string) *SubscriptionUpsert + func (u *SubscriptionUpsert) SetStatus(v subscription.Status) *SubscriptionUpsert + func (u *SubscriptionUpsert) SetStripeCustomerID(v string) *SubscriptionUpsert + func (u *SubscriptionUpsert) SetStripeSubscriptionID(v string) *SubscriptionUpsert + func (u *SubscriptionUpsert) SetUpdatedAt(v time.Time) *SubscriptionUpsert + func (u *SubscriptionUpsert) UpdateCancelAtPeriodEnd() *SubscriptionUpsert + func (u *SubscriptionUpsert) UpdateCurrentPeriodEnd() *SubscriptionUpsert + func (u *SubscriptionUpsert) UpdateCurrentPeriodStart() *SubscriptionUpsert + func (u *SubscriptionUpsert) UpdateOrganizationID() *SubscriptionUpsert + func (u *SubscriptionUpsert) UpdatePlanTier() *SubscriptionUpsert + func (u *SubscriptionUpsert) UpdateStatus() *SubscriptionUpsert + func (u *SubscriptionUpsert) UpdateStripeCustomerID() *SubscriptionUpsert + func (u *SubscriptionUpsert) UpdateStripeSubscriptionID() *SubscriptionUpsert + func (u *SubscriptionUpsert) UpdateUpdatedAt() *SubscriptionUpsert + type SubscriptionUpsertBulk struct + func (u *SubscriptionUpsertBulk) ClearStripeCustomerID() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) ClearStripeSubscriptionID() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) DoNothing() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) Exec(ctx context.Context) error + func (u *SubscriptionUpsertBulk) ExecX(ctx context.Context) + func (u *SubscriptionUpsertBulk) Ignore() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) SetCancelAtPeriodEnd(v bool) *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) SetCurrentPeriodEnd(v time.Time) *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) SetCurrentPeriodStart(v time.Time) *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) SetOrganizationID(v uuid.UUID) *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) SetPlanTier(v string) *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) SetStatus(v subscription.Status) *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) SetStripeCustomerID(v string) *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) SetStripeSubscriptionID(v string) *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) SetUpdatedAt(v time.Time) *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) Update(set func(*SubscriptionUpsert)) *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) UpdateCancelAtPeriodEnd() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) UpdateCurrentPeriodEnd() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) UpdateCurrentPeriodStart() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) UpdateNewValues() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) UpdateOrganizationID() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) UpdatePlanTier() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) UpdateStatus() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) UpdateStripeCustomerID() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) UpdateStripeSubscriptionID() *SubscriptionUpsertBulk + func (u *SubscriptionUpsertBulk) UpdateUpdatedAt() *SubscriptionUpsertBulk + type SubscriptionUpsertOne struct + func (u *SubscriptionUpsertOne) ClearStripeCustomerID() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) ClearStripeSubscriptionID() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) DoNothing() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) Exec(ctx context.Context) error + func (u *SubscriptionUpsertOne) ExecX(ctx context.Context) + func (u *SubscriptionUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *SubscriptionUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *SubscriptionUpsertOne) Ignore() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) SetCancelAtPeriodEnd(v bool) *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) SetCurrentPeriodEnd(v time.Time) *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) SetCurrentPeriodStart(v time.Time) *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) SetOrganizationID(v uuid.UUID) *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) SetPlanTier(v string) *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) SetStatus(v subscription.Status) *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) SetStripeCustomerID(v string) *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) SetStripeSubscriptionID(v string) *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) SetUpdatedAt(v time.Time) *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) Update(set func(*SubscriptionUpsert)) *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) UpdateCancelAtPeriodEnd() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) UpdateCurrentPeriodEnd() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) UpdateCurrentPeriodStart() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) UpdateNewValues() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) UpdateOrganizationID() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) UpdatePlanTier() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) UpdateStatus() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) UpdateStripeCustomerID() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) UpdateStripeSubscriptionID() *SubscriptionUpsertOne + func (u *SubscriptionUpsertOne) UpdateUpdatedAt() *SubscriptionUpsertOne + type Subscriptions []*Subscription + type TraverseFunc = ent.TraverseFunc + type Traverser = ent.Traverser + type Tx struct + APIKey *APIKeyClient + Agent *AgentClient + Application *ApplicationClient + Credential *CredentialClient + Human *HumanClient + Invite *InviteClient + License *LicenseClient + Listing *ListingClient + Membership *MembershipClient + OAuthAccount *OAuthAccountClient + OAuthApp *OAuthAppClient + OAuthAppSecret *OAuthAppSecretClient + OAuthAuthCode *OAuthAuthCodeClient + OAuthConsent *OAuthConsentClient + OAuthToken *OAuthTokenClient + Organization *OrganizationClient + Principal *PrincipalClient + PrincipalMembership *PrincipalMembershipClient + PrincipalToken *PrincipalTokenClient + RefreshToken *RefreshTokenClient + SeatAssignment *SeatAssignmentClient + ServiceAccount *ServiceAccountClient + ServiceAccountKeyPair *ServiceAccountKeyPairClient + ServicePrincipal *ServicePrincipalClient + Subscription *SubscriptionClient + User *UserClient + func TxFromContext(ctx context.Context) *Tx + func (tx *Tx) Client() *Client + func (tx *Tx) Commit() error + func (tx *Tx) OnCommit(f CommitHook) + func (tx *Tx) OnRollback(f RollbackHook) + func (tx *Tx) Rollback() error + type User struct + Active bool + AvatarURL *string + CreatedAt time.Time + Edges UserEdges + Email string + FederationID *uuid.UUID + ID uuid.UUID + IsPlatformAdmin bool + LastLoginAt *time.Time + Name string + PasswordHash string + UpdatedAt time.Time + func (_m *User) QueryAPIKeys() *APIKeyQuery + func (_m *User) QueryCreatedServiceAccounts() *ServiceAccountQuery + func (_m *User) QueryMemberships() *MembershipQuery + func (_m *User) QueryOauthAccounts() *OAuthAccountQuery + func (_m *User) QueryOauthApps() *OAuthAppQuery + func (_m *User) QueryOauthAuthCodes() *OAuthAuthCodeQuery + func (_m *User) QueryOauthConsents() *OAuthConsentQuery + func (_m *User) QueryOauthTokens() *OAuthTokenQuery + func (_m *User) QueryRefreshTokens() *RefreshTokenQuery + func (_m *User) String() string + func (_m *User) Unwrap() *User + func (_m *User) Update() *UserUpdateOne + func (_m *User) Value(name string) (ent.Value, error) + type UserClient struct + func NewUserClient(c config) *UserClient + func (c *UserClient) Create() *UserCreate + func (c *UserClient) CreateBulk(builders ...*UserCreate) *UserCreateBulk + func (c *UserClient) Delete() *UserDelete + func (c *UserClient) DeleteOne(_m *User) *UserDeleteOne + func (c *UserClient) DeleteOneID(id uuid.UUID) *UserDeleteOne + func (c *UserClient) Get(ctx context.Context, id uuid.UUID) (*User, error) + func (c *UserClient) GetX(ctx context.Context, id uuid.UUID) *User + func (c *UserClient) Hooks() []Hook + func (c *UserClient) Intercept(interceptors ...Interceptor) + func (c *UserClient) Interceptors() []Interceptor + func (c *UserClient) MapCreateBulk(slice any, setFunc func(*UserCreate, int)) *UserCreateBulk + func (c *UserClient) Query() *UserQuery + func (c *UserClient) QueryAPIKeys(_m *User) *APIKeyQuery + func (c *UserClient) QueryCreatedServiceAccounts(_m *User) *ServiceAccountQuery + func (c *UserClient) QueryMemberships(_m *User) *MembershipQuery + func (c *UserClient) QueryOauthAccounts(_m *User) *OAuthAccountQuery + func (c *UserClient) QueryOauthApps(_m *User) *OAuthAppQuery + func (c *UserClient) QueryOauthAuthCodes(_m *User) *OAuthAuthCodeQuery + func (c *UserClient) QueryOauthConsents(_m *User) *OAuthConsentQuery + func (c *UserClient) QueryOauthTokens(_m *User) *OAuthTokenQuery + func (c *UserClient) QueryRefreshTokens(_m *User) *RefreshTokenQuery + func (c *UserClient) Update() *UserUpdate + func (c *UserClient) UpdateOne(_m *User) *UserUpdateOne + func (c *UserClient) UpdateOneID(id uuid.UUID) *UserUpdateOne + func (c *UserClient) Use(hooks ...Hook) + type UserCreate struct + func (_c *UserCreate) AddAPIKeyIDs(ids ...uuid.UUID) *UserCreate + func (_c *UserCreate) AddAPIKeys(v ...*APIKey) *UserCreate + func (_c *UserCreate) AddCreatedServiceAccountIDs(ids ...uuid.UUID) *UserCreate + func (_c *UserCreate) AddCreatedServiceAccounts(v ...*ServiceAccount) *UserCreate + func (_c *UserCreate) AddMembershipIDs(ids ...uuid.UUID) *UserCreate + func (_c *UserCreate) AddMemberships(v ...*Membership) *UserCreate + func (_c *UserCreate) AddOauthAccountIDs(ids ...uuid.UUID) *UserCreate + func (_c *UserCreate) AddOauthAccounts(v ...*OAuthAccount) *UserCreate + func (_c *UserCreate) AddOauthAppIDs(ids ...uuid.UUID) *UserCreate + func (_c *UserCreate) AddOauthApps(v ...*OAuthApp) *UserCreate + func (_c *UserCreate) AddOauthAuthCodeIDs(ids ...uuid.UUID) *UserCreate + func (_c *UserCreate) AddOauthAuthCodes(v ...*OAuthAuthCode) *UserCreate + func (_c *UserCreate) AddOauthConsentIDs(ids ...uuid.UUID) *UserCreate + func (_c *UserCreate) AddOauthConsents(v ...*OAuthConsent) *UserCreate + func (_c *UserCreate) AddOauthTokenIDs(ids ...uuid.UUID) *UserCreate + func (_c *UserCreate) AddOauthTokens(v ...*OAuthToken) *UserCreate + func (_c *UserCreate) AddRefreshTokenIDs(ids ...uuid.UUID) *UserCreate + func (_c *UserCreate) AddRefreshTokens(v ...*RefreshToken) *UserCreate + func (_c *UserCreate) Exec(ctx context.Context) error + func (_c *UserCreate) ExecX(ctx context.Context) + func (_c *UserCreate) Mutation() *UserMutation + func (_c *UserCreate) OnConflict(opts ...sql.ConflictOption) *UserUpsertOne + func (_c *UserCreate) OnConflictColumns(columns ...string) *UserUpsertOne + func (_c *UserCreate) Save(ctx context.Context) (*User, error) + func (_c *UserCreate) SaveX(ctx context.Context) *User + func (_c *UserCreate) SetActive(v bool) *UserCreate + func (_c *UserCreate) SetAvatarURL(v string) *UserCreate + func (_c *UserCreate) SetCreatedAt(v time.Time) *UserCreate + func (_c *UserCreate) SetEmail(v string) *UserCreate + func (_c *UserCreate) SetFederationID(v uuid.UUID) *UserCreate + func (_c *UserCreate) SetID(v uuid.UUID) *UserCreate + func (_c *UserCreate) SetIsPlatformAdmin(v bool) *UserCreate + func (_c *UserCreate) SetLastLoginAt(v time.Time) *UserCreate + func (_c *UserCreate) SetName(v string) *UserCreate + func (_c *UserCreate) SetNillableActive(v *bool) *UserCreate + func (_c *UserCreate) SetNillableAvatarURL(v *string) *UserCreate + func (_c *UserCreate) SetNillableCreatedAt(v *time.Time) *UserCreate + func (_c *UserCreate) SetNillableFederationID(v *uuid.UUID) *UserCreate + func (_c *UserCreate) SetNillableID(v *uuid.UUID) *UserCreate + func (_c *UserCreate) SetNillableIsPlatformAdmin(v *bool) *UserCreate + func (_c *UserCreate) SetNillableLastLoginAt(v *time.Time) *UserCreate + func (_c *UserCreate) SetNillablePasswordHash(v *string) *UserCreate + func (_c *UserCreate) SetNillableUpdatedAt(v *time.Time) *UserCreate + func (_c *UserCreate) SetPasswordHash(v string) *UserCreate + func (_c *UserCreate) SetUpdatedAt(v time.Time) *UserCreate + type UserCreateBulk struct + func (_c *UserCreateBulk) Exec(ctx context.Context) error + func (_c *UserCreateBulk) ExecX(ctx context.Context) + func (_c *UserCreateBulk) OnConflict(opts ...sql.ConflictOption) *UserUpsertBulk + func (_c *UserCreateBulk) OnConflictColumns(columns ...string) *UserUpsertBulk + func (_c *UserCreateBulk) Save(ctx context.Context) ([]*User, error) + func (_c *UserCreateBulk) SaveX(ctx context.Context) []*User + type UserDelete struct + func (_d *UserDelete) Exec(ctx context.Context) (int, error) + func (_d *UserDelete) ExecX(ctx context.Context) int + func (_d *UserDelete) Where(ps ...predicate.User) *UserDelete + type UserDeleteOne struct + func (_d *UserDeleteOne) Exec(ctx context.Context) error + func (_d *UserDeleteOne) ExecX(ctx context.Context) + func (_d *UserDeleteOne) Where(ps ...predicate.User) *UserDeleteOne + type UserEdges struct + APIKeys []*APIKey + CreatedServiceAccounts []*ServiceAccount + Memberships []*Membership + OauthAccounts []*OAuthAccount + OauthApps []*OAuthApp + OauthAuthCodes []*OAuthAuthCode + OauthConsents []*OAuthConsent + OauthTokens []*OAuthToken + RefreshTokens []*RefreshToken + func (e UserEdges) APIKeysOrErr() ([]*APIKey, error) + func (e UserEdges) CreatedServiceAccountsOrErr() ([]*ServiceAccount, error) + func (e UserEdges) MembershipsOrErr() ([]*Membership, error) + func (e UserEdges) OauthAccountsOrErr() ([]*OAuthAccount, error) + func (e UserEdges) OauthAppsOrErr() ([]*OAuthApp, error) + func (e UserEdges) OauthAuthCodesOrErr() ([]*OAuthAuthCode, error) + func (e UserEdges) OauthConsentsOrErr() ([]*OAuthConsent, error) + func (e UserEdges) OauthTokensOrErr() ([]*OAuthToken, error) + func (e UserEdges) RefreshTokensOrErr() ([]*RefreshToken, error) + type UserFilter struct + func (f *UserFilter) Where(p entql.P) + func (f *UserFilter) WhereActive(p entql.BoolP) + func (f *UserFilter) WhereAvatarURL(p entql.StringP) + func (f *UserFilter) WhereCreatedAt(p entql.TimeP) + func (f *UserFilter) WhereEmail(p entql.StringP) + func (f *UserFilter) WhereFederationID(p entql.ValueP) + func (f *UserFilter) WhereHasAPIKeys() + func (f *UserFilter) WhereHasAPIKeysWith(preds ...predicate.APIKey) + func (f *UserFilter) WhereHasCreatedServiceAccounts() + func (f *UserFilter) WhereHasCreatedServiceAccountsWith(preds ...predicate.ServiceAccount) + func (f *UserFilter) WhereHasMemberships() + func (f *UserFilter) WhereHasMembershipsWith(preds ...predicate.Membership) + func (f *UserFilter) WhereHasOauthAccounts() + func (f *UserFilter) WhereHasOauthAccountsWith(preds ...predicate.OAuthAccount) + func (f *UserFilter) WhereHasOauthApps() + func (f *UserFilter) WhereHasOauthAppsWith(preds ...predicate.OAuthApp) + func (f *UserFilter) WhereHasOauthAuthCodes() + func (f *UserFilter) WhereHasOauthAuthCodesWith(preds ...predicate.OAuthAuthCode) + func (f *UserFilter) WhereHasOauthConsents() + func (f *UserFilter) WhereHasOauthConsentsWith(preds ...predicate.OAuthConsent) + func (f *UserFilter) WhereHasOauthTokens() + func (f *UserFilter) WhereHasOauthTokensWith(preds ...predicate.OAuthToken) + func (f *UserFilter) WhereHasRefreshTokens() + func (f *UserFilter) WhereHasRefreshTokensWith(preds ...predicate.RefreshToken) + func (f *UserFilter) WhereID(p entql.ValueP) + func (f *UserFilter) WhereIsPlatformAdmin(p entql.BoolP) + func (f *UserFilter) WhereLastLoginAt(p entql.TimeP) + func (f *UserFilter) WhereName(p entql.StringP) + func (f *UserFilter) WherePasswordHash(p entql.StringP) + func (f *UserFilter) WhereUpdatedAt(p entql.TimeP) + type UserGroupBy struct + func (_g *UserGroupBy) Aggregate(fns ...AggregateFunc) *UserGroupBy + func (_g *UserGroupBy) Scan(ctx context.Context, v any) error + func (s *UserGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *UserGroupBy) BoolX(ctx context.Context) bool + func (s *UserGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *UserGroupBy) BoolsX(ctx context.Context) []bool + func (s *UserGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *UserGroupBy) Float64X(ctx context.Context) float64 + func (s *UserGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *UserGroupBy) Float64sX(ctx context.Context) []float64 + func (s *UserGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *UserGroupBy) IntX(ctx context.Context) int + func (s *UserGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *UserGroupBy) IntsX(ctx context.Context) []int + func (s *UserGroupBy) ScanX(ctx context.Context, v any) + func (s *UserGroupBy) String(ctx context.Context) (_ string, err error) + func (s *UserGroupBy) StringX(ctx context.Context) string + func (s *UserGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *UserGroupBy) StringsX(ctx context.Context) []string + type UserMutation struct + func (m *UserMutation) APIKeysCleared() bool + func (m *UserMutation) APIKeysIDs() (ids []uuid.UUID) + func (m *UserMutation) Active() (r bool, exists bool) + func (m *UserMutation) AddAPIKeyIDs(ids ...uuid.UUID) + func (m *UserMutation) AddCreatedServiceAccountIDs(ids ...uuid.UUID) + func (m *UserMutation) AddField(name string, value ent.Value) error + func (m *UserMutation) AddMembershipIDs(ids ...uuid.UUID) + func (m *UserMutation) AddOauthAccountIDs(ids ...uuid.UUID) + func (m *UserMutation) AddOauthAppIDs(ids ...uuid.UUID) + func (m *UserMutation) AddOauthAuthCodeIDs(ids ...uuid.UUID) + func (m *UserMutation) AddOauthConsentIDs(ids ...uuid.UUID) + func (m *UserMutation) AddOauthTokenIDs(ids ...uuid.UUID) + func (m *UserMutation) AddRefreshTokenIDs(ids ...uuid.UUID) + func (m *UserMutation) AddedEdges() []string + func (m *UserMutation) AddedField(name string) (ent.Value, bool) + func (m *UserMutation) AddedFields() []string + func (m *UserMutation) AddedIDs(name string) []ent.Value + func (m *UserMutation) AvatarURL() (r string, exists bool) + func (m *UserMutation) AvatarURLCleared() bool + func (m *UserMutation) ClearAPIKeys() + func (m *UserMutation) ClearAvatarURL() + func (m *UserMutation) ClearCreatedServiceAccounts() + func (m *UserMutation) ClearEdge(name string) error + func (m *UserMutation) ClearFederationID() + func (m *UserMutation) ClearField(name string) error + func (m *UserMutation) ClearLastLoginAt() + func (m *UserMutation) ClearMemberships() + func (m *UserMutation) ClearOauthAccounts() + func (m *UserMutation) ClearOauthApps() + func (m *UserMutation) ClearOauthAuthCodes() + func (m *UserMutation) ClearOauthConsents() + func (m *UserMutation) ClearOauthTokens() + func (m *UserMutation) ClearPasswordHash() + func (m *UserMutation) ClearRefreshTokens() + func (m *UserMutation) ClearedEdges() []string + func (m *UserMutation) ClearedFields() []string + func (m *UserMutation) CreatedAt() (r time.Time, exists bool) + func (m *UserMutation) CreatedServiceAccountsCleared() bool + func (m *UserMutation) CreatedServiceAccountsIDs() (ids []uuid.UUID) + func (m *UserMutation) EdgeCleared(name string) bool + func (m *UserMutation) Email() (r string, exists bool) + func (m *UserMutation) FederationID() (r uuid.UUID, exists bool) + func (m *UserMutation) FederationIDCleared() bool + func (m *UserMutation) Field(name string) (ent.Value, bool) + func (m *UserMutation) FieldCleared(name string) bool + func (m *UserMutation) Fields() []string + func (m *UserMutation) Filter() *UserFilter + func (m *UserMutation) ID() (id uuid.UUID, exists bool) + func (m *UserMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *UserMutation) IsPlatformAdmin() (r bool, exists bool) + func (m *UserMutation) LastLoginAt() (r time.Time, exists bool) + func (m *UserMutation) LastLoginAtCleared() bool + func (m *UserMutation) MembershipsCleared() bool + func (m *UserMutation) MembershipsIDs() (ids []uuid.UUID) + func (m *UserMutation) Name() (r string, exists bool) + func (m *UserMutation) OauthAccountsCleared() bool + func (m *UserMutation) OauthAccountsIDs() (ids []uuid.UUID) + func (m *UserMutation) OauthAppsCleared() bool + func (m *UserMutation) OauthAppsIDs() (ids []uuid.UUID) + func (m *UserMutation) OauthAuthCodesCleared() bool + func (m *UserMutation) OauthAuthCodesIDs() (ids []uuid.UUID) + func (m *UserMutation) OauthConsentsCleared() bool + func (m *UserMutation) OauthConsentsIDs() (ids []uuid.UUID) + func (m *UserMutation) OauthTokensCleared() bool + func (m *UserMutation) OauthTokensIDs() (ids []uuid.UUID) + func (m *UserMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *UserMutation) OldAvatarURL(ctx context.Context) (v *string, err error) + func (m *UserMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *UserMutation) OldEmail(ctx context.Context) (v string, err error) + func (m *UserMutation) OldFederationID(ctx context.Context) (v *uuid.UUID, err error) + func (m *UserMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UserMutation) OldIsPlatformAdmin(ctx context.Context) (v bool, err error) + func (m *UserMutation) OldLastLoginAt(ctx context.Context) (v *time.Time, err error) + func (m *UserMutation) OldName(ctx context.Context) (v string, err error) + func (m *UserMutation) OldPasswordHash(ctx context.Context) (v string, err error) + func (m *UserMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *UserMutation) Op() Op + func (m *UserMutation) PasswordHash() (r string, exists bool) + func (m *UserMutation) PasswordHashCleared() bool + func (m *UserMutation) RefreshTokensCleared() bool + func (m *UserMutation) RefreshTokensIDs() (ids []uuid.UUID) + func (m *UserMutation) RemoveAPIKeyIDs(ids ...uuid.UUID) + func (m *UserMutation) RemoveCreatedServiceAccountIDs(ids ...uuid.UUID) + func (m *UserMutation) RemoveMembershipIDs(ids ...uuid.UUID) + func (m *UserMutation) RemoveOauthAccountIDs(ids ...uuid.UUID) + func (m *UserMutation) RemoveOauthAppIDs(ids ...uuid.UUID) + func (m *UserMutation) RemoveOauthAuthCodeIDs(ids ...uuid.UUID) + func (m *UserMutation) RemoveOauthConsentIDs(ids ...uuid.UUID) + func (m *UserMutation) RemoveOauthTokenIDs(ids ...uuid.UUID) + func (m *UserMutation) RemoveRefreshTokenIDs(ids ...uuid.UUID) + func (m *UserMutation) RemovedAPIKeysIDs() (ids []uuid.UUID) + func (m *UserMutation) RemovedCreatedServiceAccountsIDs() (ids []uuid.UUID) + func (m *UserMutation) RemovedEdges() []string + func (m *UserMutation) RemovedIDs(name string) []ent.Value + func (m *UserMutation) RemovedMembershipsIDs() (ids []uuid.UUID) + func (m *UserMutation) RemovedOauthAccountsIDs() (ids []uuid.UUID) + func (m *UserMutation) RemovedOauthAppsIDs() (ids []uuid.UUID) + func (m *UserMutation) RemovedOauthAuthCodesIDs() (ids []uuid.UUID) + func (m *UserMutation) RemovedOauthConsentsIDs() (ids []uuid.UUID) + func (m *UserMutation) RemovedOauthTokensIDs() (ids []uuid.UUID) + func (m *UserMutation) RemovedRefreshTokensIDs() (ids []uuid.UUID) + func (m *UserMutation) ResetAPIKeys() + func (m *UserMutation) ResetActive() + func (m *UserMutation) ResetAvatarURL() + func (m *UserMutation) ResetCreatedAt() + func (m *UserMutation) ResetCreatedServiceAccounts() + func (m *UserMutation) ResetEdge(name string) error + func (m *UserMutation) ResetEmail() + func (m *UserMutation) ResetFederationID() + func (m *UserMutation) ResetField(name string) error + func (m *UserMutation) ResetIsPlatformAdmin() + func (m *UserMutation) ResetLastLoginAt() + func (m *UserMutation) ResetMemberships() + func (m *UserMutation) ResetName() + func (m *UserMutation) ResetOauthAccounts() + func (m *UserMutation) ResetOauthApps() + func (m *UserMutation) ResetOauthAuthCodes() + func (m *UserMutation) ResetOauthConsents() + func (m *UserMutation) ResetOauthTokens() + func (m *UserMutation) ResetPasswordHash() + func (m *UserMutation) ResetRefreshTokens() + func (m *UserMutation) ResetUpdatedAt() + func (m *UserMutation) SetActive(b bool) + func (m *UserMutation) SetAvatarURL(s string) + func (m *UserMutation) SetCreatedAt(t time.Time) + func (m *UserMutation) SetEmail(s string) + func (m *UserMutation) SetFederationID(u uuid.UUID) + func (m *UserMutation) SetField(name string, value ent.Value) error + func (m *UserMutation) SetID(id uuid.UUID) + func (m *UserMutation) SetIsPlatformAdmin(b bool) + func (m *UserMutation) SetLastLoginAt(t time.Time) + func (m *UserMutation) SetName(s string) + func (m *UserMutation) SetOp(op Op) + func (m *UserMutation) SetPasswordHash(s string) + func (m *UserMutation) SetUpdatedAt(t time.Time) + func (m *UserMutation) Type() string + func (m *UserMutation) UpdatedAt() (r time.Time, exists bool) + func (m *UserMutation) Where(ps ...predicate.User) + func (m *UserMutation) WhereP(ps ...func(*sql.Selector)) + func (m UserMutation) Client() *Client + func (m UserMutation) Tx() (*Tx, error) + type UserQuery struct + func (_q *UserQuery) Aggregate(fns ...AggregateFunc) *UserSelect + func (_q *UserQuery) All(ctx context.Context) ([]*User, error) + func (_q *UserQuery) AllX(ctx context.Context) []*User + func (_q *UserQuery) Clone() *UserQuery + func (_q *UserQuery) Count(ctx context.Context) (int, error) + func (_q *UserQuery) CountX(ctx context.Context) int + func (_q *UserQuery) Exist(ctx context.Context) (bool, error) + func (_q *UserQuery) ExistX(ctx context.Context) bool + func (_q *UserQuery) Filter() *UserFilter + func (_q *UserQuery) First(ctx context.Context) (*User, error) + func (_q *UserQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (_q *UserQuery) FirstIDX(ctx context.Context) uuid.UUID + func (_q *UserQuery) FirstX(ctx context.Context) *User + func (_q *UserQuery) GroupBy(field string, fields ...string) *UserGroupBy + func (_q *UserQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (_q *UserQuery) IDsX(ctx context.Context) []uuid.UUID + func (_q *UserQuery) Limit(limit int) *UserQuery + func (_q *UserQuery) Offset(offset int) *UserQuery + func (_q *UserQuery) Only(ctx context.Context) (*User, error) + func (_q *UserQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (_q *UserQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (_q *UserQuery) OnlyX(ctx context.Context) *User + func (_q *UserQuery) Order(o ...user.OrderOption) *UserQuery + func (_q *UserQuery) QueryAPIKeys() *APIKeyQuery + func (_q *UserQuery) QueryCreatedServiceAccounts() *ServiceAccountQuery + func (_q *UserQuery) QueryMemberships() *MembershipQuery + func (_q *UserQuery) QueryOauthAccounts() *OAuthAccountQuery + func (_q *UserQuery) QueryOauthApps() *OAuthAppQuery + func (_q *UserQuery) QueryOauthAuthCodes() *OAuthAuthCodeQuery + func (_q *UserQuery) QueryOauthConsents() *OAuthConsentQuery + func (_q *UserQuery) QueryOauthTokens() *OAuthTokenQuery + func (_q *UserQuery) QueryRefreshTokens() *RefreshTokenQuery + func (_q *UserQuery) Select(fields ...string) *UserSelect + func (_q *UserQuery) Unique(unique bool) *UserQuery + func (_q *UserQuery) Where(ps ...predicate.User) *UserQuery + func (_q *UserQuery) WithAPIKeys(opts ...func(*APIKeyQuery)) *UserQuery + func (_q *UserQuery) WithCreatedServiceAccounts(opts ...func(*ServiceAccountQuery)) *UserQuery + func (_q *UserQuery) WithMemberships(opts ...func(*MembershipQuery)) *UserQuery + func (_q *UserQuery) WithOauthAccounts(opts ...func(*OAuthAccountQuery)) *UserQuery + func (_q *UserQuery) WithOauthApps(opts ...func(*OAuthAppQuery)) *UserQuery + func (_q *UserQuery) WithOauthAuthCodes(opts ...func(*OAuthAuthCodeQuery)) *UserQuery + func (_q *UserQuery) WithOauthConsents(opts ...func(*OAuthConsentQuery)) *UserQuery + func (_q *UserQuery) WithOauthTokens(opts ...func(*OAuthTokenQuery)) *UserQuery + func (_q *UserQuery) WithRefreshTokens(opts ...func(*RefreshTokenQuery)) *UserQuery + type UserSelect struct + func (_s *UserSelect) Aggregate(fns ...AggregateFunc) *UserSelect + func (_s *UserSelect) Scan(ctx context.Context, v any) error + func (s *UserSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *UserSelect) BoolX(ctx context.Context) bool + func (s *UserSelect) Bools(ctx context.Context) ([]bool, error) + func (s *UserSelect) BoolsX(ctx context.Context) []bool + func (s *UserSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *UserSelect) Float64X(ctx context.Context) float64 + func (s *UserSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *UserSelect) Float64sX(ctx context.Context) []float64 + func (s *UserSelect) Int(ctx context.Context) (_ int, err error) + func (s *UserSelect) IntX(ctx context.Context) int + func (s *UserSelect) Ints(ctx context.Context) ([]int, error) + func (s *UserSelect) IntsX(ctx context.Context) []int + func (s *UserSelect) ScanX(ctx context.Context, v any) + func (s *UserSelect) String(ctx context.Context) (_ string, err error) + func (s *UserSelect) StringX(ctx context.Context) string + func (s *UserSelect) Strings(ctx context.Context) ([]string, error) + func (s *UserSelect) StringsX(ctx context.Context) []string + type UserUpdate struct + func (_u *UserUpdate) AddAPIKeyIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) AddAPIKeys(v ...*APIKey) *UserUpdate + func (_u *UserUpdate) AddCreatedServiceAccountIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) AddCreatedServiceAccounts(v ...*ServiceAccount) *UserUpdate + func (_u *UserUpdate) AddMembershipIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) AddMemberships(v ...*Membership) *UserUpdate + func (_u *UserUpdate) AddOauthAccountIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) AddOauthAccounts(v ...*OAuthAccount) *UserUpdate + func (_u *UserUpdate) AddOauthAppIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) AddOauthApps(v ...*OAuthApp) *UserUpdate + func (_u *UserUpdate) AddOauthAuthCodeIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) AddOauthAuthCodes(v ...*OAuthAuthCode) *UserUpdate + func (_u *UserUpdate) AddOauthConsentIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) AddOauthConsents(v ...*OAuthConsent) *UserUpdate + func (_u *UserUpdate) AddOauthTokenIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) AddOauthTokens(v ...*OAuthToken) *UserUpdate + func (_u *UserUpdate) AddRefreshTokenIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) AddRefreshTokens(v ...*RefreshToken) *UserUpdate + func (_u *UserUpdate) ClearAPIKeys() *UserUpdate + func (_u *UserUpdate) ClearAvatarURL() *UserUpdate + func (_u *UserUpdate) ClearCreatedServiceAccounts() *UserUpdate + func (_u *UserUpdate) ClearFederationID() *UserUpdate + func (_u *UserUpdate) ClearLastLoginAt() *UserUpdate + func (_u *UserUpdate) ClearMemberships() *UserUpdate + func (_u *UserUpdate) ClearOauthAccounts() *UserUpdate + func (_u *UserUpdate) ClearOauthApps() *UserUpdate + func (_u *UserUpdate) ClearOauthAuthCodes() *UserUpdate + func (_u *UserUpdate) ClearOauthConsents() *UserUpdate + func (_u *UserUpdate) ClearOauthTokens() *UserUpdate + func (_u *UserUpdate) ClearPasswordHash() *UserUpdate + func (_u *UserUpdate) ClearRefreshTokens() *UserUpdate + func (_u *UserUpdate) Exec(ctx context.Context) error + func (_u *UserUpdate) ExecX(ctx context.Context) + func (_u *UserUpdate) Mutation() *UserMutation + func (_u *UserUpdate) RemoveAPIKeyIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) RemoveAPIKeys(v ...*APIKey) *UserUpdate + func (_u *UserUpdate) RemoveCreatedServiceAccountIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) RemoveCreatedServiceAccounts(v ...*ServiceAccount) *UserUpdate + func (_u *UserUpdate) RemoveMembershipIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) RemoveMemberships(v ...*Membership) *UserUpdate + func (_u *UserUpdate) RemoveOauthAccountIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) RemoveOauthAccounts(v ...*OAuthAccount) *UserUpdate + func (_u *UserUpdate) RemoveOauthAppIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) RemoveOauthApps(v ...*OAuthApp) *UserUpdate + func (_u *UserUpdate) RemoveOauthAuthCodeIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) RemoveOauthAuthCodes(v ...*OAuthAuthCode) *UserUpdate + func (_u *UserUpdate) RemoveOauthConsentIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) RemoveOauthConsents(v ...*OAuthConsent) *UserUpdate + func (_u *UserUpdate) RemoveOauthTokenIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) RemoveOauthTokens(v ...*OAuthToken) *UserUpdate + func (_u *UserUpdate) RemoveRefreshTokenIDs(ids ...uuid.UUID) *UserUpdate + func (_u *UserUpdate) RemoveRefreshTokens(v ...*RefreshToken) *UserUpdate + func (_u *UserUpdate) Save(ctx context.Context) (int, error) + func (_u *UserUpdate) SaveX(ctx context.Context) int + func (_u *UserUpdate) SetActive(v bool) *UserUpdate + func (_u *UserUpdate) SetAvatarURL(v string) *UserUpdate + func (_u *UserUpdate) SetEmail(v string) *UserUpdate + func (_u *UserUpdate) SetFederationID(v uuid.UUID) *UserUpdate + func (_u *UserUpdate) SetIsPlatformAdmin(v bool) *UserUpdate + func (_u *UserUpdate) SetLastLoginAt(v time.Time) *UserUpdate + func (_u *UserUpdate) SetName(v string) *UserUpdate + func (_u *UserUpdate) SetNillableActive(v *bool) *UserUpdate + func (_u *UserUpdate) SetNillableAvatarURL(v *string) *UserUpdate + func (_u *UserUpdate) SetNillableEmail(v *string) *UserUpdate + func (_u *UserUpdate) SetNillableFederationID(v *uuid.UUID) *UserUpdate + func (_u *UserUpdate) SetNillableIsPlatformAdmin(v *bool) *UserUpdate + func (_u *UserUpdate) SetNillableLastLoginAt(v *time.Time) *UserUpdate + func (_u *UserUpdate) SetNillableName(v *string) *UserUpdate + func (_u *UserUpdate) SetNillablePasswordHash(v *string) *UserUpdate + func (_u *UserUpdate) SetPasswordHash(v string) *UserUpdate + func (_u *UserUpdate) SetUpdatedAt(v time.Time) *UserUpdate + func (_u *UserUpdate) Where(ps ...predicate.User) *UserUpdate + type UserUpdateOne struct + func (_u *UserUpdateOne) AddAPIKeyIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) AddAPIKeys(v ...*APIKey) *UserUpdateOne + func (_u *UserUpdateOne) AddCreatedServiceAccountIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) AddCreatedServiceAccounts(v ...*ServiceAccount) *UserUpdateOne + func (_u *UserUpdateOne) AddMembershipIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) AddMemberships(v ...*Membership) *UserUpdateOne + func (_u *UserUpdateOne) AddOauthAccountIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) AddOauthAccounts(v ...*OAuthAccount) *UserUpdateOne + func (_u *UserUpdateOne) AddOauthAppIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) AddOauthApps(v ...*OAuthApp) *UserUpdateOne + func (_u *UserUpdateOne) AddOauthAuthCodeIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) AddOauthAuthCodes(v ...*OAuthAuthCode) *UserUpdateOne + func (_u *UserUpdateOne) AddOauthConsentIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) AddOauthConsents(v ...*OAuthConsent) *UserUpdateOne + func (_u *UserUpdateOne) AddOauthTokenIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) AddOauthTokens(v ...*OAuthToken) *UserUpdateOne + func (_u *UserUpdateOne) AddRefreshTokenIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) AddRefreshTokens(v ...*RefreshToken) *UserUpdateOne + func (_u *UserUpdateOne) ClearAPIKeys() *UserUpdateOne + func (_u *UserUpdateOne) ClearAvatarURL() *UserUpdateOne + func (_u *UserUpdateOne) ClearCreatedServiceAccounts() *UserUpdateOne + func (_u *UserUpdateOne) ClearFederationID() *UserUpdateOne + func (_u *UserUpdateOne) ClearLastLoginAt() *UserUpdateOne + func (_u *UserUpdateOne) ClearMemberships() *UserUpdateOne + func (_u *UserUpdateOne) ClearOauthAccounts() *UserUpdateOne + func (_u *UserUpdateOne) ClearOauthApps() *UserUpdateOne + func (_u *UserUpdateOne) ClearOauthAuthCodes() *UserUpdateOne + func (_u *UserUpdateOne) ClearOauthConsents() *UserUpdateOne + func (_u *UserUpdateOne) ClearOauthTokens() *UserUpdateOne + func (_u *UserUpdateOne) ClearPasswordHash() *UserUpdateOne + func (_u *UserUpdateOne) ClearRefreshTokens() *UserUpdateOne + func (_u *UserUpdateOne) Exec(ctx context.Context) error + func (_u *UserUpdateOne) ExecX(ctx context.Context) + func (_u *UserUpdateOne) Mutation() *UserMutation + func (_u *UserUpdateOne) RemoveAPIKeyIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) RemoveAPIKeys(v ...*APIKey) *UserUpdateOne + func (_u *UserUpdateOne) RemoveCreatedServiceAccountIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) RemoveCreatedServiceAccounts(v ...*ServiceAccount) *UserUpdateOne + func (_u *UserUpdateOne) RemoveMembershipIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) RemoveMemberships(v ...*Membership) *UserUpdateOne + func (_u *UserUpdateOne) RemoveOauthAccountIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) RemoveOauthAccounts(v ...*OAuthAccount) *UserUpdateOne + func (_u *UserUpdateOne) RemoveOauthAppIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) RemoveOauthApps(v ...*OAuthApp) *UserUpdateOne + func (_u *UserUpdateOne) RemoveOauthAuthCodeIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) RemoveOauthAuthCodes(v ...*OAuthAuthCode) *UserUpdateOne + func (_u *UserUpdateOne) RemoveOauthConsentIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) RemoveOauthConsents(v ...*OAuthConsent) *UserUpdateOne + func (_u *UserUpdateOne) RemoveOauthTokenIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) RemoveOauthTokens(v ...*OAuthToken) *UserUpdateOne + func (_u *UserUpdateOne) RemoveRefreshTokenIDs(ids ...uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) RemoveRefreshTokens(v ...*RefreshToken) *UserUpdateOne + func (_u *UserUpdateOne) Save(ctx context.Context) (*User, error) + func (_u *UserUpdateOne) SaveX(ctx context.Context) *User + func (_u *UserUpdateOne) Select(field string, fields ...string) *UserUpdateOne + func (_u *UserUpdateOne) SetActive(v bool) *UserUpdateOne + func (_u *UserUpdateOne) SetAvatarURL(v string) *UserUpdateOne + func (_u *UserUpdateOne) SetEmail(v string) *UserUpdateOne + func (_u *UserUpdateOne) SetFederationID(v uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) SetIsPlatformAdmin(v bool) *UserUpdateOne + func (_u *UserUpdateOne) SetLastLoginAt(v time.Time) *UserUpdateOne + func (_u *UserUpdateOne) SetName(v string) *UserUpdateOne + func (_u *UserUpdateOne) SetNillableActive(v *bool) *UserUpdateOne + func (_u *UserUpdateOne) SetNillableAvatarURL(v *string) *UserUpdateOne + func (_u *UserUpdateOne) SetNillableEmail(v *string) *UserUpdateOne + func (_u *UserUpdateOne) SetNillableFederationID(v *uuid.UUID) *UserUpdateOne + func (_u *UserUpdateOne) SetNillableIsPlatformAdmin(v *bool) *UserUpdateOne + func (_u *UserUpdateOne) SetNillableLastLoginAt(v *time.Time) *UserUpdateOne + func (_u *UserUpdateOne) SetNillableName(v *string) *UserUpdateOne + func (_u *UserUpdateOne) SetNillablePasswordHash(v *string) *UserUpdateOne + func (_u *UserUpdateOne) SetPasswordHash(v string) *UserUpdateOne + func (_u *UserUpdateOne) SetUpdatedAt(v time.Time) *UserUpdateOne + func (_u *UserUpdateOne) Where(ps ...predicate.User) *UserUpdateOne + type UserUpsert struct + func (u *UserUpsert) ClearAvatarURL() *UserUpsert + func (u *UserUpsert) ClearFederationID() *UserUpsert + func (u *UserUpsert) ClearLastLoginAt() *UserUpsert + func (u *UserUpsert) ClearPasswordHash() *UserUpsert + func (u *UserUpsert) SetActive(v bool) *UserUpsert + func (u *UserUpsert) SetAvatarURL(v string) *UserUpsert + func (u *UserUpsert) SetEmail(v string) *UserUpsert + func (u *UserUpsert) SetFederationID(v uuid.UUID) *UserUpsert + func (u *UserUpsert) SetIsPlatformAdmin(v bool) *UserUpsert + func (u *UserUpsert) SetLastLoginAt(v time.Time) *UserUpsert + func (u *UserUpsert) SetName(v string) *UserUpsert + func (u *UserUpsert) SetPasswordHash(v string) *UserUpsert + func (u *UserUpsert) SetUpdatedAt(v time.Time) *UserUpsert + func (u *UserUpsert) UpdateActive() *UserUpsert + func (u *UserUpsert) UpdateAvatarURL() *UserUpsert + func (u *UserUpsert) UpdateEmail() *UserUpsert + func (u *UserUpsert) UpdateFederationID() *UserUpsert + func (u *UserUpsert) UpdateIsPlatformAdmin() *UserUpsert + func (u *UserUpsert) UpdateLastLoginAt() *UserUpsert + func (u *UserUpsert) UpdateName() *UserUpsert + func (u *UserUpsert) UpdatePasswordHash() *UserUpsert + func (u *UserUpsert) UpdateUpdatedAt() *UserUpsert + type UserUpsertBulk struct + func (u *UserUpsertBulk) ClearAvatarURL() *UserUpsertBulk + func (u *UserUpsertBulk) ClearFederationID() *UserUpsertBulk + func (u *UserUpsertBulk) ClearLastLoginAt() *UserUpsertBulk + func (u *UserUpsertBulk) ClearPasswordHash() *UserUpsertBulk + func (u *UserUpsertBulk) DoNothing() *UserUpsertBulk + func (u *UserUpsertBulk) Exec(ctx context.Context) error + func (u *UserUpsertBulk) ExecX(ctx context.Context) + func (u *UserUpsertBulk) Ignore() *UserUpsertBulk + func (u *UserUpsertBulk) SetActive(v bool) *UserUpsertBulk + func (u *UserUpsertBulk) SetAvatarURL(v string) *UserUpsertBulk + func (u *UserUpsertBulk) SetEmail(v string) *UserUpsertBulk + func (u *UserUpsertBulk) SetFederationID(v uuid.UUID) *UserUpsertBulk + func (u *UserUpsertBulk) SetIsPlatformAdmin(v bool) *UserUpsertBulk + func (u *UserUpsertBulk) SetLastLoginAt(v time.Time) *UserUpsertBulk + func (u *UserUpsertBulk) SetName(v string) *UserUpsertBulk + func (u *UserUpsertBulk) SetPasswordHash(v string) *UserUpsertBulk + func (u *UserUpsertBulk) SetUpdatedAt(v time.Time) *UserUpsertBulk + func (u *UserUpsertBulk) Update(set func(*UserUpsert)) *UserUpsertBulk + func (u *UserUpsertBulk) UpdateActive() *UserUpsertBulk + func (u *UserUpsertBulk) UpdateAvatarURL() *UserUpsertBulk + func (u *UserUpsertBulk) UpdateEmail() *UserUpsertBulk + func (u *UserUpsertBulk) UpdateFederationID() *UserUpsertBulk + func (u *UserUpsertBulk) UpdateIsPlatformAdmin() *UserUpsertBulk + func (u *UserUpsertBulk) UpdateLastLoginAt() *UserUpsertBulk + func (u *UserUpsertBulk) UpdateName() *UserUpsertBulk + func (u *UserUpsertBulk) UpdateNewValues() *UserUpsertBulk + func (u *UserUpsertBulk) UpdatePasswordHash() *UserUpsertBulk + func (u *UserUpsertBulk) UpdateUpdatedAt() *UserUpsertBulk + type UserUpsertOne struct + func (u *UserUpsertOne) ClearAvatarURL() *UserUpsertOne + func (u *UserUpsertOne) ClearFederationID() *UserUpsertOne + func (u *UserUpsertOne) ClearLastLoginAt() *UserUpsertOne + func (u *UserUpsertOne) ClearPasswordHash() *UserUpsertOne + func (u *UserUpsertOne) DoNothing() *UserUpsertOne + func (u *UserUpsertOne) Exec(ctx context.Context) error + func (u *UserUpsertOne) ExecX(ctx context.Context) + func (u *UserUpsertOne) ID(ctx context.Context) (id uuid.UUID, err error) + func (u *UserUpsertOne) IDX(ctx context.Context) uuid.UUID + func (u *UserUpsertOne) Ignore() *UserUpsertOne + func (u *UserUpsertOne) SetActive(v bool) *UserUpsertOne + func (u *UserUpsertOne) SetAvatarURL(v string) *UserUpsertOne + func (u *UserUpsertOne) SetEmail(v string) *UserUpsertOne + func (u *UserUpsertOne) SetFederationID(v uuid.UUID) *UserUpsertOne + func (u *UserUpsertOne) SetIsPlatformAdmin(v bool) *UserUpsertOne + func (u *UserUpsertOne) SetLastLoginAt(v time.Time) *UserUpsertOne + func (u *UserUpsertOne) SetName(v string) *UserUpsertOne + func (u *UserUpsertOne) SetPasswordHash(v string) *UserUpsertOne + func (u *UserUpsertOne) SetUpdatedAt(v time.Time) *UserUpsertOne + func (u *UserUpsertOne) Update(set func(*UserUpsert)) *UserUpsertOne + func (u *UserUpsertOne) UpdateActive() *UserUpsertOne + func (u *UserUpsertOne) UpdateAvatarURL() *UserUpsertOne + func (u *UserUpsertOne) UpdateEmail() *UserUpsertOne + func (u *UserUpsertOne) UpdateFederationID() *UserUpsertOne + func (u *UserUpsertOne) UpdateIsPlatformAdmin() *UserUpsertOne + func (u *UserUpsertOne) UpdateLastLoginAt() *UserUpsertOne + func (u *UserUpsertOne) UpdateName() *UserUpsertOne + func (u *UserUpsertOne) UpdateNewValues() *UserUpsertOne + func (u *UserUpsertOne) UpdatePasswordHash() *UserUpsertOne + func (u *UserUpsertOne) UpdateUpdatedAt() *UserUpsertOne + type Users []*User + type ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value