enums

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Overview

Package enums has enums

Code generated by ent. DO NOT EDIT. This file is auto-generated to ensure WorkflowObjectType enum matches entities with workflow support.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrWrongTypeDirectoryAccountType indicates the value type for DirectoryAccountType is incorrect.
	ErrWrongTypeDirectoryAccountType = errors.New("wrong type for DirectoryAccountType")
	// ErrWrongTypeDirectoryAccountStatus indicates the value type for DirectoryAccountStatus is incorrect.
	ErrWrongTypeDirectoryAccountStatus = errors.New("wrong type for DirectoryAccountStatus")
	// ErrWrongTypeDirectoryAccountMFAState indicates the value type for DirectoryAccountMFAState is incorrect.
	ErrWrongTypeDirectoryAccountMFAState = errors.New("wrong type for DirectoryAccountMFAState")
	// ErrWrongTypeDirectoryGroupClassification indicates the value type for DirectoryGroupClassification is incorrect.
	ErrWrongTypeDirectoryGroupClassification = errors.New("wrong type for DirectoryGroupClassification")
	// ErrWrongTypeDirectoryGroupStatus indicates the value type for DirectoryGroupStatus is incorrect.
	ErrWrongTypeDirectoryGroupStatus = errors.New("wrong type for DirectoryGroupStatus")
	// ErrWrongTypeDirectoryMembershipRole indicates the value type for DirectoryMembershipRole is incorrect.
	ErrWrongTypeDirectoryMembershipRole = errors.New("wrong type for DirectoryMembershipRole")
	// ErrWrongTypeDirectorySyncRunStatus indicates the value type for DirectorySyncRunStatus is incorrect.
	ErrWrongTypeDirectorySyncRunStatus = errors.New("wrong type for DirectorySyncRunStatus")
	// ErrWrongTypeWorkflowKind indicates the value type for WorkflowKind is incorrect.
	ErrWrongTypeWorkflowKind = errors.New("wrong type for WorkflowKind")
	// ErrWrongTypeWorkflowInstanceState indicates the value type for WorkflowInstanceState is incorrect.
	ErrWrongTypeWorkflowInstanceState = errors.New("wrong type for WorkflowInstanceState")
	// ErrWrongTypeWorkflowAssignmentStatus indicates the value type for WorkflowAssignmentStatus is incorrect.
	ErrWrongTypeWorkflowAssignmentStatus = errors.New("wrong type for WorkflowAssignmentStatus")
	// ErrWrongTypeWorkflowTargetType indicates the value type for WorkflowTargetType is incorrect.
	ErrWrongTypeWorkflowTargetType = errors.New("wrong type for WorkflowTargetType")
	// ErrWrongTypeWorkflowObjectType indicates the value type for WorkflowObjectType is incorrect.
	ErrWrongTypeWorkflowObjectType = errors.New("wrong type for WorkflowObjectType")
	// ErrWrongTypeWorkflowEventType indicates the value type for WorkflowEventType is incorrect.
	ErrWrongTypeWorkflowEventType = errors.New("wrong type for WorkflowEventType")
	// ErrWrongTypeWorkflowProposalState indicates the value type for WorkflowProposalState is incorrect.
	ErrWrongTypeWorkflowProposalState = errors.New("wrong type for WorkflowProposalState")
	// ErrWrongTypeWorkflowApprovalSubmissionMode indicates the value type for WorkflowApprovalSubmissionMode is incorrect.
	ErrWrongTypeWorkflowApprovalSubmissionMode = errors.New("wrong type for WorkflowApprovalSubmissionMode")
	// ErrWrongTypeWorkflowActionType indicates the value type for WorkflowActionType is incorrect.
	ErrWrongTypeWorkflowActionType = errors.New("wrong type for WorkflowActionType")
	// ErrWrongTypeWorkflowApprovalTiming indicates the value type for WorkflowApprovalTiming is incorrect.
	ErrWrongTypeWorkflowApprovalTiming = errors.New("wrong type for WorkflowApprovalTiming")
)

DirectoryAccountMFAStates lists all MFA states.

DirectoryAccountStatuses lists all account statuses.

DirectoryAccountTypes lists all account types.

DirectoryGroupClassifications lists all group classifications.

DirectoryGroupStatuses lists all group statuses.

DirectoryMembershipRoles lists all membership roles.

DirectorySyncRunStatuses lists all sync run statuses.

IntegrationOperationKinds is a list of all valid IntegrationOperationKind values.

IntegrationRunStatuses is a list of all valid IntegrationRunStatus values.

IntegrationRunTypes is a list of all valid IntegrationRunType values.

IntegrationWebhookStatuses is a list of all valid IntegrationWebhookStatus values.

Functions

func ToTimeWeekday

func ToTimeWeekday(r JobWeekday) time.Weekday

ToTimeWeekday maps the human readable enums to Go's weekday type

Types

type AssessmentResponseStatus

type AssessmentResponseStatus string

AssessmentResponseStatus is a custom type representing the various states of AssessmentResponseStatus.

var (
	// AssessmentResponseStatusNotStarted indicates the not started.
	AssessmentResponseStatusNotStarted AssessmentResponseStatus = "NOT_STARTED"
	// AssessmentResponseStatusSent indicates the sent.
	AssessmentResponseStatusSent AssessmentResponseStatus = "SENT"
	// AssessmentResponseStatusCompleted indicates the completed.
	AssessmentResponseStatusCompleted AssessmentResponseStatus = "COMPLETED"
	// AssessmentResponseStatusOverdue indicates the overdue.
	AssessmentResponseStatusOverdue AssessmentResponseStatus = "OVERDUE"
	// AssessmentResponseStatusInvalid is used when an unknown or unsupported value is provided.
	AssessmentResponseStatusInvalid AssessmentResponseStatus = "ASSESSMENTRESPONSESTATUS_INVALID"
)

func ToAssessmentResponseStatus

func ToAssessmentResponseStatus(r string) *AssessmentResponseStatus

ToAssessmentResponseStatus converts a string to its corresponding AssessmentResponseStatus enum value.

func (AssessmentResponseStatus) MarshalGQL

func (r AssessmentResponseStatus) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (AssessmentResponseStatus) String

func (r AssessmentResponseStatus) String() string

String returns the string representation of the AssessmentResponseStatus value.

func (*AssessmentResponseStatus) UnmarshalGQL

func (r *AssessmentResponseStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (AssessmentResponseStatus) Values

func (AssessmentResponseStatus) Values() []string

Values returns a slice of strings representing all valid AssessmentResponseStatus values.

type AssessmentType

type AssessmentType string

AssessmentType is a custom type representing the various states of AssessmentType.

var (
	// AssessmentTypeInternal indicates the internal.
	AssessmentTypeInternal AssessmentType = "INTERNAL"
	// AssessmentTypeExternal indicates the external.
	AssessmentTypeExternal AssessmentType = "EXTERNAL"
	// AssessmentTypeInvalid is used when an unknown or unsupported value is provided.
	AssessmentTypeInvalid AssessmentType = "ASSESSMENTTYPE_INVALID"
)

func ToAssessmentType

func ToAssessmentType(r string) *AssessmentType

ToAssessmentType converts a string to its corresponding AssessmentType enum value.

func (AssessmentType) MarshalGQL

func (r AssessmentType) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (AssessmentType) String

func (r AssessmentType) String() string

String returns the string representation of the AssessmentType value.

func (*AssessmentType) UnmarshalGQL

func (r *AssessmentType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (AssessmentType) Values

func (AssessmentType) Values() []string

Values returns a slice of strings representing all valid AssessmentType values.

type AssetType

type AssetType string
var (
	AssetTypeTechnology AssetType = "TECHNOLOGY"
	AssetTypeDomain     AssetType = "DOMAIN"
	AssetTypeDevice     AssetType = "DEVICE"
	AssetTypeTelephone  AssetType = "TELEPHONE"
	AssetTypeInvalid    AssetType = "INVALID"
)

func ToAssetType

func ToAssetType(str string) *AssetType

func (AssetType) MarshalGQL

func (a AssetType) MarshalGQL(w io.Writer)

func (AssetType) String

func (a AssetType) String() string

func (*AssetType) UnmarshalGQL

func (a *AssetType) UnmarshalGQL(v interface{}) error

func (AssetType) Values

func (AssetType) Values() []string

type AuthProvider

type AuthProvider string
var (
	// Credentials provider is when the user authenticates with a username and password
	AuthProviderCredentials AuthProvider = "CREDENTIALS"
	// Google oauth2 provider for authentication
	AuthProviderGoogle AuthProvider = "GOOGLE"
	// Github oauth2 provider for authentication
	AuthProviderGitHub AuthProvider = "GITHUB"
	// Webauthn passkey provider for authentication
	AuthProviderWebauthn AuthProvider = "WEBAUTHN"
	// OIDC provider for authentication
	AuthProviderOIDC AuthProvider = "OIDC"
	// AuthProviderInvalid is the default value for the AuthProvider enum
	AuthProviderInvalid AuthProvider = "INVALID"
)

func ToAuthProvider

func ToAuthProvider(r string) *AuthProvider

ToAuthProvider returns the AuthProvider based on string input

func (AuthProvider) MarshalGQL

func (r AuthProvider) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (AuthProvider) String

func (r AuthProvider) String() string

String returns the AuthProvider as a string

func (*AuthProvider) UnmarshalGQL

func (r *AuthProvider) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (AuthProvider) Values

func (AuthProvider) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the AuthProvider enum. Possible default values are "CREDENTIALS", "GOOGLE", "GITHUB", "WEBAUTHN", and "OIDC"

type CampaignStatus added in v1.0.4

type CampaignStatus string

CampaignStatus is a custom type representing the lifecycle state of a campaign

var (
	// CampaignStatusDraft indicates a campaign is in draft
	CampaignStatusDraft CampaignStatus = "DRAFT"
	// CampaignStatusScheduled indicates a campaign is scheduled to launch
	CampaignStatusScheduled CampaignStatus = "SCHEDULED"
	// CampaignStatusActive indicates a campaign is active
	CampaignStatusActive CampaignStatus = "ACTIVE"
	// CampaignStatusCompleted indicates a campaign is completed
	CampaignStatusCompleted CampaignStatus = "COMPLETED"
	// CampaignStatusCanceled indicates a campaign was canceled
	CampaignStatusCanceled CampaignStatus = "CANCELED"
	// CampaignStatusInvalid is used when an unknown or unsupported value is provided
	CampaignStatusInvalid CampaignStatus = "INVALID"
)

func ToCampaignStatus added in v1.0.4

func ToCampaignStatus(r string) *CampaignStatus

ToCampaignStatus returns the campaign status enum based on string input

func (CampaignStatus) MarshalGQL added in v1.0.4

func (r CampaignStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (CampaignStatus) String added in v1.0.4

func (r CampaignStatus) String() string

String returns the CampaignStatus as a string

func (*CampaignStatus) UnmarshalGQL added in v1.0.4

func (r *CampaignStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (CampaignStatus) Values added in v1.0.4

func (CampaignStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the CampaignStatus enum Possible default values are "DRAFT", "SCHEDULED", "ACTIVE", "COMPLETED", and "CANCELED"

type CampaignType added in v1.0.4

type CampaignType string

CampaignType is a custom type representing the type of a campaign

var (
	// CampaignTypeQuestionnaire indicates a questionnaire campaign
	CampaignTypeQuestionnaire CampaignType = "QUESTIONNAIRE"
	// CampaignTypeTraining indicates a training campaign
	CampaignTypeTraining CampaignType = "TRAINING"
	// CampaignTypePolicyAttestation indicates a policy attestation campaign
	CampaignTypePolicyAttestation CampaignType = "POLICY_ATTESTATION"
	// CampaignTypeVendorAssessment indicates a vendor assessment campaign
	CampaignTypeVendorAssessment CampaignType = "VENDOR_ASSESSMENT"
	// CampaignTypeCustom indicates a custom campaign
	CampaignTypeCustom CampaignType = "CUSTOM"
	// CampaignTypeInvalid is used when an unknown or unsupported value is provided
	CampaignTypeInvalid CampaignType = "INVALID"
)

func ToCampaignType added in v1.0.4

func ToCampaignType(r string) *CampaignType

ToCampaignType returns the campaign type enum based on string input

func (CampaignType) MarshalGQL added in v1.0.4

func (r CampaignType) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (CampaignType) String added in v1.0.4

func (r CampaignType) String() string

String returns the CampaignType as a string

func (*CampaignType) UnmarshalGQL added in v1.0.4

func (r *CampaignType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (CampaignType) Values added in v1.0.4

func (CampaignType) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the CampaignType enum Possible default values are "QUESTIONNAIRE", "TRAINING", "POLICY_ATTESTATION", "VENDOR_ASSESSMENT", and "CUSTOM"

type Channel

type Channel string

Channel represents the notification channel type

var (
	// ChannelInApp represents in-app notifications
	ChannelInApp Channel = "IN_APP"
	// ChannelSlack represents Slack notifications
	ChannelSlack Channel = "SLACK"
	// ChannelTeams represents Microsoft Teams notifications
	ChannelTeams Channel = "TEAMS"
	// ChannelEmail represents email notifications
	ChannelEmail Channel = "EMAIL"
	// ChannelInvalid represents an invalid channel
	ChannelInvalid Channel = "INVALID"
)

func ToChannel

func ToChannel(r string) *Channel

ToChannel returns the channel enum based on string input

func (Channel) MarshalGQL

func (r Channel) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (Channel) String

func (r Channel) String() string

String returns the Channel as a string

func (*Channel) UnmarshalGQL

func (r *Channel) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (Channel) Values

func (Channel) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the Channel enum. Possible default values are "IN_APP", "SLACK", "TEAMS", and "EMAIL".

type ControlSource

type ControlSource string
var (
	// ControlSourceFramework is used when the control comes from an official framework (e.g. NIST, ISO, etc.)
	ControlSourceFramework ControlSource = "FRAMEWORK"
	// ControlSourceTemplate is used when the control comes from a template
	ControlSourceTemplate ControlSource = "TEMPLATE"
	// ControlSourceUserDefined is used when the control is manually created by a user
	ControlSourceUserDefined ControlSource = "USER_DEFINED"
	// ControlSourceImport is used when the control is imported from another system
	ControlSourceImport ControlSource = "IMPORTED"
	// ControlSourceInvalid is used when the control source is invalid
	ControlSourceInvalid ControlSource = "INVALID"
)

func ToControlSource

func ToControlSource(r string) *ControlSource

ToControlSource returns the control source enum based on string input

func (ControlSource) MarshalGQL

func (r ControlSource) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (ControlSource) String

func (r ControlSource) String() string

String returns the ControlSource as a string

func (*ControlSource) UnmarshalGQL

func (r *ControlSource) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (ControlSource) Values

func (ControlSource) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the ControlSource enum. Possible default values are "FRAMEWORK", "TEMPLATE", "USER_DEFINED", and "IMPORTED".

type ControlStatus

type ControlStatus string
var (
	// ControlStatusNotImplemented indicates that this control has not yet been worked on, this is the default value
	ControlStatusNotImplemented ControlStatus = "NOT_IMPLEMENTED"
	// ControlStatusPreparing indicates the control is being prepared
	ControlStatusPreparing ControlStatus = "PREPARING"
	// ControlStatusNeedsApproval indicates the control needs to be approved before it is available
	ControlStatusNeedsApproval ControlStatus = "NEEDS_APPROVAL"
	// ControlStatusChangesRequested indicates the control was rejected and needs some changes to be approved
	ControlStatusChangesRequested ControlStatus = "CHANGES_REQUESTED"
	// ControlStatusApproved indicates the control is approved
	ControlStatusApproved ControlStatus = "APPROVED"
	// ControlStatusArchived indicates the control is now archived
	ControlStatusArchived ControlStatus = "ARCHIVED"
	// ControlStatusNotApplicable indicates that this control does not apply to the organization
	ControlStatusNotApplicable ControlStatus = "NOT_APPLICABLE"
	// ControlStatusInvalid indicates the control is invalid or unknown
	ControlStatusInvalid ControlStatus = "CONTROL_STATUS_INVALID"
)

func ToControlStatus

func ToControlStatus(r string) *ControlStatus

ToControlStatus returns the control type enum based on string input

func (ControlStatus) MarshalGQL

func (r ControlStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (ControlStatus) String

func (r ControlStatus) String() string

String returns the ControlStatus as a string

func (*ControlStatus) UnmarshalGQL

func (r *ControlStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (ControlStatus) Values

func (ControlStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the ControlType enum. Possible default values are "NOT_IMPLEMENTED", "PREPARING", "NEEDS APPROVAL", "CHANGES REQUESTED", "APPROVED" and "ARCHIVED".

type ControlType

type ControlType string
var (
	// ControlTypePreventative is designed to prevent an event from occurring
	ControlTypePreventative ControlType = "PREVENTATIVE"
	// ControlTypeDetective is designed to detect an event that has occurred
	ControlTypeDetective ControlType = "DETECTIVE"
	// ControlTypeCorrective is designed to detect and correct an event that has occurred
	ControlTypeCorrective ControlType = "CORRECTIVE"
	// ControlTypeDeterrent acts as a deterrent to prevent an event from occurring
	ControlTypeDeterrent ControlType = "DETERRENT"
	// ControlTypeInvalid is used when the control type is invalid
	ControlTypeInvalid ControlType = "INVALID"
)

func ToControlType

func ToControlType(r string) *ControlType

ToControlType returns the control type enum based on string input

func (ControlType) MarshalGQL

func (r ControlType) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (ControlType) String

func (r ControlType) String() string

String returns the ControlType as a string

func (*ControlType) UnmarshalGQL

func (r *ControlType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (ControlType) Values

func (ControlType) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the ControlType enum. Possible default values are "PREVENTATIVE", "DETECTIVE", "CORRECTIVE", and "DETERRENT".

type DNSVerificationStatus

type DNSVerificationStatus string
var (
	DNSVerificationStatusActive             DNSVerificationStatus = "ACTIVE"
	DNSVerificationStatusPending            DNSVerificationStatus = "PENDING"
	DNSVerificationStatusActiveRedeploying  DNSVerificationStatus = "ACTIVE_REDEPLOYING"
	DNSVerificationStatusMoved              DNSVerificationStatus = "MOVED"
	DNSVerificationStatusPendingDeletion    DNSVerificationStatus = "PENDING_DELETION"
	DNSVerificationStatusDeleted            DNSVerificationStatus = "DELETED"
	DNSVerificationStatusPendingBlocked     DNSVerificationStatus = "PENDING_BLOCKED"
	DNSVerificationStatusPendingMigration   DNSVerificationStatus = "PENDING_MIGRATION"
	DNSVerificationStatusPendingProvisioned DNSVerificationStatus = "PENDING_PROVISIONED"
	DNSVerificationStatusTestPending        DNSVerificationStatus = "TEST_PENDING"
	DNSVerificationStatusTestActive         DNSVerificationStatus = "TEST_ACTIVE"
	DNSVerificationStatusTestActiveApex     DNSVerificationStatus = "TEST_ACTIVE_APEX"
	DNSVerificationStatusTestBlocked        DNSVerificationStatus = "TEST_BLOCKED"
	DNSVerificationStatusTestFailed         DNSVerificationStatus = "TEST_FAILED"
	DNSVerificationStatusProvisioned        DNSVerificationStatus = "PROVISIONED"
	DNSVerificationStatusBlocked            DNSVerificationStatus = "BLOCKED"
	DNSVerificationStatusInvalid            DNSVerificationStatus = "INVALID"
)

func ToDNSVerificationStatus

func ToDNSVerificationStatus(r string) *DNSVerificationStatus

ToDNSVerificationStatus returns the user status enum based on string input

func (DNSVerificationStatus) MarshalGQL

func (r DNSVerificationStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (DNSVerificationStatus) String

func (r DNSVerificationStatus) String() string

String returns the DNSVerificationStatus as a string

func (*DNSVerificationStatus) UnmarshalGQL

func (r *DNSVerificationStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (DNSVerificationStatus) Values

func (DNSVerificationStatus) Values() (kinds []string)

type DirectoryAccountMFAState

type DirectoryAccountMFAState string

DirectoryAccountMFAState is the MFA state reported by the directory.

var (
	DirectoryAccountMFAStateUnknown  DirectoryAccountMFAState = "UNKNOWN"
	DirectoryAccountMFAStateDisabled DirectoryAccountMFAState = "DISABLED"
	DirectoryAccountMFAStateEnabled  DirectoryAccountMFAState = "ENABLED"
	DirectoryAccountMFAStateEnforced DirectoryAccountMFAState = "ENFORCED"
)

func ToDirectoryAccountMFAState

func ToDirectoryAccountMFAState(v string) *DirectoryAccountMFAState

ToDirectoryAccountMFAState converts a string to DirectoryAccountMFAState.

func (DirectoryAccountMFAState) MarshalGQL

func (r DirectoryAccountMFAState) MarshalGQL(w io.Writer)

MarshalGQL implements gqlgen Marshaler.

func (DirectoryAccountMFAState) String

func (r DirectoryAccountMFAState) String() string

String returns the string value.

func (*DirectoryAccountMFAState) UnmarshalGQL

func (r *DirectoryAccountMFAState) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements gqlgen Unmarshaler.

func (DirectoryAccountMFAState) Values

func (DirectoryAccountMFAState) Values() []string

Values returns all values as strings.

type DirectoryAccountStatus

type DirectoryAccountStatus string

DirectoryAccountStatus is the lifecycle status of a directory account.

var (
	DirectoryAccountStatusActive    DirectoryAccountStatus = "ACTIVE"
	DirectoryAccountStatusInactive  DirectoryAccountStatus = "INACTIVE"
	DirectoryAccountStatusSuspended DirectoryAccountStatus = "SUSPENDED"
	DirectoryAccountStatusDeleted   DirectoryAccountStatus = "DELETED"
)

func ToDirectoryAccountStatus

func ToDirectoryAccountStatus(v string) *DirectoryAccountStatus

ToDirectoryAccountStatus converts a string to DirectoryAccountStatus.

func (DirectoryAccountStatus) MarshalGQL

func (r DirectoryAccountStatus) MarshalGQL(w io.Writer)

MarshalGQL implements gqlgen Marshaler.

func (DirectoryAccountStatus) String

func (r DirectoryAccountStatus) String() string

String returns the string value.

func (*DirectoryAccountStatus) UnmarshalGQL

func (r *DirectoryAccountStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements gqlgen Unmarshaler.

func (DirectoryAccountStatus) Values

func (DirectoryAccountStatus) Values() []string

Values returns all values as strings.

type DirectoryAccountType

type DirectoryAccountType string

DirectoryAccountType is the type of principal represented in the directory.

var (
	DirectoryAccountTypeUser    DirectoryAccountType = "USER"
	DirectoryAccountTypeService DirectoryAccountType = "SERVICE"
	DirectoryAccountTypeShared  DirectoryAccountType = "SHARED"
	DirectoryAccountTypeGuest   DirectoryAccountType = "GUEST"
)

func ToDirectoryAccountType

func ToDirectoryAccountType(v string) *DirectoryAccountType

ToDirectoryAccountType converts a string to DirectoryAccountType.

func (DirectoryAccountType) MarshalGQL

func (r DirectoryAccountType) MarshalGQL(w io.Writer)

MarshalGQL implements gqlgen Marshaler.

func (DirectoryAccountType) String

func (r DirectoryAccountType) String() string

String returns the string value.

func (*DirectoryAccountType) UnmarshalGQL

func (r *DirectoryAccountType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements gqlgen Unmarshaler.

func (DirectoryAccountType) Values

func (DirectoryAccountType) Values() []string

Values returns all values as strings.

type DirectoryGroupClassification

type DirectoryGroupClassification string

DirectoryGroupClassification is the classification for a directory group.

var (
	DirectoryGroupClassificationSecurity     DirectoryGroupClassification = "SECURITY"
	DirectoryGroupClassificationDistribution DirectoryGroupClassification = "DISTRIBUTION"
	DirectoryGroupClassificationTeam         DirectoryGroupClassification = "TEAM"
	DirectoryGroupClassificationDynamic      DirectoryGroupClassification = "DYNAMIC"
)

func ToDirectoryGroupClassification

func ToDirectoryGroupClassification(v string) *DirectoryGroupClassification

ToDirectoryGroupClassification converts a string to DirectoryGroupClassification.

func (DirectoryGroupClassification) MarshalGQL

func (r DirectoryGroupClassification) MarshalGQL(w io.Writer)

MarshalGQL implements gqlgen Marshaler.

func (DirectoryGroupClassification) String

String returns the string value.

func (*DirectoryGroupClassification) UnmarshalGQL

func (r *DirectoryGroupClassification) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements gqlgen Unmarshaler.

func (DirectoryGroupClassification) Values

Values returns all values as strings.

type DirectoryGroupStatus

type DirectoryGroupStatus string

DirectoryGroupStatus is the lifecycle status of a directory group.

var (
	DirectoryGroupStatusActive   DirectoryGroupStatus = "ACTIVE"
	DirectoryGroupStatusInactive DirectoryGroupStatus = "INACTIVE"
	DirectoryGroupStatusDeleted  DirectoryGroupStatus = "DELETED"
)

func ToDirectoryGroupStatus

func ToDirectoryGroupStatus(v string) *DirectoryGroupStatus

ToDirectoryGroupStatus converts a string to DirectoryGroupStatus.

func (DirectoryGroupStatus) MarshalGQL

func (r DirectoryGroupStatus) MarshalGQL(w io.Writer)

MarshalGQL implements gqlgen Marshaler.

func (DirectoryGroupStatus) String

func (r DirectoryGroupStatus) String() string

String returns the string value.

func (*DirectoryGroupStatus) UnmarshalGQL

func (r *DirectoryGroupStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements gqlgen Unmarshaler.

func (DirectoryGroupStatus) Values

func (DirectoryGroupStatus) Values() []string

Values returns all values as strings.

type DirectoryMembershipRole

type DirectoryMembershipRole string

DirectoryMembershipRole is the membership role reported by the provider.

var (
	DirectoryMembershipRoleMember  DirectoryMembershipRole = "MEMBER"
	DirectoryMembershipRoleManager DirectoryMembershipRole = "MANAGER"
	DirectoryMembershipRoleOwner   DirectoryMembershipRole = "OWNER"
)

func ToDirectoryMembershipRole

func ToDirectoryMembershipRole(v string) *DirectoryMembershipRole

ToDirectoryMembershipRole converts a string to DirectoryMembershipRole.

func (DirectoryMembershipRole) MarshalGQL

func (r DirectoryMembershipRole) MarshalGQL(w io.Writer)

MarshalGQL implements gqlgen Marshaler.

func (DirectoryMembershipRole) String

func (r DirectoryMembershipRole) String() string

String returns the string value.

func (*DirectoryMembershipRole) UnmarshalGQL

func (r *DirectoryMembershipRole) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements gqlgen Unmarshaler.

func (DirectoryMembershipRole) Values

func (DirectoryMembershipRole) Values() []string

Values returns all values as strings.

type DirectorySyncRunStatus

type DirectorySyncRunStatus string

DirectorySyncRunStatus is the state of a directory sync run.

var (
	DirectorySyncRunStatusPending   DirectorySyncRunStatus = "PENDING"
	DirectorySyncRunStatusRunning   DirectorySyncRunStatus = "RUNNING"
	DirectorySyncRunStatusCompleted DirectorySyncRunStatus = "COMPLETED"
	DirectorySyncRunStatusFailed    DirectorySyncRunStatus = "FAILED"
)

func ToDirectorySyncRunStatus

func ToDirectorySyncRunStatus(v string) *DirectorySyncRunStatus

ToDirectorySyncRunStatus converts a string to DirectorySyncRunStatus.

func (DirectorySyncRunStatus) MarshalGQL

func (r DirectorySyncRunStatus) MarshalGQL(w io.Writer)

MarshalGQL implements gqlgen Marshaler.

func (DirectorySyncRunStatus) String

func (r DirectorySyncRunStatus) String() string

String returns the string value.

func (*DirectorySyncRunStatus) UnmarshalGQL

func (r *DirectorySyncRunStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements gqlgen Unmarshaler.

func (DirectorySyncRunStatus) Values

func (DirectorySyncRunStatus) Values() []string

Values returns all values as strings.

type DocumentStatus

type DocumentStatus string

DocumentStatus is a custom type for document status

var (
	// DocumentPublished indicates that the document is published
	DocumentPublished DocumentStatus = "PUBLISHED"
	// DocumentDraft indicates that the document is in draft status
	DocumentDraft DocumentStatus = "DRAFT"
	// DocumentNeedsApproval indicates that the document needs approval
	DocumentNeedsApproval DocumentStatus = "NEEDS_APPROVAL"
	// DocumentApproved indicates that the document has been approved and is ready to be published
	DocumentApproved DocumentStatus = "APPROVED"
	// DocumentArchived indicates that the document has been archived and is no longer active
	DocumentArchived DocumentStatus = "ARCHIVED"
	// DocumentStatusInvalid indicates that the document status is invalid
	DocumentStatusInvalid DocumentStatus = "DOCUMENT_STATUS_INVALID"
)

func ToDocumentStatus

func ToDocumentStatus(r string) *DocumentStatus

ToDocumentStatus returns the document status enum based on string input

func (DocumentStatus) MarshalGQL

func (r DocumentStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (DocumentStatus) String

func (r DocumentStatus) String() string

String returns the document status as a string

func (*DocumentStatus) UnmarshalGQL

func (r *DocumentStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (DocumentStatus) Values

func (DocumentStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the DocumentStatus enum. Possible default values are "PUBLISHED", "DRAFT", "NEEDS_APPROVAL", and "APPROVED"

type DocumentType

type DocumentType string
var (
	// RootTemplate are templates provided by the system
	RootTemplate DocumentType = "ROOTTEMPLATE"
	// Document are templates from root templates, or scratch, owned by the organization
	Document DocumentType = "DOCUMENT"
	// DocumentTypeInvalid is the default value for the DocumentType enum
	DocumentTypeInvalid DocumentType = "INVALID"
)

func ToDocumentType

func ToDocumentType(r string) *DocumentType

ToDocumentType returns the user status enum based on string input

func (DocumentType) MarshalGQL

func (r DocumentType) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (DocumentType) String

func (r DocumentType) String() string

String returns the DocumentType as a string

func (*DocumentType) UnmarshalGQL

func (r *DocumentType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (DocumentType) Values

func (DocumentType) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the DocumentType enum. Possible default values are "ROOTTEMPLATE", "DOCUMENT"

type EvidenceStatus

type EvidenceStatus string

EvidenceStatus is a custom type representing the various states of EvidenceStatus.

var (
	// EvidenceStatusSubmitted indicates the submitted.
	EvidenceStatusSubmitted EvidenceStatus = "SUBMITTED"
	// EvidenceStatusReadyForAuditor indicates the ready for auditor.
	EvidenceStatusReadyForAuditor EvidenceStatus = "READY_FOR_AUDITOR"
	// EvidenceStatusAuditorApproved indicates the auditor approved.
	EvidenceStatusAuditorApproved EvidenceStatus = "AUDITOR_APPROVED"
	// EvidenceStatusInReview indicates the in review.
	EvidenceStatusInReview EvidenceStatus = "IN_REVIEW"
	// EvidenceStatusMissingArtifact indicates the missing artifact.
	EvidenceStatusMissingArtifact EvidenceStatus = "MISSING_ARTIFACT"
	// EvidenceStatusNeedsRenewal indicates the needs renewal.
	EvidenceStatusNeedsRenewal EvidenceStatus = "NEEDS_RENEWAL"
	// EvidenceStatusRejected indicates the rejected.
	EvidenceStatusRejected EvidenceStatus = "REJECTED"
	// EvidenceStatusInvalid is used when an unknown or unsupported value is provided.
	EvidenceStatusInvalid EvidenceStatus = "EVIDENCESTATUS_INVALID"
)

func ToEvidenceStatus

func ToEvidenceStatus(r string) *EvidenceStatus

ToEvidenceStatus converts a string to its corresponding EvidenceStatus enum value.

func (EvidenceStatus) MarshalGQL

func (r EvidenceStatus) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (EvidenceStatus) String

func (r EvidenceStatus) String() string

String returns the string representation of the EvidenceStatus value.

func (*EvidenceStatus) UnmarshalGQL

func (r *EvidenceStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (EvidenceStatus) Values

func (EvidenceStatus) Values() []string

Values returns a slice of strings representing all valid EvidenceStatus values.

type ExportFormat

type ExportFormat string

ExportFormat is a custom type representing the various states of ExportFormat.

var (
	// ExportFormatCsv indicates the csv.
	ExportFormatCsv ExportFormat = "CSV"
	// ExportFormatInvalid is used when an unknown or unsupported value is provided.
	ExportFormatInvalid ExportFormat = "EXPORTFORMAT_INVALID"
)

func ToExportFormat

func ToExportFormat(r string) *ExportFormat

ToExportFormat converts a string to its corresponding ExportFormat enum value.

func (ExportFormat) MarshalGQL

func (r ExportFormat) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (ExportFormat) String

func (r ExportFormat) String() string

String returns the string representation of the ExportFormat value.

func (*ExportFormat) UnmarshalGQL

func (r *ExportFormat) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (ExportFormat) Values

func (ExportFormat) Values() []string

Values returns a slice of strings representing all valid ExportFormat values.

type ExportStatus

type ExportStatus string

ExportStatus is a custom type representing the various states of ExportStatus.

var (
	// ExportStatusPending indicates the pending.
	ExportStatusPending ExportStatus = "PENDING"
	// ExportStatusFailed indicates the failed.
	ExportStatusFailed ExportStatus = "FAILED"
	// ExportStatusReady indicates the ready.
	ExportStatusReady ExportStatus = "READY"
	// ExportStatusNodata indicates the nodata.
	ExportStatusNodata ExportStatus = "NODATA"
	// ExportStatusInvalid is used when an unknown or unsupported value is provided.
	ExportStatusInvalid ExportStatus = "EXPORTSTATUS_INVALID"
)

func ToExportStatus

func ToExportStatus(r string) *ExportStatus

ToExportStatus converts a string to its corresponding ExportStatus enum value.

func (ExportStatus) MarshalGQL

func (r ExportStatus) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (ExportStatus) String

func (r ExportStatus) String() string

String returns the string representation of the ExportStatus value.

func (*ExportStatus) UnmarshalGQL

func (r *ExportStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (ExportStatus) Values

func (ExportStatus) Values() []string

Values returns a slice of strings representing all valid ExportStatus values.

type ExportType

type ExportType string

ExportType is a custom type representing the various states of ExportType.

var (
	// ExportTypeControl indicates the control.
	ExportTypeControl ExportType = "CONTROL"
	// ExportTypeDirectoryMembership indicates the directorymembership.
	ExportTypeDirectoryMembership ExportType = "DIRECTORY_MEMBERSHIP"
	// ExportTypeEvidence indicates the evidence.
	ExportTypeEvidence ExportType = "EVIDENCE"
	// ExportTypeFinding indicates the finding.
	ExportTypeFinding ExportType = "FINDING"
	// ExportTypeInternalPolicy indicates the internalpolicy.
	ExportTypeInternalPolicy ExportType = "INTERNAL_POLICY"
	// ExportTypeProcedure indicates the procedure.
	ExportTypeProcedure ExportType = "PROCEDURE"
	// ExportTypeRemediation indicates the remediation.
	ExportTypeRemediation ExportType = "REMEDIATION"
	// ExportTypeReview indicates the review.
	ExportTypeReview ExportType = "REVIEW"
	// ExportTypeRisk indicates the risk.
	ExportTypeRisk ExportType = "RISK"
	// ExportTypeSubprocessor indicates the subprocessor.
	ExportTypeSubprocessor ExportType = "SUBPROCESSOR"
	// ExportTypeSubscriber indicates the subscriber.
	ExportTypeSubscriber ExportType = "SUBSCRIBER"
	// ExportTypeTask indicates the task.
	ExportTypeTask ExportType = "TASK"
	// ExportTypeTrustCenterSubprocessor indicates the trustcentersubprocessor.
	ExportTypeTrustCenterSubprocessor ExportType = "TRUST_CENTER_SUBPROCESSOR"
	// ExportTypeVulnerability indicates the vulnerability.
	ExportTypeVulnerability ExportType = "VULNERABILITY"
	// ExportTypeInvalid is used when an unknown or unsupported value is provided.
	ExportTypeInvalid ExportType = "EXPORTTYPE_INVALID"
)

func ToExportType

func ToExportType(r string) *ExportType

ToExportType converts a string to its corresponding ExportType enum value.

func (ExportType) MarshalGQL

func (r ExportType) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (ExportType) String

func (r ExportType) String() string

String returns the string representation of the ExportType value.

func (*ExportType) UnmarshalGQL

func (r *ExportType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (ExportType) Values

func (ExportType) Values() []string

Values returns a slice of strings representing all valid ExportType values.

type Font

type Font string

Font is a custom type for font names

var (
	// FontCourier represents the Courier font
	FontCourier Font = "COURIER"
	// FontCourierBold represents the Courier-Bold font
	FontCourierBold Font = "COURIER_BOLD"
	// FontCourierBoldOblique represents the Courier-BoldOblique font
	FontCourierBoldOblique Font = "COURIER_BOLDOBLIQUE"
	// FontCourierOblique represents the Courier-Oblique font
	FontCourierOblique Font = "COURIER_OBLIQUE"
	// FontHelvetica represents the Helvetica font
	FontHelvetica Font = "HELVETICA"
	// FontHelveticaBold represents the Helvetica-Bold font
	FontHelveticaBold Font = "HELVETICA_BOLD"
	// FontHelveticaBoldOblique represents the Helvetica-BoldOblique font
	FontHelveticaBoldOblique Font = "HELVETICA_BOLDOBLIQUE"
	// FontHelveticaOblique represents the Helvetica-Oblique font
	FontHelveticaOblique Font = "HELVETICA_OBLIQUE"
	// FontSymbol represents the Symbol font
	FontSymbol Font = "SYMBOL"
	// FontTimesBold represents the Times-Bold font
	FontTimesBold Font = "TIMES_BOLD"
	// FontTimesBoldItalic represents the Times-BoldItalic font
	FontTimesBoldItalic Font = "TIMES_BOLDITALIC"
	// FontTimesItalic represents the Times-Italic font
	FontTimesItalic Font = "TIMES_ITALIC"
	// FontTimesRoman represents the Times-Roman font
	FontTimesRoman Font = "TIMES_ROMAN"
	// FontInvalid indicates that the font is invalid
	FontInvalid Font = "FONT_INVALID"
)

func ToFont

func ToFont(r string) *Font

ToFont returns the font enum based on string input

func (Font) MarshalGQL

func (r Font) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (Font) String

func (r Font) String() string

String returns the font as a string

func (Font) ToFontStr

func (r Font) ToFontStr() string

ToFontStr converts the enum to the supported font string format

func (*Font) UnmarshalGQL

func (r *Font) UnmarshalGQL(v any) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (Font) Values

func (Font) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the Font enum.

type Frequency

type Frequency string

Frequency is a custom type for frequency

var (
	// FrequencyYearly indicates that the frequency should occur yearly
	FrequencyYearly Frequency = "YEARLY"
	// FrequencyQuarterly indicates that the frequency should occur quarterly
	FrequencyQuarterly Frequency = "QUARTERLY"
	// FrequencyBiAnnually indicates that the frequency should occur bi-annually
	FrequencyBiAnnually Frequency = "BIANNUALLY"
	// FrequencyMonthly indicates that the frequency should occur monthly
	FrequencyMonthly Frequency = "MONTHLY"
)

func ToFrequency

func ToFrequency(r string) *Frequency

ToFrequency returns the frequency enum based on string input

func (Frequency) MarshalGQL

func (r Frequency) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (Frequency) String

func (r Frequency) String() string

String returns the frequency as a string

func (*Frequency) UnmarshalGQL

func (r *Frequency) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (Frequency) Values

func (Frequency) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the Frequency enum. Possible default values are "YEARLY", "QUARTERLY", "BIANNUALLY", and "MONTHLY"

type IdentityHolderType added in v1.0.4

type IdentityHolderType string

IdentityHolderType is a custom type representing the identity holder classification

var (
	// IdentityHolderTypeEmployee indicates an employee
	IdentityHolderTypeEmployee IdentityHolderType = "EMPLOYEE"
	// IdentityHolderTypeContractor indicates a contractor
	IdentityHolderTypeContractor IdentityHolderType = "CONTRACTOR"
	// IdentityHolderTypeInvalid is used when an unknown or unsupported value is provided
	IdentityHolderTypeInvalid IdentityHolderType = "INVALID"
)

func ToIdentityHolderType added in v1.0.4

func ToIdentityHolderType(r string) *IdentityHolderType

ToIdentityHolderType returns the identity holder type enum based on string input

func (IdentityHolderType) MarshalGQL added in v1.0.4

func (r IdentityHolderType) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (IdentityHolderType) String added in v1.0.4

func (r IdentityHolderType) String() string

String returns the IdentityHolderType as a string

func (*IdentityHolderType) UnmarshalGQL added in v1.0.4

func (r *IdentityHolderType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (IdentityHolderType) Values added in v1.0.4

func (IdentityHolderType) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the IdentityHolderType enum Possible default values are "EMPLOYEE" and "CONTRACTOR"

type ImpersonationAction

type ImpersonationAction string

ImpersonationAction is a custom type representing the various states of ImpersonationAction.

var (
	// ImpersonationActionStart indicates the start.
	ImpersonationActionStart ImpersonationAction = "START"
	// ImpersonationActionStop indicates the stop.
	ImpersonationActionStop ImpersonationAction = "STOP"
	// ImpersonationActionInvalid is used when an unknown or unsupported value is provided.
	ImpersonationActionInvalid ImpersonationAction = "IMPERSONATIONACTION_INVALID"
)

func ToImpersonationAction

func ToImpersonationAction(r string) *ImpersonationAction

ToImpersonationAction converts a string to its corresponding ImpersonationAction enum value.

func (ImpersonationAction) MarshalGQL

func (r ImpersonationAction) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (ImpersonationAction) String

func (r ImpersonationAction) String() string

String returns the string representation of the ImpersonationAction value.

func (*ImpersonationAction) UnmarshalGQL

func (r *ImpersonationAction) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (ImpersonationAction) Values

func (ImpersonationAction) Values() []string

Values returns a slice of strings representing all valid ImpersonationAction values.

type ImpersonationType

type ImpersonationType string

ImpersonationType is a custom type representing the various states of ImpersonationType.

var (
	// ImpersonationTypeSupport indicates the support.
	ImpersonationTypeSupport ImpersonationType = "SUPPORT"
	// ImpersonationTypeAdmin indicates the admin.
	ImpersonationTypeAdmin ImpersonationType = "ADMIN"
	// ImpersonationTypeJob indicates the job.
	ImpersonationTypeJob ImpersonationType = "JOB"
	// ImpersonationTypeInvalid is used when an unknown or unsupported value is provided.
	ImpersonationTypeInvalid ImpersonationType = "IMPERSONATIONTYPE_INVALID"
)

func ToImpersonationType

func ToImpersonationType(r string) *ImpersonationType

ToImpersonationType converts a string to its corresponding ImpersonationType enum value.

func (ImpersonationType) MarshalGQL

func (r ImpersonationType) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (ImpersonationType) String

func (r ImpersonationType) String() string

String returns the string representation of the ImpersonationType value.

func (*ImpersonationType) UnmarshalGQL

func (r *ImpersonationType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (ImpersonationType) Values

func (ImpersonationType) Values() []string

Values returns a slice of strings representing all valid ImpersonationType values.

type IntegrationOperationKind added in v1.0.7

type IntegrationOperationKind string

IntegrationOperationKind represents the kind of operation for an integration run.

var (
	// IntegrationOperationKindSync indicates a sync operation.
	IntegrationOperationKindSync IntegrationOperationKind = "SYNC"
	// IntegrationOperationKindPush indicates a push operation.
	IntegrationOperationKindPush IntegrationOperationKind = "PUSH"
	// IntegrationOperationKindPull indicates a pull operation.
	IntegrationOperationKindPull IntegrationOperationKind = "PULL"
	// IntegrationOperationKindWebhook indicates a webhook operation.
	IntegrationOperationKindWebhook IntegrationOperationKind = "WEBHOOK"
	// IntegrationOperationKindScheduled indicates a scheduled operation.
	IntegrationOperationKindScheduled IntegrationOperationKind = "SCHEDULED"
)

func ToIntegrationOperationKind added in v1.0.7

func ToIntegrationOperationKind(r string) *IntegrationOperationKind

ToIntegrationOperationKind returns the IntegrationOperationKind based on string input.

func (IntegrationOperationKind) MarshalGQL added in v1.0.7

func (r IntegrationOperationKind) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen.

func (IntegrationOperationKind) String added in v1.0.7

func (r IntegrationOperationKind) String() string

String returns the IntegrationOperationKind as a string.

func (*IntegrationOperationKind) UnmarshalGQL added in v1.0.7

func (r *IntegrationOperationKind) UnmarshalGQL(v any) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen.

func (IntegrationOperationKind) Values added in v1.0.7

func (IntegrationOperationKind) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the IntegrationOperationKind enum.

type IntegrationRunStatus added in v1.0.7

type IntegrationRunStatus string

IntegrationRunStatus represents the status of an integration run.

var (
	// IntegrationRunStatusPending indicates the run is pending execution.
	IntegrationRunStatusPending IntegrationRunStatus = "PENDING"
	// IntegrationRunStatusRunning indicates the run is currently executing.
	IntegrationRunStatusRunning IntegrationRunStatus = "RUNNING"
	// IntegrationRunStatusSuccess indicates the run completed successfully.
	IntegrationRunStatusSuccess IntegrationRunStatus = "SUCCESS"
	// IntegrationRunStatusFailed indicates the run failed.
	IntegrationRunStatusFailed IntegrationRunStatus = "FAILED"
	// IntegrationRunStatusCancelled indicates the run was cancelled.
	IntegrationRunStatusCancelled IntegrationRunStatus = "CANCELLED"
)

func ToIntegrationRunStatus added in v1.0.7

func ToIntegrationRunStatus(r string) *IntegrationRunStatus

ToIntegrationRunStatus returns the IntegrationRunStatus based on string input.

func (IntegrationRunStatus) MarshalGQL added in v1.0.7

func (r IntegrationRunStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen.

func (IntegrationRunStatus) String added in v1.0.7

func (r IntegrationRunStatus) String() string

String returns the IntegrationRunStatus as a string.

func (*IntegrationRunStatus) UnmarshalGQL added in v1.0.7

func (r *IntegrationRunStatus) UnmarshalGQL(v any) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen.

func (IntegrationRunStatus) Values added in v1.0.7

func (IntegrationRunStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the IntegrationRunStatus enum.

type IntegrationRunType added in v1.0.7

type IntegrationRunType string

IntegrationRunType represents the type of integration run.

var (
	// IntegrationRunTypeManual indicates a manually triggered run.
	IntegrationRunTypeManual IntegrationRunType = "MANUAL"
	// IntegrationRunTypeScheduled indicates a scheduled run.
	IntegrationRunTypeScheduled IntegrationRunType = "SCHEDULED"
	// IntegrationRunTypeWebhook indicates a webhook-triggered run.
	IntegrationRunTypeWebhook IntegrationRunType = "WEBHOOK"
	// IntegrationRunTypeEvent indicates an event-triggered run.
	IntegrationRunTypeEvent IntegrationRunType = "EVENT"
)

func ToIntegrationRunType added in v1.0.7

func ToIntegrationRunType(r string) *IntegrationRunType

ToIntegrationRunType returns the IntegrationRunType based on string input.

func (IntegrationRunType) MarshalGQL added in v1.0.7

func (r IntegrationRunType) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen.

func (IntegrationRunType) String added in v1.0.7

func (r IntegrationRunType) String() string

String returns the IntegrationRunType as a string.

func (*IntegrationRunType) UnmarshalGQL added in v1.0.7

func (r *IntegrationRunType) UnmarshalGQL(v any) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen.

func (IntegrationRunType) Values added in v1.0.7

func (IntegrationRunType) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the IntegrationRunType enum.

type IntegrationWebhookStatus added in v1.0.7

type IntegrationWebhookStatus string

IntegrationWebhookStatus represents the status of an integration webhook.

var (
	// IntegrationWebhookStatusActive indicates the webhook is active and receiving events.
	IntegrationWebhookStatusActive IntegrationWebhookStatus = "ACTIVE"
	// IntegrationWebhookStatusInactive indicates the webhook is inactive.
	IntegrationWebhookStatusInactive IntegrationWebhookStatus = "INACTIVE"
	// IntegrationWebhookStatusFailed indicates the webhook has failed delivery attempts.
	IntegrationWebhookStatusFailed IntegrationWebhookStatus = "FAILED"
	// IntegrationWebhookStatusPending indicates the webhook is pending verification.
	IntegrationWebhookStatusPending IntegrationWebhookStatus = "PENDING"
)

func ToIntegrationWebhookStatus added in v1.0.7

func ToIntegrationWebhookStatus(r string) *IntegrationWebhookStatus

ToIntegrationWebhookStatus returns the IntegrationWebhookStatus based on string input.

func (IntegrationWebhookStatus) MarshalGQL added in v1.0.7

func (r IntegrationWebhookStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen.

func (IntegrationWebhookStatus) String added in v1.0.7

func (r IntegrationWebhookStatus) String() string

String returns the IntegrationWebhookStatus as a string.

func (*IntegrationWebhookStatus) UnmarshalGQL added in v1.0.7

func (r *IntegrationWebhookStatus) UnmarshalGQL(v any) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen.

func (IntegrationWebhookStatus) Values added in v1.0.7

func (IntegrationWebhookStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the IntegrationWebhookStatus enum.

type InviteStatus

type InviteStatus string
var (
	InvitationSent     InviteStatus = "INVITATION_SENT"
	ApprovalRequired   InviteStatus = "APPROVAL_REQUIRED"
	InvitationAccepted InviteStatus = "INVITATION_ACCEPTED"
	InvitationExpired  InviteStatus = "INVITATION_EXPIRED"
	InviteInvalid      InviteStatus = "INVITE_INVALID"
)

func ToInviteStatus

func ToInviteStatus(r string) *InviteStatus

ToInviteStatus returns the invite status enum based on string input

func (InviteStatus) MarshalGQL

func (r InviteStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (InviteStatus) String

func (r InviteStatus) String() string

String returns the invite status as a string

func (*InviteStatus) UnmarshalGQL

func (r *InviteStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (InviteStatus) Values

func (InviteStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the InviteStatus enum. Possible default values are "INVITATION_SENT", "APPROVAL_REQUIRED", "INVITATION_ACCEPTED", and "INVITATION_EXPIRED"

type JobCadenceFrequency

type JobCadenceFrequency string

JobCadenceFrequency is a custom type representing the various states of JobCadenceFrequency.

var (
	// JobCadenceFrequencyDaily indicates the daily.
	JobCadenceFrequencyDaily JobCadenceFrequency = "DAILY"
	// JobCadenceFrequencyWeekly indicates the weekly.
	JobCadenceFrequencyWeekly JobCadenceFrequency = "WEEKLY"
	// JobCadenceFrequencyMonthly indicates the monthly.
	JobCadenceFrequencyMonthly JobCadenceFrequency = "MONTHLY"
	// JobCadenceFrequencyInvalid is used when an unknown or unsupported value is provided.
	JobCadenceFrequencyInvalid JobCadenceFrequency = "JOBCADENCEFREQUENCY_INVALID"
)

func ToJobCadenceFrequency

func ToJobCadenceFrequency(r string) *JobCadenceFrequency

ToJobCadenceFrequency converts a string to its corresponding JobCadenceFrequency enum value.

func (JobCadenceFrequency) MarshalGQL

func (r JobCadenceFrequency) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (JobCadenceFrequency) String

func (r JobCadenceFrequency) String() string

String returns the string representation of the JobCadenceFrequency value.

func (*JobCadenceFrequency) UnmarshalGQL

func (r *JobCadenceFrequency) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (JobCadenceFrequency) Values

func (JobCadenceFrequency) Values() []string

Values returns a slice of strings representing all valid JobCadenceFrequency values.

type JobEnvironment

type JobEnvironment string

JobEnvironment is a custom type representing the various states of JobEnvironment.

var (
	// JobEnvironmentOpenlane indicates the openlane.
	JobEnvironmentOpenlane JobEnvironment = "OPENLANE"
	// JobEnvironmentExternal indicates the external.
	JobEnvironmentExternal JobEnvironment = "EXTERNAL"
	// JobEnvironmentInvalid is used when an unknown or unsupported value is provided.
	JobEnvironmentInvalid JobEnvironment = "JOBENVIRONMENT_INVALID"
)

func ToJobEnvironment

func ToJobEnvironment(r string) *JobEnvironment

ToJobEnvironment converts a string to its corresponding JobEnvironment enum value.

func (JobEnvironment) MarshalGQL

func (r JobEnvironment) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (JobEnvironment) String

func (r JobEnvironment) String() string

String returns the string representation of the JobEnvironment value.

func (*JobEnvironment) UnmarshalGQL

func (r *JobEnvironment) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (JobEnvironment) Values

func (JobEnvironment) Values() []string

Values returns a slice of strings representing all valid JobEnvironment values.

type JobExecutionStatus

type JobExecutionStatus string

JobExecutionStatus is a custom type representing the various states of JobExecutionStatus.

var (
	// JobExecutionStatusCanceled indicates the canceled.
	JobExecutionStatusCanceled JobExecutionStatus = "CANCELED"
	// JobExecutionStatusSuccess indicates the success.
	JobExecutionStatusSuccess JobExecutionStatus = "SUCCESS"
	// JobExecutionStatusPending indicates the pending.
	JobExecutionStatusPending JobExecutionStatus = "PENDING"
	// JobExecutionStatusFailed indicates the failed.
	JobExecutionStatusFailed JobExecutionStatus = "FAILED"
	// JobExecutionStatusInvalid is used when an unknown or unsupported value is provided.
	JobExecutionStatusInvalid JobExecutionStatus = "JOBEXECUTIONSTATUS_INVALID"
)

func ToJobExecutionStatus

func ToJobExecutionStatus(r string) *JobExecutionStatus

ToJobExecutionStatus converts a string to its corresponding JobExecutionStatus enum value.

func (JobExecutionStatus) MarshalGQL

func (r JobExecutionStatus) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (JobExecutionStatus) String

func (r JobExecutionStatus) String() string

String returns the string representation of the JobExecutionStatus value.

func (*JobExecutionStatus) UnmarshalGQL

func (r *JobExecutionStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (JobExecutionStatus) Values

func (JobExecutionStatus) Values() []string

Values returns a slice of strings representing all valid JobExecutionStatus values.

type JobPlatformType

type JobPlatformType string

JobPlatformType is a custom type representing the various states of JobPlatformType.

var (
	// JobPlatformTypeGo indicates the go.
	JobPlatformTypeGo JobPlatformType = "GO"
	// JobPlatformTypeTs indicates the ts.
	JobPlatformTypeTs JobPlatformType = "TS"
	// JobPlatformTypeInvalid is used when an unknown or unsupported value is provided.
	JobPlatformTypeInvalid JobPlatformType = "JOBPLATFORMTYPE_INVALID"
)

func ToJobPlatformType

func ToJobPlatformType(r string) *JobPlatformType

ToJobPlatformType converts a string to its corresponding JobPlatformType enum value.

func (JobPlatformType) MarshalGQL

func (r JobPlatformType) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (JobPlatformType) String

func (r JobPlatformType) String() string

String returns the string representation of the JobPlatformType value.

func (*JobPlatformType) UnmarshalGQL

func (r *JobPlatformType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (JobPlatformType) Values

func (JobPlatformType) Values() []string

Values returns a slice of strings representing all valid JobPlatformType values.

type JobRunnerStatus

type JobRunnerStatus string

JobRunnerStatus is a custom type representing the various states of JobRunnerStatus.

var (
	// JobRunnerStatusOnline indicates the online.
	JobRunnerStatusOnline JobRunnerStatus = "ONLINE"
	// JobRunnerStatusOffline indicates the offline.
	JobRunnerStatusOffline JobRunnerStatus = "OFFLINE"
	// JobRunnerStatusInvalid is used when an unknown or unsupported value is provided.
	JobRunnerStatusInvalid JobRunnerStatus = "JOBRUNNERSTATUS_INVALID"
)

func ToJobRunnerStatus

func ToJobRunnerStatus(r string) *JobRunnerStatus

ToJobRunnerStatus converts a string to its corresponding JobRunnerStatus enum value.

func (JobRunnerStatus) MarshalGQL

func (r JobRunnerStatus) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (JobRunnerStatus) String

func (r JobRunnerStatus) String() string

String returns the string representation of the JobRunnerStatus value.

func (*JobRunnerStatus) UnmarshalGQL

func (r *JobRunnerStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (JobRunnerStatus) Values

func (JobRunnerStatus) Values() []string

Values returns a slice of strings representing all valid JobRunnerStatus values.

type JobWeekday

type JobWeekday string

JobWeekday is a custom type representing the various states of JobWeekday.

var (
	// JobWeekdaySunday indicates the sunday.
	JobWeekdaySunday JobWeekday = "SUNDAY"
	// JobWeekdayMonday indicates the monday.
	JobWeekdayMonday JobWeekday = "MONDAY"
	// JobWeekdayTuesday indicates the tuesday.
	JobWeekdayTuesday JobWeekday = "TUESDAY"
	// JobWeekdayWednesday indicates the wednesday.
	JobWeekdayWednesday JobWeekday = "WEDNESDAY"
	// JobWeekdayThursday indicates the thursday.
	JobWeekdayThursday JobWeekday = "THURSDAY"
	// JobWeekdayFriday indicates the friday.
	JobWeekdayFriday JobWeekday = "FRIDAY"
	// JobWeekdaySaturday indicates the saturday.
	JobWeekdaySaturday JobWeekday = "SATURDAY"
	// JobWeekdayInvalid is used when an unknown or unsupported value is provided.
	JobWeekdayInvalid JobWeekday = "JOBWEEKDAY_INVALID"
)

func ToJobWeekday

func ToJobWeekday(r string) *JobWeekday

ToJobWeekday converts a string to its corresponding JobWeekday enum value.

func (JobWeekday) MarshalGQL

func (r JobWeekday) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (JobWeekday) String

func (r JobWeekday) String() string

String returns the string representation of the JobWeekday value.

func (*JobWeekday) UnmarshalGQL

func (r *JobWeekday) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (JobWeekday) Values

func (JobWeekday) Values() []string

Values returns a slice of strings representing all valid JobWeekday values.

type JoinPolicy

type JoinPolicy string
var (
	// JoinPolicyOpen is when the group is open for anyone to join
	JoinPolicyOpen JoinPolicy = "OPEN"
	// JoinPolicyInviteOnly is when the group is only joinable by invite
	JoinPolicyInviteOnly JoinPolicy = "INVITE_ONLY"
	// JoinPolicyApplicationOnly is when the group is only joinable by application
	JoinPolicyApplicationOnly JoinPolicy = "APPLICATION_ONLY"
	// JoinPolicyInviteOrApplication is when the group is joinable by invite or application
	JoinPolicyInviteOrApplication JoinPolicy = "INVITE_OR_APPLICATION"
	// JoinPolicyInvalid is the default value for the JoinPolicy enum
	JoinPolicyInvalid JoinPolicy = "INVALID"
)

func ToGroupJoinPolicy

func ToGroupJoinPolicy(r string) *JoinPolicy

ToGroupJoinPolicy returns the user status enum based on string input

func (JoinPolicy) MarshalGQL

func (r JoinPolicy) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (JoinPolicy) String

func (r JoinPolicy) String() string

String returns the JoinPolicy as a string

func (*JoinPolicy) UnmarshalGQL

func (r *JoinPolicy) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (JoinPolicy) Values

func (JoinPolicy) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the JoinPolicy enum. Possible default values are "OPEN", "INVITE_ONLY", "APPLICATION_ONLY", and "INVITE_OR_APPLICATION".

type MappingSource

type MappingSource string

MappingSource is a custom type representing the various states of MappingSource.

var (
	// MappingSourceManual indicates the mapping is manual
	MappingSourceManual MappingSource = "MANUAL"
	// MappingSourceSuggested indicates the mapping was suggested
	MappingSourceSuggested MappingSource = "SUGGESTED"
	// MappingSourceImported indicates the  mapping was imported
	MappingSourceImported MappingSource = "IMPORTED"
	// MappingSourceInvalid is used when an unknown or unsupported value is provided.
	MappingSourceInvalid MappingSource = "MAPPINGSOURCE_INVALID"
)

func ToMappingSource

func ToMappingSource(r string) *MappingSource

ToMappingSource converts a string to its corresponding MappingSource enum value.

func (MappingSource) MarshalGQL

func (r MappingSource) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (MappingSource) String

func (r MappingSource) String() string

String returns the string representation of the MappingSource value.

func (*MappingSource) UnmarshalGQL

func (r *MappingSource) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (MappingSource) Values

func (MappingSource) Values() []string

Values returns a slice of strings representing all valid MappingSource values.

type MappingType

type MappingType string

MappingType is a custom type representing the various states of MappingType.

var (
	// MappingTypeEqual indicates the two sets are equivalent
	MappingTypeEqual MappingType = "EQUAL"
	// MappingTypeSuperset indicates the mapping is superset
	MappingTypeSuperset MappingType = "SUPERSET"
	// MappingTypeSubset indicates the mapping is subset
	MappingTypeSubset MappingType = "SUBSET"
	// MappingTypeIntersect indicates the overlap is an intersection
	MappingTypeIntersect MappingType = "INTERSECT"
	// MappingTypePartial indicates a partial overlap, but the exact type is unspecified
	MappingTypePartial MappingType = "PARTIAL"
	// MappingTypeInvalid is used when an unknown or unsupported value is provided.
	MappingTypeInvalid MappingType = "MAPPINGTYPE_INVALID"
)

func ToMappingType

func ToMappingType(r string) *MappingType

ToMappingType converts a string to its corresponding MappingType enum value.

func (MappingType) MarshalGQL

func (r MappingType) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (MappingType) String

func (r MappingType) String() string

String returns the string representation of the MappingType value.

func (*MappingType) UnmarshalGQL

func (r *MappingType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (MappingType) Values

func (MappingType) Values() []string

Values returns a slice of strings representing all valid MappingType values.

type NotificationCadence added in v1.0.7

type NotificationCadence string

NotificationCadence represents how often a notification should be delivered.

var (
	// NotificationCadenceImmediate delivers notifications immediately.
	NotificationCadenceImmediate NotificationCadence = "IMMEDIATE"
	// NotificationCadenceDailyDigest delivers notifications in a daily digest.
	NotificationCadenceDailyDigest NotificationCadence = "DAILY_DIGEST"
	// NotificationCadenceWeeklyDigest delivers notifications in a weekly digest.
	NotificationCadenceWeeklyDigest NotificationCadence = "WEEKLY_DIGEST"
	// NotificationCadenceMonthlyDigest delivers notifications in a monthly digest.
	NotificationCadenceMonthlyDigest NotificationCadence = "MONTHLY_DIGEST"
	// NotificationCadenceMute disables notifications for the preference.
	NotificationCadenceMute NotificationCadence = "MUTE"
	// NotificationCadenceInvalid represents an invalid cadence.
	NotificationCadenceInvalid NotificationCadence = "INVALID"
)

func ToNotificationCadence added in v1.0.7

func ToNotificationCadence(r string) *NotificationCadence

ToNotificationCadence returns the cadence enum based on string input.

func (NotificationCadence) MarshalGQL added in v1.0.7

func (r NotificationCadence) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (NotificationCadence) String added in v1.0.7

func (r NotificationCadence) String() string

String returns the cadence as a string.

func (*NotificationCadence) UnmarshalGQL added in v1.0.7

func (r *NotificationCadence) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (NotificationCadence) Values added in v1.0.7

func (NotificationCadence) Values() []string

Values returns a slice of strings that represents all the possible values of the NotificationCadence enum.

type NotificationChannelStatus added in v1.0.7

type NotificationChannelStatus string

NotificationChannelStatus represents the configuration status for a notification channel.

var (
	// NotificationChannelStatusEnabled indicates the channel is active.
	NotificationChannelStatusEnabled NotificationChannelStatus = "ENABLED"
	// NotificationChannelStatusDisabled indicates the channel is disabled.
	NotificationChannelStatusDisabled NotificationChannelStatus = "DISABLED"
	// NotificationChannelStatusPending indicates the channel is pending verification.
	NotificationChannelStatusPending NotificationChannelStatus = "PENDING"
	// NotificationChannelStatusVerified indicates the channel is verified and ready.
	NotificationChannelStatusVerified NotificationChannelStatus = "VERIFIED"
	// NotificationChannelStatusError indicates the channel is in an error state.
	NotificationChannelStatusError NotificationChannelStatus = "ERROR"
	// NotificationChannelStatusInvalid represents an invalid status.
	NotificationChannelStatusInvalid NotificationChannelStatus = "INVALID"
)

func ToNotificationChannelStatus added in v1.0.7

func ToNotificationChannelStatus(r string) *NotificationChannelStatus

ToNotificationChannelStatus returns the status enum based on string input.

func (NotificationChannelStatus) MarshalGQL added in v1.0.7

func (r NotificationChannelStatus) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (NotificationChannelStatus) String added in v1.0.7

func (r NotificationChannelStatus) String() string

String returns the status as a string.

func (*NotificationChannelStatus) UnmarshalGQL added in v1.0.7

func (r *NotificationChannelStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (NotificationChannelStatus) Values added in v1.0.7

func (NotificationChannelStatus) Values() []string

Values returns a slice of strings that represents all the possible values of the NotificationChannelStatus enum.

type NotificationTemplateFormat added in v1.0.7

type NotificationTemplateFormat string

NotificationTemplateFormat represents the format used to render a notification template.

var (
	// NotificationTemplateFormatText indicates plain text templates.
	NotificationTemplateFormatText NotificationTemplateFormat = "TEXT"
	// NotificationTemplateFormatMarkdown indicates markdown templates.
	NotificationTemplateFormatMarkdown NotificationTemplateFormat = "MARKDOWN"
	// NotificationTemplateFormatHTML indicates HTML templates.
	NotificationTemplateFormatHTML NotificationTemplateFormat = "HTML"
	// NotificationTemplateFormatJSON indicates structured JSON templates (e.g., Slack blocks).
	NotificationTemplateFormatJSON NotificationTemplateFormat = "JSON"
	// NotificationTemplateFormatInvalid represents an invalid template format.
	NotificationTemplateFormatInvalid NotificationTemplateFormat = "INVALID"
)

func ToNotificationTemplateFormat added in v1.0.7

func ToNotificationTemplateFormat(r string) *NotificationTemplateFormat

ToNotificationTemplateFormat returns the template format enum based on string input.

func (NotificationTemplateFormat) MarshalGQL added in v1.0.7

func (r NotificationTemplateFormat) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (NotificationTemplateFormat) String added in v1.0.7

String returns the template format as a string.

func (*NotificationTemplateFormat) UnmarshalGQL added in v1.0.7

func (r *NotificationTemplateFormat) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (NotificationTemplateFormat) Values added in v1.0.7

Values returns a slice of strings that represents all the possible values of the NotificationTemplateFormat enum.

type NotificationTopic added in v1.0.1

type NotificationTopic string

NotificationTopic represents the topic/category of a notification

var (
	// NotificationTopicTaskAssignment represents a task assignment notification
	NotificationTopicTaskAssignment NotificationTopic = "TASK_ASSIGNMENT"
	// NotificationTopicApproval represents an approval notification
	NotificationTopicApproval NotificationTopic = "APPROVAL"
	// NotificationTopicMention represents a mention notification (comments)
	NotificationTopicMention NotificationTopic = "MENTION"
	// NotificationTopicExport represents an export notification
	NotificationTopicExport NotificationTopic = "EXPORT"
	// NotificationTopicInvalid represents an invalid notification topic
	NotificationTopicInvalid NotificationTopic = "INVALID"
)

func ToNotificationTopic added in v1.0.1

func ToNotificationTopic(r string) *NotificationTopic

ToNotificationTopic returns the notification topic enum based on string input

func (NotificationTopic) MarshalGQL added in v1.0.1

func (r NotificationTopic) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (NotificationTopic) String added in v1.0.1

func (r NotificationTopic) String() string

String returns the NotificationTopic as a string

func (*NotificationTopic) UnmarshalGQL added in v1.0.1

func (r *NotificationTopic) UnmarshalGQL(v any) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (NotificationTopic) Values added in v1.0.1

func (NotificationTopic) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the NotificationTopic enum.

type NotificationType

type NotificationType string

NotificationType represents the type of notification

var (
	// NotificationTypeOrganization represents an organization notification
	NotificationTypeOrganization NotificationType = "ORGANIZATION"
	// NotificationTypeUser represents a user notification
	NotificationTypeUser NotificationType = "USER"
	// NotificationTypeInvalid represents an invalid notification type
	NotificationTypeInvalid NotificationType = "INVALID"
)

func ToNotificationType

func ToNotificationType(r string) *NotificationType

ToNotificationType returns the notification type enum based on string input

func (NotificationType) MarshalGQL

func (r NotificationType) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (NotificationType) String

func (r NotificationType) String() string

String returns the NotificationType as a string

func (*NotificationType) UnmarshalGQL

func (r *NotificationType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (NotificationType) Values

func (NotificationType) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the NotificationType enum. Possible default values are "ORGANIZATION" and "USER".

type ObjectiveStatus

type ObjectiveStatus string

ObjectiveStatus is a custom type for control objective

var (
	// ObjectiveActiveStatus indicates it is currently in draft mode
	ObjectiveDraftStatus ObjectiveStatus = "DRAFT"
	// ObjectiveArchivedStatus indicates it is currently archived
	ObjectiveArchivedStatus ObjectiveStatus = "ARCHIVED"
	// ObjectiveActiveStatus indicates it is currently active
	ObjectiveActiveStatus ObjectiveStatus = "ACTIVE"
)

func ToObjectiveStatus

func ToObjectiveStatus(r string) *ObjectiveStatus

ToObjectiveStatus returns the objective status enum based on string input

func (ObjectiveStatus) MarshalGQL

func (r ObjectiveStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (ObjectiveStatus) String

func (r ObjectiveStatus) String() string

String returns the objective status as a string

func (*ObjectiveStatus) UnmarshalGQL

func (r *ObjectiveStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (ObjectiveStatus) Values

func (ObjectiveStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the ObjectiveStatus enum. Possible default values are "DRAFT", "ARCHIVED", and "ACTIVE"

type Permission

type Permission string
var (
	Editor  Permission = "EDITOR"
	Viewer  Permission = "VIEWER"
	Blocked Permission = "BLOCKED"
	Creator Permission = "CREATOR"
)

func ToPermission

func ToPermission(r string) *Permission

ToPermission returns the Permission based on string input

func (Permission) MarshalGQL

func (r Permission) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (Permission) String

func (r Permission) String() string

String returns the permission as a string

func (*Permission) UnmarshalGQL

func (r *Permission) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (Permission) Values

func (Permission) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the Permission enum. Possible default values are "EDITOR", "VIEWER", "BLOCKED", "CREATOR"

type PlatformStatus added in v1.0.4

type PlatformStatus string

PlatformStatus is a custom type representing the lifecycle state of a platform

var (
	// PlatformStatusActive indicates a platform is active
	PlatformStatusActive PlatformStatus = "ACTIVE"
	// PlatformStatusInactive indicates a platform is inactive
	PlatformStatusInactive PlatformStatus = "INACTIVE"
	// PlatformStatusRetired indicates a platform is retired
	PlatformStatusRetired PlatformStatus = "RETIRED"
	// PlatformStatusInvalid is used when an unknown or unsupported value is provided
	PlatformStatusInvalid PlatformStatus = "INVALID"
)

func ToPlatformStatus added in v1.0.4

func ToPlatformStatus(r string) *PlatformStatus

ToPlatformStatus returns the platform status enum based on string input

func (PlatformStatus) MarshalGQL added in v1.0.4

func (r PlatformStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (PlatformStatus) String added in v1.0.4

func (r PlatformStatus) String() string

String returns the PlatformStatus as a string

func (*PlatformStatus) UnmarshalGQL added in v1.0.4

func (r *PlatformStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (PlatformStatus) Values added in v1.0.4

func (PlatformStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the PlatformStatus enum Possible default values are "ACTIVE", "INACTIVE", and "RETIRED"

type Priority

type Priority string

Priority represents the priority of a object (e.g. task)

var (
	// PriorityLow represents the low priority
	PriorityLow Priority = "LOW"
	// PriorityMedium represents the medium priority
	PriorityMedium Priority = "MEDIUM"
	// PriorityHigh represents the high priority
	PriorityHigh Priority = "HIGH"
	// PriorityCritical represents the critical priority
	PriorityCritical Priority = "CRITICAL"
	// PriorityInvalid represents an invalid priority
	PriorityInvalid Priority = "INVALID"
)

func ToPriority

func ToPriority(r string) *Priority

ToPriority returns the user status enum based on string input

func (Priority) MarshalGQL

func (r Priority) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (Priority) String

func (r Priority) String() string

String returns the Priority as a string

func (*Priority) UnmarshalGQL

func (r *Priority) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (Priority) Values

func (Priority) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the Priority enum. Possible default values are "LOW", "MEDIUM", "HIGH", and "CRITICAL".

type ProgramStatus

type ProgramStatus string

ProgramStatus is a custom type representing the various states of ProgramStatus.

var (
	// ProgramStatusNotStarted indicates the not started status.
	ProgramStatusNotStarted ProgramStatus = "NOT_STARTED"
	// ProgramStatusInProgress indicates the in progress status.
	ProgramStatusInProgress ProgramStatus = "IN_PROGRESS"
	// ProgramStatusActionRequired indicates an action required.
	ProgramStatusActionRequired ProgramStatus = "ACTION_REQUIRED"
	// ProgramStatusReadyForAuditor indicates the ready for auditor.
	ProgramStatusReadyForAuditor ProgramStatus = "READY_FOR_AUDITOR"
	// ProgramStatusCompleted indicates the completed status.
	ProgramStatusCompleted ProgramStatus = "COMPLETED"
	// ProgramStatusArchived indicates the archived status.
	ProgramStatusArchived ProgramStatus = "ARCHIVED"
	// ProgramStatusInvalid is used when an unknown or unsupported value is provided.
	ProgramStatusInvalid ProgramStatus = "INVALID"
)

func ToProgramStatus

func ToProgramStatus(r string) *ProgramStatus

ToProgramStatus converts a string to its corresponding ProgramStatus enum value.

func (ProgramStatus) MarshalGQL

func (r ProgramStatus) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (ProgramStatus) String

func (r ProgramStatus) String() string

String returns the string representation of the ProgramStatus value.

func (*ProgramStatus) UnmarshalGQL

func (r *ProgramStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (ProgramStatus) Values

func (ProgramStatus) Values() []string

Values returns a slice of strings representing all valid ProgramStatus values.

type ProgramType

type ProgramType string

ProgramType is a custom type representing the various states of ProgramType.

var (
	// ProgramTypeFramework indicates the framework.
	ProgramTypeFramework ProgramType = "FRAMEWORK"
	// ProgramTypeGapAnalysis indicates the gap analysis.
	ProgramTypeGapAnalysis ProgramType = "GAP_ANALYSIS"
	// ProgramTypeRiskAssessment indicates the risk assessment.
	ProgramTypeRiskAssessment ProgramType = "RISK_ASSESSMENT"
	// ProgramTypeOther indicates the other.
	ProgramTypeOther ProgramType = "OTHER"
	// ProgramTypeInvalid is used when an unknown or unsupported value is provided.
	ProgramTypeInvalid ProgramType = "PROGRAMTYPE_INVALID"
)

func ToProgramType

func ToProgramType(r string) *ProgramType

ToProgramType converts a string to its corresponding ProgramType enum value.

func (ProgramType) MarshalGQL

func (r ProgramType) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (ProgramType) String

func (r ProgramType) String() string

String returns the string representation of the ProgramType value.

func (*ProgramType) UnmarshalGQL

func (r *ProgramType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (ProgramType) Values

func (ProgramType) Values() []string

Values returns a slice of strings representing all valid ProgramType values.

type Region

type Region string
var (
	Amer          Region = "AMER"
	Emea          Region = "EMEA"
	Apac          Region = "APAC"
	InvalidRegion Region = "INVALID"
)

func ToRegion

func ToRegion(p string) *Region

ToRegion returns the database provider enum based on string input

func (Region) MarshalGQL

func (r Region) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (Region) String

func (r Region) String() string

String returns the Region as a string

func (*Region) UnmarshalGQL

func (r *Region) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (Region) Values

func (Region) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the Region enum. Possible default values are "AMER", "EMEA", and "APAC"

type RiskImpact

type RiskImpact string
var (
	RiskImpactLow      RiskImpact = "LOW"
	RiskImpactModerate RiskImpact = "MODERATE"
	RiskImpactHigh     RiskImpact = "HIGH"
	RiskImpactCritical RiskImpact = "CRITICAL"
	RiskImpactInvalid  RiskImpact = "INVALID"
)

func ToRiskImpact

func ToRiskImpact(r string) *RiskImpact

ToRiskImpact returns the user status enum based on string input

func (RiskImpact) MarshalGQL

func (r RiskImpact) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (RiskImpact) String

func (r RiskImpact) String() string

String returns the RiskImpact as a string

func (*RiskImpact) UnmarshalGQL

func (r *RiskImpact) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (RiskImpact) Values

func (RiskImpact) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the RiskImpact enum. Possible default values are "LOW", "MODERATE", "HIGH", and "CRITICAL"

type RiskLikelihood

type RiskLikelihood string
var (
	RiskLikelihoodLow     RiskLikelihood = "UNLIKELY"
	RiskLikelihoodMid     RiskLikelihood = "LIKELY"
	RiskLikelihoodHigh    RiskLikelihood = "HIGHLY_LIKELY"
	RiskLikelihoodInvalid RiskLikelihood = "INVALID"
)

func ToRiskLikelihood

func ToRiskLikelihood(r string) *RiskLikelihood

ToRiskLikelihood returns the user status enum based on string input

func (RiskLikelihood) MarshalGQL

func (r RiskLikelihood) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (RiskLikelihood) String

func (r RiskLikelihood) String() string

String returns the RiskLikelihood as a string

func (*RiskLikelihood) UnmarshalGQL

func (r *RiskLikelihood) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (RiskLikelihood) Values

func (RiskLikelihood) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the RiskLikelihood enum. Possible default values are "UNLIKELY", "LIKELY", and "HIGHLY_LIKELY"

type RiskStatus

type RiskStatus string

RiskStatus is a custom type for risk status

var (
	// RiskOpen indicates that the risk is open and has not been mitigated
	RiskOpen RiskStatus = "OPEN"
	// RiskInProgress indicates that the risk is being actively worked on
	RiskInProgress RiskStatus = "IN_PROGRESS"
	// RiskOngoing indicates that the risk is ongoing and has not been mitigated
	RiskOngoing RiskStatus = "ONGOING"
	// RiskIdentified indicates that the risk has been identified
	RiskIdentified RiskStatus = "IDENTIFIED"
	// RiskMitigated indicates that the risk has been mitigated
	RiskMitigated RiskStatus = "MITIGATED"
	// RiskAccepted indicates that the risk has been accepted
	RiskAccepted RiskStatus = "ACCEPTED"
	// RiskClosed indicates that the risk has been closed
	RiskClosed RiskStatus = "CLOSED"
	// RiskTransferred indicates that the risk has been transferred
	RiskTransferred RiskStatus = "TRANSFERRED"
	// RiskArchived indicates that the risk has been archived and is no longer active
	RiskArchived RiskStatus = "ARCHIVED"
	// RiskInvalid indicates that the risk status is invalid
	RiskInvalid RiskStatus = "RISK_STATUS_INVALID"
)

func ToRiskStatus

func ToRiskStatus(r string) *RiskStatus

ToRiskStatus returns the risk status enum based on string input

func (RiskStatus) MarshalGQL

func (r RiskStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (RiskStatus) String

func (r RiskStatus) String() string

String returns the risk status as a string

func (*RiskStatus) UnmarshalGQL

func (r *RiskStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (RiskStatus) Values

func (RiskStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the RiskStatus enum. Possible default values are "OPEN", "IN_PROGRESS", "ONGOING", "IDENTIFIED", "MITIGATED", "ACCEPTED", "CLOSED", "TRANSFERRED", and "ARCHIVED"

type Role

type Role string
var (
	RoleOwner   Role = "OWNER"
	RoleAdmin   Role = "ADMIN"
	RoleMember  Role = "MEMBER"
	RoleUser    Role = "USER"
	RoleInvalid Role = "INVALID"
)

func ToRole

func ToRole(r string) *Role

ToRole returns the Role based on string input

func (Role) MarshalGQL

func (r Role) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (Role) String

func (r Role) String() string

String returns the role as a string

func (*Role) UnmarshalGQL

func (r *Role) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (Role) Values

func (Role) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the Role enum. Possible default values are "ADMIN", "MEMBER"

type SSLVerificationStatus

type SSLVerificationStatus string
var (
	SSLVerificationStatusInitializing         SSLVerificationStatus = "INITIALIZING"
	SSLVerificationStatusPendingValidation    SSLVerificationStatus = "PENDING_VALIDATION"
	SSLVerificationStatusDeleted              SSLVerificationStatus = "DELETED"
	SSLVerificationStatusPendingIssuance      SSLVerificationStatus = "PENDING_ISSUANCE"
	SSLVerificationStatusPendingDeployment    SSLVerificationStatus = "PENDING_DEPLOYMENT"
	SSLVerificationStatusPendingDeletion      SSLVerificationStatus = "PENDING_DELETION"
	SSLVerificationStatusPendingExpiration    SSLVerificationStatus = "PENDING_EXPIRATION"
	SSLVerificationStatusExpired              SSLVerificationStatus = "EXPIRED"
	SSLVerificationStatusActive               SSLVerificationStatus = "ACTIVE"
	SSLVerificationStatusInitializingTimedOut SSLVerificationStatus = "INITIALIZING_TIMED_OUT"
	SSLVerificationStatusValidationTimedOut   SSLVerificationStatus = "VALIDATION_TIMED_OUT"
	SSLVerificationStatusIssuanceTimedOut     SSLVerificationStatus = "ISSUANCE_TIMED_OUT"
	SSLVerificationStatusDeploymentTimedOut   SSLVerificationStatus = "DEPLOYMENT_TIMED_OUT"
	SSLVerificationStatusDeletionTimedOut     SSLVerificationStatus = "DELETION_TIMED_OUT"
	SSLVerificationStatusPendingCleanup       SSLVerificationStatus = "PENDING_CLEANUP"
	SSLVerificationStatusStagingDeployment    SSLVerificationStatus = "STAGING_DEPLOYMENT"
	SSLVerificationStatusStagingActive        SSLVerificationStatus = "STAGING_ACTIVE"
	SSLVerificationStatusDeactivating         SSLVerificationStatus = "DEACTIVATING"
	SSLVerificationStatusInactive             SSLVerificationStatus = "INACTIVE"
	SSLVerificationStatusBackupIssued         SSLVerificationStatus = "BACKUP_ISSUED"
	SSLVerificationStatusHoldingDeployment    SSLVerificationStatus = "HOLDING_DEPLOYMENT"
	SSLVerificationStatusInvalid              SSLVerificationStatus = "INVALID"
)

func ToSSLVerificationStatus

func ToSSLVerificationStatus(r string) *SSLVerificationStatus

ToSSLVerificationStatus returns the user status enum based on string input

func (SSLVerificationStatus) MarshalGQL

func (r SSLVerificationStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (SSLVerificationStatus) String

func (r SSLVerificationStatus) String() string

String returns the SSLVerificationStatus as a string

func (*SSLVerificationStatus) UnmarshalGQL

func (r *SSLVerificationStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (SSLVerificationStatus) Values

func (SSLVerificationStatus) Values() (kinds []string)

type SSOProvider

type SSOProvider string
var (
	SSOProviderOkta            SSOProvider = "OKTA"
	SSOProviderOneLogin        SSOProvider = "ONE_LOGIN"
	SSOProviderGoogleWorkspace SSOProvider = "GOOGLE_WORKSPACE"
	SSOProviderSlack           SSOProvider = "SLACK"
	SSOProviderGithub          SSOProvider = "GITHUB"
	SSOProviderEntraID         SSOProvider = "MICROSOFT_ENTRA_ID"
	SSOProviderGenericOIDC     SSOProvider = "GENERIC_OIDC"
	SSOProviderNone            SSOProvider = "NONE"
	SSOProviderInvalid         SSOProvider = "INVALID"
)

func ToSSOProvider

func ToSSOProvider(in string) *SSOProvider

func (SSOProvider) MarshalGQL

func (p SSOProvider) MarshalGQL(w io.Writer)

func (SSOProvider) String

func (p SSOProvider) String() string

func (*SSOProvider) UnmarshalGQL

func (p *SSOProvider) UnmarshalGQL(v interface{}) error

func (SSOProvider) Values

func (SSOProvider) Values() (kinds []string)

Values returns all possible SSOProvider values.

type ScanStatus

type ScanStatus string
var (
	ScanStatusPending    ScanStatus = "PENDING"
	ScanStatusProcessing ScanStatus = "PROCESSING"
	ScanStatusCompleted  ScanStatus = "COMPLETED"
	ScanStatusFailed     ScanStatus = "FAILED"
	ScanStatusInvalid    ScanStatus = "INVALID"
)

func ToScanStatus

func ToScanStatus(str string) *ScanStatus

func (ScanStatus) MarshalGQL

func (s ScanStatus) MarshalGQL(w io.Writer)

func (ScanStatus) String

func (s ScanStatus) String() string

func (*ScanStatus) UnmarshalGQL

func (s *ScanStatus) UnmarshalGQL(v interface{}) error

func (ScanStatus) Values

func (ScanStatus) Values() (kinds []string)

type ScanType

type ScanType string
var (
	ScanTypeDomain        ScanType = "DOMAIN"
	ScanTypeVulnerability ScanType = "VULNERABILITY"
	ScanTypeVendor        ScanType = "VENDOR"
	ScanTypeProvider      ScanType = "PROVIDER"
	ScanTypeInvalid       ScanType = "INVALID"
)

func ToScanType

func ToScanType(str string) *ScanType

func (ScanType) MarshalGQL

func (s ScanType) MarshalGQL(w io.Writer)

func (ScanType) String

func (s ScanType) String() string

func (*ScanType) UnmarshalGQL

func (s *ScanType) UnmarshalGQL(v interface{}) error

func (ScanType) Values

func (ScanType) Values() []string

type ScheduledJobRunStatus

type ScheduledJobRunStatus string

ScheduledJobRunStatus is a custom type representing the various states of ScheduledJobRunStatus.

var (
	// ScheduledJobRunStatusPending indicates the pending.
	ScheduledJobRunStatusPending ScheduledJobRunStatus = "PENDING"
	// ScheduledJobRunStatusAcquired indicates the acquired.
	ScheduledJobRunStatusAcquired ScheduledJobRunStatus = "ACQUIRED"
	// ScheduledJobRunStatusInvalid is used when an unknown or unsupported value is provided.
	ScheduledJobRunStatusInvalid ScheduledJobRunStatus = "SCHEDULEDJOBRUNSTATUS_INVALID"
)

func ToScheduledJobRunStatus

func ToScheduledJobRunStatus(r string) *ScheduledJobRunStatus

ToScheduledJobRunStatus converts a string to its corresponding ScheduledJobRunStatus enum value.

func (ScheduledJobRunStatus) MarshalGQL

func (r ScheduledJobRunStatus) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (ScheduledJobRunStatus) String

func (r ScheduledJobRunStatus) String() string

String returns the string representation of the ScheduledJobRunStatus value.

func (*ScheduledJobRunStatus) UnmarshalGQL

func (r *ScheduledJobRunStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (ScheduledJobRunStatus) Values

func (ScheduledJobRunStatus) Values() []string

Values returns a slice of strings representing all valid ScheduledJobRunStatus values.

type SourceType added in v1.0.4

type SourceType string

SourceType is a custom type representing the origin of a record

var (
	// SourceTypeManual indicates the record was manually created
	SourceTypeManual SourceType = "MANUAL"
	// SourceTypeDiscovered indicates the record was discovered automatically
	SourceTypeDiscovered SourceType = "DISCOVERED"
	// SourceTypeImported indicates the record was imported from another system
	SourceTypeImported SourceType = "IMPORTED"
	// SourceTypeAPI indicates the record was created via API
	SourceTypeAPI SourceType = "API"
	// SourceTypeInvalid is used when an unknown or unsupported value is provided
	SourceTypeInvalid SourceType = "INVALID"
)

func ToSourceType added in v1.0.4

func ToSourceType(r string) *SourceType

ToSourceType returns the source type enum based on string input

func (SourceType) MarshalGQL added in v1.0.4

func (r SourceType) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (SourceType) String added in v1.0.4

func (r SourceType) String() string

String returns the SourceType as a string

func (*SourceType) UnmarshalGQL added in v1.0.4

func (r *SourceType) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (SourceType) Values added in v1.0.4

func (SourceType) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the SourceType enum Possible default values are "MANUAL", "DISCOVERED", "IMPORTED", and "API"

type StandardStatus

type StandardStatus string

StandardStatus is a custom type for standard status

var (
	// StandardActive indicates that the standard is active and in use
	StandardActive StandardStatus = "ACTIVE"
	// StandardDraft indicates that the standard is in draft status and not yet finalized
	StandardDraft StandardStatus = "DRAFT"
	// StandardArchived indicates that the standard has been archived and is no longer active
	StandardArchived StandardStatus = "ARCHIVED"
	// StandardInvalid indicates that the standard status is invalid
	StandardInvalid StandardStatus = "STANDARD_STATUS_INVALID"
)

func ToStandardStatus

func ToStandardStatus(r string) *StandardStatus

ToStandardStatus returns the standard status enum based on string input

func (StandardStatus) MarshalGQL

func (r StandardStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (StandardStatus) String

func (r StandardStatus) String() string

String returns the standard status as a string

func (*StandardStatus) UnmarshalGQL

func (r *StandardStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (StandardStatus) Values

func (StandardStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the StandardStatus enum. Possible default values are "ACTIVE", "DRAFT", and "ARCHIVED"

type TaskStatus

type TaskStatus string
var (
	TaskStatusOpen       TaskStatus = "OPEN"
	TaskStatusInProgress TaskStatus = "IN_PROGRESS"
	TaskStatusInReview   TaskStatus = "IN_REVIEW"
	TaskStatusCompleted  TaskStatus = "COMPLETED"
	TaskStatusWontDo     TaskStatus = "WONT_DO"
	TaskStatusInvalid    TaskStatus = "INVALID"
)

func ToTaskStatus

func ToTaskStatus(r string) *TaskStatus

ToTaskStatus returns the task status enum based on string input

func (TaskStatus) MarshalGQL

func (r TaskStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (TaskStatus) String

func (r TaskStatus) String() string

String returns the TaskStatus as a string

func (*TaskStatus) UnmarshalGQL

func (r *TaskStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (TaskStatus) Values

func (TaskStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the TaskStatus enum. Possible default values are "OPEN", "IN_PROGRESS", "IN_REVIEW", "COMPLETED", and "WONT_DO".

type TemplateKind

type TemplateKind string

TemplateKind is a custom type representing the various states of TemplateKind.

var (
	// TemplateKindQuestionnaire indicates the questionnaire.
	TemplateKindQuestionnaire TemplateKind = "QUESTIONNAIRE"
	// TemplateKindTrustCenterNda indicates the trust center NDA.
	TemplateKindTrustCenterNda TemplateKind = "TRUSTCENTER_NDA"
	// TemplateKindInvalid is used when an unknown or unsupported value is provided.
	TemplateKindInvalid TemplateKind = "TEMPLATEKIND_INVALID"
)

func ToTemplateKind

func ToTemplateKind(r string) *TemplateKind

ToTemplateKind converts a string to its corresponding TemplateKind enum value.

func (TemplateKind) MarshalGQL

func (r TemplateKind) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (TemplateKind) String

func (r TemplateKind) String() string

String returns the string representation of the TemplateKind value.

func (*TemplateKind) UnmarshalGQL

func (r *TemplateKind) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (TemplateKind) Values

func (TemplateKind) Values() []string

Values returns a slice of strings representing all valid TemplateKind values.

type Tier

type Tier string
var (
	TierFree       Tier = "FREE"
	TierPro        Tier = "PRO"
	TierEnterprise Tier = "ENTERPRISE"
	TierInvalid    Tier = "INVALID"
)

func ToTier

func ToTier(r string) *Tier

ToTier returns the Tier based on string input

func (Tier) MarshalGQL

func (r Tier) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (Tier) String

func (r Tier) String() string

String returns the Tier as a string

func (*Tier) UnmarshalGQL

func (r *Tier) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (Tier) Values

func (Tier) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the Tier enum. Possible default values are "FREE", "PRO" and "ENTERPRISE".

type TrustCenterDocumentVisibility

type TrustCenterDocumentVisibility string

TrustCenterDocumentVisibility is a custom type for document status

var (
	// TrustCenterDocumentVisibilityPubliclyVisible indicates that the document is publicly visible
	TrustCenterDocumentVisibilityPubliclyVisible TrustCenterDocumentVisibility = "PUBLICLY_VISIBLE"
	// TrustCenterDocumentVisibilityProtected indicates that the document is
	// protected and only visible to certain users that have signed ANDAs
	TrustCenterDocumentVisibilityProtected TrustCenterDocumentVisibility = "PROTECTED"
	// TrustCenterDocumentVisibilityNotVisible indicates that the document is not visible to anyone
	TrustCenterDocumentVisibilityNotVisible TrustCenterDocumentVisibility = "NOT_VISIBLE"
	// TrustCenterDocumentVisibilityInvalid indicates that the document status is invalid
	TrustCenterDocumentVisibilityInvalid TrustCenterDocumentVisibility = "DOCUMENT_STATUS_INVALID"
)

func ToTrustCenterDocumentVisibility

func ToTrustCenterDocumentVisibility(r string) *TrustCenterDocumentVisibility

ToTrustCenterDocumentVisibility returns the document status enum based on string input

func (TrustCenterDocumentVisibility) MarshalGQL

func (r TrustCenterDocumentVisibility) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (TrustCenterDocumentVisibility) String

String returns the document status as a string

func (*TrustCenterDocumentVisibility) UnmarshalGQL

func (r *TrustCenterDocumentVisibility) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (TrustCenterDocumentVisibility) Values

func (TrustCenterDocumentVisibility) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the TrustCenterDocumentVisibility enum. Possible default values are "PUBLISHED", "DRAFT", "NEEDS_APPROVAL", and "APPROVED"

type TrustCenterEnvironment

type TrustCenterEnvironment string

TrustCenterEnvironment is a custom type representing the various states of TrustCenterEnvironment.

var (
	// TrustCenterEnvironmentLive indicates the live.
	TrustCenterEnvironmentLive TrustCenterEnvironment = "LIVE"
	// TrustCenterEnvironmentPreview indicates the preview.
	TrustCenterEnvironmentPreview TrustCenterEnvironment = "PREVIEW"
	// TrustCenterEnvironmentInvalid is used when an unknown or unsupported value is provided.
	TrustCenterEnvironmentInvalid TrustCenterEnvironment = "TRUSTCENTERENVIRONMENT_INVALID"
)

func ToTrustCenterEnvironment

func ToTrustCenterEnvironment(r string) *TrustCenterEnvironment

ToTrustCenterEnvironment converts a string to its corresponding TrustCenterEnvironment enum value.

func (TrustCenterEnvironment) MarshalGQL

func (r TrustCenterEnvironment) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (TrustCenterEnvironment) String

func (r TrustCenterEnvironment) String() string

String returns the string representation of the TrustCenterEnvironment value.

func (*TrustCenterEnvironment) UnmarshalGQL

func (r *TrustCenterEnvironment) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (TrustCenterEnvironment) Values

func (TrustCenterEnvironment) Values() []string

Values returns a slice of strings representing all valid TrustCenterEnvironment values.

type TrustCenterNDARequestAccessLevel added in v1.0.3

type TrustCenterNDARequestAccessLevel string

TrustCenterNDARequestAccessLevel is a custom type for NDA request access level

var (
	// TrustCenterNDARequestAccessLevelFull indicates full access to all documents
	TrustCenterNDARequestAccessLevelFull TrustCenterNDARequestAccessLevel = "FULL"
	// TrustCenterNDARequestAccessLevelLimited indicates limited access to specific documents
	TrustCenterNDARequestAccessLevelLimited TrustCenterNDARequestAccessLevel = "LIMITED"
	// TrustCenterNDARequestAccessLevelInvalid indicates the access level is invalid
	TrustCenterNDARequestAccessLevelInvalid TrustCenterNDARequestAccessLevel = "INVALID"
)

func ToTrustCenterNDARequestAccessLevel added in v1.0.3

func ToTrustCenterNDARequestAccessLevel(r string) *TrustCenterNDARequestAccessLevel

ToTrustCenterNDARequestAccessLevel returns the access level enum based on string input

func (TrustCenterNDARequestAccessLevel) MarshalGQL added in v1.0.3

func (r TrustCenterNDARequestAccessLevel) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (TrustCenterNDARequestAccessLevel) String added in v1.0.3

String returns the access level as a string

func (*TrustCenterNDARequestAccessLevel) UnmarshalGQL added in v1.0.3

func (r *TrustCenterNDARequestAccessLevel) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (TrustCenterNDARequestAccessLevel) Values added in v1.0.3

func (TrustCenterNDARequestAccessLevel) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the TrustCenterNDARequestAccessLevel enum

type TrustCenterNDARequestStatus added in v1.0.3

type TrustCenterNDARequestStatus string

TrustCenterNDARequestStatus is a custom type for NDA request status

var (
	// TrustCenterNDARequestStatusRequested indicates the NDA has been requested
	TrustCenterNDARequestStatusRequested TrustCenterNDARequestStatus = "REQUESTED"
	// TrustCenterNDARequestStatusNeedsApproval indicates the NDA request needs approval
	TrustCenterNDARequestStatusNeedsApproval TrustCenterNDARequestStatus = "NEEDS_APPROVAL"
	// TrustCenterNDARequestStatusApproved indicates the NDA request has been approved
	TrustCenterNDARequestStatusApproved TrustCenterNDARequestStatus = "APPROVED"
	// TrustCenterNDARequestStatusSigned indicates the NDA has been signed
	TrustCenterNDARequestStatusSigned TrustCenterNDARequestStatus = "SIGNED"
	// TrustCenterNDARequestStatusDeclined indicates the NDA request has been declined
	TrustCenterNDARequestStatusDeclined TrustCenterNDARequestStatus = "DECLINED"
	// TrustCenterNDARequestStatusInvalid indicates the NDA request status is invalid
	TrustCenterNDARequestStatusInvalid TrustCenterNDARequestStatus = "INVALID"
)

func ToTrustCenterNDARequestStatus added in v1.0.3

func ToTrustCenterNDARequestStatus(r string) *TrustCenterNDARequestStatus

ToTrustCenterNDARequestStatus returns the NDA request status enum based on string input

func (TrustCenterNDARequestStatus) MarshalGQL added in v1.0.3

func (r TrustCenterNDARequestStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (TrustCenterNDARequestStatus) String added in v1.0.3

String returns the NDA request status as a string

func (*TrustCenterNDARequestStatus) UnmarshalGQL added in v1.0.3

func (r *TrustCenterNDARequestStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (TrustCenterNDARequestStatus) Values added in v1.0.3

func (TrustCenterNDARequestStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the TrustCenterNDARequestStatus enum

type TrustCenterPreviewStatus

type TrustCenterPreviewStatus string

TrustCenterPreviewStatus is a custom type representing the various states of TrustCenterPreviewStatus.

var (
	// TrustCenterPreviewStatusProvisioning indicates the preview is being provisioned.
	TrustCenterPreviewStatusProvisioning TrustCenterPreviewStatus = "PROVISIONING"
	// TrustCenterPreviewStatusReady indicates the preview is ready.
	TrustCenterPreviewStatusReady TrustCenterPreviewStatus = "READY"
	// TrustCenterPreviewStatusFailed indicates the preview has failed.
	TrustCenterPreviewStatusFailed TrustCenterPreviewStatus = "FAILED"
	// TrustCenterPreviewStatusDeprovisioning indicates the preview is being deprovisioned.
	TrustCenterPreviewStatusDeprovisioning TrustCenterPreviewStatus = "DEPROVISIONING"
	// TrustCenterPreviewStatusNone indicates there is no preview environment
	TrustCenterPreviewStatusNone TrustCenterPreviewStatus = "NONE"
	// TrustCenterPreviewStatusInvalid is used when an unknown or unsupported value is provided.
	TrustCenterPreviewStatusInvalid TrustCenterPreviewStatus = "TRUSTCENTERPREVIEWSTATUS_INVALID"
)

func ToTrustCenterPreviewStatus

func ToTrustCenterPreviewStatus(r string) *TrustCenterPreviewStatus

ToTrustCenterPreviewStatus converts a string to its corresponding TrustCenterPreviewStatus enum value.

func (TrustCenterPreviewStatus) MarshalGQL

func (r TrustCenterPreviewStatus) MarshalGQL(w io.Writer)

MarshalGQL implements the gqlgen Marshaler interface.

func (TrustCenterPreviewStatus) String

func (r TrustCenterPreviewStatus) String() string

String returns the string representation of the TrustCenterPreviewStatus value.

func (*TrustCenterPreviewStatus) UnmarshalGQL

func (r *TrustCenterPreviewStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the gqlgen Unmarshaler interface.

func (TrustCenterPreviewStatus) Values

func (TrustCenterPreviewStatus) Values() []string

Values returns a slice of strings representing all valid TrustCenterPreviewStatus values.

type TrustCenterThemeMode

type TrustCenterThemeMode string
var (
	// TrustCenterThemeModeEasy is the easy theme mode
	TrustCenterThemeModeEasy TrustCenterThemeMode = "EASY"
	// TrustCenterThemeModeAdvanced is the advanced theme mode
	TrustCenterThemeModeAdvanced TrustCenterThemeMode = "ADVANCED"
	// TrustCenterThemeModeInvalid is the invalid theme mode
	TrustCenterThemeModeInvalid TrustCenterThemeMode = "INVALID"
)

func ToTrustCenterThemeMode

func ToTrustCenterThemeMode(r string) *TrustCenterThemeMode

ToTrustCenterThemeMode returns the trust center theme mode enum based on string input

func (TrustCenterThemeMode) MarshalGQL

func (r TrustCenterThemeMode) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (TrustCenterThemeMode) String

func (r TrustCenterThemeMode) String() string

String returns the TrustCenterThemeMode as a string

func (*TrustCenterThemeMode) UnmarshalGQL

func (r *TrustCenterThemeMode) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (TrustCenterThemeMode) Values

func (TrustCenterThemeMode) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the TrustCenterThemeMode enum. Possible default values are "EASY" and "ADVANCED"

type UserStatus

type UserStatus string
var (
	UserStatusActive      UserStatus = "ACTIVE"
	UserStatusInactive    UserStatus = "INACTIVE"
	UserStatusDeactivated UserStatus = "DEACTIVATED"
	UserStatusSuspended   UserStatus = "SUSPENDED"
	UserStatusOnboarding  UserStatus = "ONBOARDING"
	UserStatusInvalid     UserStatus = "INVALID"
)

func ToUserStatus

func ToUserStatus(r string) *UserStatus

ToUserStatus returns the user status enum based on string input

func (UserStatus) MarshalGQL

func (r UserStatus) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (UserStatus) String

func (r UserStatus) String() string

String returns the UserStatus as a string

func (*UserStatus) UnmarshalGQL

func (r *UserStatus) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (UserStatus) Values

func (UserStatus) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the UserStatus enum. Possible default values are "ACTIVE", "INACTIVE", "DEACTIVATED", and "SUSPENDED".

type Visibility

type Visibility string
var (
	VisibilityPublic  Visibility = "PUBLIC"
	VisibilityPrivate Visibility = "PRIVATE"
	VisibilityInvalid Visibility = "INVALID"
)

func ToGroupVisibility

func ToGroupVisibility(r string) *Visibility

ToGroupVisibility returns the user status enum based on string input

func (Visibility) MarshalGQL

func (r Visibility) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (Visibility) String

func (r Visibility) String() string

String returns the visibility as a string

func (*Visibility) UnmarshalGQL

func (r *Visibility) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

func (Visibility) Values

func (Visibility) Values() (kinds []string)

Values returns a slice of strings that represents all the possible values of the Visibility enum. Possible default values are "PUBLIC", and "PRIVATE".

type WatermarkStatus

type WatermarkStatus string
var (
	WatermarkStatusDisabled WatermarkStatus = "DISABLED"
	// WatermarkStatusPending indicates that the watermarking job is pending
	WatermarkStatusPending WatermarkStatus = "PENDING"
	// WatermarkStatusInProgress indicates that the watermarking job is in progress
	WatermarkStatusInProgress WatermarkStatus = "IN_PROGRESS"
	// WatermarkStatusSuccess indicates that the watermarking job has completed successfully
	WatermarkStatusSuccess WatermarkStatus = "SUCCESS"
	// WatermarkStatusFailed indicates that the watermarking job has failed
	WatermarkStatusFailed  WatermarkStatus = "FAILED"
	WatermarkStatusInvalid WatermarkStatus = "INVALID"
)

func ToWatermarkStatus

func ToWatermarkStatus(str string) *WatermarkStatus

func (WatermarkStatus) MarshalGQL

func (w WatermarkStatus) MarshalGQL(i io.Writer)

func (WatermarkStatus) String

func (w WatermarkStatus) String() string

func (*WatermarkStatus) UnmarshalGQL

func (w *WatermarkStatus) UnmarshalGQL(v interface{}) error

func (WatermarkStatus) Values

func (WatermarkStatus) Values() []string

type WorkflowActionType

type WorkflowActionType string

WorkflowActionType enumerates workflow action types.

var (
	WorkflowActionTypeApproval         WorkflowActionType = "REQUEST_APPROVAL"
	WorkflowActionTypeNotification     WorkflowActionType = "NOTIFY"
	WorkflowActionTypeWebhook          WorkflowActionType = "WEBHOOK"
	WorkflowActionTypeFieldUpdate      WorkflowActionType = "UPDATE_FIELD"
	WorkflowActionTypeIntegration      WorkflowActionType = "INTEGRATION"
	WorkflowActionTypeReassignApproval WorkflowActionType = "REASSIGN_APPROVAL"
	WorkflowActionTypeSendEmail        WorkflowActionType = "SEND_EMAIL"
	WorkflowActionTypeCreateObject     WorkflowActionType = "CREATE_OBJECT"
	WorkflowActionTypeReview           WorkflowActionType = "REQUEST_REVIEW"
)

func ToWorkflowActionType

func ToWorkflowActionType(v string) *WorkflowActionType

func (WorkflowActionType) MarshalGQL

func (r WorkflowActionType) MarshalGQL(w io.Writer)

func (WorkflowActionType) String

func (r WorkflowActionType) String() string

func (*WorkflowActionType) UnmarshalGQL

func (r *WorkflowActionType) UnmarshalGQL(v interface{}) error

func (WorkflowActionType) Values

func (WorkflowActionType) Values() (vals []string)

type WorkflowApprovalSubmissionMode

type WorkflowApprovalSubmissionMode string

WorkflowApprovalSubmissionMode enumerates how approval workflows are triggered for a domain.

var (
	WorkflowApprovalSubmissionModeManualSubmit WorkflowApprovalSubmissionMode = "MANUAL_SUBMIT"
	WorkflowApprovalSubmissionModeAutoSubmit   WorkflowApprovalSubmissionMode = "AUTO_SUBMIT"
)

func ToWorkflowApprovalSubmissionMode

func ToWorkflowApprovalSubmissionMode(v string) *WorkflowApprovalSubmissionMode

func (WorkflowApprovalSubmissionMode) MarshalGQL

func (r WorkflowApprovalSubmissionMode) MarshalGQL(w io.Writer)

func (WorkflowApprovalSubmissionMode) String

func (*WorkflowApprovalSubmissionMode) UnmarshalGQL

func (r *WorkflowApprovalSubmissionMode) UnmarshalGQL(v interface{}) error

func (WorkflowApprovalSubmissionMode) Values

func (WorkflowApprovalSubmissionMode) Values() (vals []string)

type WorkflowApprovalTiming added in v1.0.7

type WorkflowApprovalTiming string

WorkflowApprovalTiming enumerates when approvals should block changes.

var (
	WorkflowApprovalTimingPreCommit  WorkflowApprovalTiming = "PRE_COMMIT"
	WorkflowApprovalTimingPostCommit WorkflowApprovalTiming = "POST_COMMIT"
)

func ToWorkflowApprovalTiming added in v1.0.7

func ToWorkflowApprovalTiming(v string) *WorkflowApprovalTiming

func (WorkflowApprovalTiming) MarshalGQL added in v1.0.7

func (r WorkflowApprovalTiming) MarshalGQL(w io.Writer)

func (WorkflowApprovalTiming) String added in v1.0.7

func (r WorkflowApprovalTiming) String() string

func (*WorkflowApprovalTiming) UnmarshalGQL added in v1.0.7

func (r *WorkflowApprovalTiming) UnmarshalGQL(v interface{}) error

func (WorkflowApprovalTiming) Values added in v1.0.7

func (WorkflowApprovalTiming) Values() (vals []string)

type WorkflowAssignmentStatus

type WorkflowAssignmentStatus string

WorkflowAssignmentStatus enumerates assignment statuses.

var (
	WorkflowAssignmentStatusPending          WorkflowAssignmentStatus = "PENDING"
	WorkflowAssignmentStatusApproved         WorkflowAssignmentStatus = "APPROVED"
	WorkflowAssignmentStatusRejected         WorkflowAssignmentStatus = "REJECTED"
	WorkflowAssignmentStatusChangesRequested WorkflowAssignmentStatus = "CHANGES_REQUESTED"
)

func ToWorkflowAssignmentStatus

func ToWorkflowAssignmentStatus(v string) *WorkflowAssignmentStatus

func (WorkflowAssignmentStatus) MarshalGQL

func (r WorkflowAssignmentStatus) MarshalGQL(w io.Writer)

func (WorkflowAssignmentStatus) String

func (r WorkflowAssignmentStatus) String() string

func (*WorkflowAssignmentStatus) UnmarshalGQL

func (r *WorkflowAssignmentStatus) UnmarshalGQL(v interface{}) error

func (WorkflowAssignmentStatus) Values

func (WorkflowAssignmentStatus) Values() (vals []string)

type WorkflowEventType

type WorkflowEventType string

WorkflowEventType enumerates event types.

var (
	WorkflowEventTypeAction                WorkflowEventType = "ACTION"
	WorkflowEventTypeTrigger               WorkflowEventType = "TRIGGER"
	WorkflowEventTypeDecision              WorkflowEventType = "DECISION"
	WorkflowEventTypeInstanceTriggered     WorkflowEventType = "WORKFLOW_TRIGGERED"
	WorkflowEventTypeActionStarted         WorkflowEventType = "ACTION_STARTED"
	WorkflowEventTypeActionCompleted       WorkflowEventType = "ACTION_COMPLETED"
	WorkflowEventTypeActionFailed          WorkflowEventType = "ACTION_FAILED"
	WorkflowEventTypeActionSkipped         WorkflowEventType = "ACTION_SKIPPED"
	WorkflowEventTypeConditionEvaluated    WorkflowEventType = "CONDITION_EVALUATED"
	WorkflowEventTypeAssignmentCreated     WorkflowEventType = "ASSIGNMENT_CREATED"
	WorkflowEventTypeAssignmentResolved    WorkflowEventType = "ASSIGNMENT_COMPLETED"
	WorkflowEventTypeAssignmentInvalidated WorkflowEventType = "ASSIGNMENT_INVALIDATED"
	WorkflowEventTypeInstancePaused        WorkflowEventType = "INSTANCE_PAUSED"
	WorkflowEventTypeInstanceResumed       WorkflowEventType = "INSTANCE_RESUMED"
	WorkflowEventTypeInstanceCompleted     WorkflowEventType = "WORKFLOW_COMPLETED"
	WorkflowEventTypeEmitFailed            WorkflowEventType = "EMIT_FAILED"
	WorkflowEventTypeEmitRecovered         WorkflowEventType = "EMIT_RECOVERED"
	WorkflowEventTypeEmitFailedTerminal    WorkflowEventType = "EMIT_FAILED_TERMINAL"
)

func ToWorkflowEventType

func ToWorkflowEventType(v string) *WorkflowEventType

func (WorkflowEventType) MarshalGQL

func (r WorkflowEventType) MarshalGQL(w io.Writer)

func (WorkflowEventType) String

func (r WorkflowEventType) String() string

func (*WorkflowEventType) UnmarshalGQL

func (r *WorkflowEventType) UnmarshalGQL(v interface{}) error

func (WorkflowEventType) Values

func (WorkflowEventType) Values() (vals []string)

type WorkflowInstanceState

type WorkflowInstanceState string

WorkflowInstanceState enumerates instance states.

var (
	WorkflowInstanceStateRunning   WorkflowInstanceState = "RUNNING"
	WorkflowInstanceStateCompleted WorkflowInstanceState = "COMPLETED"
	WorkflowInstanceStateFailed    WorkflowInstanceState = "FAILED"
	WorkflowInstanceStatePaused    WorkflowInstanceState = "PAUSED"
)

func ToWorkflowInstanceState

func ToWorkflowInstanceState(v string) *WorkflowInstanceState

func (WorkflowInstanceState) MarshalGQL

func (r WorkflowInstanceState) MarshalGQL(w io.Writer)

func (WorkflowInstanceState) String

func (r WorkflowInstanceState) String() string

func (*WorkflowInstanceState) UnmarshalGQL

func (r *WorkflowInstanceState) UnmarshalGQL(v interface{}) error

func (WorkflowInstanceState) Values

func (WorkflowInstanceState) Values() (states []string)

type WorkflowKind

type WorkflowKind string

WorkflowKind enumerates workflow kinds.

var (
	WorkflowKindApproval     WorkflowKind = "APPROVAL"
	WorkflowKindLifecycle    WorkflowKind = "LIFECYCLE"
	WorkflowKindNotification WorkflowKind = "NOTIFICATION"
)

func ToWorkflowKind

func ToWorkflowKind(v string) *WorkflowKind

func (WorkflowKind) MarshalGQL

func (r WorkflowKind) MarshalGQL(w io.Writer)

func (WorkflowKind) String

func (r WorkflowKind) String() string

func (*WorkflowKind) UnmarshalGQL

func (r *WorkflowKind) UnmarshalGQL(v interface{}) error

func (WorkflowKind) Values

func (WorkflowKind) Values() (kinds []string)

type WorkflowObjectType

type WorkflowObjectType string

WorkflowObjectType enumerates supported object types for workflows. These types are automatically generated based on entities that have the WorkflowApprovalMixin.

var (
	WorkflowObjectTypeActionPlan     WorkflowObjectType = "ActionPlan"
	WorkflowObjectTypeCampaign       WorkflowObjectType = "Campaign"
	WorkflowObjectTypeCampaignTarget WorkflowObjectType = "CampaignTarget"
	WorkflowObjectTypeControl        WorkflowObjectType = "Control"
	WorkflowObjectTypeEvidence       WorkflowObjectType = "Evidence"
	WorkflowObjectTypeIdentityHolder WorkflowObjectType = "IdentityHolder"
	WorkflowObjectTypeInternalPolicy WorkflowObjectType = "InternalPolicy"
	WorkflowObjectTypePlatform       WorkflowObjectType = "Platform"
	WorkflowObjectTypeProcedure      WorkflowObjectType = "Procedure"
	WorkflowObjectTypeSubcontrol     WorkflowObjectType = "Subcontrol"
)

func ToWorkflowObjectType

func ToWorkflowObjectType(v string) *WorkflowObjectType

ToWorkflowObjectType converts a string to a WorkflowObjectType pointer.

func (WorkflowObjectType) MarshalGQL

func (r WorkflowObjectType) MarshalGQL(w io.Writer)

MarshalGQL marshals the workflow object type to GraphQL.

func (WorkflowObjectType) String

func (r WorkflowObjectType) String() string

String returns the string representation of the workflow object type.

func (*WorkflowObjectType) UnmarshalGQL

func (r *WorkflowObjectType) UnmarshalGQL(v interface{}) error

UnmarshalGQL unmarshals the workflow object type from GraphQL.

func (WorkflowObjectType) Values

func (WorkflowObjectType) Values() (vals []string)

Values returns all workflow object type values.

type WorkflowProposalState

type WorkflowProposalState string

WorkflowProposalState enumerates proposal lifecycle states.

var (
	WorkflowProposalStateDraft      WorkflowProposalState = "DRAFT"
	WorkflowProposalStateSubmitted  WorkflowProposalState = "SUBMITTED"
	WorkflowProposalStateApplied    WorkflowProposalState = "APPLIED"
	WorkflowProposalStateRejected   WorkflowProposalState = "REJECTED"
	WorkflowProposalStateSuperseded WorkflowProposalState = "SUPERSEDED"
)

func ToWorkflowProposalState

func ToWorkflowProposalState(v string) *WorkflowProposalState

func (WorkflowProposalState) MarshalGQL

func (r WorkflowProposalState) MarshalGQL(w io.Writer)

func (WorkflowProposalState) String

func (r WorkflowProposalState) String() string

func (*WorkflowProposalState) UnmarshalGQL

func (r *WorkflowProposalState) UnmarshalGQL(v interface{}) error

func (WorkflowProposalState) Values

func (WorkflowProposalState) Values() (vals []string)

type WorkflowTargetType

type WorkflowTargetType string

WorkflowTargetType enumerates assignment target types.

var (
	WorkflowTargetTypeUser     WorkflowTargetType = "USER"
	WorkflowTargetTypeGroup    WorkflowTargetType = "GROUP"
	WorkflowTargetTypeRole     WorkflowTargetType = "ROLE"
	WorkflowTargetTypeResolver WorkflowTargetType = "RESOLVER"
)

func ToWorkflowTargetType

func ToWorkflowTargetType(v string) *WorkflowTargetType

func (WorkflowTargetType) MarshalGQL

func (r WorkflowTargetType) MarshalGQL(w io.Writer)

func (WorkflowTargetType) String

func (r WorkflowTargetType) String() string

func (*WorkflowTargetType) UnmarshalGQL

func (r *WorkflowTargetType) UnmarshalGQL(v interface{}) error

func (WorkflowTargetType) Values

func (WorkflowTargetType) Values() (vals []string)

Directories

Path Synopsis
package exportenums generates the enums for the export types based on the entx annotation
package exportenums generates the enums for the export types based on the entx annotation

Jump to

Keyboard shortcuts

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