graphapi

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 49 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")

	// ErrSearchFailed is returned when the search operation fails
	ErrSearchFailed = errors.New("search failed, please try again")
)

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 APITokenBulkCreatePayload added in v0.6.0

type APITokenBulkCreatePayload struct {
	// Created apiTokens
	APITokens []*generated.APIToken `json:"apiTokens,omitempty"`
}

Return response for createBulkAPIToken mutation

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
}

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
	}

	APITokenBulkCreatePayload struct {
		APITokens 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
		Owner      func(childComplexity int) int
		OwnerID    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
	}

	DocumentDataBulkCreatePayload struct {
		DocumentData 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
		OwnerID     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
		OwnerID                func(childComplexity int) int
		Tags                   func(childComplexity int) int
		Tier                   func(childComplexity int) int
		UpdatedAt              func(childComplexity int) int
		UpdatedBy              func(childComplexity int) int
	}

	EntitlementBulkCreatePayload struct {
		Entitlements 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
		OwnerID                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
	}

	EventBulkCreatePayload struct {
		Events 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
	}

	FeatureBulkCreatePayload struct {
		Features 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
	}

	FileBulkCreatePayload struct {
		Files 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
	}

	GlobalSearchResultConnection struct {
		Nodes func(childComplexity int) int
		Page  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
		OwnerID         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
	}

	GroupBulkCreatePayload struct {
		Groups 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
		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
	}

	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
	}

	GroupMembershipBulkCreatePayload struct {
		GroupMemberships 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
	}

	GroupSearchResult struct {
		Groups 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
	}

	GroupSettingBulkCreatePayload struct {
		GroupSettings 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
	}

	HushBulkCreatePayload struct {
		Hushes 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
	}

	IntegrationBulkCreatePayload struct {
		Integrations 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
	}

	InviteBulkCreatePayload struct {
		Invites 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
		CreateBulkAPIToken               func(childComplexity int, input []*generated.CreateAPITokenInput) int
		CreateBulkCSVAPIToken            func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVDocumentData        func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVEntitlement         func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVEvent               func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVFeature             func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVFile                func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVGroup               func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVGroupMembership     func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVGroupSetting        func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVHush                func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVIntegration         func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVInvite              func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVOauthProvider       func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVOhAuthTooToken      func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVOrgMembership       func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVOrganization        func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVOrganizationSetting func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVPersonalAccessToken func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVSubscriber          func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVTemplate            func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVUserSetting         func(childComplexity int, input graphql.Upload) int
		CreateBulkCSVWebhook             func(childComplexity int, input graphql.Upload) int
		CreateBulkDocumentData           func(childComplexity int, input []*generated.CreateDocumentDataInput) int
		CreateBulkEntitlement            func(childComplexity int, input []*generated.CreateEntitlementInput) int
		CreateBulkEvent                  func(childComplexity int, input []*generated.CreateEventInput) int
		CreateBulkFeature                func(childComplexity int, input []*generated.CreateFeatureInput) int
		CreateBulkFile                   func(childComplexity int, input []*generated.CreateFileInput) int
		CreateBulkGroup                  func(childComplexity int, input []*generated.CreateGroupInput) int
		CreateBulkGroupMembership        func(childComplexity int, input []*generated.CreateGroupMembershipInput) int
		CreateBulkGroupSetting           func(childComplexity int, input []*generated.CreateGroupSettingInput) int
		CreateBulkHush                   func(childComplexity int, input []*generated.CreateHushInput) int
		CreateBulkIntegration            func(childComplexity int, input []*generated.CreateIntegrationInput) int
		CreateBulkInvite                 func(childComplexity int, input []*generated.CreateInviteInput) int
		CreateBulkOauthProvider          func(childComplexity int, input []*generated.CreateOauthProviderInput) int
		CreateBulkOhAuthTooToken         func(childComplexity int, input []*generated.CreateOhAuthTooTokenInput) int
		CreateBulkOrgMembership          func(childComplexity int, input []*generated.CreateOrgMembershipInput) int
		CreateBulkOrganization           func(childComplexity int, input []*generated.CreateOrganizationInput) int
		CreateBulkOrganizationSetting    func(childComplexity int, input []*generated.CreateOrganizationSettingInput) int
		CreateBulkPersonalAccessToken    func(childComplexity int, input []*generated.CreatePersonalAccessTokenInput) int
		CreateBulkSubscriber             func(childComplexity int, input []*generated.CreateSubscriberInput) int
		CreateBulkTemplate               func(childComplexity int, input []*generated.CreateTemplateInput) int
		CreateBulkUserSetting            func(childComplexity int, input []*generated.CreateUserSettingInput) int
		CreateBulkWebhook                func(childComplexity int, input []*generated.CreateWebhookInput) 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
		CreateGroupSetting               func(childComplexity int, input generated.CreateGroupSettingInput) 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
		CreateOrganizationSetting        func(childComplexity int, input generated.CreateOrganizationSettingInput) 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
		CreateUserSetting                func(childComplexity int, input generated.CreateUserSettingInput) 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
		DeleteGroupSetting               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
		DeleteOrganizationSetting        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
		DeleteUserSetting                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
		OwnerID      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
	}

	OauthProviderBulkCreatePayload struct {
		OauthProviders 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
		OwnerID      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
	}

	OhAuthTooTokenBulkCreatePayload struct {
		OhAuthTooTokens 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
	}

	OrgMembershipBulkCreatePayload struct {
		OrgMemberships 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
		Documentdata         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
	}

	OrganizationBulkCreatePayload struct {
		Organizations 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
	}

	OrganizationSearchResult struct {
		Organizations 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
	}

	OrganizationSettingBulkCreatePayload struct {
		OrganizationSettings 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
	}

	PersonalAccessTokenBulkCreatePayload struct {
		PersonalAccessTokens 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
		Search                       func(childComplexity int, query string) 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
	}

	SubscriberBulkCreatePayload struct {
		Subscribers 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
	}

	SubscriberSearchResult struct {
		Subscribers 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
		OwnerID      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
	}

	TemplateBulkCreatePayload struct {
		Templates 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
		OwnerID      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
	}

	UserBulkCreatePayload struct {
		Users 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
	}

	UserSearchResult struct {
		Users 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
	}

	UserSettingBulkCreatePayload struct {
		UserSettings func(childComplexity int) int
	}

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

	UserSettingCreatePayload struct {
		UserSetting func(childComplexity int) int
	}

	UserSettingDeletePayload struct {
		DeletedID 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
	}

	WebhookBulkCreatePayload struct {
		Webhooks 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 DocumentDataBulkCreatePayload added in v0.6.0

type DocumentDataBulkCreatePayload struct {
	// Created documentData
	DocumentData []*generated.DocumentData `json:"documentData,omitempty"`
}

Return response for createBulkDocumentData mutation

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 EntitlementBulkCreatePayload added in v0.6.0

type EntitlementBulkCreatePayload struct {
	// Created entitlements
	Entitlements []*generated.Entitlement `json:"entitlements,omitempty"`
}

Return response for createBulkEntitlement mutation

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 EventBulkCreatePayload added in v0.6.0

type EventBulkCreatePayload struct {
	// Created events
	Events []*generated.Event `json:"events,omitempty"`
}

Return response for createBulkEvent 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 FeatureBulkCreatePayload added in v0.6.0

type FeatureBulkCreatePayload struct {
	// Created features
	Features []*generated.Feature `json:"features,omitempty"`
}

Return response for createBulkFeature 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 FileBulkCreatePayload added in v0.6.0

type FileBulkCreatePayload struct {
	// Created files
	Files []*generated.File `json:"files,omitempty"`
}

Return response for createBulkFile 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 GlobalSearchResult added in v0.5.3

type GlobalSearchResult interface {
	IsGlobalSearchResult()
}

type GlobalSearchResultConnection added in v0.5.3

type GlobalSearchResultConnection struct {
	Page  *entgql.PageInfo[string] `json:"page"`
	Nodes []GlobalSearchResult     `json:"nodes"`
}

type GroupBulkCreatePayload added in v0.6.0

type GroupBulkCreatePayload struct {
	// Created groups
	Groups []*generated.Group `json:"groups,omitempty"`
}

Return response for createBulkGroup 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 GroupMembershipBulkCreatePayload added in v0.6.0

type GroupMembershipBulkCreatePayload struct {
	// Created groupMemberships
	GroupMemberships []*generated.GroupMembership `json:"groupMemberships,omitempty"`
}

Return response for createBulkGroupMembership 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 GroupSearchResult added in v0.5.3

type GroupSearchResult struct {
	Groups []*generated.Group `json:"groups,omitempty"`
}

func (GroupSearchResult) IsGlobalSearchResult added in v0.5.3

func (GroupSearchResult) IsGlobalSearchResult()

type GroupSettingBulkCreatePayload added in v0.6.0

type GroupSettingBulkCreatePayload struct {
	// Created groupSettings
	GroupSettings []*generated.GroupSetting `json:"groupSettings,omitempty"`
}

Return response for createBulkGroupSetting 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 HushBulkCreatePayload added in v0.6.0

type HushBulkCreatePayload struct {
	// Created hushs
	Hushes []*generated.Hush `json:"hushes,omitempty"`
}

Return response for createBulkHush mutation

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 IntegrationBulkCreatePayload added in v0.6.0

type IntegrationBulkCreatePayload struct {
	// Created integrations
	Integrations []*generated.Integration `json:"integrations,omitempty"`
}

Return response for createBulkIntegration 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 InviteBulkCreatePayload added in v0.6.0

type InviteBulkCreatePayload struct {
	// Created invites
	Invites []*generated.Invite `json:"invites,omitempty"`
}

Return response for createBulkInvite 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)
	CreateBulkAPIToken(ctx context.Context, input []*generated.CreateAPITokenInput) (*APITokenBulkCreatePayload, error)
	CreateBulkCSVAPIToken(ctx context.Context, input graphql.Upload) (*APITokenBulkCreatePayload, 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)
	CreateBulkDocumentData(ctx context.Context, input []*generated.CreateDocumentDataInput) (*DocumentDataBulkCreatePayload, error)
	CreateBulkCSVDocumentData(ctx context.Context, input graphql.Upload) (*DocumentDataBulkCreatePayload, 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)
	CreateBulkEntitlement(ctx context.Context, input []*generated.CreateEntitlementInput) (*EntitlementBulkCreatePayload, error)
	CreateBulkCSVEntitlement(ctx context.Context, input graphql.Upload) (*EntitlementBulkCreatePayload, 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)
	CreateBulkEvent(ctx context.Context, input []*generated.CreateEventInput) (*EventBulkCreatePayload, error)
	CreateBulkCSVEvent(ctx context.Context, input graphql.Upload) (*EventBulkCreatePayload, 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)
	CreateBulkFeature(ctx context.Context, input []*generated.CreateFeatureInput) (*FeatureBulkCreatePayload, error)
	CreateBulkCSVFeature(ctx context.Context, input graphql.Upload) (*FeatureBulkCreatePayload, 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)
	CreateBulkFile(ctx context.Context, input []*generated.CreateFileInput) (*FileBulkCreatePayload, error)
	CreateBulkCSVFile(ctx context.Context, input graphql.Upload) (*FileBulkCreatePayload, 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)
	CreateBulkGroup(ctx context.Context, input []*generated.CreateGroupInput) (*GroupBulkCreatePayload, error)
	CreateBulkCSVGroup(ctx context.Context, input graphql.Upload) (*GroupBulkCreatePayload, 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)
	CreateBulkGroupMembership(ctx context.Context, input []*generated.CreateGroupMembershipInput) (*GroupMembershipBulkCreatePayload, error)
	CreateBulkCSVGroupMembership(ctx context.Context, input graphql.Upload) (*GroupMembershipBulkCreatePayload, error)
	UpdateGroupMembership(ctx context.Context, id string, input generated.UpdateGroupMembershipInput) (*GroupMembershipUpdatePayload, error)
	DeleteGroupMembership(ctx context.Context, id string) (*GroupMembershipDeletePayload, error)
	CreateGroupSetting(ctx context.Context, input generated.CreateGroupSettingInput) (*GroupSettingCreatePayload, error)
	CreateBulkGroupSetting(ctx context.Context, input []*generated.CreateGroupSettingInput) (*GroupSettingBulkCreatePayload, error)
	CreateBulkCSVGroupSetting(ctx context.Context, input graphql.Upload) (*GroupSettingBulkCreatePayload, error)
	UpdateGroupSetting(ctx context.Context, id string, input generated.UpdateGroupSettingInput) (*GroupSettingUpdatePayload, error)
	DeleteGroupSetting(ctx context.Context, id string) (*GroupSettingDeletePayload, error)
	CreateHush(ctx context.Context, input generated.CreateHushInput) (*HushCreatePayload, error)
	CreateBulkHush(ctx context.Context, input []*generated.CreateHushInput) (*HushBulkCreatePayload, error)
	CreateBulkCSVHush(ctx context.Context, input graphql.Upload) (*HushBulkCreatePayload, 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)
	CreateBulkIntegration(ctx context.Context, input []*generated.CreateIntegrationInput) (*IntegrationBulkCreatePayload, error)
	CreateBulkCSVIntegration(ctx context.Context, input graphql.Upload) (*IntegrationBulkCreatePayload, 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)
	CreateBulkInvite(ctx context.Context, input []*generated.CreateInviteInput) (*InviteBulkCreatePayload, error)
	CreateBulkCSVInvite(ctx context.Context, input graphql.Upload) (*InviteBulkCreatePayload, 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)
	CreateBulkOauthProvider(ctx context.Context, input []*generated.CreateOauthProviderInput) (*OauthProviderBulkCreatePayload, error)
	CreateBulkCSVOauthProvider(ctx context.Context, input graphql.Upload) (*OauthProviderBulkCreatePayload, 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)
	CreateBulkOhAuthTooToken(ctx context.Context, input []*generated.CreateOhAuthTooTokenInput) (*OhAuthTooTokenBulkCreatePayload, error)
	CreateBulkCSVOhAuthTooToken(ctx context.Context, input graphql.Upload) (*OhAuthTooTokenBulkCreatePayload, 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)
	CreateBulkOrganization(ctx context.Context, input []*generated.CreateOrganizationInput) (*OrganizationBulkCreatePayload, error)
	CreateBulkCSVOrganization(ctx context.Context, input graphql.Upload) (*OrganizationBulkCreatePayload, error)
	UpdateOrganization(ctx context.Context, id string, input generated.UpdateOrganizationInput) (*OrganizationUpdatePayload, error)
	DeleteOrganization(ctx context.Context, id string) (*OrganizationDeletePayload, error)
	CreateOrganizationSetting(ctx context.Context, input generated.CreateOrganizationSettingInput) (*OrganizationSettingCreatePayload, error)
	CreateBulkOrganizationSetting(ctx context.Context, input []*generated.CreateOrganizationSettingInput) (*OrganizationSettingBulkCreatePayload, error)
	CreateBulkCSVOrganizationSetting(ctx context.Context, input graphql.Upload) (*OrganizationSettingBulkCreatePayload, error)
	UpdateOrganizationSetting(ctx context.Context, id string, input generated.UpdateOrganizationSettingInput) (*OrganizationSettingUpdatePayload, error)
	DeleteOrganizationSetting(ctx context.Context, id string) (*OrganizationSettingDeletePayload, error)
	CreateOrgMembership(ctx context.Context, input generated.CreateOrgMembershipInput) (*OrgMembershipCreatePayload, error)
	CreateBulkOrgMembership(ctx context.Context, input []*generated.CreateOrgMembershipInput) (*OrgMembershipBulkCreatePayload, error)
	CreateBulkCSVOrgMembership(ctx context.Context, input graphql.Upload) (*OrgMembershipBulkCreatePayload, 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)
	CreateBulkPersonalAccessToken(ctx context.Context, input []*generated.CreatePersonalAccessTokenInput) (*PersonalAccessTokenBulkCreatePayload, error)
	CreateBulkCSVPersonalAccessToken(ctx context.Context, input graphql.Upload) (*PersonalAccessTokenBulkCreatePayload, 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)
	CreateBulkSubscriber(ctx context.Context, input []*generated.CreateSubscriberInput) (*SubscriberBulkCreatePayload, error)
	CreateBulkCSVSubscriber(ctx context.Context, input graphql.Upload) (*SubscriberBulkCreatePayload, 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)
	CreateBulkTemplate(ctx context.Context, input []*generated.CreateTemplateInput) (*TemplateBulkCreatePayload, error)
	CreateBulkCSVTemplate(ctx context.Context, input graphql.Upload) (*TemplateBulkCreatePayload, 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)
	CreateUserSetting(ctx context.Context, input generated.CreateUserSettingInput) (*UserSettingCreatePayload, error)
	CreateBulkUserSetting(ctx context.Context, input []*generated.CreateUserSettingInput) (*UserSettingBulkCreatePayload, error)
	CreateBulkCSVUserSetting(ctx context.Context, input graphql.Upload) (*UserSettingBulkCreatePayload, error)
	UpdateUserSetting(ctx context.Context, id string, input generated.UpdateUserSettingInput) (*UserSettingUpdatePayload, error)
	DeleteUserSetting(ctx context.Context, id string) (*UserSettingDeletePayload, error)
	CreateWebhook(ctx context.Context, input generated.CreateWebhookInput) (*WebhookCreatePayload, error)
	CreateBulkWebhook(ctx context.Context, input []*generated.CreateWebhookInput) (*WebhookBulkCreatePayload, error)
	CreateBulkCSVWebhook(ctx context.Context, input graphql.Upload) (*WebhookBulkCreatePayload, 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 OauthProviderBulkCreatePayload added in v0.6.0

type OauthProviderBulkCreatePayload struct {
	// Created oauthProviders
	OauthProviders []*generated.OauthProvider `json:"oauthProviders,omitempty"`
}

Return response for createBulkOauthProvider mutation

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 OhAuthTooTokenBulkCreatePayload added in v0.6.0

type OhAuthTooTokenBulkCreatePayload struct {
	// Created ohAuthTooTokens
	OhAuthTooTokens []*generated.OhAuthTooToken `json:"ohAuthTooTokens,omitempty"`
}

Return response for createBulkOhAuthTooToken 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 OrgMembershipBulkCreatePayload added in v0.6.0

type OrgMembershipBulkCreatePayload struct {
	// Created orgMemberships
	OrgMemberships []*generated.OrgMembership `json:"orgMemberships,omitempty"`
}

Return response for createBulkOrgMembership 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 OrganizationBulkCreatePayload added in v0.6.0

type OrganizationBulkCreatePayload struct {
	// Created organizations
	Organizations []*generated.Organization `json:"organizations,omitempty"`
}

Return response for createBulkOrganization 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 OrganizationSearchResult added in v0.5.3

type OrganizationSearchResult struct {
	Organizations []*generated.Organization `json:"organizations,omitempty"`
}

func (OrganizationSearchResult) IsGlobalSearchResult added in v0.5.3

func (OrganizationSearchResult) IsGlobalSearchResult()

type OrganizationSettingBulkCreatePayload added in v0.6.0

type OrganizationSettingBulkCreatePayload struct {
	// Created organizationSettings
	OrganizationSettings []*generated.OrganizationSetting `json:"organizationSettings,omitempty"`
}

Return response for createBulkOrganizationSetting 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 PersonalAccessTokenBulkCreatePayload added in v0.6.0

type PersonalAccessTokenBulkCreatePayload struct {
	// Created personalAccessTokens
	PersonalAccessTokens []*generated.PersonalAccessToken `json:"personalAccessTokens,omitempty"`
}

Return response for createBulkPersonalAccessToken mutation

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)
	Search(ctx context.Context, query string) (*GlobalSearchResultConnection, 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

func (*Resolver) WithPool added in v0.6.0

func (r *Resolver) WithPool(maxWorkers int, maxCapacity int, options ...pond.Option)

type ResolverRoot

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

type SubscriberBulkCreatePayload added in v0.6.0

type SubscriberBulkCreatePayload struct {
	// Created subscribers
	Subscribers []*generated.Subscriber `json:"subscribers,omitempty"`
}

Return response for createBulkSubscriber mutation

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 SubscriberSearchResult added in v0.5.3

type SubscriberSearchResult struct {
	Subscribers []*generated.Subscriber `json:"subscribers,omitempty"`
}

func (SubscriberSearchResult) IsGlobalSearchResult added in v0.5.3

func (SubscriberSearchResult) IsGlobalSearchResult()

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 TemplateBulkCreatePayload added in v0.6.0

type TemplateBulkCreatePayload struct {
	// Created templates
	Templates []*generated.Template `json:"templates,omitempty"`
}

Return response for createBulkTemplate 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 UserBulkCreatePayload added in v0.6.0

type UserBulkCreatePayload struct {
	// Created users
	Users []*generated.User `json:"users,omitempty"`
}

Return response for createBulkUser mutation

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 UserSearchResult added in v0.5.3

type UserSearchResult struct {
	Users []*generated.User `json:"users,omitempty"`
}

func (UserSearchResult) IsGlobalSearchResult added in v0.5.3

func (UserSearchResult) IsGlobalSearchResult()

type UserSettingBulkCreatePayload added in v0.6.0

type UserSettingBulkCreatePayload struct {
	// Created userSettings
	UserSettings []*generated.UserSetting `json:"userSettings,omitempty"`
}

Return response for createBulkUserSetting mutation

type UserSettingCreatePayload

type UserSettingCreatePayload struct {
	// Created userSetting
	UserSetting *generated.UserSetting `json:"userSetting"`
}

Return response for createUserSetting mutation

type UserSettingDeletePayload

type UserSettingDeletePayload struct {
	// Deleted userSetting ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteUserSetting 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 WebhookBulkCreatePayload added in v0.6.0

type WebhookBulkCreatePayload struct {
	// Created webhooks
	Webhooks []*generated.Webhook `json:"webhooks,omitempty"`
}

Return response for createBulkWebhook 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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