graphapi

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Overview

Package graphapi is the graph api package

Index

Constants

View Source
const (
	ActionGet    = "get"
	ActionUpdate = "update"
	ActionDelete = "delete"
	ActionCreate = "create"
)

Variables

View Source
var (
	// ErrInternalServerError is returned when an internal error occurs.
	ErrInternalServerError = errors.New("internal server error")

	// ErrPermissionDenied is returned when the user is not authorized to perform the requested query or mutation
	ErrPermissionDenied = errors.New("you are not authorized to perform this action")

	// ErrCascadeDelete is returned when an error occurs while performing cascade deletes on associated objects
	ErrCascadeDelete = errors.New("error deleting associated objects")

	// ErrSubscriberNotFound is returned when a subscriber is not found
	ErrSubscriberNotFound = errors.New("subscriber not found")
)

Functions

func CreateEvent added in v0.4.2

func CreateEvent(ctx context.Context, c *ent.Client, m ent.Mutation, v ent.Value)

CreateEvent creates an event for the mutation with the properties

func NewExecutableSchema

func NewExecutableSchema(cfg Config) graphql.ExecutableSchema

NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.

func TrackedEvent added in v0.4.2

func TrackedEvent(m ent.Mutation) bool

trackedEvent returns true if the mutation should be a tracked event for now, lets just track high level create and delete events TODO: make these configurable by integration

func WithEvents added in v0.4.2

func WithEvents(c *ent.Client)

func WithTransactions added in v0.2.2

func WithTransactions(h *handler.Server, c *ent.Client)

WithTransactions adds the transactioner to the ent db client

Types

type APITokenCreatePayload added in v0.5.0

type APITokenCreatePayload struct {
	// Created apiToken
	APIToken *generated.APIToken `json:"apiToken"`
}

Return response for createAPIToken mutation

type APITokenDeletePayload added in v0.5.0

type APITokenDeletePayload struct {
	// Deleted apiToken ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteAPIToken mutation

type APITokenUpdatePayload added in v0.5.0

type APITokenUpdatePayload struct {
	// Updated apiToken
	APIToken *generated.APIToken `json:"apiToken"`
}

Return response for updateAPIToken mutation

type AlreadyExistsError added in v0.5.1

type AlreadyExistsError struct {
	ObjectType string
	Value      string
}

AlreadyExistsError is returned when an object already exists

func (*AlreadyExistsError) Error added in v0.5.1

func (e *AlreadyExistsError) Error() string

Error returns the AlreadyExistsError in string format

type ComplexityRoot

type ComplexityRoot struct {
	APIToken struct {
		CreatedAt   func(childComplexity int) int
		CreatedBy   func(childComplexity int) int
		DeletedAt   func(childComplexity int) int
		DeletedBy   func(childComplexity int) int
		Description func(childComplexity int) int
		ExpiresAt   func(childComplexity int) int
		ID          func(childComplexity int) int
		LastUsedAt  func(childComplexity int) int
		Name        func(childComplexity int) int
		Owner       func(childComplexity int) int
		OwnerID     func(childComplexity int) int
		Scopes      func(childComplexity int) int
		Tags        func(childComplexity int) int
		Token       func(childComplexity int) int
		UpdatedAt   func(childComplexity int) int
		UpdatedBy   func(childComplexity int) int
	}

	APITokenConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	APITokenCreatePayload struct {
		APIToken func(childComplexity int) int
	}

	APITokenDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	APITokenEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	APITokenUpdatePayload struct {
		APIToken func(childComplexity int) int
	}

	DocumentData struct {
		CreatedAt  func(childComplexity int) int
		CreatedBy  func(childComplexity int) int
		Data       func(childComplexity int) int
		DeletedAt  func(childComplexity int) int
		DeletedBy  func(childComplexity int) int
		ID         func(childComplexity int) int
		Tags       func(childComplexity int) int
		Template   func(childComplexity int) int
		TemplateID func(childComplexity int) int
		UpdatedAt  func(childComplexity int) int
		UpdatedBy  func(childComplexity int) int
	}

	DocumentDataConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	DocumentDataCreatePayload struct {
		DocumentData func(childComplexity int) int
	}

	DocumentDataDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	DocumentDataEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	DocumentDataHistory struct {
		CreatedAt   func(childComplexity int) int
		CreatedBy   func(childComplexity int) int
		Data        func(childComplexity int) int
		DeletedAt   func(childComplexity int) int
		DeletedBy   func(childComplexity int) int
		HistoryTime func(childComplexity int) int
		ID          func(childComplexity int) int
		Operation   func(childComplexity int) int
		Ref         func(childComplexity int) int
		Tags        func(childComplexity int) int
		TemplateID  func(childComplexity int) int
		UpdatedAt   func(childComplexity int) int
		UpdatedBy   func(childComplexity int) int
	}

	DocumentDataHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	DocumentDataHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	DocumentDataUpdatePayload struct {
		DocumentData func(childComplexity int) int
	}

	Dummy struct {
		Done func(childComplexity int) int
		ID   func(childComplexity int) int
		Text func(childComplexity int) int
	}

	Entitlement struct {
		Cancelled              func(childComplexity int) int
		CreatedAt              func(childComplexity int) int
		CreatedBy              func(childComplexity int) int
		DeletedAt              func(childComplexity int) int
		DeletedBy              func(childComplexity int) int
		Events                 func(childComplexity int) int
		Expires                func(childComplexity int) int
		ExpiresAt              func(childComplexity int) int
		ExternalCustomerID     func(childComplexity int) int
		ExternalSubscriptionID func(childComplexity int) int
		Features               func(childComplexity int) int
		ID                     func(childComplexity int) int
		Owner                  func(childComplexity int) int
		Tags                   func(childComplexity int) int
		Tier                   func(childComplexity int) int
		UpdatedAt              func(childComplexity int) int
		UpdatedBy              func(childComplexity int) int
	}

	EntitlementConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	EntitlementCreatePayload struct {
		Entitlement func(childComplexity int) int
	}

	EntitlementDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	EntitlementEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	EntitlementHistory struct {
		Cancelled              func(childComplexity int) int
		CreatedAt              func(childComplexity int) int
		CreatedBy              func(childComplexity int) int
		DeletedAt              func(childComplexity int) int
		DeletedBy              func(childComplexity int) int
		Expires                func(childComplexity int) int
		ExpiresAt              func(childComplexity int) int
		ExternalCustomerID     func(childComplexity int) int
		ExternalSubscriptionID func(childComplexity int) int
		HistoryTime            func(childComplexity int) int
		ID                     func(childComplexity int) int
		Operation              func(childComplexity int) int
		Ref                    func(childComplexity int) int
		Tags                   func(childComplexity int) int
		Tier                   func(childComplexity int) int
		UpdatedAt              func(childComplexity int) int
		UpdatedBy              func(childComplexity int) int
	}

	EntitlementHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	EntitlementHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	EntitlementUpdatePayload struct {
		Entitlement func(childComplexity int) int
	}

	Event struct {
		CorrelationID       func(childComplexity int) int
		CreatedAt           func(childComplexity int) int
		CreatedBy           func(childComplexity int) int
		Entitlement         func(childComplexity int) int
		EventID             func(childComplexity int) int
		EventType           func(childComplexity int) int
		Feature             func(childComplexity int) int
		Group               func(childComplexity int) int
		Groupmembership     func(childComplexity int) int
		Hush                func(childComplexity int) int
		ID                  func(childComplexity int) int
		Integration         func(childComplexity int) int
		Invite              func(childComplexity int) int
		Metadata            func(childComplexity int) int
		Oauth2token         func(childComplexity int) int
		Organization        func(childComplexity int) int
		Orgmembership       func(childComplexity int) int
		PersonalAccessToken func(childComplexity int) int
		Subscriber          func(childComplexity int) int
		Tags                func(childComplexity int) int
		UpdatedAt           func(childComplexity int) int
		UpdatedBy           func(childComplexity int) int
		User                func(childComplexity int) int
		Webhook             func(childComplexity int) int
	}

	EventConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	EventCreatePayload struct {
		Event func(childComplexity int) int
	}

	EventDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	EventEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	EventHistory struct {
		CorrelationID func(childComplexity int) int
		CreatedAt     func(childComplexity int) int
		CreatedBy     func(childComplexity int) int
		EventID       func(childComplexity int) int
		EventType     func(childComplexity int) int
		HistoryTime   func(childComplexity int) int
		ID            func(childComplexity int) int
		Metadata      func(childComplexity int) int
		Operation     func(childComplexity int) int
		Ref           func(childComplexity int) int
		Tags          func(childComplexity int) int
		UpdatedAt     func(childComplexity int) int
		UpdatedBy     func(childComplexity int) int
	}

	EventHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	EventHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	EventUpdatePayload struct {
		Event func(childComplexity int) int
	}

	Feature struct {
		CreatedAt     func(childComplexity int) int
		CreatedBy     func(childComplexity int) int
		DeletedAt     func(childComplexity int) int
		DeletedBy     func(childComplexity int) int
		Description   func(childComplexity int) int
		Enabled       func(childComplexity int) int
		Entitlements  func(childComplexity int) int
		Events        func(childComplexity int) int
		Global        func(childComplexity int) int
		Groups        func(childComplexity int) int
		ID            func(childComplexity int) int
		Name          func(childComplexity int) int
		Organizations func(childComplexity int) int
		Tags          func(childComplexity int) int
		UpdatedAt     func(childComplexity int) int
		UpdatedBy     func(childComplexity int) int
		Users         func(childComplexity int) int
	}

	FeatureConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	FeatureCreatePayload struct {
		Feature func(childComplexity int) int
	}

	FeatureDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	FeatureEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	FeatureHistory struct {
		CreatedAt   func(childComplexity int) int
		CreatedBy   func(childComplexity int) int
		DeletedAt   func(childComplexity int) int
		DeletedBy   func(childComplexity int) int
		Description func(childComplexity int) int
		Enabled     func(childComplexity int) int
		Global      func(childComplexity int) int
		HistoryTime func(childComplexity int) int
		ID          func(childComplexity int) int
		Name        func(childComplexity int) int
		Operation   func(childComplexity int) int
		Ref         func(childComplexity int) int
		Tags        func(childComplexity int) int
		UpdatedAt   func(childComplexity int) int
		UpdatedBy   func(childComplexity int) int
	}

	FeatureHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	FeatureHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	FeatureUpdatePayload struct {
		Feature func(childComplexity int) int
	}

	File struct {
		Annotation    func(childComplexity int) int
		Category      func(childComplexity int) int
		ContentType   func(childComplexity int) int
		CreatedAt     func(childComplexity int) int
		CreatedBy     func(childComplexity int) int
		DeletedAt     func(childComplexity int) int
		DeletedBy     func(childComplexity int) int
		FileExtension func(childComplexity int) int
		FileName      func(childComplexity int) int
		FileSize      func(childComplexity int) int
		Group         func(childComplexity int) int
		ID            func(childComplexity int) int
		Organization  func(childComplexity int) int
		StoreKey      func(childComplexity int) int
		Tags          func(childComplexity int) int
		UpdatedAt     func(childComplexity int) int
		UpdatedBy     func(childComplexity int) int
		User          func(childComplexity int) int
	}

	FileConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	FileCreatePayload struct {
		File func(childComplexity int) int
	}

	FileDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	FileEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	FileHistory struct {
		Annotation    func(childComplexity int) int
		Category      func(childComplexity int) int
		ContentType   func(childComplexity int) int
		CreatedAt     func(childComplexity int) int
		CreatedBy     func(childComplexity int) int
		DeletedAt     func(childComplexity int) int
		DeletedBy     func(childComplexity int) int
		FileExtension func(childComplexity int) int
		FileName      func(childComplexity int) int
		FileSize      func(childComplexity int) int
		HistoryTime   func(childComplexity int) int
		ID            func(childComplexity int) int
		Operation     func(childComplexity int) int
		Ref           func(childComplexity int) int
		StoreKey      func(childComplexity int) int
		Tags          func(childComplexity int) int
		UpdatedAt     func(childComplexity int) int
		UpdatedBy     func(childComplexity int) int
	}

	FileHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	FileHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	FileUpdatePayload struct {
		File func(childComplexity int) int
	}

	Group struct {
		CreatedAt       func(childComplexity int) int
		CreatedBy       func(childComplexity int) int
		DeletedAt       func(childComplexity int) int
		DeletedBy       func(childComplexity int) int
		Description     func(childComplexity int) int
		DisplayName     func(childComplexity int) int
		Events          func(childComplexity int) int
		Features        func(childComplexity int) int
		Files           func(childComplexity int) int
		GravatarLogoURL func(childComplexity int) int
		ID              func(childComplexity int) int
		Integrations    func(childComplexity int) int
		LogoURL         func(childComplexity int) int
		Members         func(childComplexity int) int
		Name            func(childComplexity int) int
		Owner           func(childComplexity int) int
		Setting         func(childComplexity int) int
		Tags            func(childComplexity int) int
		UpdatedAt       func(childComplexity int) int
		UpdatedBy       func(childComplexity int) int
		Users           func(childComplexity int) int
	}

	GroupConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	GroupCreatePayload struct {
		Group func(childComplexity int) int
	}

	GroupDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	GroupEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	GroupHistory struct {
		CreatedAt       func(childComplexity int) int
		CreatedBy       func(childComplexity int) int
		DeletedAt       func(childComplexity int) int
		DeletedBy       func(childComplexity int) int
		Description     func(childComplexity int) int
		DisplayName     func(childComplexity int) int
		GravatarLogoURL func(childComplexity int) int
		HistoryTime     func(childComplexity int) int
		ID              func(childComplexity int) int
		LogoURL         func(childComplexity int) int
		Name            func(childComplexity int) int
		Operation       func(childComplexity int) int
		Ref             func(childComplexity int) int
		Tags            func(childComplexity int) int
		UpdatedAt       func(childComplexity int) int
		UpdatedBy       func(childComplexity int) int
	}

	GroupHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	GroupHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	GroupMembership struct {
		CreatedAt func(childComplexity int) int
		CreatedBy func(childComplexity int) int
		DeletedAt func(childComplexity int) int
		DeletedBy func(childComplexity int) int
		Events    func(childComplexity int) int
		Group     func(childComplexity int) int
		GroupID   func(childComplexity int) int
		ID        func(childComplexity int) int
		Role      func(childComplexity int) int
		UpdatedAt func(childComplexity int) int
		UpdatedBy func(childComplexity int) int
		User      func(childComplexity int) int
		UserID    func(childComplexity int) int
	}

	GroupMembershipConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	GroupMembershipCreatePayload struct {
		GroupMembership func(childComplexity int) int
	}

	GroupMembershipDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	GroupMembershipEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	GroupMembershipHistory struct {
		CreatedAt   func(childComplexity int) int
		CreatedBy   func(childComplexity int) int
		DeletedAt   func(childComplexity int) int
		DeletedBy   func(childComplexity int) int
		GroupID     func(childComplexity int) int
		HistoryTime func(childComplexity int) int
		ID          func(childComplexity int) int
		Operation   func(childComplexity int) int
		Ref         func(childComplexity int) int
		Role        func(childComplexity int) int
		UpdatedAt   func(childComplexity int) int
		UpdatedBy   func(childComplexity int) int
		UserID      func(childComplexity int) int
	}

	GroupMembershipHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	GroupMembershipHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	GroupMembershipUpdatePayload struct {
		GroupMembership func(childComplexity int) int
	}

	GroupSetting struct {
		CreatedAt    func(childComplexity int) int
		CreatedBy    func(childComplexity int) int
		DeletedAt    func(childComplexity int) int
		DeletedBy    func(childComplexity int) int
		Group        func(childComplexity int) int
		GroupID      func(childComplexity int) int
		ID           func(childComplexity int) int
		JoinPolicy   func(childComplexity int) int
		SyncToGithub func(childComplexity int) int
		SyncToSlack  func(childComplexity int) int
		Tags         func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
		UpdatedBy    func(childComplexity int) int
		Visibility   func(childComplexity int) int
	}

	GroupSettingConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	GroupSettingCreatePayload struct {
		GroupSetting func(childComplexity int) int
	}

	GroupSettingDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	GroupSettingEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	GroupSettingHistory struct {
		CreatedAt    func(childComplexity int) int
		CreatedBy    func(childComplexity int) int
		DeletedAt    func(childComplexity int) int
		DeletedBy    func(childComplexity int) int
		GroupID      func(childComplexity int) int
		HistoryTime  func(childComplexity int) int
		ID           func(childComplexity int) int
		JoinPolicy   func(childComplexity int) int
		Operation    func(childComplexity int) int
		Ref          func(childComplexity int) int
		SyncToGithub func(childComplexity int) int
		SyncToSlack  func(childComplexity int) int
		Tags         func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
		UpdatedBy    func(childComplexity int) int
		Visibility   func(childComplexity int) int
	}

	GroupSettingHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	GroupSettingHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	GroupSettingUpdatePayload struct {
		GroupSetting func(childComplexity int) int
	}

	GroupUpdatePayload struct {
		Group func(childComplexity int) int
	}

	Hush struct {
		CreatedAt    func(childComplexity int) int
		CreatedBy    func(childComplexity int) int
		DeletedAt    func(childComplexity int) int
		DeletedBy    func(childComplexity int) int
		Description  func(childComplexity int) int
		Events       func(childComplexity int) int
		ID           func(childComplexity int) int
		Integrations func(childComplexity int) int
		Kind         func(childComplexity int) int
		Name         func(childComplexity int) int
		Organization func(childComplexity int) int
		SecretName   func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
		UpdatedBy    func(childComplexity int) int
	}

	HushConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	HushCreatePayload struct {
		Hush func(childComplexity int) int
	}

	HushDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	HushEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	HushHistory struct {
		CreatedAt   func(childComplexity int) int
		CreatedBy   func(childComplexity int) int
		DeletedAt   func(childComplexity int) int
		DeletedBy   func(childComplexity int) int
		Description func(childComplexity int) int
		HistoryTime func(childComplexity int) int
		ID          func(childComplexity int) int
		Kind        func(childComplexity int) int
		Name        func(childComplexity int) int
		Operation   func(childComplexity int) int
		Ref         func(childComplexity int) int
		SecretName  func(childComplexity int) int
		UpdatedAt   func(childComplexity int) int
		UpdatedBy   func(childComplexity int) int
	}

	HushHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	HushHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	HushUpdatePayload struct {
		Hush func(childComplexity int) int
	}

	Integration struct {
		CreatedAt    func(childComplexity int) int
		CreatedBy    func(childComplexity int) int
		DeletedAt    func(childComplexity int) int
		DeletedBy    func(childComplexity int) int
		Description  func(childComplexity int) int
		Events       func(childComplexity int) int
		ID           func(childComplexity int) int
		Kind         func(childComplexity int) int
		Name         func(childComplexity int) int
		Oauth2tokens func(childComplexity int) int
		Owner        func(childComplexity int) int
		OwnerID      func(childComplexity int) int
		Secrets      func(childComplexity int) int
		Tags         func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
		UpdatedBy    func(childComplexity int) int
		Webhooks     func(childComplexity int) int
	}

	IntegrationConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	IntegrationCreatePayload struct {
		Integration func(childComplexity int) int
	}

	IntegrationDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	IntegrationEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	IntegrationHistory struct {
		CreatedAt   func(childComplexity int) int
		CreatedBy   func(childComplexity int) int
		DeletedAt   func(childComplexity int) int
		DeletedBy   func(childComplexity int) int
		Description func(childComplexity int) int
		HistoryTime func(childComplexity int) int
		ID          func(childComplexity int) int
		Kind        func(childComplexity int) int
		Name        func(childComplexity int) int
		Operation   func(childComplexity int) int
		OwnerID     func(childComplexity int) int
		Ref         func(childComplexity int) int
		Tags        func(childComplexity int) int
		UpdatedAt   func(childComplexity int) int
		UpdatedBy   func(childComplexity int) int
	}

	IntegrationHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	IntegrationHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	IntegrationUpdatePayload struct {
		Integration func(childComplexity int) int
	}

	Invite struct {
		CreatedAt    func(childComplexity int) int
		CreatedBy    func(childComplexity int) int
		DeletedAt    func(childComplexity int) int
		DeletedBy    func(childComplexity int) int
		Events       func(childComplexity int) int
		Expires      func(childComplexity int) int
		ID           func(childComplexity int) int
		Owner        func(childComplexity int) int
		OwnerID      func(childComplexity int) int
		Recipient    func(childComplexity int) int
		RequestorID  func(childComplexity int) int
		Role         func(childComplexity int) int
		SendAttempts func(childComplexity int) int
		Status       func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
		UpdatedBy    func(childComplexity int) int
	}

	InviteConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	InviteCreatePayload struct {
		Invite func(childComplexity int) int
	}

	InviteDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	InviteEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	InviteUpdatePayload struct {
		Invite func(childComplexity int) int
	}

	Mutation struct {
		CreateAPIToken            func(childComplexity int, input generated.CreateAPITokenInput) int
		CreateDocumentData        func(childComplexity int, input generated.CreateDocumentDataInput) int
		CreateEntitlement         func(childComplexity int, input generated.CreateEntitlementInput) int
		CreateEvent               func(childComplexity int, input generated.CreateEventInput) int
		CreateFeature             func(childComplexity int, input generated.CreateFeatureInput) int
		CreateFile                func(childComplexity int, input generated.CreateFileInput) int
		CreateGroup               func(childComplexity int, input generated.CreateGroupInput) int
		CreateGroupMembership     func(childComplexity int, input generated.CreateGroupMembershipInput) int
		CreateHush                func(childComplexity int, input generated.CreateHushInput) int
		CreateIntegration         func(childComplexity int, input generated.CreateIntegrationInput) int
		CreateInvite              func(childComplexity int, input generated.CreateInviteInput) int
		CreateOauthProvider       func(childComplexity int, input generated.CreateOauthProviderInput) int
		CreateOhAuthTooToken      func(childComplexity int, input generated.CreateOhAuthTooTokenInput) int
		CreateOrgMembership       func(childComplexity int, input generated.CreateOrgMembershipInput) int
		CreateOrganization        func(childComplexity int, input generated.CreateOrganizationInput) int
		CreatePersonalAccessToken func(childComplexity int, input generated.CreatePersonalAccessTokenInput) int
		CreateSubscriber          func(childComplexity int, input generated.CreateSubscriberInput) int
		CreateTFASetting          func(childComplexity int, input generated.CreateTFASettingInput) int
		CreateTemplate            func(childComplexity int, input generated.CreateTemplateInput) int
		CreateUser                func(childComplexity int, input generated.CreateUserInput) int
		CreateWebhook             func(childComplexity int, input generated.CreateWebhookInput) int
		DeleteAPIToken            func(childComplexity int, id string) int
		DeleteDocumentData        func(childComplexity int, id string) int
		DeleteEntitlement         func(childComplexity int, id string) int
		DeleteEvent               func(childComplexity int, id string) int
		DeleteFeature             func(childComplexity int, id string) int
		DeleteFile                func(childComplexity int, id string) int
		DeleteGroup               func(childComplexity int, id string) int
		DeleteGroupMembership     func(childComplexity int, id string) int
		DeleteHush                func(childComplexity int, id string) int
		DeleteIntegration         func(childComplexity int, id string) int
		DeleteInvite              func(childComplexity int, id string) int
		DeleteOauthProvider       func(childComplexity int, id string) int
		DeleteOhAuthTooToken      func(childComplexity int, id string) int
		DeleteOrgMembership       func(childComplexity int, id string) int
		DeleteOrganization        func(childComplexity int, id string) int
		DeletePersonalAccessToken func(childComplexity int, id string) int
		DeleteSubscriber          func(childComplexity int, email string, ownerID *string) int
		DeleteTemplate            func(childComplexity int, id string) int
		DeleteUser                func(childComplexity int, id string) int
		DeleteWebhook             func(childComplexity int, id string) int
		PostMessageTo             func(childComplexity int, subscriber string, content string) int
		UpdateAPIToken            func(childComplexity int, id string, input generated.UpdateAPITokenInput) int
		UpdateDocumentData        func(childComplexity int, id string, input generated.UpdateDocumentDataInput) int
		UpdateEntitlement         func(childComplexity int, id string, input generated.UpdateEntitlementInput) int
		UpdateEvent               func(childComplexity int, id string, input generated.UpdateEventInput) int
		UpdateFeature             func(childComplexity int, id string, input generated.UpdateFeatureInput) int
		UpdateFile                func(childComplexity int, id string, input generated.UpdateFileInput) int
		UpdateGroup               func(childComplexity int, id string, input generated.UpdateGroupInput) int
		UpdateGroupMembership     func(childComplexity int, id string, input generated.UpdateGroupMembershipInput) int
		UpdateGroupSetting        func(childComplexity int, id string, input generated.UpdateGroupSettingInput) int
		UpdateHush                func(childComplexity int, id string, input generated.UpdateHushInput) int
		UpdateIntegration         func(childComplexity int, id string, input generated.UpdateIntegrationInput) int
		UpdateInvite              func(childComplexity int, id string, input generated.UpdateInviteInput) int
		UpdateOauthProvider       func(childComplexity int, id string, input generated.UpdateOauthProviderInput) int
		UpdateOhAuthTooToken      func(childComplexity int, id string, input generated.UpdateOhAuthTooTokenInput) int
		UpdateOrgMembership       func(childComplexity int, id string, input generated.UpdateOrgMembershipInput) int
		UpdateOrganization        func(childComplexity int, id string, input generated.UpdateOrganizationInput) int
		UpdateOrganizationSetting func(childComplexity int, id string, input generated.UpdateOrganizationSettingInput) int
		UpdatePersonalAccessToken func(childComplexity int, id string, input generated.UpdatePersonalAccessTokenInput) int
		UpdateSubscriber          func(childComplexity int, email string, input generated.UpdateSubscriberInput) int
		UpdateTFASetting          func(childComplexity int, input generated.UpdateTFASettingInput) int
		UpdateTemplate            func(childComplexity int, id string, input generated.UpdateTemplateInput) int
		UpdateUser                func(childComplexity int, id string, input generated.UpdateUserInput) int
		UpdateUserSetting         func(childComplexity int, id string, input generated.UpdateUserSettingInput) int
		UpdateWebhook             func(childComplexity int, id string, input generated.UpdateWebhookInput) int
	}

	OauthProvider struct {
		AuthStyle    func(childComplexity int) int
		AuthURL      func(childComplexity int) int
		ClientID     func(childComplexity int) int
		ClientSecret func(childComplexity int) int
		CreatedAt    func(childComplexity int) int
		CreatedBy    func(childComplexity int) int
		DeletedAt    func(childComplexity int) int
		DeletedBy    func(childComplexity int) int
		ID           func(childComplexity int) int
		InfoURL      func(childComplexity int) int
		Name         func(childComplexity int) int
		Owner        func(childComplexity int) int
		RedirectURL  func(childComplexity int) int
		Scopes       func(childComplexity int) int
		Tags         func(childComplexity int) int
		TokenURL     func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
		UpdatedBy    func(childComplexity int) int
	}

	OauthProviderConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	OauthProviderCreatePayload struct {
		OauthProvider func(childComplexity int) int
	}

	OauthProviderDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	OauthProviderEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	OauthProviderHistory struct {
		AuthStyle    func(childComplexity int) int
		AuthURL      func(childComplexity int) int
		ClientID     func(childComplexity int) int
		ClientSecret func(childComplexity int) int
		CreatedAt    func(childComplexity int) int
		CreatedBy    func(childComplexity int) int
		DeletedAt    func(childComplexity int) int
		DeletedBy    func(childComplexity int) int
		HistoryTime  func(childComplexity int) int
		ID           func(childComplexity int) int
		InfoURL      func(childComplexity int) int
		Name         func(childComplexity int) int
		Operation    func(childComplexity int) int
		RedirectURL  func(childComplexity int) int
		Ref          func(childComplexity int) int
		Scopes       func(childComplexity int) int
		Tags         func(childComplexity int) int
		TokenURL     func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
		UpdatedBy    func(childComplexity int) int
	}

	OauthProviderHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	OauthProviderHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	OauthProviderUpdatePayload struct {
		OauthProvider func(childComplexity int) int
	}

	OhAuthTooToken struct {
		ClaimsEmail             func(childComplexity int) int
		ClaimsEmailVerified     func(childComplexity int) int
		ClaimsGroups            func(childComplexity int) int
		ClaimsPreferredUsername func(childComplexity int) int
		ClaimsUserID            func(childComplexity int) int
		ClaimsUsername          func(childComplexity int) int
		ClientID                func(childComplexity int) int
		ConnectorData           func(childComplexity int) int
		ConnectorID             func(childComplexity int) int
		Events                  func(childComplexity int) int
		ID                      func(childComplexity int) int
		Integration             func(childComplexity int) int
		LastUsed                func(childComplexity int) int
		Nonce                   func(childComplexity int) int
		Scopes                  func(childComplexity int) int
		Tags                    func(childComplexity int) int
	}

	OhAuthTooTokenConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	OhAuthTooTokenCreatePayload struct {
		OhAuthTooToken func(childComplexity int) int
	}

	OhAuthTooTokenDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	OhAuthTooTokenEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	OhAuthTooTokenUpdatePayload struct {
		OhAuthTooToken func(childComplexity int) int
	}

	OrgMembership struct {
		CreatedAt      func(childComplexity int) int
		CreatedBy      func(childComplexity int) int
		DeletedAt      func(childComplexity int) int
		DeletedBy      func(childComplexity int) int
		Events         func(childComplexity int) int
		ID             func(childComplexity int) int
		Organization   func(childComplexity int) int
		OrganizationID func(childComplexity int) int
		Role           func(childComplexity int) int
		UpdatedAt      func(childComplexity int) int
		UpdatedBy      func(childComplexity int) int
		User           func(childComplexity int) int
		UserID         func(childComplexity int) int
	}

	OrgMembershipConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	OrgMembershipCreatePayload struct {
		OrgMembership func(childComplexity int) int
	}

	OrgMembershipDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	OrgMembershipEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	OrgMembershipHistory struct {
		CreatedAt      func(childComplexity int) int
		CreatedBy      func(childComplexity int) int
		DeletedAt      func(childComplexity int) int
		DeletedBy      func(childComplexity int) int
		HistoryTime    func(childComplexity int) int
		ID             func(childComplexity int) int
		Operation      func(childComplexity int) int
		OrganizationID func(childComplexity int) int
		Ref            func(childComplexity int) int
		Role           func(childComplexity int) int
		UpdatedAt      func(childComplexity int) int
		UpdatedBy      func(childComplexity int) int
		UserID         func(childComplexity int) int
	}

	OrgMembershipHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	OrgMembershipHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	OrgMembershipUpdatePayload struct {
		OrgMembership func(childComplexity int) int
	}

	Organization struct {
		APITokens            func(childComplexity int) int
		AvatarRemoteURL      func(childComplexity int) int
		Children             func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.OrganizationOrder, where *generated.OrganizationWhereInput) int
		CreatedAt            func(childComplexity int) int
		CreatedBy            func(childComplexity int) int
		DedicatedDb          func(childComplexity int) int
		DeletedAt            func(childComplexity int) int
		DeletedBy            func(childComplexity int) int
		Description          func(childComplexity int) int
		DisplayName          func(childComplexity int) int
		Entitlements         func(childComplexity int) int
		Events               func(childComplexity int) int
		Features             func(childComplexity int) int
		Files                func(childComplexity int) int
		Groups               func(childComplexity int) int
		ID                   func(childComplexity int) int
		Integrations         func(childComplexity int) int
		Invites              func(childComplexity int) int
		Members              func(childComplexity int) int
		Name                 func(childComplexity int) int
		Oauthprovider        func(childComplexity int) int
		Parent               func(childComplexity int) int
		PersonalAccessTokens func(childComplexity int) int
		PersonalOrg          func(childComplexity int) int
		Secrets              func(childComplexity int) int
		Setting              func(childComplexity int) int
		Subscribers          func(childComplexity int) int
		Tags                 func(childComplexity int) int
		Templates            func(childComplexity int) int
		UpdatedAt            func(childComplexity int) int
		UpdatedBy            func(childComplexity int) int
		Users                func(childComplexity int) int
		Webhooks             func(childComplexity int) int
	}

	OrganizationConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	OrganizationCreatePayload struct {
		Organization func(childComplexity int) int
	}

	OrganizationDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	OrganizationEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	OrganizationHistory struct {
		AvatarRemoteURL func(childComplexity int) int
		CreatedAt       func(childComplexity int) int
		CreatedBy       func(childComplexity int) int
		DedicatedDb     func(childComplexity int) int
		DeletedAt       func(childComplexity int) int
		DeletedBy       func(childComplexity int) int
		Description     func(childComplexity int) int
		DisplayName     func(childComplexity int) int
		HistoryTime     func(childComplexity int) int
		ID              func(childComplexity int) int
		Name            func(childComplexity int) int
		Operation       func(childComplexity int) int
		PersonalOrg     func(childComplexity int) int
		Ref             func(childComplexity int) int
		Tags            func(childComplexity int) int
		UpdatedAt       func(childComplexity int) int
		UpdatedBy       func(childComplexity int) int
	}

	OrganizationHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	OrganizationHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	OrganizationSetting struct {
		BillingAddress func(childComplexity int) int
		BillingContact func(childComplexity int) int
		BillingEmail   func(childComplexity int) int
		BillingPhone   func(childComplexity int) int
		CreatedAt      func(childComplexity int) int
		CreatedBy      func(childComplexity int) int
		DeletedAt      func(childComplexity int) int
		DeletedBy      func(childComplexity int) int
		Domains        func(childComplexity int) int
		GeoLocation    func(childComplexity int) int
		ID             func(childComplexity int) int
		Organization   func(childComplexity int) int
		OrganizationID func(childComplexity int) int
		Tags           func(childComplexity int) int
		TaxIdentifier  func(childComplexity int) int
		UpdatedAt      func(childComplexity int) int
		UpdatedBy      func(childComplexity int) int
	}

	OrganizationSettingConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	OrganizationSettingCreatePayload struct {
		OrganizationSetting func(childComplexity int) int
	}

	OrganizationSettingDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	OrganizationSettingEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	OrganizationSettingHistory struct {
		BillingAddress func(childComplexity int) int
		BillingContact func(childComplexity int) int
		BillingEmail   func(childComplexity int) int
		BillingPhone   func(childComplexity int) int
		CreatedAt      func(childComplexity int) int
		CreatedBy      func(childComplexity int) int
		DeletedAt      func(childComplexity int) int
		DeletedBy      func(childComplexity int) int
		Domains        func(childComplexity int) int
		GeoLocation    func(childComplexity int) int
		HistoryTime    func(childComplexity int) int
		ID             func(childComplexity int) int
		Operation      func(childComplexity int) int
		OrganizationID func(childComplexity int) int
		Ref            func(childComplexity int) int
		Tags           func(childComplexity int) int
		TaxIdentifier  func(childComplexity int) int
		UpdatedAt      func(childComplexity int) int
		UpdatedBy      func(childComplexity int) int
	}

	OrganizationSettingHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	OrganizationSettingHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	OrganizationSettingUpdatePayload struct {
		OrganizationSetting func(childComplexity int) int
	}

	OrganizationUpdatePayload struct {
		Organization func(childComplexity int) int
	}

	PageInfo struct {
		EndCursor       func(childComplexity int) int
		HasNextPage     func(childComplexity int) int
		HasPreviousPage func(childComplexity int) int
		StartCursor     func(childComplexity int) int
	}

	PersonalAccessToken struct {
		CreatedAt     func(childComplexity int) int
		CreatedBy     func(childComplexity int) int
		DeletedAt     func(childComplexity int) int
		DeletedBy     func(childComplexity int) int
		Description   func(childComplexity int) int
		Events        func(childComplexity int) int
		ExpiresAt     func(childComplexity int) int
		ID            func(childComplexity int) int
		LastUsedAt    func(childComplexity int) int
		Name          func(childComplexity int) int
		Organizations func(childComplexity int) int
		Owner         func(childComplexity int) int
		Scopes        func(childComplexity int) int
		Tags          func(childComplexity int) int
		Token         func(childComplexity int) int
		UpdatedAt     func(childComplexity int) int
		UpdatedBy     func(childComplexity int) int
	}

	PersonalAccessTokenConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	PersonalAccessTokenCreatePayload struct {
		PersonalAccessToken func(childComplexity int) int
	}

	PersonalAccessTokenDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	PersonalAccessTokenEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	PersonalAccessTokenUpdatePayload struct {
		PersonalAccessToken func(childComplexity int) int
	}

	Query struct {
		APIToken                     func(childComplexity int, id string) int
		APITokens                    func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.APITokenWhereInput) int
		DocumentData                 func(childComplexity int, id string) int
		DocumentDataHistories        func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.DocumentDataHistoryWhereInput) int
		DocumentDataSlice            func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.DocumentDataWhereInput) int
		Entitlement                  func(childComplexity int, id string) int
		EntitlementHistories         func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.EntitlementHistoryWhereInput) int
		Entitlements                 func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.EntitlementWhereInput) int
		Event                        func(childComplexity int, id string) int
		EventHistories               func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.EventHistoryWhereInput) int
		Events                       func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.EventWhereInput) int
		Feature                      func(childComplexity int, id string) int
		FeatureHistories             func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.FeatureHistoryWhereInput) int
		Features                     func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.FeatureWhereInput) int
		File                         func(childComplexity int, id string) int
		FileHistories                func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.FileHistoryWhereInput) int
		Files                        func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.FileWhereInput) int
		Group                        func(childComplexity int, id string) int
		GroupHistories               func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.GroupHistoryOrder, where *generated.GroupHistoryWhereInput) int
		GroupMembership              func(childComplexity int, id string) int
		GroupMembershipHistories     func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.GroupMembershipHistoryWhereInput) int
		GroupMemberships             func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.GroupMembershipWhereInput) int
		GroupSetting                 func(childComplexity int, id string) int
		GroupSettingHistories        func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.GroupSettingHistoryWhereInput) int
		GroupSettings                func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.GroupSettingWhereInput) int
		Groups                       func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.GroupOrder, where *generated.GroupWhereInput) int
		Hush                         func(childComplexity int, id string) int
		HushHistories                func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.HushHistoryOrder, where *generated.HushHistoryWhereInput) int
		Hushes                       func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.HushOrder, where *generated.HushWhereInput) int
		Integration                  func(childComplexity int, id string) int
		IntegrationHistories         func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.IntegrationHistoryOrder, where *generated.IntegrationHistoryWhereInput) int
		Integrations                 func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.IntegrationOrder, where *generated.IntegrationWhereInput) int
		Invite                       func(childComplexity int, id string) int
		Invites                      func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.InviteWhereInput) int
		Node                         func(childComplexity int, id string) int
		Nodes                        func(childComplexity int, ids []string) int
		OauthProvider                func(childComplexity int, id string) int
		OauthProviderHistories       func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OauthProviderHistoryWhereInput) int
		OauthProviders               func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OauthProviderWhereInput) int
		OhAuthTooToken               func(childComplexity int, id string) int
		OhAuthTooTokens              func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OhAuthTooTokenWhereInput) int
		OrgMembership                func(childComplexity int, id string) int
		OrgMembershipHistories       func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OrgMembershipHistoryWhereInput) int
		OrgMemberships               func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OrgMembershipWhereInput) int
		Organization                 func(childComplexity int, id string) int
		OrganizationHistories        func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.OrganizationHistoryOrder, where *generated.OrganizationHistoryWhereInput) int
		OrganizationSetting          func(childComplexity int, id string) int
		OrganizationSettingHistories func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OrganizationSettingHistoryWhereInput) int
		OrganizationSettings         func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OrganizationSettingWhereInput) int
		Organizations                func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.OrganizationOrder, where *generated.OrganizationWhereInput) int
		PersonalAccessToken          func(childComplexity int, id string) int
		PersonalAccessTokens         func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.PersonalAccessTokenWhereInput) int
		Subscriber                   func(childComplexity int, email string) int
		Subscribers                  func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.SubscriberWhereInput) int
		Template                     func(childComplexity int, id string) int
		TemplateHistories            func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.TemplateHistoryOrder, where *generated.TemplateHistoryWhereInput) int
		Templates                    func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.TemplateOrder, where *generated.TemplateWhereInput) int
		TfaSetting                   func(childComplexity int, id *string) int
		TfaSettings                  func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.TFASettingWhereInput) int
		User                         func(childComplexity int, id string) int
		UserHistories                func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.UserHistoryOrder, where *generated.UserHistoryWhereInput) int
		UserSetting                  func(childComplexity int, id string) int
		UserSettingHistories         func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.UserSettingHistoryWhereInput) int
		UserSettings                 func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.UserSettingWhereInput) int
		Users                        func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.UserOrder, where *generated.UserWhereInput) int
		Webhook                      func(childComplexity int, id string) int
		WebhookHistories             func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.WebhookHistoryOrder, where *generated.WebhookHistoryWhereInput) int
		Webhooks                     func(childComplexity int, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.WebhookOrder, where *generated.WebhookWhereInput) int
	}

	Subscriber struct {
		Active        func(childComplexity int) int
		CreatedAt     func(childComplexity int) int
		CreatedBy     func(childComplexity int) int
		DeletedAt     func(childComplexity int) int
		DeletedBy     func(childComplexity int) int
		Email         func(childComplexity int) int
		Events        func(childComplexity int) int
		ID            func(childComplexity int) int
		Owner         func(childComplexity int) int
		OwnerID       func(childComplexity int) int
		PhoneNumber   func(childComplexity int) int
		Tags          func(childComplexity int) int
		UpdatedAt     func(childComplexity int) int
		UpdatedBy     func(childComplexity int) int
		VerifiedEmail func(childComplexity int) int
		VerifiedPhone func(childComplexity int) int
	}

	SubscriberConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	SubscriberCreatePayload struct {
		Subscriber func(childComplexity int) int
	}

	SubscriberDeletePayload struct {
		Email func(childComplexity int) int
	}

	SubscriberEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	SubscriberUpdatePayload struct {
		Subscriber func(childComplexity int) int
	}

	Subscription struct {
		Subscribe func(childComplexity int, subscriber string) int
	}

	TFASetting struct {
		CreatedAt     func(childComplexity int) int
		CreatedBy     func(childComplexity int) int
		DeletedAt     func(childComplexity int) int
		DeletedBy     func(childComplexity int) int
		ID            func(childComplexity int) int
		Owner         func(childComplexity int) int
		RecoveryCodes func(childComplexity int) int
		Tags          func(childComplexity int) int
		TfaSecret     func(childComplexity int) int
		TotpAllowed   func(childComplexity int) int
		UpdatedAt     func(childComplexity int) int
		UpdatedBy     func(childComplexity int) int
		Verified      func(childComplexity int) int
	}

	TFASettingConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	TFASettingCreatePayload struct {
		TfaSetting func(childComplexity int) int
	}

	TFASettingEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	TFASettingUpdatePayload struct {
		TfaSetting func(childComplexity int) int
	}

	Template struct {
		CreatedAt    func(childComplexity int) int
		CreatedBy    func(childComplexity int) int
		DeletedAt    func(childComplexity int) int
		DeletedBy    func(childComplexity int) int
		Description  func(childComplexity int) int
		Documents    func(childComplexity int) int
		ID           func(childComplexity int) int
		Jsonconfig   func(childComplexity int) int
		Name         func(childComplexity int) int
		Owner        func(childComplexity int) int
		Tags         func(childComplexity int) int
		TemplateType func(childComplexity int) int
		Uischema     func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
		UpdatedBy    func(childComplexity int) int
	}

	TemplateConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	TemplateCreatePayload struct {
		Template func(childComplexity int) int
	}

	TemplateDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	TemplateEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	TemplateHistory struct {
		CreatedAt    func(childComplexity int) int
		CreatedBy    func(childComplexity int) int
		DeletedAt    func(childComplexity int) int
		DeletedBy    func(childComplexity int) int
		Description  func(childComplexity int) int
		HistoryTime  func(childComplexity int) int
		ID           func(childComplexity int) int
		Jsonconfig   func(childComplexity int) int
		Name         func(childComplexity int) int
		Operation    func(childComplexity int) int
		Ref          func(childComplexity int) int
		Tags         func(childComplexity int) int
		TemplateType func(childComplexity int) int
		Uischema     func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
		UpdatedBy    func(childComplexity int) int
	}

	TemplateHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	TemplateHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	TemplateUpdatePayload struct {
		Template func(childComplexity int) int
	}

	User struct {
		AuthProvider         func(childComplexity int) int
		AvatarLocalFile      func(childComplexity int) int
		AvatarRemoteURL      func(childComplexity int) int
		AvatarUpdatedAt      func(childComplexity int) int
		CreatedAt            func(childComplexity int) int
		CreatedBy            func(childComplexity int) int
		DeletedAt            func(childComplexity int) int
		DeletedBy            func(childComplexity int) int
		DisplayName          func(childComplexity int) int
		Email                func(childComplexity int) int
		Events               func(childComplexity int) int
		Features             func(childComplexity int) int
		Files                func(childComplexity int) int
		FirstName            func(childComplexity int) int
		GroupMemberships     func(childComplexity int) int
		Groups               func(childComplexity int) int
		ID                   func(childComplexity int) int
		LastName             func(childComplexity int) int
		LastSeen             func(childComplexity int) int
		OrgMemberships       func(childComplexity int) int
		Organizations        func(childComplexity int) int
		PersonalAccessTokens func(childComplexity int) int
		Role                 func(childComplexity int) int
		Setting              func(childComplexity int) int
		Sub                  func(childComplexity int) int
		Tags                 func(childComplexity int) int
		TfaSettings          func(childComplexity int) int
		UpdatedAt            func(childComplexity int) int
		UpdatedBy            func(childComplexity int) int
	}

	UserConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	UserCreatePayload struct {
		User func(childComplexity int) int
	}

	UserDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	UserEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	UserHistory struct {
		AuthProvider    func(childComplexity int) int
		AvatarLocalFile func(childComplexity int) int
		AvatarRemoteURL func(childComplexity int) int
		AvatarUpdatedAt func(childComplexity int) int
		CreatedAt       func(childComplexity int) int
		CreatedBy       func(childComplexity int) int
		DeletedAt       func(childComplexity int) int
		DeletedBy       func(childComplexity int) int
		DisplayName     func(childComplexity int) int
		Email           func(childComplexity int) int
		FirstName       func(childComplexity int) int
		HistoryTime     func(childComplexity int) int
		ID              func(childComplexity int) int
		LastName        func(childComplexity int) int
		LastSeen        func(childComplexity int) int
		Operation       func(childComplexity int) int
		Ref             func(childComplexity int) int
		Role            func(childComplexity int) int
		Sub             func(childComplexity int) int
		Tags            func(childComplexity int) int
		UpdatedAt       func(childComplexity int) int
		UpdatedBy       func(childComplexity int) int
	}

	UserHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	UserHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	UserSetting struct {
		CreatedAt         func(childComplexity int) int
		CreatedBy         func(childComplexity int) int
		DefaultOrg        func(childComplexity int) int
		DeletedAt         func(childComplexity int) int
		DeletedBy         func(childComplexity int) int
		EmailConfirmed    func(childComplexity int) int
		ID                func(childComplexity int) int
		IsTfaEnabled      func(childComplexity int) int
		IsWebauthnAllowed func(childComplexity int) int
		Locked            func(childComplexity int) int
		SilencedAt        func(childComplexity int) int
		Status            func(childComplexity int) int
		SuspendedAt       func(childComplexity int) int
		Tags              func(childComplexity int) int
		UpdatedAt         func(childComplexity int) int
		UpdatedBy         func(childComplexity int) int
		User              func(childComplexity int) int
		UserID            func(childComplexity int) int
	}

	UserSettingConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	UserSettingEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	UserSettingHistory struct {
		CreatedAt         func(childComplexity int) int
		CreatedBy         func(childComplexity int) int
		DeletedAt         func(childComplexity int) int
		DeletedBy         func(childComplexity int) int
		EmailConfirmed    func(childComplexity int) int
		HistoryTime       func(childComplexity int) int
		ID                func(childComplexity int) int
		IsTfaEnabled      func(childComplexity int) int
		IsWebauthnAllowed func(childComplexity int) int
		Locked            func(childComplexity int) int
		Operation         func(childComplexity int) int
		Ref               func(childComplexity int) int
		SilencedAt        func(childComplexity int) int
		Status            func(childComplexity int) int
		SuspendedAt       func(childComplexity int) int
		Tags              func(childComplexity int) int
		UpdatedAt         func(childComplexity int) int
		UpdatedBy         func(childComplexity int) int
		UserID            func(childComplexity int) int
	}

	UserSettingHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	UserSettingHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	UserSettingUpdatePayload struct {
		UserSetting func(childComplexity int) int
	}

	UserUpdatePayload struct {
		User func(childComplexity int) int
	}

	Webhook struct {
		CreatedAt      func(childComplexity int) int
		CreatedBy      func(childComplexity int) int
		DeletedAt      func(childComplexity int) int
		DeletedBy      func(childComplexity int) int
		Description    func(childComplexity int) int
		DestinationURL func(childComplexity int) int
		Enabled        func(childComplexity int) int
		Events         func(childComplexity int) int
		Failures       func(childComplexity int) int
		ID             func(childComplexity int) int
		Integrations   func(childComplexity int) int
		LastError      func(childComplexity int) int
		LastResponse   func(childComplexity int) int
		Name           func(childComplexity int) int
		Owner          func(childComplexity int) int
		OwnerID        func(childComplexity int) int
		Tags           func(childComplexity int) int
		UpdatedAt      func(childComplexity int) int
		UpdatedBy      func(childComplexity int) int
	}

	WebhookConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	WebhookCreatePayload struct {
		Webhook func(childComplexity int) int
	}

	WebhookDeletePayload struct {
		DeletedID func(childComplexity int) int
	}

	WebhookEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	WebhookHistory struct {
		CreatedAt      func(childComplexity int) int
		CreatedBy      func(childComplexity int) int
		DeletedAt      func(childComplexity int) int
		DeletedBy      func(childComplexity int) int
		Description    func(childComplexity int) int
		DestinationURL func(childComplexity int) int
		Enabled        func(childComplexity int) int
		Failures       func(childComplexity int) int
		HistoryTime    func(childComplexity int) int
		ID             func(childComplexity int) int
		LastError      func(childComplexity int) int
		LastResponse   func(childComplexity int) int
		Name           func(childComplexity int) int
		Operation      func(childComplexity int) int
		OwnerID        func(childComplexity int) int
		Ref            func(childComplexity int) int
		Tags           func(childComplexity int) int
		UpdatedAt      func(childComplexity int) int
		UpdatedBy      func(childComplexity int) int
	}

	WebhookHistoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	WebhookHistoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	WebhookUpdatePayload struct {
		Webhook func(childComplexity int) int
	}
}

type Config

type Config struct {
	Schema     *ast.Schema
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type CreateGroupInputResolver added in v0.2.5

type CreateGroupInputResolver interface {
	CreateGroupSettings(ctx context.Context, obj *generated.CreateGroupInput, data *generated.CreateGroupSettingInput) error
}

type CreateOrganizationInputResolver added in v0.2.5

type CreateOrganizationInputResolver interface {
	CreateOrgSettings(ctx context.Context, obj *generated.CreateOrganizationInput, data *generated.CreateOrganizationSettingInput) error
}

type DirectiveRoot

type DirectiveRoot struct {
}

type DocumentDataCreatePayload added in v0.4.4

type DocumentDataCreatePayload struct {
	// Created documentData
	DocumentData *generated.DocumentData `json:"documentData"`
}

Return response for createDocumentData mutation

type DocumentDataDeletePayload added in v0.4.4

type DocumentDataDeletePayload struct {
	// Deleted documentData ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteDocumentData mutation

type DocumentDataUpdatePayload added in v0.4.4

type DocumentDataUpdatePayload struct {
	// Updated documentData
	DocumentData *generated.DocumentData `json:"documentData"`
}

Return response for updateDocumentData mutation

type Dummy added in v0.3.2

type Dummy struct {
	ID   string `json:"id"`
	Text string `json:"text"`
	Done bool   `json:"done"`
}

type EntitlementCreatePayload

type EntitlementCreatePayload struct {
	// Created entitlement
	Entitlement *generated.Entitlement `json:"entitlement"`
}

Return response for createEntitlement mutation

type EntitlementDeletePayload

type EntitlementDeletePayload struct {
	// Deleted entitlement ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteEntitlement mutation

type EntitlementUpdatePayload

type EntitlementUpdatePayload struct {
	// Updated entitlement
	Entitlement *generated.Entitlement `json:"entitlement"`
}

Return response for updateEntitlement mutation

type EventCreatePayload added in v0.5.0

type EventCreatePayload struct {
	// Created event
	Event *generated.Event `json:"event"`
}

Return response for createEvent mutation

type EventDeletePayload added in v0.5.0

type EventDeletePayload struct {
	// Deleted event ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteEvent mutation

type EventUpdatePayload added in v0.5.0

type EventUpdatePayload struct {
	// Updated event
	Event *generated.Event `json:"event"`
}

Return response for updateEvent mutation

type FeatureCreatePayload added in v0.5.0

type FeatureCreatePayload struct {
	// Created feature
	Feature *generated.Feature `json:"feature"`
}

Return response for createFeature mutation

type FeatureDeletePayload added in v0.5.0

type FeatureDeletePayload struct {
	// Deleted feature ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteFeature mutation

type FeatureUpdatePayload added in v0.5.0

type FeatureUpdatePayload struct {
	// Updated feature
	Feature *generated.Feature `json:"feature"`
}

Return response for updateFeature mutation

type FileCreatePayload added in v0.5.0

type FileCreatePayload struct {
	// Created file
	File *generated.File `json:"file"`
}

Return response for createFile mutation

type FileDeletePayload added in v0.5.0

type FileDeletePayload struct {
	// Deleted file ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteFile mutation

type FileUpdatePayload added in v0.5.0

type FileUpdatePayload struct {
	// Updated file
	File *generated.File `json:"file"`
}

Return response for updateFile mutation

type GroupCreatePayload

type GroupCreatePayload struct {
	// Created group
	Group *generated.Group `json:"group"`
}

Return response for createGroup mutation

type GroupDeletePayload

type GroupDeletePayload struct {
	// Deleted group ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteGroup mutation

type GroupMembershipCreatePayload added in v0.2.4

type GroupMembershipCreatePayload struct {
	// Created groupMembership
	GroupMembership *generated.GroupMembership `json:"groupMembership"`
}

Return response for createGroupMembership mutation

type GroupMembershipDeletePayload added in v0.2.4

type GroupMembershipDeletePayload struct {
	// Deleted groupMembership ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteGroupMembership mutation

type GroupMembershipUpdatePayload added in v0.2.4

type GroupMembershipUpdatePayload struct {
	// Updated groupMembership
	GroupMembership *generated.GroupMembership `json:"groupMembership"`
}

Return response for updateGroupMembership mutation

type GroupSettingCreatePayload

type GroupSettingCreatePayload struct {
	// Created groupSetting
	GroupSetting *generated.GroupSetting `json:"groupSetting"`
}

Return response for createGroupSetting mutation

type GroupSettingDeletePayload

type GroupSettingDeletePayload struct {
	// Deleted groupSetting ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteGroupSetting mutation

type GroupSettingUpdatePayload

type GroupSettingUpdatePayload struct {
	// Updated groupSetting
	GroupSetting *generated.GroupSetting `json:"groupSetting"`
}

Return response for updateGroupSetting mutation

type GroupUpdatePayload

type GroupUpdatePayload struct {
	// Updated group
	Group *generated.Group `json:"group"`
}

Return response for updateGroup mutation

type Handler

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

Handler is an http handler wrapping a Resolver

func (*Handler) Handler

func (h *Handler) Handler() http.HandlerFunc

Handler returns the http.HandlerFunc for the GraphAPI

func (*Handler) Routes

func (h *Handler) Routes(e *echo.Group)

Routes for the the server

type HushCreatePayload added in v0.5.0

type HushCreatePayload struct {
	// Created hush
	Hush *generated.Hush `json:"hush"`
}

Return response for createHush mutation

type HushDeletePayload added in v0.5.0

type HushDeletePayload struct {
	// Deleted hush ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteHush mutation

type HushUpdatePayload added in v0.5.0

type HushUpdatePayload struct {
	// Updated hush
	Hush *generated.Hush `json:"hush"`
}

Return response for updateHush mutation

type IntegrationCreatePayload

type IntegrationCreatePayload struct {
	// Created integration
	Integration *generated.Integration `json:"integration"`
}

Return response for createIntegration mutation

type IntegrationDeletePayload

type IntegrationDeletePayload struct {
	// Deleted integration ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteIntegration mutation

type IntegrationUpdatePayload

type IntegrationUpdatePayload struct {
	// Updated integration
	Integration *generated.Integration `json:"integration"`
}

Return response for updateIntegration mutation

type InviteCreatePayload added in v0.2.6

type InviteCreatePayload struct {
	// Created invite
	Invite *generated.Invite `json:"invite"`
}

Return response for createInvite mutation

type InviteDeletePayload added in v0.2.6

type InviteDeletePayload struct {
	// Deleted invite ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteInvite mutation

type InviteUpdatePayload added in v0.2.6

type InviteUpdatePayload struct {
	// Updated invite
	Invite *generated.Invite `json:"invite"`
}

Return response for updateInvite mutation

type MutationResolver

type MutationResolver interface {
	CreateAPIToken(ctx context.Context, input generated.CreateAPITokenInput) (*APITokenCreatePayload, error)
	UpdateAPIToken(ctx context.Context, id string, input generated.UpdateAPITokenInput) (*APITokenUpdatePayload, error)
	DeleteAPIToken(ctx context.Context, id string) (*APITokenDeletePayload, error)
	CreateDocumentData(ctx context.Context, input generated.CreateDocumentDataInput) (*DocumentDataCreatePayload, error)
	UpdateDocumentData(ctx context.Context, id string, input generated.UpdateDocumentDataInput) (*DocumentDataUpdatePayload, error)
	DeleteDocumentData(ctx context.Context, id string) (*DocumentDataDeletePayload, error)
	CreateEntitlement(ctx context.Context, input generated.CreateEntitlementInput) (*EntitlementCreatePayload, error)
	UpdateEntitlement(ctx context.Context, id string, input generated.UpdateEntitlementInput) (*EntitlementUpdatePayload, error)
	DeleteEntitlement(ctx context.Context, id string) (*EntitlementDeletePayload, error)
	CreateEvent(ctx context.Context, input generated.CreateEventInput) (*EventCreatePayload, error)
	UpdateEvent(ctx context.Context, id string, input generated.UpdateEventInput) (*EventUpdatePayload, error)
	DeleteEvent(ctx context.Context, id string) (*EventDeletePayload, error)
	CreateFeature(ctx context.Context, input generated.CreateFeatureInput) (*FeatureCreatePayload, error)
	UpdateFeature(ctx context.Context, id string, input generated.UpdateFeatureInput) (*FeatureUpdatePayload, error)
	DeleteFeature(ctx context.Context, id string) (*FeatureDeletePayload, error)
	CreateFile(ctx context.Context, input generated.CreateFileInput) (*FileCreatePayload, error)
	UpdateFile(ctx context.Context, id string, input generated.UpdateFileInput) (*FileUpdatePayload, error)
	DeleteFile(ctx context.Context, id string) (*FileDeletePayload, error)
	CreateGroup(ctx context.Context, input generated.CreateGroupInput) (*GroupCreatePayload, error)
	UpdateGroup(ctx context.Context, id string, input generated.UpdateGroupInput) (*GroupUpdatePayload, error)
	DeleteGroup(ctx context.Context, id string) (*GroupDeletePayload, error)
	CreateGroupMembership(ctx context.Context, input generated.CreateGroupMembershipInput) (*GroupMembershipCreatePayload, error)
	UpdateGroupMembership(ctx context.Context, id string, input generated.UpdateGroupMembershipInput) (*GroupMembershipUpdatePayload, error)
	DeleteGroupMembership(ctx context.Context, id string) (*GroupMembershipDeletePayload, error)
	UpdateGroupSetting(ctx context.Context, id string, input generated.UpdateGroupSettingInput) (*GroupSettingUpdatePayload, error)
	CreateHush(ctx context.Context, input generated.CreateHushInput) (*HushCreatePayload, error)
	UpdateHush(ctx context.Context, id string, input generated.UpdateHushInput) (*HushUpdatePayload, error)
	DeleteHush(ctx context.Context, id string) (*HushDeletePayload, error)
	CreateIntegration(ctx context.Context, input generated.CreateIntegrationInput) (*IntegrationCreatePayload, error)
	UpdateIntegration(ctx context.Context, id string, input generated.UpdateIntegrationInput) (*IntegrationUpdatePayload, error)
	DeleteIntegration(ctx context.Context, id string) (*IntegrationDeletePayload, error)
	CreateInvite(ctx context.Context, input generated.CreateInviteInput) (*InviteCreatePayload, error)
	UpdateInvite(ctx context.Context, id string, input generated.UpdateInviteInput) (*InviteUpdatePayload, error)
	DeleteInvite(ctx context.Context, id string) (*InviteDeletePayload, error)
	CreateOauthProvider(ctx context.Context, input generated.CreateOauthProviderInput) (*OauthProviderCreatePayload, error)
	UpdateOauthProvider(ctx context.Context, id string, input generated.UpdateOauthProviderInput) (*OauthProviderUpdatePayload, error)
	DeleteOauthProvider(ctx context.Context, id string) (*OauthProviderDeletePayload, error)
	CreateOhAuthTooToken(ctx context.Context, input generated.CreateOhAuthTooTokenInput) (*OhAuthTooTokenCreatePayload, error)
	UpdateOhAuthTooToken(ctx context.Context, id string, input generated.UpdateOhAuthTooTokenInput) (*OhAuthTooTokenUpdatePayload, error)
	DeleteOhAuthTooToken(ctx context.Context, id string) (*OhAuthTooTokenDeletePayload, error)
	CreateOrganization(ctx context.Context, input generated.CreateOrganizationInput) (*OrganizationCreatePayload, error)
	UpdateOrganization(ctx context.Context, id string, input generated.UpdateOrganizationInput) (*OrganizationUpdatePayload, error)
	DeleteOrganization(ctx context.Context, id string) (*OrganizationDeletePayload, error)
	UpdateOrganizationSetting(ctx context.Context, id string, input generated.UpdateOrganizationSettingInput) (*OrganizationSettingUpdatePayload, error)
	CreateOrgMembership(ctx context.Context, input generated.CreateOrgMembershipInput) (*OrgMembershipCreatePayload, error)
	UpdateOrgMembership(ctx context.Context, id string, input generated.UpdateOrgMembershipInput) (*OrgMembershipUpdatePayload, error)
	DeleteOrgMembership(ctx context.Context, id string) (*OrgMembershipDeletePayload, error)
	CreatePersonalAccessToken(ctx context.Context, input generated.CreatePersonalAccessTokenInput) (*PersonalAccessTokenCreatePayload, error)
	UpdatePersonalAccessToken(ctx context.Context, id string, input generated.UpdatePersonalAccessTokenInput) (*PersonalAccessTokenUpdatePayload, error)
	DeletePersonalAccessToken(ctx context.Context, id string) (*PersonalAccessTokenDeletePayload, error)
	CreateSubscriber(ctx context.Context, input generated.CreateSubscriberInput) (*SubscriberCreatePayload, error)
	UpdateSubscriber(ctx context.Context, email string, input generated.UpdateSubscriberInput) (*SubscriberUpdatePayload, error)
	DeleteSubscriber(ctx context.Context, email string, ownerID *string) (*SubscriberDeletePayload, error)
	CreateTemplate(ctx context.Context, input generated.CreateTemplateInput) (*TemplateCreatePayload, error)
	UpdateTemplate(ctx context.Context, id string, input generated.UpdateTemplateInput) (*TemplateUpdatePayload, error)
	DeleteTemplate(ctx context.Context, id string) (*TemplateDeletePayload, error)
	CreateTFASetting(ctx context.Context, input generated.CreateTFASettingInput) (*TFASettingCreatePayload, error)
	UpdateTFASetting(ctx context.Context, input generated.UpdateTFASettingInput) (*TFASettingUpdatePayload, error)
	CreateUser(ctx context.Context, input generated.CreateUserInput) (*UserCreatePayload, error)
	UpdateUser(ctx context.Context, id string, input generated.UpdateUserInput) (*UserUpdatePayload, error)
	DeleteUser(ctx context.Context, id string) (*UserDeletePayload, error)
	UpdateUserSetting(ctx context.Context, id string, input generated.UpdateUserSettingInput) (*UserSettingUpdatePayload, error)
	CreateWebhook(ctx context.Context, input generated.CreateWebhookInput) (*WebhookCreatePayload, error)
	UpdateWebhook(ctx context.Context, id string, input generated.UpdateWebhookInput) (*WebhookUpdatePayload, error)
	DeleteWebhook(ctx context.Context, id string) (*WebhookDeletePayload, error)
	PostMessageTo(ctx context.Context, subscriber string, content string) (string, error)
}

type OauthProviderCreatePayload

type OauthProviderCreatePayload struct {
	// Created oauthProvider
	OauthProvider *generated.OauthProvider `json:"oauthProvider"`
}

Return response for createOauthProvider mutation

type OauthProviderDeletePayload

type OauthProviderDeletePayload struct {
	// Deleted oauthProvider ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteOauthProvider mutation

type OauthProviderUpdatePayload

type OauthProviderUpdatePayload struct {
	// Updated oauthProvider
	OauthProvider *generated.OauthProvider `json:"oauthProvider"`
}

Return response for updateOauthProvider mutation

type OhAuthTooTokenCreatePayload

type OhAuthTooTokenCreatePayload struct {
	// Created ohAuthTooToken
	OhAuthTooToken *generated.OhAuthTooToken `json:"ohAuthTooToken"`
}

Return response for createOhAuthTooToken mutation

type OhAuthTooTokenDeletePayload

type OhAuthTooTokenDeletePayload struct {
	// Deleted ohAuthTooToken ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteOhAuthTooToken mutation

type OhAuthTooTokenUpdatePayload

type OhAuthTooTokenUpdatePayload struct {
	// Updated ohAuthTooToken
	OhAuthTooToken *generated.OhAuthTooToken `json:"ohAuthTooToken"`
}

Return response for updateOhAuthTooToken mutation

type OrgMembershipCreatePayload added in v0.2.4

type OrgMembershipCreatePayload struct {
	// Created orgMembership
	OrgMembership *generated.OrgMembership `json:"orgMembership"`
}

Return response for createOrgMembership mutation

type OrgMembershipDeletePayload added in v0.2.4

type OrgMembershipDeletePayload struct {
	// Deleted orgMembership ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteOrgMembership mutation

type OrgMembershipUpdatePayload added in v0.2.4

type OrgMembershipUpdatePayload struct {
	// Updated orgMembership
	OrgMembership *generated.OrgMembership `json:"orgMembership"`
}

Return response for updateOrgMembership mutation

type OrganizationCreatePayload

type OrganizationCreatePayload struct {
	// Created organization
	Organization *generated.Organization `json:"organization"`
}

Return response for createOrganization mutation

type OrganizationDeletePayload

type OrganizationDeletePayload struct {
	// Deleted organization ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteOrganization mutation

type OrganizationSettingCreatePayload

type OrganizationSettingCreatePayload struct {
	// Created organizationSetting
	OrganizationSetting *generated.OrganizationSetting `json:"organizationSetting"`
}

Return response for createOrganizationSetting mutation

type OrganizationSettingDeletePayload

type OrganizationSettingDeletePayload struct {
	// Deleted organizationSetting ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteOrganizationSetting mutation

type OrganizationSettingUpdatePayload

type OrganizationSettingUpdatePayload struct {
	// Updated organizationSetting
	OrganizationSetting *generated.OrganizationSetting `json:"organizationSetting"`
}

Return response for updateOrganizationSetting mutation

type OrganizationUpdatePayload

type OrganizationUpdatePayload struct {
	// Updated organization
	Organization *generated.Organization `json:"organization"`
}

Return response for updateOrganization mutation

type PermissionDeniedError

type PermissionDeniedError struct {
	Action     string
	ObjectType string
}

PermissionDeniedError is returned when user is not authorized to perform the requested query or mutation

func (*PermissionDeniedError) Error

func (e *PermissionDeniedError) Error() string

Error returns the PermissionDeniedError in string format

type PersonalAccessTokenCreatePayload

type PersonalAccessTokenCreatePayload struct {
	// Created personalAccessToken
	PersonalAccessToken *generated.PersonalAccessToken `json:"personalAccessToken"`
}

Return response for createPersonalAccessToken mutation

type PersonalAccessTokenDeletePayload

type PersonalAccessTokenDeletePayload struct {
	// Deleted personalAccessToken ID
	DeletedID string `json:"deletedID"`
}

Return response for deletePersonalAccessToken mutation

type PersonalAccessTokenUpdatePayload

type PersonalAccessTokenUpdatePayload struct {
	// Updated personalAccessToken
	PersonalAccessToken *generated.PersonalAccessToken `json:"personalAccessToken"`
}

Return response for updatePersonalAccessToken mutation

type QueryResolver

type QueryResolver interface {
	Node(ctx context.Context, id string) (generated.Noder, error)
	Nodes(ctx context.Context, ids []string) ([]generated.Noder, error)
	APITokens(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.APITokenWhereInput) (*generated.APITokenConnection, error)
	DocumentDataSlice(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.DocumentDataWhereInput) (*generated.DocumentDataConnection, error)
	DocumentDataHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.DocumentDataHistoryWhereInput) (*generated.DocumentDataHistoryConnection, error)
	Entitlements(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.EntitlementWhereInput) (*generated.EntitlementConnection, error)
	EntitlementHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.EntitlementHistoryWhereInput) (*generated.EntitlementHistoryConnection, error)
	Events(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.EventWhereInput) (*generated.EventConnection, error)
	EventHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.EventHistoryWhereInput) (*generated.EventHistoryConnection, error)
	Features(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.FeatureWhereInput) (*generated.FeatureConnection, error)
	FeatureHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.FeatureHistoryWhereInput) (*generated.FeatureHistoryConnection, error)
	Files(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.FileWhereInput) (*generated.FileConnection, error)
	FileHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.FileHistoryWhereInput) (*generated.FileHistoryConnection, error)
	Groups(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.GroupOrder, where *generated.GroupWhereInput) (*generated.GroupConnection, error)
	GroupHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.GroupHistoryOrder, where *generated.GroupHistoryWhereInput) (*generated.GroupHistoryConnection, error)
	GroupMemberships(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.GroupMembershipWhereInput) (*generated.GroupMembershipConnection, error)
	GroupMembershipHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.GroupMembershipHistoryWhereInput) (*generated.GroupMembershipHistoryConnection, error)
	GroupSettings(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.GroupSettingWhereInput) (*generated.GroupSettingConnection, error)
	GroupSettingHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.GroupSettingHistoryWhereInput) (*generated.GroupSettingHistoryConnection, error)
	Hushes(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.HushOrder, where *generated.HushWhereInput) (*generated.HushConnection, error)
	HushHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.HushHistoryOrder, where *generated.HushHistoryWhereInput) (*generated.HushHistoryConnection, error)
	Integrations(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.IntegrationOrder, where *generated.IntegrationWhereInput) (*generated.IntegrationConnection, error)
	IntegrationHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.IntegrationHistoryOrder, where *generated.IntegrationHistoryWhereInput) (*generated.IntegrationHistoryConnection, error)
	Invites(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.InviteWhereInput) (*generated.InviteConnection, error)
	OauthProviders(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OauthProviderWhereInput) (*generated.OauthProviderConnection, error)
	OauthProviderHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OauthProviderHistoryWhereInput) (*generated.OauthProviderHistoryConnection, error)
	OhAuthTooTokens(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OhAuthTooTokenWhereInput) (*generated.OhAuthTooTokenConnection, error)
	OrgMemberships(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OrgMembershipWhereInput) (*generated.OrgMembershipConnection, error)
	OrgMembershipHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OrgMembershipHistoryWhereInput) (*generated.OrgMembershipHistoryConnection, error)
	Organizations(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.OrganizationOrder, where *generated.OrganizationWhereInput) (*generated.OrganizationConnection, error)
	OrganizationHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.OrganizationHistoryOrder, where *generated.OrganizationHistoryWhereInput) (*generated.OrganizationHistoryConnection, error)
	OrganizationSettings(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OrganizationSettingWhereInput) (*generated.OrganizationSettingConnection, error)
	OrganizationSettingHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.OrganizationSettingHistoryWhereInput) (*generated.OrganizationSettingHistoryConnection, error)
	PersonalAccessTokens(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.PersonalAccessTokenWhereInput) (*generated.PersonalAccessTokenConnection, error)
	Subscribers(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.SubscriberWhereInput) (*generated.SubscriberConnection, error)
	TfaSettings(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.TFASettingWhereInput) (*generated.TFASettingConnection, error)
	Templates(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.TemplateOrder, where *generated.TemplateWhereInput) (*generated.TemplateConnection, error)
	TemplateHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.TemplateHistoryOrder, where *generated.TemplateHistoryWhereInput) (*generated.TemplateHistoryConnection, error)
	Users(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.UserOrder, where *generated.UserWhereInput) (*generated.UserConnection, error)
	UserHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.UserHistoryOrder, where *generated.UserHistoryWhereInput) (*generated.UserHistoryConnection, error)
	UserSettings(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.UserSettingWhereInput) (*generated.UserSettingConnection, error)
	UserSettingHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, where *generated.UserSettingHistoryWhereInput) (*generated.UserSettingHistoryConnection, error)
	Webhooks(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.WebhookOrder, where *generated.WebhookWhereInput) (*generated.WebhookConnection, error)
	WebhookHistories(ctx context.Context, after *entgql.Cursor[string], first *int, before *entgql.Cursor[string], last *int, orderBy *generated.WebhookHistoryOrder, where *generated.WebhookHistoryWhereInput) (*generated.WebhookHistoryConnection, error)
	APIToken(ctx context.Context, id string) (*generated.APIToken, error)
	DocumentData(ctx context.Context, id string) (*generated.DocumentData, error)
	Entitlement(ctx context.Context, id string) (*generated.Entitlement, error)
	Event(ctx context.Context, id string) (*generated.Event, error)
	Feature(ctx context.Context, id string) (*generated.Feature, error)
	File(ctx context.Context, id string) (*generated.File, error)
	Group(ctx context.Context, id string) (*generated.Group, error)
	GroupMembership(ctx context.Context, id string) (*generated.GroupMembership, error)
	GroupSetting(ctx context.Context, id string) (*generated.GroupSetting, error)
	Hush(ctx context.Context, id string) (*generated.Hush, error)
	Integration(ctx context.Context, id string) (*generated.Integration, error)
	Invite(ctx context.Context, id string) (*generated.Invite, error)
	OauthProvider(ctx context.Context, id string) (*generated.OauthProvider, error)
	OhAuthTooToken(ctx context.Context, id string) (*generated.OhAuthTooToken, error)
	Organization(ctx context.Context, id string) (*generated.Organization, error)
	OrganizationSetting(ctx context.Context, id string) (*generated.OrganizationSetting, error)
	OrgMembership(ctx context.Context, id string) (*generated.OrgMembership, error)
	PersonalAccessToken(ctx context.Context, id string) (*generated.PersonalAccessToken, error)
	Subscriber(ctx context.Context, email string) (*generated.Subscriber, error)
	Template(ctx context.Context, id string) (*generated.Template, error)
	TfaSetting(ctx context.Context, id *string) (*generated.TFASetting, error)
	User(ctx context.Context, id string) (*generated.User, error)
	UserSetting(ctx context.Context, id string) (*generated.UserSetting, error)
	Webhook(ctx context.Context, id string) (*generated.Webhook, error)
}

type Resolver

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

Resolver provides a graph response resolver

func NewResolver

func NewResolver(client *ent.Client) *Resolver

NewResolver returns a resolver configured with the given ent client

func (*Resolver) CreateGroupInput added in v0.2.5

func (r *Resolver) CreateGroupInput() CreateGroupInputResolver

CreateGroupInput returns CreateGroupInputResolver implementation.

func (*Resolver) CreateOrganizationInput added in v0.2.5

func (r *Resolver) CreateOrganizationInput() CreateOrganizationInputResolver

CreateOrganizationInput returns CreateOrganizationInputResolver implementation.

func (*Resolver) Handler

func (r *Resolver) Handler(withPlayground bool) *Handler

Handler returns an http handler for a graph resolver

func (*Resolver) Mutation

func (r *Resolver) Mutation() MutationResolver

Mutation returns MutationResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() QueryResolver

Query returns QueryResolver implementation.

func (*Resolver) Subscription added in v0.3.2

func (r *Resolver) Subscription() SubscriptionResolver

Subscription returns SubscriptionResolver implementation.

func (*Resolver) UpdateGroupInput added in v0.2.5

func (r *Resolver) UpdateGroupInput() UpdateGroupInputResolver

UpdateGroupInput returns UpdateGroupInputResolver implementation.

func (*Resolver) UpdateOrganizationInput added in v0.2.5

func (r *Resolver) UpdateOrganizationInput() UpdateOrganizationInputResolver

UpdateOrganizationInput returns UpdateOrganizationInputResolver implementation.

func (*Resolver) UpdateTFASettingInput added in v0.4.4

func (r *Resolver) UpdateTFASettingInput() UpdateTFASettingInputResolver

UpdateTFASettingInput returns UpdateTFASettingInputResolver implementation.

func (Resolver) WithLogger

func (r Resolver) WithLogger(l *zap.SugaredLogger) *Resolver

type ResolverRoot

type ResolverRoot interface {
	Mutation() MutationResolver
	Query() QueryResolver
	Subscription() SubscriptionResolver
	CreateGroupInput() CreateGroupInputResolver
	CreateOrganizationInput() CreateOrganizationInputResolver
	UpdateGroupInput() UpdateGroupInputResolver
	UpdateOrganizationInput() UpdateOrganizationInputResolver
	UpdateTFASettingInput() UpdateTFASettingInputResolver
}

type SubscriberCreatePayload added in v0.3.6

type SubscriberCreatePayload struct {
	// Created subscriber
	Subscriber *generated.Subscriber `json:"subscriber"`
}

Return response for createSubscriber mutation

type SubscriberDeletePayload added in v0.3.6

type SubscriberDeletePayload struct {
	// Deleted subscriber email
	Email string `json:"email"`
}

Return response for deleteSubscriber mutation

type SubscriberUpdatePayload added in v0.3.6

type SubscriberUpdatePayload struct {
	// Updated subscriber
	Subscriber *generated.Subscriber `json:"subscriber"`
}

Return response for updateSubscriber mutation

type Subscription added in v0.3.2

type Subscription struct {
}

type SubscriptionResolver added in v0.3.2

type SubscriptionResolver interface {
	Subscribe(ctx context.Context, subscriber string) (<-chan string, error)
}

type TFASettingCreatePayload added in v0.4.4

type TFASettingCreatePayload struct {
	// Created tfaSetting
	TfaSetting *generated.TFASetting `json:"tfaSetting"`
}

Return response for createTFASetting mutation

type TFASettingUpdatePayload added in v0.4.4

type TFASettingUpdatePayload struct {
	// Updated tfaSetting
	TfaSetting *generated.TFASetting `json:"tfaSetting"`
}

Return response for updateTFASetting mutation

type TemplateCreatePayload added in v0.4.3

type TemplateCreatePayload struct {
	// Created template
	Template *generated.Template `json:"template"`
}

Return response for createTemplate mutation

type TemplateDeletePayload added in v0.4.3

type TemplateDeletePayload struct {
	// Deleted template ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTemplate mutation

type TemplateUpdatePayload added in v0.4.3

type TemplateUpdatePayload struct {
	// Updated template
	Template *generated.Template `json:"template"`
}

Return response for updateTemplate mutation

type UpdateGroupInputResolver added in v0.2.5

type UpdateGroupInputResolver interface {
	AddGroupMembers(ctx context.Context, obj *generated.UpdateGroupInput, data []*generated.CreateGroupMembershipInput) error
	UpdateGroupSettings(ctx context.Context, obj *generated.UpdateGroupInput, data *generated.UpdateGroupSettingInput) error
}

type UpdateOrganizationInputResolver added in v0.2.5

type UpdateOrganizationInputResolver interface {
	AddOrgMembers(ctx context.Context, obj *generated.UpdateOrganizationInput, data []*generated.CreateOrgMembershipInput) error
	UpdateOrgSettings(ctx context.Context, obj *generated.UpdateOrganizationInput, data *generated.UpdateOrganizationSettingInput) error
}

type UpdateTFASettingInputResolver added in v0.4.4

type UpdateTFASettingInputResolver interface {
	RegenBackupCodes(ctx context.Context, obj *generated.UpdateTFASettingInput, data *bool) error
}

type UserCreatePayload

type UserCreatePayload struct {
	// Created user
	User *generated.User `json:"user"`
}

Return response for createUser mutation

type UserDeletePayload

type UserDeletePayload struct {
	// Deleted user ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteUser mutation

type UserSettingUpdatePayload

type UserSettingUpdatePayload struct {
	// Updated userSetting
	UserSetting *generated.UserSetting `json:"userSetting"`
}

Return response for updateUserSetting mutation

type UserUpdatePayload

type UserUpdatePayload struct {
	// Updated user
	User *generated.User `json:"user"`
}

Return response for updateUser mutation

type WebhookCreatePayload added in v0.5.0

type WebhookCreatePayload struct {
	// Created webhook
	Webhook *generated.Webhook `json:"webhook"`
}

Return response for createWebhook mutation

type WebhookDeletePayload added in v0.5.0

type WebhookDeletePayload struct {
	// Deleted webhook ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteWebhook mutation

type WebhookUpdatePayload added in v0.5.0

type WebhookUpdatePayload struct {
	// Updated webhook
	Webhook *generated.Webhook `json:"webhook"`
}

Return response for updateWebhook mutation

Jump to

Keyboard shortcuts

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