Introduce operator enrollment partials and handlers that route plan-tier granting and revocation through entitlements.Transition(). Add member-facing tier labels, plan architecture and grant-plan-safety documentation, plus unit and e2e tests. Also add small querier helpers and wire Temporal client hooks for trial expiration scheduling.
23 lines
738 B
Go
23 lines
738 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.29.0
|
|
|
|
package identity
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Querier interface {
|
|
CreatePerson(ctx context.Context, arg CreatePersonParams) (Person, error)
|
|
CreateUser(ctx context.Context, oidcSubject string) (User, error)
|
|
GetPersonByID(ctx context.Context, personID string) (Person, error)
|
|
GetPersonByUserID(ctx context.Context, userID string) (Person, error)
|
|
GetUserByOIDCSubject(ctx context.Context, oidcSubject string) (User, error)
|
|
ListPersons(ctx context.Context) ([]Person, error)
|
|
UpdatePerson(ctx context.Context, arg UpdatePersonParams) (Person, error)
|
|
UpdateUserLogin(ctx context.Context, arg UpdateUserLoginParams) (User, error)
|
|
}
|
|
|
|
var _ Querier = (*Queries)(nil)
|