db

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentFingerprintTakenParams added in v0.0.5

type ComponentFingerprintTakenParams struct {
	AccountID   uuid.UUID
	Fingerprint string
	Kind        string
	ScopeID     uuid.UUID
}

type ComponentFingerprintTakenRow added in v0.0.5

type ComponentFingerprintTakenRow struct {
	Column bool
}

type ConsoleCountsRow

type ConsoleCountsRow struct {
	Products         int64
	Policies         int64
	Licenses         int64
	Users            int64
	Groups           int64
	Entitlements     int64
	Tokens           int64
	WebhookEndpoints int64
	WebhookEvents    int64
}

type CountAdminsRow

type CountAdminsRow struct {
	Total int32
}

type CountEntitlementsParams

type CountEntitlementsParams struct {
	AccountID uuid.UUID
	FilterIds []uuid.UUID
}

type CountEntitlementsRow

type CountEntitlementsRow struct {
	Count int64
}

type CountGroupUsersParams

type CountGroupUsersParams struct {
	AccountID uuid.UUID
	GroupID   *uuid.UUID
}

type CountGroupUsersRow

type CountGroupUsersRow struct {
	Total int32
}

type CountGroupsParams

type CountGroupsParams struct {
	AccountID  uuid.UUID
	FilterIds  []uuid.UUID
	MemberUser *uuid.UUID
}

type CountGroupsRow

type CountGroupsRow struct {
	Total int32
}

type CountKeysParams

type CountKeysParams struct {
	AccountID       uuid.UUID
	FilterPolicyID  *uuid.UUID
	FilterProductID *uuid.UUID
}

type CountKeysRow

type CountKeysRow struct {
	Count int64
}

type CountLicenseEntitlementCodesParams

type CountLicenseEntitlementCodesParams struct {
	PolicyID  uuid.UUID
	LicenseID uuid.UUID
	AccountID uuid.UUID
	Codes     []string
}

type CountLicenseEntitlementCodesRow

type CountLicenseEntitlementCodesRow struct {
	Count int64
}

type CountLicenseEntitlementsOfParams

type CountLicenseEntitlementsOfParams struct {
	AccountID      uuid.UUID
	LicenseID      uuid.UUID
	EntitlementIds []uuid.UUID
}

type CountLicenseEntitlementsOfRow

type CountLicenseEntitlementsOfRow struct {
	Count int64
}

type CountLicenseEntitlementsOfUnionParams

type CountLicenseEntitlementsOfUnionParams struct {
	PolicyID  uuid.UUID
	LicenseID uuid.UUID
	AccountID uuid.UUID
}

type CountLicenseEntitlementsOfUnionRow

type CountLicenseEntitlementsOfUnionRow struct {
	Count int64
}

type CountLicenseMachinesParams

type CountLicenseMachinesParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
}

type CountLicenseMachinesRow

type CountLicenseMachinesRow struct {
	Count int64
}

type CountLicenseProcessesParams

type CountLicenseProcessesParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
	OwnerID   *uuid.UUID
}

type CountLicenseProcessesRow

type CountLicenseProcessesRow struct {
	Count int64
}

type CountLicenseUsersOfParams

type CountLicenseUsersOfParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
	UserIds   []uuid.UUID
}

type CountLicenseUsersOfRow

type CountLicenseUsersOfRow struct {
	Count int64
}

type CountLicensesOfGroupParams

type CountLicensesOfGroupParams struct {
	AccountID uuid.UUID
	GroupID   *uuid.UUID
}

type CountLicensesOfGroupRow

type CountLicensesOfGroupRow struct {
	Count int64
}

type CountLicensesParams

type CountLicensesParams struct {
	AccountID             uuid.UUID
	FilterIds             []uuid.UUID
	FilterProductID       *uuid.UUID
	FilterPolicyID        *uuid.UUID
	FilterOwnerID         *uuid.UUID
	FilterOwnerEmail      *string
	FilterOwnerEmailLike  *string
	FilterUserID          *uuid.UUID
	FilterUserEmail       *string
	FilterUserEmailLike   *string
	FilterMachineID       *uuid.UUID
	FilterGroupID         *uuid.UUID
	FilterStatus          *string
	Now                   *time.Time
	ExpiringSoon          *time.Time
	ActivityCutoff        time.Time
	FilterSuspended       *bool
	FilterExpiring        *bool
	FilterExpired         *bool
	FilterUnexpired       *bool
	ExpiryGte1            *time.Time
	ExpiryGte2            *time.Time
	ExpiryLte             *time.Time
	ActivityActiveSince   *time.Time
	ActivityInactiveSince *time.Time
	FilterMetadata        json.RawMessage
	FilterMetadataCast    json.RawMessage
	FilterAssigned        *bool
	FilterUnassigned      *bool
	FilterActivated       *bool
	ActivationsEq         *int32
	ActivationsGt         *int32
	ActivationsGte        *int32
	ActivationsLt         *int32
	ActivationsLte        *int32
	ScopeKind             *string
	ScopeID               uuid.UUID
}

type CountLicensesRow

type CountLicensesRow struct {
	Count int64
}

type CountMachineComponentsOfParams

type CountMachineComponentsOfParams struct {
	MachineID    uuid.UUID
	Fingerprints []string
}

type CountMachineComponentsOfRow

type CountMachineComponentsOfRow struct {
	Count int64
}

type CountMachineProcessesParams

type CountMachineProcessesParams struct {
	AccountID uuid.UUID
	MachineID uuid.UUID
}

type CountMachineProcessesRow

type CountMachineProcessesRow struct {
	Count int64
}

type CountMachinesByFingerprintsParams

type CountMachinesByFingerprintsParams struct {
	LicenseID    uuid.UUID
	Fingerprints []string
}

type CountMachinesByFingerprintsRow

type CountMachinesByFingerprintsRow struct {
	Count int64
}

type CountPoliciesForProductParams

type CountPoliciesForProductParams struct {
	AccountID       uuid.UUID
	BearerProductID uuid.UUID
}

type CountPoliciesForProductRow

type CountPoliciesForProductRow struct {
	Count int64
}

type CountPoliciesParams

type CountPoliciesParams struct {
	AccountID       uuid.UUID
	FilterIds       []uuid.UUID
	FilterProductID *uuid.UUID
}

type CountPoliciesRow

type CountPoliciesRow struct {
	Count int64
}

type CountPolicyEntitlementsOfParams

type CountPolicyEntitlementsOfParams struct {
	AccountID      uuid.UUID
	PolicyID       uuid.UUID
	EntitlementIds []uuid.UUID
}

type CountPolicyEntitlementsOfRow

type CountPolicyEntitlementsOfRow struct {
	Count int64
}

type CountPolicyPoolParams

type CountPolicyPoolParams struct {
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
}

type CountPolicyPoolRow

type CountPolicyPoolRow struct {
	Count int64
}

type CountProductTokensParams

type CountProductTokensParams struct {
	AccountID uuid.UUID
	ProductID *uuid.UUID
}

type CountProductTokensRow

type CountProductTokensRow struct {
	Count int64
}

type CountProductUsersParams

type CountProductUsersParams struct {
	AccountID uuid.UUID
	ProductID uuid.UUID
	Roles     []string
}

type CountProductUsersRow

type CountProductUsersRow struct {
	Count int64
}

type CountProductsForLicenseParams

type CountProductsForLicenseParams struct {
	AccountID uuid.UUID
	ProductID uuid.UUID
}

type CountProductsForLicenseRow

type CountProductsForLicenseRow struct {
	Count int64
}

type CountProductsForProductParams

type CountProductsForProductParams struct {
	AccountID uuid.UUID
	BearerID  uuid.UUID
}

type CountProductsForProductRow

type CountProductsForProductRow struct {
	Count int64
}

type CountProductsForUserParams

type CountProductsForUserParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
}

type CountProductsForUserRow

type CountProductsForUserRow struct {
	Count int64
}

type CountProductsParams

type CountProductsParams struct {
	AccountID uuid.UUID
	FilterIds []uuid.UUID
}

type CountProductsRow

type CountProductsRow struct {
	Count int64
}

type CountTokensParams

type CountTokensParams struct {
	AccountID   uuid.UUID
	BearerType  *string
	BearerID    *uuid.UUID
	BearerRoles []string
	ScopeKind   *string
	ScopeID     uuid.UUID
}

type CountTokensRow

type CountTokensRow struct {
	Total int32
}

type CountUsersParams

type CountUsersParams struct {
	AccountID uuid.UUID
	FilterIds []uuid.UUID
	Roles     []string
	GroupID   *uuid.UUID
	ProductID *uuid.UUID
	LicenseID *uuid.UUID
	Status    *string
	Cutoff    time.Time
	Assigned  *bool
	Metadata  json.RawMessage
	ScopeKind *string
	ScopeID   uuid.UUID
}

type CountUsersRow

type CountUsersRow struct {
	Total int32
}

type CountWebhookDeliveryMessagesRow

type CountWebhookDeliveryMessagesRow struct {
	Total int64
}

type CountWebhookEndpointsParams

type CountWebhookEndpointsParams struct {
	AccountID uuid.UUID
	ProductID *uuid.UUID
}

type CountWebhookEndpointsRow

type CountWebhookEndpointsRow struct {
	Total int32
}

type CountWebhookEventsParams

type CountWebhookEventsParams struct {
	AccountID uuid.UUID
	Events    []string
	ProductID *uuid.UUID
}

type CountWebhookEventsRow

type CountWebhookEventsRow struct {
	Total int32
}

type DBTX

type DBTX interface {
	Exec(ctx context.Context, sql string, args ...any) (pgconn.CommandTag, error)
	Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error)
	QueryRow(ctx context.Context, sql string, args ...any) pgx.Row
}

type DeadMachinesParams added in v0.0.5

type DeadMachinesParams struct {
	Now   time.Time
	Batch int64
}

type DeadMachinesRow added in v0.0.5

type DeadMachinesRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
}

type DeadProcessesParams added in v0.0.5

type DeadProcessesParams struct {
	Now   time.Time
	Batch int64
}

type DeadProcessesRow added in v0.0.5

type DeadProcessesRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
}

type DeleteEntitlementParams

type DeleteEntitlementParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeleteGroupOwnersByUsersParams

type DeleteGroupOwnersByUsersParams struct {
	AccountID uuid.UUID
	GroupID   uuid.UUID
	UserIds   []uuid.UUID
}

type DeleteGroupParams

type DeleteGroupParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeleteKeyParams

type DeleteKeyParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeleteLicenseEntitlementsParams

type DeleteLicenseEntitlementsParams struct {
	AccountID      uuid.UUID
	LicenseID      uuid.UUID
	EntitlementIds []uuid.UUID
}

type DeleteLicenseParams

type DeleteLicenseParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeleteLicenseUsersParams

type DeleteLicenseUsersParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
	UserIds   []uuid.UUID
}

type DeleteMachineComponentParams added in v0.0.5

type DeleteMachineComponentParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeleteMachineParams added in v0.0.5

type DeleteMachineParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeleteMachineProcessParams added in v0.0.5

type DeleteMachineProcessParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeletePolicyEntitlementsParams

type DeletePolicyEntitlementsParams struct {
	AccountID      uuid.UUID
	PolicyID       uuid.UUID
	EntitlementIds []uuid.UUID
}

type DeletePolicyParams

type DeletePolicyParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeleteProductParams

type DeleteProductParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeleteSecondFactorParams

type DeleteSecondFactorParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
	ID        uuid.UUID
}

type DeleteTokenParams

type DeleteTokenParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeleteTokensOfLicenseParams

type DeleteTokensOfLicenseParams struct {
	AccountID uuid.UUID
	BearerID  *uuid.UUID
}

type DeleteTokensOfProductParams

type DeleteTokensOfProductParams struct {
	AccountID uuid.UUID
	BearerID  *uuid.UUID
}

type DeleteUserParams

type DeleteUserParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeleteUserTokensExceptParams

type DeleteUserTokensExceptParams struct {
	AccountID uuid.UUID
	UserID    *uuid.UUID
	ExceptID  uuid.UUID
}

type DeleteUserTokensParams

type DeleteUserTokensParams struct {
	AccountID uuid.UUID
	UserID    *uuid.UUID
}

type DeleteWebhookEndpointParams

type DeleteWebhookEndpointParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DeleteWebhookEventParams

type DeleteWebhookEventParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type DisableWebhookEndpointParams

type DisableWebhookEndpointParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type FingerprintTakenParams added in v0.0.5

type FingerprintTakenParams struct {
	AccountID   uuid.UUID
	Fingerprint string
	Kind        string
	ScopeID     uuid.UUID
}

type FingerprintTakenRow added in v0.0.5

type FingerprintTakenRow struct {
	Column bool
}

type GetAccountRow

type GetAccountRow struct {
	ID                uuid.UUID
	Name              *string
	Slug              *string
	APIVersion        *string
	Protected         bool
	SecretKey         string
	PrivateKey        string
	PublicKey         string
	Ed25519PrivateKey string
	Ed25519PublicKey  string
	EcdsaPrivateKey   string
	EcdsaPublicKey    string
	CreatedAt         time.Time
	UpdatedAt         time.Time
}

type GetAutomationActivityResultParams

type GetAutomationActivityResultParams struct {
	AccountID    uuid.UUID
	ExecutionKey string
}

type GetAutomationActivityResultRow

type GetAutomationActivityResultRow struct {
	RequestHash string
	Result      json.RawMessage
}

type GetEnabledSecondFactorSecretRow

type GetEnabledSecondFactorSecretRow struct {
	Secret string
}

type GetEntitlementByCodeParams

type GetEntitlementByCodeParams struct {
	AccountID uuid.UUID
	Code      string
}

type GetEntitlementByCodeRow

type GetEntitlementByCodeRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	Name      string
	Code      string
	Metadata  json.RawMessage
	CreatedAt time.Time
	UpdatedAt time.Time
}

type GetEntitlementByIDParams

type GetEntitlementByIDParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetEntitlementByIDRow

type GetEntitlementByIDRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	Name      string
	Code      string
	Metadata  json.RawMessage
	CreatedAt time.Time
	UpdatedAt time.Time
}

type GetGroupByIDParams

type GetGroupByIDParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetGroupByIDRow

type GetGroupByIDRow struct {
	ID          uuid.UUID
	AccountID   uuid.UUID
	Name        *string
	MaxUsers    *int32
	MaxLicenses *int32
	MaxMachines *int32
	Metadata    json.RawMessage
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type GetGroupByUserParams

type GetGroupByUserParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
}

type GetGroupByUserRow

type GetGroupByUserRow struct {
	ID          uuid.UUID
	AccountID   uuid.UUID
	Name        *string
	MaxUsers    *int32
	MaxLicenses *int32
	MaxMachines *int32
	Metadata    json.RawMessage
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type GetGroupOwnerByUserParams

type GetGroupOwnerByUserParams struct {
	AccountID uuid.UUID
	GroupID   uuid.UUID
	UserID    uuid.UUID
}

type GetGroupOwnerByUserRow

type GetGroupOwnerByUserRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	GroupID   uuid.UUID
	UserID    uuid.UUID
	CreatedAt time.Time
	UpdatedAt time.Time
}

type GetGroupOwnerParams

type GetGroupOwnerParams struct {
	AccountID uuid.UUID
	GroupID   uuid.UUID
	ID        uuid.UUID
}

type GetGroupOwnerRow

type GetGroupOwnerRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	GroupID   uuid.UUID
	UserID    uuid.UUID
	CreatedAt time.Time
	UpdatedAt time.Time
}

type GetKeyByIDParams

type GetKeyByIDParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetKeyByIDRow

type GetKeyByIDRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
	ProductID uuid.UUID
	Key       string
	CreatedAt time.Time
	UpdatedAt time.Time
}

type GetLicenseAuthByIDParams

type GetLicenseAuthByIDParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetLicenseAuthByIDRow

type GetLicenseAuthByIDRow struct {
	ID                     uuid.UUID
	AccountID              uuid.UUID
	Key                    string
	Suspended              bool
	Expiry                 *time.Time
	GroupID                *uuid.UUID
	OwnerBanned            bool
	AuthenticationStrategy *string
	ExpirationStrategy     *string
}

type GetLicenseAuthByKeyParams

type GetLicenseAuthByKeyParams struct {
	AccountID uuid.UUID
	Key       string
}

type GetLicenseAuthByKeyRow

type GetLicenseAuthByKeyRow struct {
	ID                     uuid.UUID
	AccountID              uuid.UUID
	Key                    string
	Suspended              bool
	Expiry                 *time.Time
	GroupID                *uuid.UUID
	OwnerBanned            bool
	AuthenticationStrategy *string
	ExpirationStrategy     *string
}

type GetLicenseByIDParams

type GetLicenseByIDParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetLicenseByIDRow

type GetLicenseByIDRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	PolicyID                      uuid.UUID
	UserID                        *uuid.UUID
	GroupID                       *uuid.UUID
	Name                          *string
	Key                           string
	Expiry                        *time.Time
	Uses                          int32
	Suspended                     bool
	Protected                     *bool
	Metadata                      json.RawMessage
	MaxMachinesOverride           *int32
	MaxProcessesOverride          *int32
	MaxUsersOverride              *int32
	MaxCoresOverride              *int32
	MaxMemoryOverride             *int64
	MaxDiskOverride               *int64
	MaxUsesOverride               *int32
	MachinesCount                 int32
	MachinesCoreCount             int32
	MachinesMemoryCount           int64
	MachinesDiskCount             int64
	LicenseUsersCount             int32
	LastValidatedAt               *time.Time
	LastValidatedChecksum         *string
	LastValidatedVersion          *string
	LastCheckInAt                 *time.Time
	LastCheckOutAt                *time.Time
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
	OwnerBanned                   bool
	OwnerEmail                    *string
	PolicyId2                     uuid.UUID
	PolicyAccountID               uuid.UUID
	PolicyProductID               uuid.UUID
	PolicyName                    string
	PolicyDuration                *int32
	PolicyStrict                  bool
	PolicyFloating                bool
	PolicyUsePool                 bool
	PolicyMaxMachines             *int32
	PolicyMaxProcesses            *int32
	PolicyMaxUsers                *int32
	PolicyMaxCores                *int32
	PolicyMaxMemory               *int64
	PolicyMaxDisk                 *int64
	PolicyMaxUses                 *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	PolicyScheme                  *string
	PolicyEncrypted               bool
	PolicyProtected               *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	PolicyMetadata                json.RawMessage
	PolicyCreatedAt               time.Time
	PolicyUpdatedAt               time.Time
}

type GetLicenseByKeyParams

type GetLicenseByKeyParams struct {
	AccountID uuid.UUID
	Key       string
}

type GetLicenseByKeyRow

type GetLicenseByKeyRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	PolicyID                      uuid.UUID
	UserID                        *uuid.UUID
	GroupID                       *uuid.UUID
	Name                          *string
	Key                           string
	Expiry                        *time.Time
	Uses                          int32
	Suspended                     bool
	Protected                     *bool
	Metadata                      json.RawMessage
	MaxMachinesOverride           *int32
	MaxProcessesOverride          *int32
	MaxUsersOverride              *int32
	MaxCoresOverride              *int32
	MaxMemoryOverride             *int64
	MaxDiskOverride               *int64
	MaxUsesOverride               *int32
	MachinesCount                 int32
	MachinesCoreCount             int32
	MachinesMemoryCount           int64
	MachinesDiskCount             int64
	LicenseUsersCount             int32
	LastValidatedAt               *time.Time
	LastValidatedChecksum         *string
	LastValidatedVersion          *string
	LastCheckInAt                 *time.Time
	LastCheckOutAt                *time.Time
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
	OwnerBanned                   bool
	OwnerEmail                    *string
	PolicyId2                     uuid.UUID
	PolicyAccountID               uuid.UUID
	PolicyProductID               uuid.UUID
	PolicyName                    string
	PolicyDuration                *int32
	PolicyStrict                  bool
	PolicyFloating                bool
	PolicyUsePool                 bool
	PolicyMaxMachines             *int32
	PolicyMaxProcesses            *int32
	PolicyMaxUsers                *int32
	PolicyMaxCores                *int32
	PolicyMaxMemory               *int64
	PolicyMaxDisk                 *int64
	PolicyMaxUses                 *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	PolicyScheme                  *string
	PolicyEncrypted               bool
	PolicyProtected               *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	PolicyMetadata                json.RawMessage
	PolicyCreatedAt               time.Time
	PolicyUpdatedAt               time.Time
}

type GetLicenseEntitlementOfParams

type GetLicenseEntitlementOfParams struct {
	PolicyID  uuid.UUID
	LicenseID uuid.UUID
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetLicenseEntitlementOfRow

type GetLicenseEntitlementOfRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	Name      string
	Code      string
	Metadata  json.RawMessage
	CreatedAt time.Time
	UpdatedAt time.Time
}

type GetLicenseProductIDParams

type GetLicenseProductIDParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
}

type GetLicenseProductIDRow

type GetLicenseProductIDRow struct {
	ProductID uuid.UUID
}

type GetPolicyByIDParams

type GetPolicyByIDParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetPolicyByIDRow

type GetPolicyByIDRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	Name                          string
	Duration                      *int32
	Strict                        bool
	Floating                      bool
	UsePool                       bool
	MaxMachines                   *int32
	MaxProcesses                  *int32
	MaxUsers                      *int32
	MaxCores                      *int32
	MaxMemory                     *int64
	MaxDisk                       *int64
	MaxUses                       *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	Scheme                        *string
	Encrypted                     bool
	Protected                     *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	Metadata                      json.RawMessage
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
}

type GetPolicyByLicenseParams

type GetPolicyByLicenseParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
}

type GetPolicyByLicenseRow

type GetPolicyByLicenseRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	Name                          string
	Duration                      *int32
	Strict                        bool
	Floating                      bool
	UsePool                       bool
	MaxMachines                   *int32
	MaxProcesses                  *int32
	MaxUsers                      *int32
	MaxCores                      *int32
	MaxMemory                     *int64
	MaxDisk                       *int64
	MaxUses                       *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	Scheme                        *string
	Encrypted                     bool
	Protected                     *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	Metadata                      json.RawMessage
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
}

type GetPolicyEntitlementParams

type GetPolicyEntitlementParams struct {
	AccountID     uuid.UUID
	PolicyID      uuid.UUID
	EntitlementID uuid.UUID
}

type GetPolicyEntitlementRow

type GetPolicyEntitlementRow struct {
	ID            uuid.UUID
	AccountID     uuid.UUID
	PolicyID      uuid.UUID
	EntitlementID uuid.UUID
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type GetProductByCodeParams

type GetProductByCodeParams struct {
	AccountID uuid.UUID
	Code      *string
}

type GetProductByCodeRow

type GetProductByCodeRow struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type GetProductByIDParams

type GetProductByIDParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetProductByIDRow

type GetProductByIDRow struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type GetProductTokenParams

type GetProductTokenParams struct {
	AccountID uuid.UUID
	ProductID *uuid.UUID
	TokenID   uuid.UUID
}

type GetProductTokenRow

type GetProductTokenRow struct {
	ID          uuid.UUID
	AccountID   uuid.UUID
	Digest      string
	BearerID    *uuid.UUID
	BearerType  *string
	BearerRole  *string
	Kind        *string
	Name        *string
	Expiry      *time.Time
	Permissions json.RawMessage
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type GetProductUserByEmailParams

type GetProductUserByEmailParams struct {
	AccountID uuid.UUID
	ProductID uuid.UUID
	Roles     []string
	Email     *string
}

type GetProductUserByEmailRow

type GetProductUserByEmailRow struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	FirstName      *string
	LastName       *string
	Email          *string
	PasswordDigest *string
	Role           string
	Permissions    json.RawMessage
	GroupID        *uuid.UUID
	Metadata       json.RawMessage
	BannedAt       *time.Time
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

type GetProductUserByIDParams

type GetProductUserByIDParams struct {
	AccountID uuid.UUID
	ProductID uuid.UUID
	Roles     []string
	UserID    uuid.UUID
}

type GetProductUserByIDRow

type GetProductUserByIDRow struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	FirstName      *string
	LastName       *string
	Email          *string
	PasswordDigest *string
	Role           string
	Permissions    json.RawMessage
	GroupID        *uuid.UUID
	Metadata       json.RawMessage
	BannedAt       *time.Time
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

type GetSecondFactorAnyRow

type GetSecondFactorAnyRow struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	UserID         uuid.UUID
	Secret         string
	Enabled        bool
	LastVerifiedAt *time.Time
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

type GetSecondFactorByIDParams

type GetSecondFactorByIDParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
	ID        uuid.UUID
}

type GetSecondFactorByIDRow

type GetSecondFactorByIDRow struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	UserID         uuid.UUID
	Secret         string
	Enabled        bool
	LastVerifiedAt *time.Time
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

type GetTokenByDigestParams

type GetTokenByDigestParams struct {
	AccountID uuid.UUID
	Digest    string
}

type GetTokenByDigestRow

type GetTokenByDigestRow struct {
	ID               uuid.UUID
	AccountID        uuid.UUID
	Digest           string
	BearerID         *uuid.UUID
	BearerType       *string
	BearerRole       *string
	Kind             *string
	Name             *string
	Expiry           *time.Time
	Permissions      json.RawMessage
	MaxActivations   *int32
	Activations      int32
	MaxDeactivations *int32
	Deactivations    int32
	CreatedAt        time.Time
	UpdatedAt        time.Time
}

type GetTokenByIDParams

type GetTokenByIDParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetTokenByIDRow

type GetTokenByIDRow struct {
	ID               uuid.UUID
	AccountID        uuid.UUID
	Digest           string
	BearerID         *uuid.UUID
	BearerType       *string
	BearerRole       *string
	Kind             *string
	Name             *string
	Expiry           *time.Time
	Permissions      json.RawMessage
	MaxActivations   *int32
	Activations      int32
	MaxDeactivations *int32
	Deactivations    int32
	CreatedAt        time.Time
	UpdatedAt        time.Time
}

type GetUserByEmailParams

type GetUserByEmailParams struct {
	AccountID uuid.UUID
	Email     *string
}

type GetUserByEmailRow

type GetUserByEmailRow struct {
	ID                  uuid.UUID
	AccountID           uuid.UUID
	FirstName           *string
	LastName            *string
	Email               *string
	PasswordDigest      *string
	Role                string
	Permissions         json.RawMessage
	GroupID             *uuid.UUID
	Metadata            json.RawMessage
	PasswordResetToken  *string
	PasswordResetSentAt *time.Time
	BannedAt            *time.Time
	CreatedAt           time.Time
	UpdatedAt           time.Time
}

type GetUserByIDParams

type GetUserByIDParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetUserByIDRow

type GetUserByIDRow struct {
	ID                  uuid.UUID
	AccountID           uuid.UUID
	FirstName           *string
	LastName            *string
	Email               *string
	PasswordDigest      *string
	Role                string
	Permissions         json.RawMessage
	GroupID             *uuid.UUID
	Metadata            json.RawMessage
	PasswordResetToken  *string
	PasswordResetSentAt *time.Time
	BannedAt            *time.Time
	CreatedAt           time.Time
	UpdatedAt           time.Time
}

type GetWebhookDeliveryMessageRow

type GetWebhookDeliveryMessageRow struct {
	ID            uuid.UUID
	Status        string
	Attempts      int32
	NextAttemptAt time.Time
	Payload       []byte
	LastError     *string
	FinishedAt    *time.Time
}

type GetWebhookEndpointByIDParams

type GetWebhookEndpointByIDParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetWebhookEndpointByIDRow

type GetWebhookEndpointByIDRow struct {
	ID                 uuid.UUID
	AccountID          uuid.UUID
	ProductID          *uuid.UUID
	URL                string
	Subscriptions      json.RawMessage
	SignatureAlgorithm string
	APIVersion         *string
	CreatedAt          time.Time
	UpdatedAt          time.Time
}

type GetWebhookEndpointByURLParams

type GetWebhookEndpointByURLParams struct {
	AccountID uuid.UUID
	URL       string
}

type GetWebhookEndpointByURLRow

type GetWebhookEndpointByURLRow struct {
	ID                 uuid.UUID
	AccountID          uuid.UUID
	ProductID          *uuid.UUID
	URL                string
	Subscriptions      json.RawMessage
	SignatureAlgorithm string
	APIVersion         *string
	CreatedAt          time.Time
	UpdatedAt          time.Time
}

type GetWebhookEndpointProductParams

type GetWebhookEndpointProductParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetWebhookEndpointProductRow

type GetWebhookEndpointProductRow struct {
	ProductID *uuid.UUID
}

type GetWebhookEventByIDParams

type GetWebhookEventByIDParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type GetWebhookEventByIDRow

type GetWebhookEventByIDRow struct {
	ID                uuid.UUID
	AccountID         uuid.UUID
	WebhookEndpointID *uuid.UUID
	Endpoint          string
	Event             string
	Payload           string
	APIVersion        *string
	IdempotencyToken  string
	Status            string
	Attempts          int32
	LastResponseCode  *int32
	LastResponseBody  *string
	CreatedAt         time.Time
	UpdatedAt         time.Time
}

type GroupIdsOfUserParams

type GroupIdsOfUserParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
}

type GroupIdsOfUserRow

type GroupIdsOfUserRow struct {
	ID uuid.UUID
}

type GroupMachineCountRow added in v0.0.5

type GroupMachineCountRow struct {
	Column int64
}

type InsertAccountParams

type InsertAccountParams struct {
	ID                uuid.UUID
	Name              *string
	Slug              *string
	APIVersion        *string
	Protected         bool
	SecretKey         string
	PrivateKey        string
	PublicKey         string
	Ed25519PrivateKey string
	Ed25519PublicKey  string
	EcdsaPrivateKey   string
	EcdsaPublicKey    string
}

type InsertEntitlementParams

type InsertEntitlementParams struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	Name      string
	Code      string
	Metadata  json.RawMessage
}

type InsertGroupOwnerParams

type InsertGroupOwnerParams struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	GroupID   uuid.UUID
	UserID    uuid.UUID
}

type InsertGroupParams

type InsertGroupParams struct {
	ID          uuid.UUID
	AccountID   uuid.UUID
	Name        *string
	MaxUsers    *int32
	MaxLicenses *int32
	MaxMachines *int32
	Metadata    json.RawMessage
}

type InsertKeyParams

type InsertKeyParams struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
	Key       string
}

type InsertLicenseEntitlementsParams

type InsertLicenseEntitlementsParams struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	LicenseID      uuid.UUID
	EntitlementIds []uuid.UUID
}

type InsertLicenseParams

type InsertLicenseParams struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	ProductID            uuid.UUID
	PolicyID             uuid.UUID
	UserID               *uuid.UUID
	GroupID              *uuid.UUID
	Name                 *string
	Key                  string
	Expiry               *time.Time
	Uses                 int32
	Suspended            bool
	Protected            *bool
	Metadata             json.RawMessage
	MaxMachinesOverride  *int32
	MaxProcessesOverride *int32
	MaxUsersOverride     *int32
	MaxCoresOverride     *int32
	MaxMemoryOverride    *int64
	MaxDiskOverride      *int64
	MaxUsesOverride      *int32
	LastCheckInAt        *time.Time
}

type InsertLicenseUsersParams

type InsertLicenseUsersParams struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	LicenseID uuid.UUID
	UserIds   []uuid.UUID
}

type InsertMachineComponentParams added in v0.0.5

type InsertMachineComponentParams struct {
	ID          uuid.UUID
	AccountID   uuid.UUID
	MachineID   uuid.UUID
	Name        string
	Fingerprint string
	Metadata    json.RawMessage
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type InsertMachineParams added in v0.0.5

type InsertMachineParams struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	LicenseID            uuid.UUID
	PolicyID             uuid.UUID
	OwnerID              *uuid.UUID
	GroupID              *uuid.UUID
	Name                 *string
	Fingerprint          string
	IP                   *string
	Hostname             *string
	Platform             *string
	Cores                *int32
	Memory               *int64
	Disk                 *int64
	MaxProcessesOverride *int32
	Metadata             json.RawMessage
	LastHeartbeatAt      *time.Time
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type InsertMachineProcessParams added in v0.0.5

type InsertMachineProcessParams struct {
	ID              uuid.UUID
	AccountID       uuid.UUID
	MachineID       uuid.UUID
	Pid             string
	Metadata        json.RawMessage
	LastHeartbeatAt time.Time
	CreatedAt       time.Time
	UpdatedAt       time.Time
}

type InsertPolicyEntitlementsParams

type InsertPolicyEntitlementsParams struct {
	JoinID         uuid.UUID
	AccountID      uuid.UUID
	PolicyID       uuid.UUID
	EntitlementIds []uuid.UUID
}

type InsertPolicyParams

type InsertPolicyParams struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	Name                          string
	Duration                      *int32
	Strict                        bool
	Floating                      bool
	UsePool                       bool
	MaxMachines                   *int32
	MaxProcesses                  *int32
	MaxUsers                      *int32
	MaxCores                      *int32
	MaxMemory                     *int64
	MaxDisk                       *int64
	MaxUses                       *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	Scheme                        *string
	Encrypted                     bool
	Protected                     *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	Metadata                      json.RawMessage
}

type InsertProductParams

type InsertProductParams struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
}

type InsertSecondFactorParams

type InsertSecondFactorParams struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	UserID    uuid.UUID
	Secret    string
}

type InsertTokenParams

type InsertTokenParams struct {
	ID               uuid.UUID
	AccountID        uuid.UUID
	Digest           string
	BearerID         *uuid.UUID
	BearerType       *string
	BearerRole       *string
	Kind             *string
	Name             *string
	Expiry           *time.Time
	Permissions      json.RawMessage
	MaxActivations   *int32
	MaxDeactivations *int32
}

type InsertUsageAckParams added in v0.0.5

type InsertUsageAckParams struct {
	MachineID uuid.UUID
	Epoch     int64
	Seq       int64
	Hash      string
	Counters  json.RawMessage
	Build     *string
	CreatedAt time.Time
}

type InsertUsageEventParams added in v0.0.5

type InsertUsageEventParams struct {
	MachineID uuid.UUID
	Epoch     int64
	Seq       int64
	Event     []byte
	Hash      string
	CreatedAt time.Time
}

type InsertUserParams

type InsertUserParams struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	FirstName      *string
	LastName       *string
	Email          *string
	PasswordDigest *string
	Role           string
	Permissions    json.RawMessage
	GroupID        *uuid.UUID
	Metadata       json.RawMessage
}

type InsertWebhookEndpointParams

type InsertWebhookEndpointParams struct {
	ID                 uuid.UUID
	AccountID          uuid.UUID
	ProductID          *uuid.UUID
	URL                string
	Subscriptions      json.RawMessage
	SignatureAlgorithm string
	APIVersion         *string
}

type InsertWebhookEventParams

type InsertWebhookEventParams struct {
	ID                uuid.UUID
	AccountID         uuid.UUID
	WebhookEndpointID *uuid.UUID
	Endpoint          string
	Event             string
	Payload           string
	APIVersion        *string
	IdempotencyToken  string
	Status            string
}

type KeyIsLicenseIDParams

type KeyIsLicenseIDParams struct {
	AccountID uuid.UUID
	Key       string
}

type KeyIsLicenseIDRow

type KeyIsLicenseIDRow struct {
	Column bool
}

type KeyIsLicenseKeyParams

type KeyIsLicenseKeyParams struct {
	AccountID uuid.UUID
	Key       string
}

type KeyIsLicenseKeyRow

type KeyIsLicenseKeyRow struct {
	Column bool
}

type LicAccounts

type LicAccounts struct {
	ID                uuid.UUID
	Name              *string
	Slug              *string
	APIVersion        *string
	Protected         bool
	SecretKey         string
	PrivateKey        string
	PublicKey         string
	Ed25519PrivateKey string
	Ed25519PublicKey  string
	EcdsaPrivateKey   string
	EcdsaPublicKey    string
	CreatedAt         time.Time
	UpdatedAt         time.Time
}

type LicAutomationActivityResults

type LicAutomationActivityResults struct {
	AccountID    uuid.UUID
	ExecutionKey string
	RequestHash  string
	Result       json.RawMessage
	CreatedAt    time.Time
}

type LicEntitlements

type LicEntitlements struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	Name      string
	Code      string
	Metadata  json.RawMessage
	CreatedAt time.Time
	UpdatedAt time.Time
}

type LicGroupOwners

type LicGroupOwners struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	GroupID   uuid.UUID
	UserID    uuid.UUID
	CreatedAt time.Time
	UpdatedAt time.Time
}

type LicGroups

type LicGroups struct {
	ID          uuid.UUID
	AccountID   uuid.UUID
	Name        *string
	MaxUsers    *int32
	MaxLicenses *int32
	MaxMachines *int32
	Metadata    json.RawMessage
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type LicKeys

type LicKeys struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
	Key       string
	CreatedAt time.Time
	UpdatedAt time.Time
}

type LicLicenseEntitlements

type LicLicenseEntitlements struct {
	ID            uuid.UUID
	AccountID     uuid.UUID
	LicenseID     uuid.UUID
	EntitlementID uuid.UUID
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type LicLicenseUsers

type LicLicenseUsers struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	LicenseID uuid.UUID
	UserID    uuid.UUID
	CreatedAt time.Time
	UpdatedAt time.Time
}

type LicLicenses

type LicLicenses struct {
	ID                          uuid.UUID
	AccountID                   uuid.UUID
	ProductID                   uuid.UUID
	PolicyID                    uuid.UUID
	UserID                      *uuid.UUID
	GroupID                     *uuid.UUID
	Name                        *string
	Key                         string
	Expiry                      *time.Time
	Uses                        int32
	Suspended                   bool
	Protected                   *bool
	Metadata                    json.RawMessage
	MaxMachinesOverride         *int32
	MaxProcessesOverride        *int32
	MaxUsersOverride            *int32
	MaxCoresOverride            *int32
	MaxMemoryOverride           *int64
	MaxDiskOverride             *int64
	MaxUsesOverride             *int32
	MachinesCount               int32
	MachinesCoreCount           int32
	MachinesMemoryCount         int64
	MachinesDiskCount           int64
	LicenseUsersCount           int32
	LastValidatedAt             *time.Time
	LastValidatedChecksum       *string
	LastValidatedVersion        *string
	LastCheckInAt               *time.Time
	LastCheckOutAt              *time.Time
	LastExpiringSoonEventSentAt *time.Time
	LastExpirationEventSentAt   *time.Time
	LastCheckInSoonEventSentAt  *time.Time
	LastCheckInEventSentAt      *time.Time
	CreatedAt                   time.Time
	UpdatedAt                   time.Time
}

type LicMachineComponents

type LicMachineComponents struct {
	ID          uuid.UUID
	AccountID   uuid.UUID
	MachineID   uuid.UUID
	Name        string
	Fingerprint string
	Metadata    json.RawMessage
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type LicMachineProcesses

type LicMachineProcesses struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	MachineID            uuid.UUID
	Pid                  string
	Metadata             json.RawMessage
	LastHeartbeatAt      time.Time
	LastDeathEventSentAt *time.Time
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type LicMachineUsageAcks added in v0.0.5

type LicMachineUsageAcks struct {
	MachineID uuid.UUID
	Epoch     int64
	Seq       int64
	Hash      string
	Counters  json.RawMessage
	Build     *string
	CreatedAt time.Time
}

type LicMachineUsageEvents added in v0.0.5

type LicMachineUsageEvents struct {
	MachineID uuid.UUID
	Epoch     int64
	Seq       int64
	Event     []byte
	Hash      string
	CreatedAt time.Time
}

type LicMachineUsageHeads added in v0.0.5

type LicMachineUsageHeads struct {
	MachineID uuid.UUID
	AccountID uuid.UUID
	Epoch     int64
	Seq       int64
	Hash      string
	UpdatedAt time.Time
}

type LicMachines

type LicMachines struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	LicenseID            uuid.UUID
	PolicyID             uuid.UUID
	OwnerID              *uuid.UUID
	GroupID              *uuid.UUID
	Name                 *string
	Fingerprint          string
	IP                   *string
	Hostname             *string
	Platform             *string
	Cores                *int32
	Memory               *int64
	Disk                 *int64
	MaxProcessesOverride *int32
	Metadata             json.RawMessage
	LastHeartbeatAt      *time.Time
	LastCheckOutAt       *time.Time
	LastDeathEventSentAt *time.Time
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type LicOutboxMessages

type LicOutboxMessages struct {
	ID            uuid.UUID
	Topic         string
	PartitionKey  *string
	Payload       []byte
	Headers       json.RawMessage
	ContentType   *string
	MessageType   *string
	Status        string
	Attempts      int32
	MaxAttempts   *int32
	LockedBy      *string
	LockedUntil   *time.Time
	NextAttemptAt time.Time
	LastError     *string
	CreatedAt     time.Time
	PublishedAt   *time.Time
	LeaseToken    *uuid.UUID
	FinishedAt    *time.Time
	Seq           *int64
}

type LicOutboxTombstones added in v0.0.12

type LicOutboxTombstones struct {
	ID         uuid.UUID
	Status     string
	FinishedAt time.Time
}

type LicPolicies

type LicPolicies struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	Name                          string
	Duration                      *int32
	Strict                        bool
	Floating                      bool
	UsePool                       bool
	MaxMachines                   *int32
	MaxProcesses                  *int32
	MaxUsers                      *int32
	MaxCores                      *int32
	MaxMemory                     *int64
	MaxDisk                       *int64
	MaxUses                       *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	Scheme                        *string
	Encrypted                     bool
	Protected                     *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	Metadata                      json.RawMessage
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
}

type LicPolicyEntitlements

type LicPolicyEntitlements struct {
	ID            uuid.UUID
	AccountID     uuid.UUID
	PolicyID      uuid.UUID
	EntitlementID uuid.UUID
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type LicProducts

type LicProducts struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type LicSecondFactors

type LicSecondFactors struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	UserID         uuid.UUID
	Secret         string
	Enabled        bool
	LastVerifiedAt *time.Time
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

type LicTokens

type LicTokens struct {
	ID               uuid.UUID
	AccountID        uuid.UUID
	Digest           string
	BearerID         *uuid.UUID
	BearerType       *string
	BearerRole       *string
	Kind             *string
	Name             *string
	Expiry           *time.Time
	Permissions      json.RawMessage
	MaxActivations   *int32
	Activations      int32
	MaxDeactivations *int32
	Deactivations    int32
	CreatedAt        time.Time
	UpdatedAt        time.Time
}

type LicUsers

type LicUsers struct {
	ID                  uuid.UUID
	AccountID           uuid.UUID
	FirstName           *string
	LastName            *string
	Email               *string
	PasswordDigest      *string
	Role                string
	Permissions         json.RawMessage
	GroupID             *uuid.UUID
	Metadata            json.RawMessage
	PasswordResetToken  *string
	PasswordResetSentAt *time.Time
	BannedAt            *time.Time
	CreatedAt           time.Time
	UpdatedAt           time.Time
}

type LicWebhookEndpoints

type LicWebhookEndpoints struct {
	ID                 uuid.UUID
	AccountID          uuid.UUID
	ProductID          *uuid.UUID
	URL                string
	Subscriptions      json.RawMessage
	SignatureAlgorithm string
	APIVersion         *string
	DisabledAt         *time.Time
	CreatedAt          time.Time
	UpdatedAt          time.Time
}

type LicWebhookEvents

type LicWebhookEvents struct {
	ID                uuid.UUID
	AccountID         uuid.UUID
	WebhookEndpointID *uuid.UUID
	Endpoint          string
	Event             string
	Payload           string
	APIVersion        *string
	IdempotencyToken  string
	Status            string
	Attempts          int32
	LastResponseCode  *int32
	LastResponseBody  *string
	CreatedAt         time.Time
	UpdatedAt         time.Time
}

type LicenseEntitlementIdsParams

type LicenseEntitlementIdsParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
}

type LicenseEntitlementIdsRow

type LicenseEntitlementIdsRow struct {
	EntitlementID uuid.UUID
}

type LicenseHasUserParams added in v0.0.5

type LicenseHasUserParams struct {
	LicenseID uuid.UUID
	UserID    uuid.UUID
}

type LicenseHasUserRow added in v0.0.5

type LicenseHasUserRow struct {
	Column bool
}

type LicenseIDExistsParams

type LicenseIDExistsParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type LicenseIDExistsRow

type LicenseIDExistsRow struct {
	ID uuid.UUID
}

type LicenseKeyTakenParams

type LicenseKeyTakenParams struct {
	AccountID uuid.UUID
	Key       string
}

type LicenseKeyTakenRow

type LicenseKeyTakenRow struct {
	ID uuid.UUID
}

type LicenseNotificationCandidatesParams

type LicenseNotificationCandidatesParams struct {
	AccountID uuid.UUID
	Now       time.Time
}

type LicenseNotificationCandidatesRow

type LicenseNotificationCandidatesRow struct {
	ID                          uuid.UUID
	LastExpirationEventSentAt   *time.Time
	LastExpiringSoonEventSentAt *time.Time
	LastCheckInEventSentAt      *time.Time
	LastCheckInSoonEventSentAt  *time.Time
}

type LicenseOfProductParams

type LicenseOfProductParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
	ProductID uuid.UUID
}

type LicenseOfProductRow

type LicenseOfProductRow struct {
	Owned bool
}

type LicenseUserMatchesParams

type LicenseUserMatchesParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
	Email     *string
	LicenseID uuid.UUID
}

type LicenseUserMatchesRow

type LicenseUserMatchesRow struct {
	Found int32
}

type LicenseUsesForUpdateParams

type LicenseUsesForUpdateParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type LicenseUsesForUpdateRow

type LicenseUsesForUpdateRow struct {
	Uses int32
}

type LicenseeIsUserParams

type LicenseeIsUserParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
	UserID    uuid.UUID
}

type LicenseeIsUserRow

type LicenseeIsUserRow struct {
	Found int32
}

type ListAutomationMessagesRow

type ListAutomationMessagesRow struct {
	ID          uuid.UUID
	Topic       string
	MessageType *string
	Payload     []byte
	Status      string
	Attempts    int32
}

type ListCatalogPolicyIdsRow added in v0.0.18

type ListCatalogPolicyIdsRow struct {
	ID uuid.UUID
}

type ListCatalogProductIdsRow added in v0.0.18

type ListCatalogProductIdsRow struct {
	ID uuid.UUID
}

type ListCatalogProductTokensRow added in v0.0.18

type ListCatalogProductTokensRow struct {
	ID          uuid.UUID
	BearerID    *uuid.UUID
	Name        *string
	Digest      string
	Permissions json.RawMessage
	CreatedAt   time.Time
}

type ListComponentsParams added in v0.0.5

type ListComponentsParams struct {
	AccountID       uuid.UUID
	ComponentID     *uuid.UUID
	FilterMachineID *uuid.UUID
	FilterProductID *uuid.UUID
	FilterLicenseID *uuid.UUID
	FilterOwnerID   *uuid.UUID
	FilterUser      *string
	ScopeKind       *string
	ScopeID         *uuid.UUID
	Cursor          *uuid.UUID
	Asc             bool
	Fetch           int64
	PageOffset      int64
}

type ListComponentsRow added in v0.0.5

type ListComponentsRow struct {
	ID          uuid.UUID
	AccountID   uuid.UUID
	MachineID   uuid.UUID
	Name        string
	Fingerprint string
	Metadata    json.RawMessage
	CreatedAt   time.Time
	UpdatedAt   time.Time
	ProductID   uuid.UUID
	LicenseID   uuid.UUID
	Total       int64
}

type ListEntitlementsAscParams

type ListEntitlementsAscParams struct {
	AccountID uuid.UUID
	FilterIds []uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListEntitlementsAscRow

type ListEntitlementsAscRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	Name      string
	Code      string
	Metadata  json.RawMessage
	CreatedAt time.Time
	UpdatedAt time.Time
}

type ListEntitlementsDescParams

type ListEntitlementsDescParams struct {
	AccountID uuid.UUID
	FilterIds []uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListEntitlementsDescRow

type ListEntitlementsDescRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	Name      string
	Code      string
	Metadata  json.RawMessage
	CreatedAt time.Time
	UpdatedAt time.Time
}

type ListGroupLicensesParams

type ListGroupLicensesParams struct {
	AccountID uuid.UUID
	GroupID   *uuid.UUID
	Limit     int64
}

type ListGroupLicensesRow

type ListGroupLicensesRow struct {
	ID uuid.UUID
}

type ListGroupMachinesParams

type ListGroupMachinesParams struct {
	AccountID uuid.UUID
	GroupID   *uuid.UUID
	Limit     int64
}

type ListGroupMachinesRow

type ListGroupMachinesRow struct {
	ID uuid.UUID
}

type ListGroupOwnersParams

type ListGroupOwnersParams struct {
	AccountID uuid.UUID
	GroupID   uuid.UUID
	Limit     int64
}

type ListGroupOwnersRow

type ListGroupOwnersRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	GroupID   uuid.UUID
	UserID    uuid.UUID
	CreatedAt time.Time
	UpdatedAt time.Time
}

type ListGroupUsersParams

type ListGroupUsersParams struct {
	AccountID uuid.UUID
	GroupID   *uuid.UUID
	Limit     int64
}

type ListGroupUsersRow

type ListGroupUsersRow struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	FirstName      *string
	LastName       *string
	Email          *string
	PasswordDigest *string
	Role           string
	Permissions    json.RawMessage
	GroupID        *uuid.UUID
	Metadata       json.RawMessage
	BannedAt       *time.Time
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

type ListGroupsParams

type ListGroupsParams struct {
	AccountID     uuid.UUID
	FilterIds     []uuid.UUID
	MemberUser    *uuid.UUID
	MemberLicense *uuid.UUID
	Cursor        *uuid.UUID
	Asc           bool
	Limit         int64
	Offset        int64
}

type ListGroupsRow

type ListGroupsRow struct {
	ID          uuid.UUID
	AccountID   uuid.UUID
	Name        *string
	MaxUsers    *int32
	MaxLicenses *int32
	MaxMachines *int32
	Metadata    json.RawMessage
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type ListKeysAscParams

type ListKeysAscParams struct {
	AccountID       uuid.UUID
	FilterPolicyID  *uuid.UUID
	FilterProductID *uuid.UUID
	CursorID        *uuid.UUID
	Limit           int64
	Offset          int64
}

type ListKeysAscRow

type ListKeysAscRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
	ProductID uuid.UUID
	Key       string
	CreatedAt time.Time
	UpdatedAt time.Time
}

type ListKeysDescParams

type ListKeysDescParams struct {
	AccountID       uuid.UUID
	FilterPolicyID  *uuid.UUID
	FilterProductID *uuid.UUID
	CursorID        *uuid.UUID
	Limit           int64
	Offset          int64
}

type ListKeysDescRow

type ListKeysDescRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
	ProductID uuid.UUID
	Key       string
	CreatedAt time.Time
	UpdatedAt time.Time
}

type ListLicenseEntitlementCodesParams

type ListLicenseEntitlementCodesParams struct {
	PolicyID  uuid.UUID
	LicenseID uuid.UUID
	AccountID uuid.UUID
}

type ListLicenseEntitlementCodesRow

type ListLicenseEntitlementCodesRow struct {
	Code string
}

type ListLicenseEntitlementRowsParams

type ListLicenseEntitlementRowsParams struct {
	AccountID      uuid.UUID
	LicenseID      uuid.UUID
	EntitlementIds []uuid.UUID
}

type ListLicenseEntitlementRowsRow

type ListLicenseEntitlementRowsRow struct {
	ID            uuid.UUID
	AccountID     uuid.UUID
	LicenseID     uuid.UUID
	EntitlementID uuid.UUID
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type ListLicenseEntitlementsOfParams

type ListLicenseEntitlementsOfParams struct {
	PolicyID  uuid.UUID
	LicenseID uuid.UUID
	AccountID uuid.UUID
	Limit     int64
	Offset    int64
}

type ListLicenseEntitlementsOfRow

type ListLicenseEntitlementsOfRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	Name      string
	Code      string
	Metadata  json.RawMessage
	CreatedAt time.Time
	UpdatedAt time.Time
}

type ListLicenseUserRowsParams

type ListLicenseUserRowsParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
	UserIds   []uuid.UUID
}

type ListLicenseUserRowsRow

type ListLicenseUserRowsRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	LicenseID uuid.UUID
	UserID    uuid.UUID
	CreatedAt time.Time
	UpdatedAt time.Time
}

type ListLicensesAscParams

type ListLicensesAscParams struct {
	AccountID             uuid.UUID
	FilterIds             []uuid.UUID
	FilterProductID       *uuid.UUID
	FilterPolicyID        *uuid.UUID
	FilterOwnerID         *uuid.UUID
	FilterOwnerEmail      *string
	FilterOwnerEmailLike  *string
	FilterUserID          *uuid.UUID
	FilterUserEmail       *string
	FilterUserEmailLike   *string
	FilterMachineID       *uuid.UUID
	FilterGroupID         *uuid.UUID
	FilterStatus          *string
	Now                   *time.Time
	ExpiringSoon          *time.Time
	ActivityCutoff        time.Time
	FilterSuspended       *bool
	FilterExpiring        *bool
	FilterExpired         *bool
	FilterUnexpired       *bool
	ExpiryGte1            *time.Time
	ExpiryGte2            *time.Time
	ExpiryLte             *time.Time
	ActivityActiveSince   *time.Time
	ActivityInactiveSince *time.Time
	FilterMetadata        json.RawMessage
	FilterMetadataCast    json.RawMessage
	FilterAssigned        *bool
	FilterUnassigned      *bool
	FilterActivated       *bool
	ActivationsEq         *int32
	ActivationsGt         *int32
	ActivationsGte        *int32
	ActivationsLt         *int32
	ActivationsLte        *int32
	ScopeKind             *string
	ScopeID               uuid.UUID
	Cursor                *uuid.UUID
	Limit                 int64
	Offset                int64
}

type ListLicensesAscRow

type ListLicensesAscRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	PolicyID                      uuid.UUID
	UserID                        *uuid.UUID
	GroupID                       *uuid.UUID
	Name                          *string
	Key                           string
	Expiry                        *time.Time
	Uses                          int32
	Suspended                     bool
	Protected                     *bool
	Metadata                      json.RawMessage
	MaxMachinesOverride           *int32
	MaxProcessesOverride          *int32
	MaxUsersOverride              *int32
	MaxCoresOverride              *int32
	MaxMemoryOverride             *int64
	MaxDiskOverride               *int64
	MaxUsesOverride               *int32
	MachinesCount                 int32
	MachinesCoreCount             int32
	MachinesMemoryCount           int64
	MachinesDiskCount             int64
	LicenseUsersCount             int32
	LastValidatedAt               *time.Time
	LastValidatedChecksum         *string
	LastValidatedVersion          *string
	LastCheckInAt                 *time.Time
	LastCheckOutAt                *time.Time
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
	OwnerBanned                   bool
	OwnerEmail                    *string
	PolicyId2                     uuid.UUID
	PolicyAccountID               uuid.UUID
	PolicyProductID               uuid.UUID
	PolicyName                    string
	PolicyDuration                *int32
	PolicyStrict                  bool
	PolicyFloating                bool
	PolicyUsePool                 bool
	PolicyMaxMachines             *int32
	PolicyMaxProcesses            *int32
	PolicyMaxUsers                *int32
	PolicyMaxCores                *int32
	PolicyMaxMemory               *int64
	PolicyMaxDisk                 *int64
	PolicyMaxUses                 *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	PolicyScheme                  *string
	PolicyEncrypted               bool
	PolicyProtected               *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	PolicyMetadata                json.RawMessage
	PolicyCreatedAt               time.Time
	PolicyUpdatedAt               time.Time
}

type ListLicensesParams

type ListLicensesParams struct {
	AccountID             uuid.UUID
	FilterIds             []uuid.UUID
	FilterProductID       *uuid.UUID
	FilterPolicyID        *uuid.UUID
	FilterOwnerID         *uuid.UUID
	FilterOwnerEmail      *string
	FilterOwnerEmailLike  *string
	FilterUserID          *uuid.UUID
	FilterUserEmail       *string
	FilterUserEmailLike   *string
	FilterMachineID       *uuid.UUID
	FilterGroupID         *uuid.UUID
	FilterStatus          *string
	Now                   *time.Time
	ExpiringSoon          *time.Time
	ActivityCutoff        time.Time
	FilterSuspended       *bool
	FilterExpiring        *bool
	FilterExpired         *bool
	FilterUnexpired       *bool
	ExpiryGte1            *time.Time
	ExpiryGte2            *time.Time
	ExpiryLte             *time.Time
	ActivityActiveSince   *time.Time
	ActivityInactiveSince *time.Time
	FilterMetadata        json.RawMessage
	FilterMetadataCast    json.RawMessage
	FilterAssigned        *bool
	FilterUnassigned      *bool
	FilterActivated       *bool
	ActivationsEq         *int32
	ActivationsGt         *int32
	ActivationsGte        *int32
	ActivationsLt         *int32
	ActivationsLte        *int32
	ScopeKind             *string
	ScopeID               uuid.UUID
	Cursor                *uuid.UUID
	Limit                 int64
	Offset                int64
}

type ListLicensesRow

type ListLicensesRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	PolicyID                      uuid.UUID
	UserID                        *uuid.UUID
	GroupID                       *uuid.UUID
	Name                          *string
	Key                           string
	Expiry                        *time.Time
	Uses                          int32
	Suspended                     bool
	Protected                     *bool
	Metadata                      json.RawMessage
	MaxMachinesOverride           *int32
	MaxProcessesOverride          *int32
	MaxUsersOverride              *int32
	MaxCoresOverride              *int32
	MaxMemoryOverride             *int64
	MaxDiskOverride               *int64
	MaxUsesOverride               *int32
	MachinesCount                 int32
	MachinesCoreCount             int32
	MachinesMemoryCount           int64
	MachinesDiskCount             int64
	LicenseUsersCount             int32
	LastValidatedAt               *time.Time
	LastValidatedChecksum         *string
	LastValidatedVersion          *string
	LastCheckInAt                 *time.Time
	LastCheckOutAt                *time.Time
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
	OwnerBanned                   bool
	OwnerEmail                    *string
	PolicyId2                     uuid.UUID
	PolicyAccountID               uuid.UUID
	PolicyProductID               uuid.UUID
	PolicyName                    string
	PolicyDuration                *int32
	PolicyStrict                  bool
	PolicyFloating                bool
	PolicyUsePool                 bool
	PolicyMaxMachines             *int32
	PolicyMaxProcesses            *int32
	PolicyMaxUsers                *int32
	PolicyMaxCores                *int32
	PolicyMaxMemory               *int64
	PolicyMaxDisk                 *int64
	PolicyMaxUses                 *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	PolicyScheme                  *string
	PolicyEncrypted               bool
	PolicyProtected               *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	PolicyMetadata                json.RawMessage
	PolicyCreatedAt               time.Time
	PolicyUpdatedAt               time.Time
}

type ListMachinesParams added in v0.0.5

type ListMachinesParams struct {
	AccountID          uuid.UUID
	FilterIds          []uuid.UUID
	IDOrFingerprint    *string
	FilterFingerprint  *string
	FilterIP           *string
	FilterHostname     *string
	FilterProductID    *uuid.UUID
	FilterPolicyID     *uuid.UUID
	FilterLicenseID    *uuid.UUID
	FilterKey          *string
	FilterGroupID      *uuid.UUID
	FilterOwnerNull    bool
	FilterOwner        *string
	FilterUser         *string
	FilterMetadata     json.RawMessage
	FilterMetadataCast json.RawMessage
	FilterStatus       *string
	Now                time.Time
	ScopeKind          *string
	ScopeID            *uuid.UUID
	Cursor             *uuid.UUID
	Asc                bool
	Fetch              int64
	PageOffset         int64
}

type ListMachinesRow added in v0.0.5

type ListMachinesRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	LicenseID                     uuid.UUID
	PolicyID                      uuid.UUID
	OwnerID                       *uuid.UUID
	GroupID                       *uuid.UUID
	Name                          *string
	Fingerprint                   string
	IP                            *string
	Hostname                      *string
	Platform                      *string
	Cores                         *int32
	Memory                        *int64
	Disk                          *int64
	MaxProcessesOverride          *int32
	Metadata                      json.RawMessage
	LastHeartbeatAt               *time.Time
	LastCheckOutAt                *time.Time
	LastDeathEventSentAt          *time.Time
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
	ProductID                     uuid.UUID
	LicenseOwnerID                *uuid.UUID
	LicenseProtected              bool
	RequireHeartbeat              bool
	HeartbeatDuration             *int32
	HeartbeatBasis                *string
	HeartbeatResurrectionStrategy *string
	HeartbeatCullStrategy         *string
	LicenseMaxProcesses           *int32
	Total                         int64
}

type ListPoliciesAscParams

type ListPoliciesAscParams struct {
	AccountID       uuid.UUID
	FilterIds       []uuid.UUID
	FilterProductID *uuid.UUID
	CursorID        *uuid.UUID
	Limit           int64
	Offset          int64
}

type ListPoliciesAscRow

type ListPoliciesAscRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	Name                          string
	Duration                      *int32
	Strict                        bool
	Floating                      bool
	UsePool                       bool
	MaxMachines                   *int32
	MaxProcesses                  *int32
	MaxUsers                      *int32
	MaxCores                      *int32
	MaxMemory                     *int64
	MaxDisk                       *int64
	MaxUses                       *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	Scheme                        *string
	Encrypted                     bool
	Protected                     *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	Metadata                      json.RawMessage
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
}

type ListPoliciesDescParams

type ListPoliciesDescParams struct {
	AccountID       uuid.UUID
	FilterIds       []uuid.UUID
	FilterProductID *uuid.UUID
	CursorID        *uuid.UUID
	Limit           int64
	Offset          int64
}

type ListPoliciesDescRow

type ListPoliciesDescRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	Name                          string
	Duration                      *int32
	Strict                        bool
	Floating                      bool
	UsePool                       bool
	MaxMachines                   *int32
	MaxProcesses                  *int32
	MaxUsers                      *int32
	MaxCores                      *int32
	MaxMemory                     *int64
	MaxDisk                       *int64
	MaxUses                       *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	Scheme                        *string
	Encrypted                     bool
	Protected                     *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	Metadata                      json.RawMessage
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
}

type ListPoliciesForProductAscParams

type ListPoliciesForProductAscParams struct {
	AccountID       uuid.UUID
	BearerProductID uuid.UUID
	CursorID        *uuid.UUID
	Limit           int64
	Offset          int64
}

type ListPoliciesForProductAscRow

type ListPoliciesForProductAscRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	Name                          string
	Duration                      *int32
	Strict                        bool
	Floating                      bool
	UsePool                       bool
	MaxMachines                   *int32
	MaxProcesses                  *int32
	MaxUsers                      *int32
	MaxCores                      *int32
	MaxMemory                     *int64
	MaxDisk                       *int64
	MaxUses                       *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	Scheme                        *string
	Encrypted                     bool
	Protected                     *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	Metadata                      json.RawMessage
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
}

type ListPoliciesForProductDescParams

type ListPoliciesForProductDescParams struct {
	AccountID       uuid.UUID
	BearerProductID uuid.UUID
	CursorID        *uuid.UUID
	Limit           int64
	Offset          int64
}

type ListPoliciesForProductDescRow

type ListPoliciesForProductDescRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	ProductID                     uuid.UUID
	Name                          string
	Duration                      *int32
	Strict                        bool
	Floating                      bool
	UsePool                       bool
	MaxMachines                   *int32
	MaxProcesses                  *int32
	MaxUsers                      *int32
	MaxCores                      *int32
	MaxMemory                     *int64
	MaxDisk                       *int64
	MaxUses                       *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	Scheme                        *string
	Encrypted                     bool
	Protected                     *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	Metadata                      json.RawMessage
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
}

type ListPolicyEntitlementsParams

type ListPolicyEntitlementsParams struct {
	AccountID uuid.UUID
	PolicyID  uuid.UUID
}

type ListPolicyEntitlementsRow

type ListPolicyEntitlementsRow struct {
	ID            uuid.UUID
	AccountID     uuid.UUID
	PolicyID      uuid.UUID
	EntitlementID uuid.UUID
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type ListPolicyPoolAscParams

type ListPolicyPoolAscParams struct {
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListPolicyPoolAscRow

type ListPolicyPoolAscRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
	ProductID uuid.UUID
	Key       string
	CreatedAt time.Time
	UpdatedAt time.Time
}

type ListPolicyPoolDescParams

type ListPolicyPoolDescParams struct {
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListPolicyPoolDescRow

type ListPolicyPoolDescRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
	ProductID uuid.UUID
	Key       string
	CreatedAt time.Time
	UpdatedAt time.Time
}

type ListProcessesParams added in v0.0.5

type ListProcessesParams struct {
	AccountID       uuid.UUID
	ProcessID       *uuid.UUID
	FilterMachineID *uuid.UUID
	FilterProductID *uuid.UUID
	FilterLicenseID *uuid.UUID
	FilterOwnerID   *uuid.UUID
	FilterUser      *string
	FilterStatus    *string
	Now             time.Time
	ScopeKind       *string
	ScopeID         *uuid.UUID
	Cursor          *uuid.UUID
	Asc             bool
	Fetch           int64
	PageOffset      int64
}

type ListProcessesRow added in v0.0.5

type ListProcessesRow struct {
	ID                            uuid.UUID
	AccountID                     uuid.UUID
	MachineID                     uuid.UUID
	Pid                           string
	Metadata                      json.RawMessage
	LastHeartbeatAt               time.Time
	LastDeathEventSentAt          *time.Time
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
	HeartbeatDuration             *int32
	HeartbeatResurrectionStrategy *string
	HeartbeatCullStrategy         *string
	ProductID                     uuid.UUID
	LicenseID                     uuid.UUID
	Total                         int64
}

type ListProductTokensAscParams

type ListProductTokensAscParams struct {
	AccountID uuid.UUID
	ProductID *uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductTokensAscRow

type ListProductTokensAscRow struct {
	ID          uuid.UUID
	AccountID   uuid.UUID
	Digest      string
	BearerID    *uuid.UUID
	BearerType  *string
	BearerRole  *string
	Kind        *string
	Name        *string
	Expiry      *time.Time
	Permissions json.RawMessage
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type ListProductTokensDescParams

type ListProductTokensDescParams struct {
	AccountID uuid.UUID
	ProductID *uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductTokensDescRow

type ListProductTokensDescRow struct {
	ID          uuid.UUID
	AccountID   uuid.UUID
	Digest      string
	BearerID    *uuid.UUID
	BearerType  *string
	BearerRole  *string
	Kind        *string
	Name        *string
	Expiry      *time.Time
	Permissions json.RawMessage
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type ListProductUsersAscParams

type ListProductUsersAscParams struct {
	AccountID uuid.UUID
	ProductID uuid.UUID
	Roles     []string
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductUsersAscRow

type ListProductUsersAscRow struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	FirstName      *string
	LastName       *string
	Email          *string
	PasswordDigest *string
	Role           string
	Permissions    json.RawMessage
	GroupID        *uuid.UUID
	Metadata       json.RawMessage
	BannedAt       *time.Time
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

type ListProductUsersDescParams

type ListProductUsersDescParams struct {
	AccountID uuid.UUID
	ProductID uuid.UUID
	Roles     []string
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductUsersDescRow

type ListProductUsersDescRow struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	FirstName      *string
	LastName       *string
	Email          *string
	PasswordDigest *string
	Role           string
	Permissions    json.RawMessage
	GroupID        *uuid.UUID
	Metadata       json.RawMessage
	BannedAt       *time.Time
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

type ListProductsAscParams

type ListProductsAscParams struct {
	AccountID uuid.UUID
	FilterIds []uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductsAscRow

type ListProductsAscRow struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type ListProductsDescParams

type ListProductsDescParams struct {
	AccountID uuid.UUID
	FilterIds []uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductsDescRow

type ListProductsDescRow struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type ListProductsForLicenseAscParams

type ListProductsForLicenseAscParams struct {
	AccountID uuid.UUID
	ProductID uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductsForLicenseAscRow

type ListProductsForLicenseAscRow struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type ListProductsForLicenseDescParams

type ListProductsForLicenseDescParams struct {
	AccountID uuid.UUID
	ProductID uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductsForLicenseDescRow

type ListProductsForLicenseDescRow struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type ListProductsForProductAscParams

type ListProductsForProductAscParams struct {
	AccountID uuid.UUID
	BearerID  uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductsForProductAscRow

type ListProductsForProductAscRow struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type ListProductsForProductDescParams

type ListProductsForProductDescParams struct {
	AccountID uuid.UUID
	BearerID  uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductsForProductDescRow

type ListProductsForProductDescRow struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type ListProductsForUserAscParams

type ListProductsForUserAscParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductsForUserAscRow

type ListProductsForUserAscRow struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type ListProductsForUserDescParams

type ListProductsForUserDescParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
	CursorID  *uuid.UUID
	Limit     int64
	Offset    int64
}

type ListProductsForUserDescRow

type ListProductsForUserDescRow struct {
	ID                   uuid.UUID
	AccountID            uuid.UUID
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

type ListSecondFactorsParams

type ListSecondFactorsParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
	Limit     int64
}

type ListSecondFactorsRow

type ListSecondFactorsRow struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	UserID         uuid.UUID
	Secret         string
	Enabled        bool
	LastVerifiedAt *time.Time
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

type ListSubscribedWebhookEndpointsParams

type ListSubscribedWebhookEndpointsParams struct {
	AccountID uuid.UUID
	Event     string
}

type ListSubscribedWebhookEndpointsRow

type ListSubscribedWebhookEndpointsRow struct {
	ID                 uuid.UUID
	AccountID          uuid.UUID
	ProductID          *uuid.UUID
	URL                string
	Subscriptions      json.RawMessage
	SignatureAlgorithm string
	APIVersion         *string
	CreatedAt          time.Time
	UpdatedAt          time.Time
}

type ListTokensParams

type ListTokensParams struct {
	AccountID   uuid.UUID
	BearerType  *string
	BearerID    *uuid.UUID
	BearerRoles []string
	ScopeKind   *string
	ScopeID     uuid.UUID
	UserBearer  *uuid.UUID
	Cursor      *uuid.UUID
	Asc         bool
	Limit       int64
	Offset      int64
}

type ListTokensRow

type ListTokensRow struct {
	ID               uuid.UUID
	AccountID        uuid.UUID
	Digest           string
	BearerID         *uuid.UUID
	BearerType       *string
	BearerRole       *string
	Kind             *string
	Name             *string
	Expiry           *time.Time
	Permissions      json.RawMessage
	MaxActivations   *int32
	Activations      int32
	MaxDeactivations *int32
	Deactivations    int32
	CreatedAt        time.Time
	UpdatedAt        time.Time
}

type ListUsersParams

type ListUsersParams struct {
	Cutoff    time.Time
	AccountID uuid.UUID
	FilterIds []uuid.UUID
	Roles     []string
	GroupID   *uuid.UUID
	ProductID *uuid.UUID
	LicenseID *uuid.UUID
	Status    *string
	Assigned  *bool
	Metadata  json.RawMessage
	ScopeKind *string
	ScopeID   uuid.UUID
	Cursor    *uuid.UUID
	Asc       bool
	Limit     int64
	Offset    int64
}

type ListUsersRow

type ListUsersRow struct {
	ID             uuid.UUID
	AccountID      uuid.UUID
	FirstName      *string
	LastName       *string
	Email          *string
	PasswordDigest *string
	Role           string
	Permissions    json.RawMessage
	GroupID        *uuid.UUID
	Metadata       json.RawMessage
	BannedAt       *time.Time
	CreatedAt      time.Time
	UpdatedAt      time.Time
	Status         string
}

type ListWebhookEndpointsParams

type ListWebhookEndpointsParams struct {
	AccountID uuid.UUID
	ProductID *uuid.UUID
	Cursor    *uuid.UUID
	Asc       bool
	Limit     int64
	Offset    int64
}

type ListWebhookEndpointsRow

type ListWebhookEndpointsRow struct {
	ID                 uuid.UUID
	AccountID          uuid.UUID
	ProductID          *uuid.UUID
	URL                string
	Subscriptions      json.RawMessage
	SignatureAlgorithm string
	APIVersion         *string
	CreatedAt          time.Time
	UpdatedAt          time.Time
}

type ListWebhookEventsParams

type ListWebhookEventsParams struct {
	AccountID uuid.UUID
	Events    []string
	ProductID *uuid.UUID
	Cursor    *uuid.UUID
	Asc       bool
	Limit     int64
	Offset    int64
}

type ListWebhookEventsRow

type ListWebhookEventsRow struct {
	ID                uuid.UUID
	AccountID         uuid.UUID
	WebhookEndpointID *uuid.UUID
	Endpoint          string
	Event             string
	Payload           string
	APIVersion        *string
	IdempotencyToken  string
	Status            string
	Attempts          int32
	LastResponseCode  *int32
	LastResponseBody  *string
	CreatedAt         time.Time
	UpdatedAt         time.Time
}

type LockAutomationActivityParams

type LockAutomationActivityParams struct {
	AccountID    string
	ExecutionKey string
}

type LockLicenseParams added in v0.0.5

type LockLicenseParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type MachineExistsParams added in v0.0.5

type MachineExistsParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type MachineExistsRow added in v0.0.5

type MachineExistsRow struct {
	Column bool
}

type MachineTotalsParams added in v0.0.5

type MachineTotalsParams struct {
	LicenseID uuid.UUID
	Except    uuid.UUID
	PerUser   bool
	OwnerID   *uuid.UUID
}

type MachineTotalsRow added in v0.0.5

type MachineTotalsRow struct {
	Count  int64
	Cores  int64
	Memory int64
	Disk   int64
}

type OwnedGroupIdsForUserParams

type OwnedGroupIdsForUserParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
}

type OwnedGroupIdsForUserRow

type OwnedGroupIdsForUserRow struct {
	GroupID uuid.UUID
}

type PopPolicyKeyParams

type PopPolicyKeyParams struct {
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
}

type PopPolicyKeyRow

type PopPolicyKeyRow struct {
	ID        uuid.UUID
	AccountID uuid.UUID
	PolicyID  *uuid.UUID
	Key       string
	CreatedAt time.Time
	UpdatedAt time.Time
}

type ProcessCountParams added in v0.0.5

type ProcessCountParams struct {
	Kind    string
	ScopeID uuid.UUID
	OwnerID *uuid.UUID
}

type ProcessCountRow added in v0.0.5

type ProcessCountRow struct {
	Column int64
}

type ProcessExistsRow added in v0.0.5

type ProcessExistsRow struct {
	Column bool
}

type ProcessPidTakenParams added in v0.0.5

type ProcessPidTakenParams struct {
	MachineID uuid.UUID
	Pid       string
}

type ProcessPidTakenRow added in v0.0.5

type ProcessPidTakenRow struct {
	Column bool
}

type PruneWebhookEventsBeforeParams

type PruneWebhookEventsBeforeParams struct {
	Cutoff    time.Time
	AccountID *uuid.UUID
}

type Queries

type Queries struct {
	// contains filtered or unexported fields
}

func New

func New(db DBTX) *Queries

func (*Queries) ComponentFingerprintTaken added in v0.0.5

func (*Queries) ConsoleCounts

func (q *Queries) ConsoleCounts(ctx context.Context, accountID uuid.UUID) (ConsoleCountsRow, error)

func (*Queries) CountAdmins

func (q *Queries) CountAdmins(ctx context.Context, accountID uuid.UUID) (CountAdminsRow, error)

func (*Queries) CountEntitlements

func (q *Queries) CountEntitlements(ctx context.Context, arg CountEntitlementsParams) (CountEntitlementsRow, error)

func (*Queries) CountGroupUsers

func (q *Queries) CountGroupUsers(ctx context.Context, arg CountGroupUsersParams) (CountGroupUsersRow, error)

func (*Queries) CountGroups

func (q *Queries) CountGroups(ctx context.Context, arg CountGroupsParams) (CountGroupsRow, error)

func (*Queries) CountKeys

func (q *Queries) CountKeys(ctx context.Context, arg CountKeysParams) (CountKeysRow, error)

func (*Queries) CountLicenseMachines

func (q *Queries) CountLicenseMachines(ctx context.Context, arg CountLicenseMachinesParams) (CountLicenseMachinesRow, error)

func (*Queries) CountLicenseProcesses

func (q *Queries) CountLicenseProcesses(ctx context.Context, arg CountLicenseProcessesParams) (CountLicenseProcessesRow, error)

func (*Queries) CountLicenseUsersOf

func (q *Queries) CountLicenseUsersOf(ctx context.Context, arg CountLicenseUsersOfParams) (CountLicenseUsersOfRow, error)

func (*Queries) CountLicenses

func (q *Queries) CountLicenses(ctx context.Context, arg CountLicensesParams) (CountLicensesRow, error)

func (*Queries) CountLicensesOfGroup

func (q *Queries) CountLicensesOfGroup(ctx context.Context, arg CountLicensesOfGroupParams) (CountLicensesOfGroupRow, error)

func (*Queries) CountMachineComponentsOf

func (*Queries) CountMachineProcesses

func (q *Queries) CountMachineProcesses(ctx context.Context, arg CountMachineProcessesParams) (CountMachineProcessesRow, error)

func (*Queries) CountPolicies

func (q *Queries) CountPolicies(ctx context.Context, arg CountPoliciesParams) (CountPoliciesRow, error)

func (*Queries) CountPoliciesForProduct

func (q *Queries) CountPoliciesForProduct(ctx context.Context, arg CountPoliciesForProductParams) (CountPoliciesForProductRow, error)

func (*Queries) CountPolicyPool

func (q *Queries) CountPolicyPool(ctx context.Context, arg CountPolicyPoolParams) (CountPolicyPoolRow, error)

func (*Queries) CountProductTokens

func (q *Queries) CountProductTokens(ctx context.Context, arg CountProductTokensParams) (CountProductTokensRow, error)

func (*Queries) CountProductUsers

func (q *Queries) CountProductUsers(ctx context.Context, arg CountProductUsersParams) (CountProductUsersRow, error)

func (*Queries) CountProducts

func (q *Queries) CountProducts(ctx context.Context, arg CountProductsParams) (CountProductsRow, error)

func (*Queries) CountProductsForLicense

func (q *Queries) CountProductsForLicense(ctx context.Context, arg CountProductsForLicenseParams) (CountProductsForLicenseRow, error)

func (*Queries) CountProductsForProduct

func (q *Queries) CountProductsForProduct(ctx context.Context, arg CountProductsForProductParams) (CountProductsForProductRow, error)

func (*Queries) CountProductsForUser

func (q *Queries) CountProductsForUser(ctx context.Context, arg CountProductsForUserParams) (CountProductsForUserRow, error)

func (*Queries) CountTokens

func (q *Queries) CountTokens(ctx context.Context, arg CountTokensParams) (CountTokensRow, error)

func (*Queries) CountUsers

func (q *Queries) CountUsers(ctx context.Context, arg CountUsersParams) (CountUsersRow, error)

func (*Queries) CountWebhookDeliveryMessages

func (q *Queries) CountWebhookDeliveryMessages(ctx context.Context, accountID *string) (CountWebhookDeliveryMessagesRow, error)

func (*Queries) CountWebhookEndpoints

func (q *Queries) CountWebhookEndpoints(ctx context.Context, arg CountWebhookEndpointsParams) (CountWebhookEndpointsRow, error)

func (*Queries) CountWebhookEvents

func (q *Queries) CountWebhookEvents(ctx context.Context, arg CountWebhookEventsParams) (CountWebhookEventsRow, error)

func (*Queries) DeadMachines added in v0.0.5

func (q *Queries) DeadMachines(ctx context.Context, arg DeadMachinesParams) ([]DeadMachinesRow, error)

func (*Queries) DeadProcesses added in v0.0.5

func (q *Queries) DeadProcesses(ctx context.Context, arg DeadProcessesParams) ([]DeadProcessesRow, error)

func (*Queries) DeleteEntitlement

func (q *Queries) DeleteEntitlement(ctx context.Context, arg DeleteEntitlementParams) (int64, error)

func (*Queries) DeleteGroup

func (q *Queries) DeleteGroup(ctx context.Context, arg DeleteGroupParams) error

func (*Queries) DeleteGroupOwnersByUsers

func (q *Queries) DeleteGroupOwnersByUsers(ctx context.Context, arg DeleteGroupOwnersByUsersParams) (int64, error)

func (*Queries) DeleteKey

func (q *Queries) DeleteKey(ctx context.Context, arg DeleteKeyParams) (int64, error)

func (*Queries) DeleteLicense

func (q *Queries) DeleteLicense(ctx context.Context, arg DeleteLicenseParams) (int64, error)

func (*Queries) DeleteLicenseEntitlements

func (q *Queries) DeleteLicenseEntitlements(ctx context.Context, arg DeleteLicenseEntitlementsParams) (int64, error)

func (*Queries) DeleteLicenseUsers

func (q *Queries) DeleteLicenseUsers(ctx context.Context, arg DeleteLicenseUsersParams) (int64, error)

func (*Queries) DeleteMachine added in v0.0.5

func (q *Queries) DeleteMachine(ctx context.Context, arg DeleteMachineParams) error

func (*Queries) DeleteMachineComponent added in v0.0.5

func (q *Queries) DeleteMachineComponent(ctx context.Context, arg DeleteMachineComponentParams) error

func (*Queries) DeleteMachineProcess added in v0.0.5

func (q *Queries) DeleteMachineProcess(ctx context.Context, arg DeleteMachineProcessParams) error

func (*Queries) DeletePolicy

func (q *Queries) DeletePolicy(ctx context.Context, arg DeletePolicyParams) (int64, error)

func (*Queries) DeletePolicyEntitlements

func (q *Queries) DeletePolicyEntitlements(ctx context.Context, arg DeletePolicyEntitlementsParams) (int64, error)

func (*Queries) DeleteProduct

func (q *Queries) DeleteProduct(ctx context.Context, arg DeleteProductParams) (int64, error)

func (*Queries) DeleteSecondFactor

func (q *Queries) DeleteSecondFactor(ctx context.Context, arg DeleteSecondFactorParams) error

func (*Queries) DeleteToken

func (q *Queries) DeleteToken(ctx context.Context, arg DeleteTokenParams) error

func (*Queries) DeleteTokensOfLicense

func (q *Queries) DeleteTokensOfLicense(ctx context.Context, arg DeleteTokensOfLicenseParams) error

func (*Queries) DeleteTokensOfProduct

func (q *Queries) DeleteTokensOfProduct(ctx context.Context, arg DeleteTokensOfProductParams) error

func (*Queries) DeleteUser

func (q *Queries) DeleteUser(ctx context.Context, arg DeleteUserParams) error

func (*Queries) DeleteUserTokens

func (q *Queries) DeleteUserTokens(ctx context.Context, arg DeleteUserTokensParams) error

func (*Queries) DeleteUserTokensExcept

func (q *Queries) DeleteUserTokensExcept(ctx context.Context, arg DeleteUserTokensExceptParams) error

func (*Queries) DeleteWebhookEndpoint

func (q *Queries) DeleteWebhookEndpoint(ctx context.Context, arg DeleteWebhookEndpointParams) error

func (*Queries) DeleteWebhookEvent

func (q *Queries) DeleteWebhookEvent(ctx context.Context, arg DeleteWebhookEventParams) error

func (*Queries) DisableWebhookEndpoint

func (q *Queries) DisableWebhookEndpoint(ctx context.Context, arg DisableWebhookEndpointParams) error

func (*Queries) FingerprintTaken added in v0.0.5

func (q *Queries) FingerprintTaken(ctx context.Context, arg FingerprintTakenParams) (FingerprintTakenRow, error)

func (*Queries) GetAccount

func (q *Queries) GetAccount(ctx context.Context, id uuid.UUID) (GetAccountRow, error)

func (*Queries) GetEnabledSecondFactorSecret

func (q *Queries) GetEnabledSecondFactorSecret(ctx context.Context, userID uuid.UUID) (GetEnabledSecondFactorSecretRow, error)

func (*Queries) GetEntitlementByCode

func (q *Queries) GetEntitlementByCode(ctx context.Context, arg GetEntitlementByCodeParams) (GetEntitlementByCodeRow, error)

func (*Queries) GetEntitlementByID

func (q *Queries) GetEntitlementByID(ctx context.Context, arg GetEntitlementByIDParams) (GetEntitlementByIDRow, error)

func (*Queries) GetGroupByID

func (q *Queries) GetGroupByID(ctx context.Context, arg GetGroupByIDParams) (GetGroupByIDRow, error)

func (*Queries) GetGroupByUser

func (q *Queries) GetGroupByUser(ctx context.Context, arg GetGroupByUserParams) (GetGroupByUserRow, error)

func (*Queries) GetGroupOwner

func (q *Queries) GetGroupOwner(ctx context.Context, arg GetGroupOwnerParams) (GetGroupOwnerRow, error)

func (*Queries) GetGroupOwnerByUser

func (q *Queries) GetGroupOwnerByUser(ctx context.Context, arg GetGroupOwnerByUserParams) (GetGroupOwnerByUserRow, error)

func (*Queries) GetKeyByID

func (q *Queries) GetKeyByID(ctx context.Context, arg GetKeyByIDParams) (GetKeyByIDRow, error)

func (*Queries) GetLicenseAuthByID

func (q *Queries) GetLicenseAuthByID(ctx context.Context, arg GetLicenseAuthByIDParams) (GetLicenseAuthByIDRow, error)

func (*Queries) GetLicenseAuthByKey

func (q *Queries) GetLicenseAuthByKey(ctx context.Context, arg GetLicenseAuthByKeyParams) (GetLicenseAuthByKeyRow, error)

func (*Queries) GetLicenseByID

func (q *Queries) GetLicenseByID(ctx context.Context, arg GetLicenseByIDParams) (GetLicenseByIDRow, error)

func (*Queries) GetLicenseByKey

func (q *Queries) GetLicenseByKey(ctx context.Context, arg GetLicenseByKeyParams) (GetLicenseByKeyRow, error)

func (*Queries) GetLicenseEntitlementOf

func (q *Queries) GetLicenseEntitlementOf(ctx context.Context, arg GetLicenseEntitlementOfParams) (GetLicenseEntitlementOfRow, error)

func (*Queries) GetLicenseProductID

func (q *Queries) GetLicenseProductID(ctx context.Context, arg GetLicenseProductIDParams) (GetLicenseProductIDRow, error)

func (*Queries) GetPolicyByID

func (q *Queries) GetPolicyByID(ctx context.Context, arg GetPolicyByIDParams) (GetPolicyByIDRow, error)

func (*Queries) GetPolicyByLicense

func (q *Queries) GetPolicyByLicense(ctx context.Context, arg GetPolicyByLicenseParams) (GetPolicyByLicenseRow, error)

func (*Queries) GetPolicyEntitlement

func (q *Queries) GetPolicyEntitlement(ctx context.Context, arg GetPolicyEntitlementParams) (GetPolicyEntitlementRow, error)

func (*Queries) GetProductByCode

func (q *Queries) GetProductByCode(ctx context.Context, arg GetProductByCodeParams) (GetProductByCodeRow, error)

func (*Queries) GetProductByID

func (q *Queries) GetProductByID(ctx context.Context, arg GetProductByIDParams) (GetProductByIDRow, error)

func (*Queries) GetProductToken

func (q *Queries) GetProductToken(ctx context.Context, arg GetProductTokenParams) (GetProductTokenRow, error)

func (*Queries) GetProductUserByEmail

func (q *Queries) GetProductUserByEmail(ctx context.Context, arg GetProductUserByEmailParams) (GetProductUserByEmailRow, error)

func (*Queries) GetProductUserByID

func (q *Queries) GetProductUserByID(ctx context.Context, arg GetProductUserByIDParams) (GetProductUserByIDRow, error)

func (*Queries) GetSecondFactorAny

func (q *Queries) GetSecondFactorAny(ctx context.Context, userID uuid.UUID) (GetSecondFactorAnyRow, error)

func (*Queries) GetSecondFactorByID

func (q *Queries) GetSecondFactorByID(ctx context.Context, arg GetSecondFactorByIDParams) (GetSecondFactorByIDRow, error)

func (*Queries) GetTokenByDigest

func (q *Queries) GetTokenByDigest(ctx context.Context, arg GetTokenByDigestParams) (GetTokenByDigestRow, error)

func (*Queries) GetTokenByID

func (q *Queries) GetTokenByID(ctx context.Context, arg GetTokenByIDParams) (GetTokenByIDRow, error)

func (*Queries) GetUserByEmail

func (q *Queries) GetUserByEmail(ctx context.Context, arg GetUserByEmailParams) (GetUserByEmailRow, error)

func (*Queries) GetUserByID

func (q *Queries) GetUserByID(ctx context.Context, arg GetUserByIDParams) (GetUserByIDRow, error)

func (*Queries) GetWebhookDeliveryMessage

func (q *Queries) GetWebhookDeliveryMessage(ctx context.Context, id uuid.UUID) (GetWebhookDeliveryMessageRow, error)

func (*Queries) GetWebhookEndpointByID

func (q *Queries) GetWebhookEndpointByID(ctx context.Context, arg GetWebhookEndpointByIDParams) (GetWebhookEndpointByIDRow, error)

func (*Queries) GetWebhookEndpointByURL

func (q *Queries) GetWebhookEndpointByURL(ctx context.Context, arg GetWebhookEndpointByURLParams) (GetWebhookEndpointByURLRow, error)

func (*Queries) GetWebhookEventByID

func (q *Queries) GetWebhookEventByID(ctx context.Context, arg GetWebhookEventByIDParams) (GetWebhookEventByIDRow, error)

func (*Queries) GroupIdsOfUser

func (q *Queries) GroupIdsOfUser(ctx context.Context, arg GroupIdsOfUserParams) ([]GroupIdsOfUserRow, error)

func (*Queries) GroupMachineCount added in v0.0.5

func (q *Queries) GroupMachineCount(ctx context.Context, groupID *uuid.UUID) (GroupMachineCountRow, error)

func (*Queries) InsertAccount

func (q *Queries) InsertAccount(ctx context.Context, arg InsertAccountParams) error

func (*Queries) InsertEntitlement

func (q *Queries) InsertEntitlement(ctx context.Context, arg InsertEntitlementParams) error

func (*Queries) InsertGroup

func (q *Queries) InsertGroup(ctx context.Context, arg InsertGroupParams) error

func (*Queries) InsertGroupOwner

func (q *Queries) InsertGroupOwner(ctx context.Context, arg InsertGroupOwnerParams) error

func (*Queries) InsertKey

func (q *Queries) InsertKey(ctx context.Context, arg InsertKeyParams) error

func (*Queries) InsertLicense

func (q *Queries) InsertLicense(ctx context.Context, arg InsertLicenseParams) error

func (*Queries) InsertLicenseEntitlements

func (q *Queries) InsertLicenseEntitlements(ctx context.Context, arg InsertLicenseEntitlementsParams) error

func (*Queries) InsertLicenseUsers

func (q *Queries) InsertLicenseUsers(ctx context.Context, arg InsertLicenseUsersParams) error

func (*Queries) InsertMachine added in v0.0.5

func (q *Queries) InsertMachine(ctx context.Context, arg InsertMachineParams) error

func (*Queries) InsertMachineComponent added in v0.0.5

func (q *Queries) InsertMachineComponent(ctx context.Context, arg InsertMachineComponentParams) error

func (*Queries) InsertMachineProcess added in v0.0.5

func (q *Queries) InsertMachineProcess(ctx context.Context, arg InsertMachineProcessParams) error

func (*Queries) InsertPolicy

func (q *Queries) InsertPolicy(ctx context.Context, arg InsertPolicyParams) error

func (*Queries) InsertPolicyEntitlements

func (q *Queries) InsertPolicyEntitlements(ctx context.Context, arg InsertPolicyEntitlementsParams) (int64, error)

func (*Queries) InsertProduct

func (q *Queries) InsertProduct(ctx context.Context, arg InsertProductParams) error

func (*Queries) InsertSecondFactor

func (q *Queries) InsertSecondFactor(ctx context.Context, arg InsertSecondFactorParams) error

func (*Queries) InsertToken

func (q *Queries) InsertToken(ctx context.Context, arg InsertTokenParams) error

func (*Queries) InsertUsageAck added in v0.0.5

func (q *Queries) InsertUsageAck(ctx context.Context, arg InsertUsageAckParams) error

func (*Queries) InsertUsageEvent added in v0.0.5

func (q *Queries) InsertUsageEvent(ctx context.Context, arg InsertUsageEventParams) error

func (*Queries) InsertUser

func (q *Queries) InsertUser(ctx context.Context, arg InsertUserParams) error

func (*Queries) InsertWebhookEndpoint

func (q *Queries) InsertWebhookEndpoint(ctx context.Context, arg InsertWebhookEndpointParams) error

func (*Queries) InsertWebhookEvent

func (q *Queries) InsertWebhookEvent(ctx context.Context, arg InsertWebhookEventParams) error

func (*Queries) KeyIsLicenseID

func (q *Queries) KeyIsLicenseID(ctx context.Context, arg KeyIsLicenseIDParams) (KeyIsLicenseIDRow, error)

func (*Queries) KeyIsLicenseKey

func (q *Queries) KeyIsLicenseKey(ctx context.Context, arg KeyIsLicenseKeyParams) (KeyIsLicenseKeyRow, error)

func (*Queries) LicenseEntitlementIds

func (q *Queries) LicenseEntitlementIds(ctx context.Context, arg LicenseEntitlementIdsParams) ([]LicenseEntitlementIdsRow, error)

func (*Queries) LicenseHasUser added in v0.0.5

func (q *Queries) LicenseHasUser(ctx context.Context, arg LicenseHasUserParams) (LicenseHasUserRow, error)

func (*Queries) LicenseIDExists

func (q *Queries) LicenseIDExists(ctx context.Context, arg LicenseIDExistsParams) (LicenseIDExistsRow, error)

func (*Queries) LicenseKeyTaken

func (q *Queries) LicenseKeyTaken(ctx context.Context, arg LicenseKeyTakenParams) (LicenseKeyTakenRow, error)

func (*Queries) LicenseOfProduct

func (q *Queries) LicenseOfProduct(ctx context.Context, arg LicenseOfProductParams) (LicenseOfProductRow, error)

func (*Queries) LicenseUserMatches

func (q *Queries) LicenseUserMatches(ctx context.Context, arg LicenseUserMatchesParams) (LicenseUserMatchesRow, error)

func (*Queries) LicenseUsesForUpdate

func (q *Queries) LicenseUsesForUpdate(ctx context.Context, arg LicenseUsesForUpdateParams) (LicenseUsesForUpdateRow, error)

func (*Queries) LicenseeIsUser

func (q *Queries) LicenseeIsUser(ctx context.Context, arg LicenseeIsUserParams) (LicenseeIsUserRow, error)

func (*Queries) ListAutomationMessages

func (q *Queries) ListAutomationMessages(ctx context.Context, accountID *string) ([]ListAutomationMessagesRow, error)

func (*Queries) ListCatalogPolicyIds added in v0.0.18

func (q *Queries) ListCatalogPolicyIds(ctx context.Context, accountID uuid.UUID) ([]ListCatalogPolicyIdsRow, error)

func (*Queries) ListCatalogProductIds added in v0.0.18

func (q *Queries) ListCatalogProductIds(ctx context.Context, accountID uuid.UUID) ([]ListCatalogProductIdsRow, error)

func (*Queries) ListCatalogProductTokens added in v0.0.18

func (q *Queries) ListCatalogProductTokens(ctx context.Context, accountID uuid.UUID) ([]ListCatalogProductTokensRow, error)

func (*Queries) ListComponents added in v0.0.5

func (q *Queries) ListComponents(ctx context.Context, arg ListComponentsParams) ([]ListComponentsRow, error)

func (*Queries) ListEntitlementsAsc

func (q *Queries) ListEntitlementsAsc(ctx context.Context, arg ListEntitlementsAscParams) ([]ListEntitlementsAscRow, error)

func (*Queries) ListEntitlementsDesc

func (q *Queries) ListEntitlementsDesc(ctx context.Context, arg ListEntitlementsDescParams) ([]ListEntitlementsDescRow, error)

func (*Queries) ListGroupLicenses

func (q *Queries) ListGroupLicenses(ctx context.Context, arg ListGroupLicensesParams) ([]ListGroupLicensesRow, error)

func (*Queries) ListGroupMachines

func (q *Queries) ListGroupMachines(ctx context.Context, arg ListGroupMachinesParams) ([]ListGroupMachinesRow, error)

func (*Queries) ListGroupOwners

func (q *Queries) ListGroupOwners(ctx context.Context, arg ListGroupOwnersParams) ([]ListGroupOwnersRow, error)

func (*Queries) ListGroupUsers

func (q *Queries) ListGroupUsers(ctx context.Context, arg ListGroupUsersParams) ([]ListGroupUsersRow, error)

func (*Queries) ListGroups

func (q *Queries) ListGroups(ctx context.Context, arg ListGroupsParams) ([]ListGroupsRow, error)

func (*Queries) ListKeysAsc

func (q *Queries) ListKeysAsc(ctx context.Context, arg ListKeysAscParams) ([]ListKeysAscRow, error)

func (*Queries) ListKeysDesc

func (q *Queries) ListKeysDesc(ctx context.Context, arg ListKeysDescParams) ([]ListKeysDescRow, error)

func (*Queries) ListLicenseEntitlementRows

func (q *Queries) ListLicenseEntitlementRows(ctx context.Context, arg ListLicenseEntitlementRowsParams) ([]ListLicenseEntitlementRowsRow, error)

func (*Queries) ListLicenseEntitlementsOf

func (q *Queries) ListLicenseEntitlementsOf(ctx context.Context, arg ListLicenseEntitlementsOfParams) ([]ListLicenseEntitlementsOfRow, error)

func (*Queries) ListLicenseUserRows

func (q *Queries) ListLicenseUserRows(ctx context.Context, arg ListLicenseUserRowsParams) ([]ListLicenseUserRowsRow, error)

func (*Queries) ListLicenses

func (q *Queries) ListLicenses(ctx context.Context, arg ListLicensesParams) ([]ListLicensesRow, error)

func (*Queries) ListLicensesAsc

func (q *Queries) ListLicensesAsc(ctx context.Context, arg ListLicensesAscParams) ([]ListLicensesAscRow, error)

func (*Queries) ListMachines added in v0.0.5

func (q *Queries) ListMachines(ctx context.Context, arg ListMachinesParams) ([]ListMachinesRow, error)

func (*Queries) ListPoliciesAsc

func (q *Queries) ListPoliciesAsc(ctx context.Context, arg ListPoliciesAscParams) ([]ListPoliciesAscRow, error)

func (*Queries) ListPoliciesDesc

func (q *Queries) ListPoliciesDesc(ctx context.Context, arg ListPoliciesDescParams) ([]ListPoliciesDescRow, error)

func (*Queries) ListPoliciesForProductAsc

func (q *Queries) ListPoliciesForProductAsc(ctx context.Context, arg ListPoliciesForProductAscParams) ([]ListPoliciesForProductAscRow, error)

func (*Queries) ListPoliciesForProductDesc

func (q *Queries) ListPoliciesForProductDesc(ctx context.Context, arg ListPoliciesForProductDescParams) ([]ListPoliciesForProductDescRow, error)

func (*Queries) ListPolicyEntitlements

func (q *Queries) ListPolicyEntitlements(ctx context.Context, arg ListPolicyEntitlementsParams) ([]ListPolicyEntitlementsRow, error)

func (*Queries) ListPolicyPoolAsc

func (q *Queries) ListPolicyPoolAsc(ctx context.Context, arg ListPolicyPoolAscParams) ([]ListPolicyPoolAscRow, error)

func (*Queries) ListPolicyPoolDesc

func (q *Queries) ListPolicyPoolDesc(ctx context.Context, arg ListPolicyPoolDescParams) ([]ListPolicyPoolDescRow, error)

func (*Queries) ListProcesses added in v0.0.5

func (q *Queries) ListProcesses(ctx context.Context, arg ListProcessesParams) ([]ListProcessesRow, error)

func (*Queries) ListProductTokensAsc

func (q *Queries) ListProductTokensAsc(ctx context.Context, arg ListProductTokensAscParams) ([]ListProductTokensAscRow, error)

func (*Queries) ListProductTokensDesc

func (q *Queries) ListProductTokensDesc(ctx context.Context, arg ListProductTokensDescParams) ([]ListProductTokensDescRow, error)

func (*Queries) ListProductUsersAsc

func (q *Queries) ListProductUsersAsc(ctx context.Context, arg ListProductUsersAscParams) ([]ListProductUsersAscRow, error)

func (*Queries) ListProductUsersDesc

func (q *Queries) ListProductUsersDesc(ctx context.Context, arg ListProductUsersDescParams) ([]ListProductUsersDescRow, error)

func (*Queries) ListProductsAsc

func (q *Queries) ListProductsAsc(ctx context.Context, arg ListProductsAscParams) ([]ListProductsAscRow, error)

func (*Queries) ListProductsDesc

func (q *Queries) ListProductsDesc(ctx context.Context, arg ListProductsDescParams) ([]ListProductsDescRow, error)

func (*Queries) ListProductsForLicenseAsc

func (q *Queries) ListProductsForLicenseAsc(ctx context.Context, arg ListProductsForLicenseAscParams) ([]ListProductsForLicenseAscRow, error)

func (*Queries) ListProductsForLicenseDesc

func (q *Queries) ListProductsForLicenseDesc(ctx context.Context, arg ListProductsForLicenseDescParams) ([]ListProductsForLicenseDescRow, error)

func (*Queries) ListProductsForProductAsc

func (q *Queries) ListProductsForProductAsc(ctx context.Context, arg ListProductsForProductAscParams) ([]ListProductsForProductAscRow, error)

func (*Queries) ListProductsForProductDesc

func (q *Queries) ListProductsForProductDesc(ctx context.Context, arg ListProductsForProductDescParams) ([]ListProductsForProductDescRow, error)

func (*Queries) ListProductsForUserAsc

func (q *Queries) ListProductsForUserAsc(ctx context.Context, arg ListProductsForUserAscParams) ([]ListProductsForUserAscRow, error)

func (*Queries) ListProductsForUserDesc

func (q *Queries) ListProductsForUserDesc(ctx context.Context, arg ListProductsForUserDescParams) ([]ListProductsForUserDescRow, error)

func (*Queries) ListSecondFactors

func (q *Queries) ListSecondFactors(ctx context.Context, arg ListSecondFactorsParams) ([]ListSecondFactorsRow, error)

func (*Queries) ListTokens

func (q *Queries) ListTokens(ctx context.Context, arg ListTokensParams) ([]ListTokensRow, error)

func (*Queries) ListUsers

func (q *Queries) ListUsers(ctx context.Context, arg ListUsersParams) ([]ListUsersRow, error)

func (*Queries) ListWebhookEndpoints

func (q *Queries) ListWebhookEndpoints(ctx context.Context, arg ListWebhookEndpointsParams) ([]ListWebhookEndpointsRow, error)

func (*Queries) ListWebhookEvents

func (q *Queries) ListWebhookEvents(ctx context.Context, arg ListWebhookEventsParams) ([]ListWebhookEventsRow, error)

func (*Queries) LockAutomationActivity

func (q *Queries) LockAutomationActivity(ctx context.Context, arg LockAutomationActivityParams) error

func (*Queries) LockCatalog added in v0.0.18

func (q *Queries) LockCatalog(ctx context.Context, accountID string) error

func (*Queries) LockLicense added in v0.0.5

func (q *Queries) LockLicense(ctx context.Context, arg LockLicenseParams) error

func (*Queries) MachineExists added in v0.0.5

func (q *Queries) MachineExists(ctx context.Context, arg MachineExistsParams) (MachineExistsRow, error)

func (*Queries) MachineTotals added in v0.0.5

func (q *Queries) MachineTotals(ctx context.Context, arg MachineTotalsParams) (MachineTotalsRow, error)

func (*Queries) MakeWebhookDeliveryDue

func (q *Queries) MakeWebhookDeliveryDue(ctx context.Context, id uuid.UUID) error

func (*Queries) OwnedGroupIdsForUser

func (q *Queries) OwnedGroupIdsForUser(ctx context.Context, arg OwnedGroupIdsForUserParams) ([]OwnedGroupIdsForUserRow, error)

func (*Queries) PopPolicyKey

func (q *Queries) PopPolicyKey(ctx context.Context, arg PopPolicyKeyParams) (PopPolicyKeyRow, error)

func (*Queries) ProcessCount added in v0.0.5

func (q *Queries) ProcessCount(ctx context.Context, arg ProcessCountParams) (ProcessCountRow, error)

func (*Queries) ProcessExists added in v0.0.5

func (q *Queries) ProcessExists(ctx context.Context, id uuid.UUID) (ProcessExistsRow, error)

func (*Queries) ProcessPidTaken added in v0.0.5

func (q *Queries) ProcessPidTaken(ctx context.Context, arg ProcessPidTakenParams) (ProcessPidTakenRow, error)

func (*Queries) PruneTokensExpiredBefore

func (q *Queries) PruneTokensExpiredBefore(ctx context.Context, cutoff *time.Time) (int64, error)

func (*Queries) PruneWebhookEventsBefore

func (q *Queries) PruneWebhookEventsBefore(ctx context.Context, arg PruneWebhookEventsBeforeParams) (int64, error)

func (*Queries) RefreshLicenseMachineCounters added in v0.0.5

func (q *Queries) RefreshLicenseMachineCounters(ctx context.Context, arg RefreshLicenseMachineCountersParams) error

func (*Queries) RegenerateToken

func (q *Queries) RegenerateToken(ctx context.Context, arg RegenerateTokenParams) error

func (*Queries) SaveAutomationActivityResult

func (q *Queries) SaveAutomationActivityResult(ctx context.Context, arg SaveAutomationActivityResultParams) error

func (*Queries) SearchEntitlementsByCode

func (q *Queries) SearchEntitlementsByCode(ctx context.Context, arg SearchEntitlementsByCodeParams) ([]SearchEntitlementsByCodeRow, error)

func (*Queries) SearchEntitlementsByID

func (q *Queries) SearchEntitlementsByID(ctx context.Context, arg SearchEntitlementsByIDParams) ([]SearchEntitlementsByIDRow, error)

func (*Queries) SearchEntitlementsByName

func (q *Queries) SearchEntitlementsByName(ctx context.Context, arg SearchEntitlementsByNameParams) ([]SearchEntitlementsByNameRow, error)

func (*Queries) SearchGroupsByName

func (q *Queries) SearchGroupsByName(ctx context.Context, arg SearchGroupsByNameParams) ([]SearchGroupsByNameRow, error)

func (*Queries) SearchLicensesByID

func (q *Queries) SearchLicensesByID(ctx context.Context, arg SearchLicensesByIDParams) ([]SearchLicensesByIDRow, error)

func (*Queries) SearchLicensesByKey

func (q *Queries) SearchLicensesByKey(ctx context.Context, arg SearchLicensesByKeyParams) ([]SearchLicensesByKeyRow, error)

func (*Queries) SearchLicensesByMetadata

func (q *Queries) SearchLicensesByMetadata(ctx context.Context, arg SearchLicensesByMetadataParams) ([]SearchLicensesByMetadataRow, error)

func (*Queries) SearchLicensesByName

func (q *Queries) SearchLicensesByName(ctx context.Context, arg SearchLicensesByNameParams) ([]SearchLicensesByNameRow, error)

func (*Queries) SearchLicensesByOwner

func (q *Queries) SearchLicensesByOwner(ctx context.Context, arg SearchLicensesByOwnerParams) ([]SearchLicensesByOwnerRow, error)

func (*Queries) SearchLicensesByPolicy

func (q *Queries) SearchLicensesByPolicy(ctx context.Context, arg SearchLicensesByPolicyParams) ([]SearchLicensesByPolicyRow, error)

func (*Queries) SearchLicensesByProduct

func (q *Queries) SearchLicensesByProduct(ctx context.Context, arg SearchLicensesByProductParams) ([]SearchLicensesByProductRow, error)

func (*Queries) SearchLicensesByUser

func (q *Queries) SearchLicensesByUser(ctx context.Context, arg SearchLicensesByUserParams) ([]SearchLicensesByUserRow, error)

func (*Queries) SearchMachinesByFingerprint added in v0.0.5

func (q *Queries) SearchMachinesByFingerprint(ctx context.Context, arg SearchMachinesByFingerprintParams) ([]SearchMachinesByFingerprintRow, error)

func (*Queries) SearchMachinesByID added in v0.0.5

func (q *Queries) SearchMachinesByID(ctx context.Context, arg SearchMachinesByIDParams) ([]SearchMachinesByIDRow, error)

func (*Queries) SearchMachinesByLicense added in v0.0.5

func (q *Queries) SearchMachinesByLicense(ctx context.Context, arg SearchMachinesByLicenseParams) ([]SearchMachinesByLicenseRow, error)

func (*Queries) SearchMachinesByMetadata added in v0.0.5

func (q *Queries) SearchMachinesByMetadata(ctx context.Context, arg SearchMachinesByMetadataParams) ([]SearchMachinesByMetadataRow, error)

func (*Queries) SearchMachinesByName added in v0.0.5

func (q *Queries) SearchMachinesByName(ctx context.Context, arg SearchMachinesByNameParams) ([]SearchMachinesByNameRow, error)

func (*Queries) SearchMachinesByOwner added in v0.0.5

func (q *Queries) SearchMachinesByOwner(ctx context.Context, arg SearchMachinesByOwnerParams) ([]SearchMachinesByOwnerRow, error)

func (*Queries) SearchMachinesByPolicy added in v0.0.5

func (q *Queries) SearchMachinesByPolicy(ctx context.Context, arg SearchMachinesByPolicyParams) ([]SearchMachinesByPolicyRow, error)

func (*Queries) SearchMachinesByProduct added in v0.0.5

func (q *Queries) SearchMachinesByProduct(ctx context.Context, arg SearchMachinesByProductParams) ([]SearchMachinesByProductRow, error)

func (*Queries) SearchMachinesByUser added in v0.0.5

func (q *Queries) SearchMachinesByUser(ctx context.Context, arg SearchMachinesByUserParams) ([]SearchMachinesByUserRow, error)

func (*Queries) SearchPoliciesByID

func (q *Queries) SearchPoliciesByID(ctx context.Context, arg SearchPoliciesByIDParams) ([]SearchPoliciesByIDRow, error)

func (*Queries) SearchPoliciesByMetadata

func (q *Queries) SearchPoliciesByMetadata(ctx context.Context, arg SearchPoliciesByMetadataParams) ([]SearchPoliciesByMetadataRow, error)

func (*Queries) SearchPoliciesByName

func (q *Queries) SearchPoliciesByName(ctx context.Context, arg SearchPoliciesByNameParams) ([]SearchPoliciesByNameRow, error)

func (*Queries) SearchPoliciesByProduct

func (q *Queries) SearchPoliciesByProduct(ctx context.Context, arg SearchPoliciesByProductParams) ([]SearchPoliciesByProductRow, error)

func (*Queries) SearchProductsByID

func (q *Queries) SearchProductsByID(ctx context.Context, arg SearchProductsByIDParams) ([]SearchProductsByIDRow, error)

func (*Queries) SearchProductsByMetadata

func (q *Queries) SearchProductsByMetadata(ctx context.Context, arg SearchProductsByMetadataParams) ([]SearchProductsByMetadataRow, error)

func (*Queries) SearchProductsByName

func (q *Queries) SearchProductsByName(ctx context.Context, arg SearchProductsByNameParams) ([]SearchProductsByNameRow, error)

func (*Queries) SearchUsersByEmail

func (q *Queries) SearchUsersByEmail(ctx context.Context, arg SearchUsersByEmailParams) ([]SearchUsersByEmailRow, error)

func (*Queries) SearchUsersByFirstName

func (q *Queries) SearchUsersByFirstName(ctx context.Context, arg SearchUsersByFirstNameParams) ([]SearchUsersByFirstNameRow, error)

func (*Queries) SearchUsersByID

func (q *Queries) SearchUsersByID(ctx context.Context, arg SearchUsersByIDParams) ([]SearchUsersByIDRow, error)

func (*Queries) SearchUsersByLastName

func (q *Queries) SearchUsersByLastName(ctx context.Context, arg SearchUsersByLastNameParams) ([]SearchUsersByLastNameRow, error)

func (*Queries) SearchUsersByMetadata

func (q *Queries) SearchUsersByMetadata(ctx context.Context, arg SearchUsersByMetadataParams) ([]SearchUsersByMetadataRow, error)

func (*Queries) SearchUsersByRole

func (q *Queries) SearchUsersByRole(ctx context.Context, arg SearchUsersByRoleParams) ([]SearchUsersByRoleRow, error)

func (*Queries) SetDeclaredToken added in v0.0.18

func (q *Queries) SetDeclaredToken(ctx context.Context, arg SetDeclaredTokenParams) error

func (*Queries) SetLicenseExpiry

func (q *Queries) SetLicenseExpiry(ctx context.Context, arg SetLicenseExpiryParams) error

func (*Queries) SetLicenseGroup

func (q *Queries) SetLicenseGroup(ctx context.Context, arg SetLicenseGroupParams) error

func (*Queries) SetLicenseLastCheckIn

func (q *Queries) SetLicenseLastCheckIn(ctx context.Context, arg SetLicenseLastCheckInParams) error

func (*Queries) SetLicenseLastCheckOut

func (q *Queries) SetLicenseLastCheckOut(ctx context.Context, arg SetLicenseLastCheckOutParams) error

func (*Queries) SetLicenseOwner

func (q *Queries) SetLicenseOwner(ctx context.Context, arg SetLicenseOwnerParams) error

func (*Queries) SetLicenseSuspended

func (q *Queries) SetLicenseSuspended(ctx context.Context, arg SetLicenseSuspendedParams) error

func (*Queries) SetLicenseUsersCount

func (q *Queries) SetLicenseUsersCount(ctx context.Context, arg SetLicenseUsersCountParams) error

func (*Queries) SetLicenseUses

func (q *Queries) SetLicenseUses(ctx context.Context, arg SetLicenseUsesParams) error

func (*Queries) SetMachineUsageAck added in v0.0.14

func (q *Queries) SetMachineUsageAck(ctx context.Context, arg SetMachineUsageAckParams) error

func (*Queries) SetTokenActivationCounters added in v0.0.5

func (q *Queries) SetTokenActivationCounters(ctx context.Context, arg SetTokenActivationCountersParams) error

func (*Queries) SetUserBannedAt

func (q *Queries) SetUserBannedAt(ctx context.Context, arg SetUserBannedAtParams) error

func (*Queries) SetUserPasswordReset

func (q *Queries) SetUserPasswordReset(ctx context.Context, arg SetUserPasswordResetParams) error

func (*Queries) SetWebhookEventDelivered

func (q *Queries) SetWebhookEventDelivered(ctx context.Context, arg SetWebhookEventDeliveredParams) error

func (*Queries) SetWebhookEventExhausted

func (q *Queries) SetWebhookEventExhausted(ctx context.Context, arg SetWebhookEventExhaustedParams) error

func (*Queries) SetWebhookEventFailure

func (q *Queries) SetWebhookEventFailure(ctx context.Context, arg SetWebhookEventFailureParams) error

func (*Queries) StampLicenseNotification

func (q *Queries) StampLicenseNotification(ctx context.Context, arg StampLicenseNotificationParams) error

func (*Queries) TokenForUpdateNowait added in v0.0.5

func (q *Queries) TokenForUpdateNowait(ctx context.Context, arg TokenForUpdateNowaitParams) (TokenForUpdateNowaitRow, error)

func (*Queries) TokenForUpdateSkipLocked added in v0.0.5

func (*Queries) TouchLicenseValidated

func (q *Queries) TouchLicenseValidated(ctx context.Context, arg TouchLicenseValidatedParams) error

func (*Queries) TransferLicense

func (q *Queries) TransferLicense(ctx context.Context, arg TransferLicenseParams) error

func (*Queries) TryJobsAdvisoryLock

func (q *Queries) TryJobsAdvisoryLock(ctx context.Context) (TryJobsAdvisoryLockRow, error)

func (*Queries) UpdateEntitlement

func (q *Queries) UpdateEntitlement(ctx context.Context, arg UpdateEntitlementParams) error

func (*Queries) UpdateGroupColumns

func (q *Queries) UpdateGroupColumns(ctx context.Context, arg UpdateGroupColumnsParams) error

func (*Queries) UpdateKey

func (q *Queries) UpdateKey(ctx context.Context, arg UpdateKeyParams) error

func (*Queries) UpdateLicense

func (q *Queries) UpdateLicense(ctx context.Context, arg UpdateLicenseParams) error

func (*Queries) UpdateMachine added in v0.0.5

func (q *Queries) UpdateMachine(ctx context.Context, arg UpdateMachineParams) error

func (*Queries) UpdateMachineComponent added in v0.0.5

func (q *Queries) UpdateMachineComponent(ctx context.Context, arg UpdateMachineComponentParams) error

func (*Queries) UpdateMachineProcess added in v0.0.5

func (q *Queries) UpdateMachineProcess(ctx context.Context, arg UpdateMachineProcessParams) error

func (*Queries) UpdatePolicy

func (q *Queries) UpdatePolicy(ctx context.Context, arg UpdatePolicyParams) error

func (*Queries) UpdateProduct

func (q *Queries) UpdateProduct(ctx context.Context, arg UpdateProductParams) error

func (*Queries) UpdateSecondFactor

func (q *Queries) UpdateSecondFactor(ctx context.Context, arg UpdateSecondFactorParams) error

func (*Queries) UpdateUserColumns

func (q *Queries) UpdateUserColumns(ctx context.Context, arg UpdateUserColumnsParams) error

func (*Queries) UpdateUserPassword

func (q *Queries) UpdateUserPassword(ctx context.Context, arg UpdateUserPasswordParams) error

func (*Queries) UpdateWebhookEndpoint

func (q *Queries) UpdateWebhookEndpoint(ctx context.Context, arg UpdateWebhookEndpointParams) error

func (*Queries) UpsertUsageHead added in v0.0.5

func (q *Queries) UpsertUsageHead(ctx context.Context, arg UpsertUsageHeadParams) error

func (*Queries) UsageAcks added in v0.0.5

func (q *Queries) UsageAcks(ctx context.Context, arg UsageAcksParams) ([]UsageAcksRow, error)

func (*Queries) UsageEvents added in v0.0.5

func (q *Queries) UsageEvents(ctx context.Context, arg UsageEventsParams) ([]UsageEventsRow, error)

func (*Queries) UsageHead added in v0.0.5

func (q *Queries) UsageHead(ctx context.Context, machineID uuid.UUID) ([]UsageHeadRow, error)

func (*Queries) UsageHeadForUpdate added in v0.0.5

func (q *Queries) UsageHeadForUpdate(ctx context.Context, machineID uuid.UUID) ([]UsageHeadForUpdateRow, error)

func (*Queries) UserEntitlementIds

func (q *Queries) UserEntitlementIds(ctx context.Context, arg UserEntitlementIdsParams) ([]UserEntitlementIdsRow, error)

func (*Queries) UserHasActiveLicense

func (q *Queries) UserHasActiveLicense(ctx context.Context, arg UserHasActiveLicenseParams) (UserHasActiveLicenseRow, error)

func (*Queries) UserIsTeammate

func (q *Queries) UserIsTeammate(ctx context.Context, arg UserIsTeammateParams) (UserIsTeammateRow, error)

func (*Queries) UserLicenseIds

func (q *Queries) UserLicenseIds(ctx context.Context, arg UserLicenseIdsParams) ([]UserLicenseIdsRow, error)

func (*Queries) UserLicensedToProduct

func (q *Queries) UserLicensedToProduct(ctx context.Context, arg UserLicensedToProductParams) (UserLicensedToProductRow, error)

func (*Queries) UserMachineIds

func (q *Queries) UserMachineIds(ctx context.Context, arg UserMachineIdsParams) ([]UserMachineIdsRow, error)

func (*Queries) UserOfLicense

func (q *Queries) UserOfLicense(ctx context.Context, arg UserOfLicenseParams) (UserOfLicenseRow, error)

func (*Queries) UserPolicyIds

func (q *Queries) UserPolicyIds(ctx context.Context, arg UserPolicyIdsParams) ([]UserPolicyIdsRow, error)

func (*Queries) UserProductIds

func (q *Queries) UserProductIds(ctx context.Context, arg UserProductIdsParams) ([]UserProductIdsRow, error)

func (*Queries) WithTx

func (q *Queries) WithTx(tx pgx.Tx) *Queries

type RefreshLicenseMachineCountersParams added in v0.0.5

type RefreshLicenseMachineCountersParams struct {
	UpdatedAt time.Time
	LicenseID uuid.UUID
	AccountID uuid.UUID
}

type RegenerateTokenParams

type RegenerateTokenParams struct {
	Digest    string
	Expiry    *time.Time
	AccountID uuid.UUID
	ID        uuid.UUID
}

type SaveAutomationActivityResultParams

type SaveAutomationActivityResultParams struct {
	AccountID    uuid.UUID
	ExecutionKey string
	RequestHash  string
	Result       json.RawMessage
}

type SearchEntitlementsByCodeParams

type SearchEntitlementsByCodeParams struct {
	AccountID uuid.UUID
	Like      string
}

type SearchEntitlementsByCodeRow

type SearchEntitlementsByCodeRow struct {
	ID uuid.UUID
}

type SearchEntitlementsByIDParams

type SearchEntitlementsByIDParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Like      string
}

type SearchEntitlementsByIDRow

type SearchEntitlementsByIDRow struct {
	ID uuid.UUID
}

type SearchEntitlementsByNameParams

type SearchEntitlementsByNameParams struct {
	AccountID uuid.UUID
	Like      string
}

type SearchEntitlementsByNameRow

type SearchEntitlementsByNameRow struct {
	ID uuid.UUID
}

type SearchGroupsByNameParams

type SearchGroupsByNameParams struct {
	AccountID uuid.UUID
	Like      *string
}

type SearchGroupsByNameRow

type SearchGroupsByNameRow struct {
	ID uuid.UUID
}

type SearchLicensesByIDParams

type SearchLicensesByIDParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Like      string
}

type SearchLicensesByIDRow

type SearchLicensesByIDRow struct {
	ID uuid.UUID
}

type SearchLicensesByKeyParams

type SearchLicensesByKeyParams struct {
	AccountID uuid.UUID
	Term      string
}

type SearchLicensesByKeyRow

type SearchLicensesByKeyRow struct {
	ID uuid.UUID
}

type SearchLicensesByMetadataParams

type SearchLicensesByMetadataParams struct {
	AccountID uuid.UUID
	Raw       json.RawMessage
	Cast      json.RawMessage
}

type SearchLicensesByMetadataRow

type SearchLicensesByMetadataRow struct {
	ID uuid.UUID
}

type SearchLicensesByNameParams

type SearchLicensesByNameParams struct {
	AccountID uuid.UUID
	Like      *string
}

type SearchLicensesByNameRow

type SearchLicensesByNameRow struct {
	ID uuid.UUID
}

type SearchLicensesByOwnerParams

type SearchLicensesByOwnerParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Term      *string
	Like      *string
	Prefix    bool
	Tsv       string
}

type SearchLicensesByOwnerRow

type SearchLicensesByOwnerRow struct {
	ID uuid.UUID
}

type SearchLicensesByPolicyParams

type SearchLicensesByPolicyParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Like      string
	Prefix    bool
	Tsv       string
}

type SearchLicensesByPolicyRow

type SearchLicensesByPolicyRow struct {
	ID uuid.UUID
}

type SearchLicensesByProductParams

type SearchLicensesByProductParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Like      *string
	Prefix    bool
	Tsv       string
}

type SearchLicensesByProductRow

type SearchLicensesByProductRow struct {
	ID uuid.UUID
}

type SearchLicensesByUserParams

type SearchLicensesByUserParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Term      *string
	Like      *string
	Prefix    bool
	Tsv       string
}

type SearchLicensesByUserRow

type SearchLicensesByUserRow struct {
	ID uuid.UUID
}

type SearchMachinesByFingerprintParams added in v0.0.5

type SearchMachinesByFingerprintParams struct {
	AccountID uuid.UUID
	Like      string
}

type SearchMachinesByFingerprintRow added in v0.0.5

type SearchMachinesByFingerprintRow struct {
	ID uuid.UUID
}

type SearchMachinesByIDParams added in v0.0.5

type SearchMachinesByIDParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Like      string
}

type SearchMachinesByIDRow added in v0.0.5

type SearchMachinesByIDRow struct {
	ID uuid.UUID
}

type SearchMachinesByLicenseParams added in v0.0.5

type SearchMachinesByLicenseParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Term      string
	Like      string
	Prefix    bool
	Tsv       string
}

type SearchMachinesByLicenseRow added in v0.0.5

type SearchMachinesByLicenseRow struct {
	ID uuid.UUID
}

type SearchMachinesByMetadataParams added in v0.0.5

type SearchMachinesByMetadataParams struct {
	AccountID uuid.UUID
	Raw       json.RawMessage
	Cast      json.RawMessage
}

type SearchMachinesByMetadataRow added in v0.0.5

type SearchMachinesByMetadataRow struct {
	ID uuid.UUID
}

type SearchMachinesByNameParams added in v0.0.5

type SearchMachinesByNameParams struct {
	AccountID uuid.UUID
	Like      *string
}

type SearchMachinesByNameRow added in v0.0.5

type SearchMachinesByNameRow struct {
	ID uuid.UUID
}

type SearchMachinesByOwnerParams added in v0.0.5

type SearchMachinesByOwnerParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Term      *string
	Like      *string
	Prefix    bool
	Tsv       string
}

type SearchMachinesByOwnerRow added in v0.0.5

type SearchMachinesByOwnerRow struct {
	ID uuid.UUID
}

type SearchMachinesByPolicyParams added in v0.0.5

type SearchMachinesByPolicyParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Like      string
	Prefix    bool
	Tsv       string
}

type SearchMachinesByPolicyRow added in v0.0.5

type SearchMachinesByPolicyRow struct {
	ID uuid.UUID
}

type SearchMachinesByProductParams added in v0.0.5

type SearchMachinesByProductParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Like      *string
	Prefix    bool
	Tsv       string
}

type SearchMachinesByProductRow added in v0.0.5

type SearchMachinesByProductRow struct {
	ID uuid.UUID
}

type SearchMachinesByUserParams added in v0.0.5

type SearchMachinesByUserParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Term      *string
	Like      *string
	Prefix    bool
	Tsv       string
}

type SearchMachinesByUserRow added in v0.0.5

type SearchMachinesByUserRow struct {
	ID uuid.UUID
}

type SearchPoliciesByIDParams

type SearchPoliciesByIDParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Like      string
}

type SearchPoliciesByIDRow

type SearchPoliciesByIDRow struct {
	ID uuid.UUID
}

type SearchPoliciesByMetadataParams

type SearchPoliciesByMetadataParams struct {
	AccountID uuid.UUID
	Raw       json.RawMessage
	Cast      json.RawMessage
}

type SearchPoliciesByMetadataRow

type SearchPoliciesByMetadataRow struct {
	ID uuid.UUID
}

type SearchPoliciesByNameParams

type SearchPoliciesByNameParams struct {
	AccountID uuid.UUID
	Like      string
}

type SearchPoliciesByNameRow

type SearchPoliciesByNameRow struct {
	ID uuid.UUID
}

type SearchPoliciesByProductParams

type SearchPoliciesByProductParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Like      *string
	Prefix    bool
	Tsv       string
}

type SearchPoliciesByProductRow

type SearchPoliciesByProductRow struct {
	ID uuid.UUID
}

type SearchProductsByIDParams

type SearchProductsByIDParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Like      string
}

type SearchProductsByIDRow

type SearchProductsByIDRow struct {
	ID uuid.UUID
}

type SearchProductsByMetadataParams

type SearchProductsByMetadataParams struct {
	AccountID uuid.UUID
	Raw       json.RawMessage
	Cast      json.RawMessage
}

type SearchProductsByMetadataRow

type SearchProductsByMetadataRow struct {
	ID uuid.UUID
}

type SearchProductsByNameParams

type SearchProductsByNameParams struct {
	AccountID uuid.UUID
	Like      *string
}

type SearchProductsByNameRow

type SearchProductsByNameRow struct {
	ID uuid.UUID
}

type SearchUsersByEmailParams

type SearchUsersByEmailParams struct {
	AccountID uuid.UUID
	Like      *string
}

type SearchUsersByEmailRow

type SearchUsersByEmailRow struct {
	ID uuid.UUID
}

type SearchUsersByFirstNameParams

type SearchUsersByFirstNameParams struct {
	AccountID uuid.UUID
	Like      *string
}

type SearchUsersByFirstNameRow

type SearchUsersByFirstNameRow struct {
	ID uuid.UUID
}

type SearchUsersByIDParams

type SearchUsersByIDParams struct {
	AccountID uuid.UUID
	ID        *uuid.UUID
	Like      string
}

type SearchUsersByIDRow

type SearchUsersByIDRow struct {
	ID uuid.UUID
}

type SearchUsersByLastNameParams

type SearchUsersByLastNameParams struct {
	AccountID uuid.UUID
	Like      *string
}

type SearchUsersByLastNameRow

type SearchUsersByLastNameRow struct {
	ID uuid.UUID
}

type SearchUsersByMetadataParams

type SearchUsersByMetadataParams struct {
	AccountID uuid.UUID
	Raw       json.RawMessage
	Cast      json.RawMessage
}

type SearchUsersByMetadataRow

type SearchUsersByMetadataRow struct {
	ID uuid.UUID
}

type SearchUsersByRoleParams

type SearchUsersByRoleParams struct {
	AccountID uuid.UUID
	Like      string
}

type SearchUsersByRoleRow

type SearchUsersByRoleRow struct {
	ID uuid.UUID
}

type SetDeclaredTokenParams added in v0.0.18

type SetDeclaredTokenParams struct {
	Digest      string
	Permissions json.RawMessage
	AccountID   uuid.UUID
	ID          uuid.UUID
}

type SetLicenseExpiryParams

type SetLicenseExpiryParams struct {
	Expiry    *time.Time
	UpdatedAt time.Time
	AccountID uuid.UUID
	ID        uuid.UUID
}

type SetLicenseGroupParams

type SetLicenseGroupParams struct {
	GroupID   *uuid.UUID
	UpdatedAt time.Time
	AccountID uuid.UUID
	ID        uuid.UUID
}

type SetLicenseLastCheckInParams

type SetLicenseLastCheckInParams struct {
	LastCheckInAt *time.Time
	UpdatedAt     time.Time
	AccountID     uuid.UUID
	ID            uuid.UUID
}

type SetLicenseLastCheckOutParams

type SetLicenseLastCheckOutParams struct {
	LastCheckOutAt *time.Time
	UpdatedAt      time.Time
	AccountID      uuid.UUID
	ID             uuid.UUID
}

type SetLicenseOwnerParams

type SetLicenseOwnerParams struct {
	UserID    *uuid.UUID
	GroupID   *uuid.UUID
	UpdatedAt time.Time
	AccountID uuid.UUID
	ID        uuid.UUID
}

type SetLicenseSuspendedParams

type SetLicenseSuspendedParams struct {
	Suspended bool
	UpdatedAt time.Time
	AccountID uuid.UUID
	ID        uuid.UUID
}

type SetLicenseUsersCountParams

type SetLicenseUsersCountParams struct {
	Count     int32
	AccountID uuid.UUID
	ID        uuid.UUID
}

type SetLicenseUsesParams

type SetLicenseUsesParams struct {
	Uses      int32
	UpdatedAt time.Time
	AccountID uuid.UUID
	ID        uuid.UUID
}

type SetMachineUsageAckParams added in v0.0.14

type SetMachineUsageAckParams struct {
	Ack       json.RawMessage
	UpdatedAt time.Time
	MachineID uuid.UUID
}

type SetTokenActivationCountersParams added in v0.0.5

type SetTokenActivationCountersParams struct {
	Activations   int32
	Deactivations int32
	UpdatedAt     time.Time
	AccountID     uuid.UUID
	ID            uuid.UUID
}

type SetUserBannedAtParams

type SetUserBannedAtParams struct {
	BannedAt  *time.Time
	AccountID uuid.UUID
	ID        uuid.UUID
}

type SetUserPasswordResetParams

type SetUserPasswordResetParams struct {
	PasswordResetToken  *string
	PasswordResetSentAt *time.Time
	AccountID           uuid.UUID
	ID                  uuid.UUID
}

type SetWebhookEventDeliveredParams

type SetWebhookEventDeliveredParams struct {
	LastResponseCode *int32
	LastResponseBody *string
	AccountID        uuid.UUID
	ID               uuid.UUID
}

type SetWebhookEventExhaustedParams

type SetWebhookEventExhaustedParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type SetWebhookEventFailureParams

type SetWebhookEventFailureParams struct {
	Status           string
	LastResponseCode *int32
	LastResponseBody *string
	AccountID        uuid.UUID
	ID               uuid.UUID
}

type StampLicenseNotificationParams

type StampLicenseNotificationParams struct {
	Event     string
	Now       time.Time
	AccountID uuid.UUID
	ID        uuid.UUID
}

type SumLicenseMachinesForOwnerParams

type SumLicenseMachinesForOwnerParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
	OwnerID   *uuid.UUID
}

type SumLicenseMachinesForOwnerRow

type SumLicenseMachinesForOwnerRow struct {
	Count  int64
	Cores  int32
	Memory int64
	Disk   int64
}

type TokenForUpdateNowaitParams added in v0.0.5

type TokenForUpdateNowaitParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type TokenForUpdateNowaitRow added in v0.0.5

type TokenForUpdateNowaitRow struct {
	ID               uuid.UUID
	MaxActivations   *int32
	Activations      int32
	MaxDeactivations *int32
	Deactivations    int32
}

type TokenForUpdateSkipLockedParams added in v0.0.5

type TokenForUpdateSkipLockedParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
}

type TokenForUpdateSkipLockedRow added in v0.0.5

type TokenForUpdateSkipLockedRow struct {
	ID               uuid.UUID
	MaxActivations   *int32
	Activations      int32
	MaxDeactivations *int32
	Deactivations    int32
}

type TouchLicenseValidatedParams

type TouchLicenseValidatedParams struct {
	LastValidatedAt       time.Time
	LastValidatedChecksum *string
	LastValidatedVersion  *string
	AccountID             uuid.UUID
	ID                    uuid.UUID
}

type TransferLicenseParams

type TransferLicenseParams struct {
	PolicyID  uuid.UUID
	ProductID uuid.UUID
	Expiry    *time.Time
	UpdatedAt time.Time
	AccountID uuid.UUID
	ID        uuid.UUID
}

type TryJobsAdvisoryLockRow

type TryJobsAdvisoryLockRow struct {
	Locked *bool
}

type UpdateEntitlementParams

type UpdateEntitlementParams struct {
	Name      string
	Code      string
	Metadata  json.RawMessage
	AccountID uuid.UUID
	ID        uuid.UUID
}

type UpdateGroupColumnsParams

type UpdateGroupColumnsParams struct {
	Name        *string
	MaxUsers    *int32
	MaxLicenses *int32
	MaxMachines *int32
	Metadata    json.RawMessage
	AccountID   uuid.UUID
	ID          uuid.UUID
}

type UpdateKeyParams

type UpdateKeyParams struct {
	Key       string
	AccountID uuid.UUID
	ID        uuid.UUID
}

type UpdateLicenseParams

type UpdateLicenseParams struct {
	Name                 *string
	Expiry               *time.Time
	Uses                 int32
	Suspended            bool
	Protected            *bool
	Metadata             json.RawMessage
	MaxMachinesOverride  *int32
	MaxProcessesOverride *int32
	MaxUsersOverride     *int32
	MaxCoresOverride     *int32
	MaxMemoryOverride    *int64
	MaxDiskOverride      *int64
	MaxUsesOverride      *int32
	UpdatedAt            time.Time
	AccountID            uuid.UUID
	ID                   uuid.UUID
}

type UpdateMachineComponentParams added in v0.0.5

type UpdateMachineComponentParams struct {
	Name      string
	Metadata  json.RawMessage
	UpdatedAt time.Time
	AccountID uuid.UUID
	ID        uuid.UUID
}

type UpdateMachineParams added in v0.0.5

type UpdateMachineParams struct {
	OwnerID              *uuid.UUID
	GroupID              *uuid.UUID
	Name                 *string
	IP                   *string
	Hostname             *string
	Platform             *string
	Cores                *int32
	Memory               *int64
	Disk                 *int64
	MaxProcessesOverride *int32
	Metadata             json.RawMessage
	LastHeartbeatAt      *time.Time
	LastCheckOutAt       *time.Time
	LastDeathEventSentAt *time.Time
	UpdatedAt            time.Time
	AccountID            uuid.UUID
	ID                   uuid.UUID
}

type UpdateMachineProcessParams added in v0.0.5

type UpdateMachineProcessParams struct {
	Metadata             json.RawMessage
	LastHeartbeatAt      time.Time
	LastDeathEventSentAt *time.Time
	UpdatedAt            time.Time
	AccountID            uuid.UUID
	ID                   uuid.UUID
}

type UpdatePolicyParams

type UpdatePolicyParams struct {
	Name                          string
	Duration                      *int32
	Strict                        bool
	Floating                      bool
	MaxMachines                   *int32
	MaxProcesses                  *int32
	MaxUsers                      *int32
	MaxCores                      *int32
	MaxMemory                     *int64
	MaxDisk                       *int64
	MaxUses                       *int32
	MachineUniquenessStrategy     *string
	MachineMatchingStrategy       *string
	ComponentUniquenessStrategy   *string
	ComponentMatchingStrategy     *string
	ExpirationStrategy            *string
	ExpirationBasis               *string
	RenewalBasis                  *string
	TransferStrategy              *string
	AuthenticationStrategy        *string
	MachineLeasingStrategy        *string
	ProcessLeasingStrategy        *string
	OverageStrategy               *string
	Protected                     *bool
	RequireProductScope           bool
	RequirePolicyScope            bool
	RequireMachineScope           bool
	RequireFingerprintScope       bool
	RequireComponentsScope        bool
	RequireUserScope              bool
	RequireChecksumScope          bool
	RequireVersionScope           bool
	RequireCheckIn                bool
	CheckInInterval               *string
	CheckInIntervalCount          *int32
	HeartbeatDuration             *int32
	HeartbeatCullStrategy         *string
	HeartbeatResurrectionStrategy *string
	HeartbeatBasis                *string
	RequireHeartbeat              bool
	Metadata                      json.RawMessage
	AccountID                     uuid.UUID
	ID                            uuid.UUID
}

type UpdateProductParams

type UpdateProductParams struct {
	Name                 *string
	Code                 *string
	DistributionStrategy *string
	URL                  *string
	Platforms            json.RawMessage
	Metadata             json.RawMessage
	AccountID            uuid.UUID
	ID                   uuid.UUID
}

type UpdateSecondFactorParams

type UpdateSecondFactorParams struct {
	Enabled        bool
	LastVerifiedAt *time.Time
	AccountID      uuid.UUID
	UserID         uuid.UUID
	ID             uuid.UUID
}

type UpdateUserColumnsParams

type UpdateUserColumnsParams struct {
	FirstNameSet   *bool
	FirstName      *string
	LastNameSet    *bool
	LastName       *string
	EmailSet       *bool
	Email          *string
	PasswordSet    *bool
	PasswordDigest *string
	RoleSet        *bool
	Role           string
	GroupSet       *bool
	GroupID        *uuid.UUID
	MetadataSet    *bool
	Metadata       json.RawMessage
	AccountID      uuid.UUID
	ID             uuid.UUID
}

type UpdateUserPasswordParams

type UpdateUserPasswordParams struct {
	PasswordDigest *string
	AccountID      uuid.UUID
	ID             uuid.UUID
}

type UpdateWebhookEndpointParams

type UpdateWebhookEndpointParams struct {
	URL                string
	Subscriptions      json.RawMessage
	SignatureAlgorithm string
	APIVersion         *string
	ProductID          *uuid.UUID
	AccountID          uuid.UUID
	ID                 uuid.UUID
}

type UpsertUsageHeadParams added in v0.0.5

type UpsertUsageHeadParams struct {
	MachineID uuid.UUID
	AccountID uuid.UUID
	Epoch     int64
	Seq       int64
	Hash      string
	UpdatedAt time.Time
}

type UsageAcksParams added in v0.0.5

type UsageAcksParams struct {
	MachineID uuid.UUID
	Epoch     int64
	After     int64
	Lim       int64
}

type UsageAcksRow added in v0.0.5

type UsageAcksRow struct {
	Epoch int64
	Seq   int64
	Hash  string
}

type UsageEventsParams added in v0.0.5

type UsageEventsParams struct {
	MachineID uuid.UUID
	Epoch     int64
	After     int64
	Lim       int64
}

type UsageEventsRow added in v0.0.5

type UsageEventsRow struct {
	Seq   int64
	Event []byte
	Hash  string
}

type UsageHeadForUpdateRow added in v0.0.5

type UsageHeadForUpdateRow struct {
	Epoch int64
	Seq   int64
	Hash  string
}

type UsageHeadRow added in v0.0.5

type UsageHeadRow struct {
	Epoch int64
	Seq   int64
	Hash  string
}

type UserEntitlementIdsParams

type UserEntitlementIdsParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
}

type UserEntitlementIdsRow

type UserEntitlementIdsRow struct {
	EntitlementID uuid.UUID
}

type UserHasActiveLicenseParams

type UserHasActiveLicenseParams struct {
	AccountID uuid.UUID
	ID        uuid.UUID
	Cutoff    *time.Time
}

type UserHasActiveLicenseRow

type UserHasActiveLicenseRow struct {
	Active bool
}

type UserIsTeammateParams

type UserIsTeammateParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
	OtherID   uuid.UUID
}

type UserIsTeammateRow

type UserIsTeammateRow struct {
	Teammate bool
}

type UserLicenseIdsParams

type UserLicenseIdsParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
}

type UserLicenseIdsRow

type UserLicenseIdsRow struct {
	ID uuid.UUID
}

type UserLicensedToProductParams

type UserLicensedToProductParams struct {
	AccountID uuid.UUID
	ProductID uuid.UUID
	UserID    uuid.UUID
}

type UserLicensedToProductRow

type UserLicensedToProductRow struct {
	Licensed bool
}

type UserMachineIdsParams

type UserMachineIdsParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
}

type UserMachineIdsRow

type UserMachineIdsRow struct {
	ID uuid.UUID
}

type UserOfLicenseParams

type UserOfLicenseParams struct {
	AccountID uuid.UUID
	LicenseID uuid.UUID
	UserID    uuid.UUID
}

type UserOfLicenseRow

type UserOfLicenseRow struct {
	Member bool
}

type UserPolicyIdsParams

type UserPolicyIdsParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
}

type UserPolicyIdsRow

type UserPolicyIdsRow struct {
	ID uuid.UUID
}

type UserProductIdsParams

type UserProductIdsParams struct {
	AccountID uuid.UUID
	UserID    uuid.UUID
}

type UserProductIdsRow

type UserProductIdsRow struct {
	ID uuid.UUID
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL