Skip to main content

Rule

No description

type Rule implements Node {
nodeId: ID!
id: String!
name: String!
type: String
value: String
enabled: Boolean
workspaceId: String
version: Int!
deletedAt: Datetime
updatedAt: Datetime!
createdAt: Datetime!
importContacts: Boolean
workspace: Workspace
accordsByCreatedByRuleIdConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [AccordsOrderBy!] = [PRIMARY_KEY_ASC]
condition: AccordCondition
filter: AccordFilter
): AccordsConnection!
accordsByCreatedByRuleId(
first: Int
offset: Int
orderBy: [AccordsOrderBy!]
condition: AccordCondition
filter: AccordFilter
): [Accord!]!
externalServiceRulesConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [ExternalServiceRulesOrderBy!] = [PRIMARY_KEY_ASC]
condition: ExternalServiceRuleCondition
filter: ExternalServiceRuleFilter
): ExternalServiceRulesConnection!
externalServiceRules(
first: Int
offset: Int
orderBy: [ExternalServiceRulesOrderBy!]
condition: ExternalServiceRuleCondition
filter: ExternalServiceRuleFilter
): [ExternalServiceRule!]!
}

Fields

Rule.nodeId ● ID! non-null scalar

A globally unique identifier. Can be used in various places throughout the system to identify this single value.

Rule.id ● String! non-null scalar

Rule.name ● String! non-null scalar

Rule.type ● String scalar

Rule.value ● String scalar

Rule.enabled ● Boolean scalar

Rule.workspaceId ● String scalar

Rule.version ● Int! non-null scalar

Rule.deletedAt ● Datetime scalar

Rule.updatedAt ● Datetime! non-null scalar

Rule.createdAt ● Datetime! non-null scalar

Rule.importContacts ● Boolean scalar

Rule.workspace ● Workspace object

Reads a single Workspace that is related to this Rule.

Rule.accordsByCreatedByRuleIdConnection ● AccordsConnection! non-null object

Reads and enables pagination through a set of Accord.

Rule.accordsByCreatedByRuleIdConnection.first ● Int scalar

Only read the first n values of the set.

Rule.accordsByCreatedByRuleIdConnection.last ● Int scalar

Only read the last n values of the set.

Rule.accordsByCreatedByRuleIdConnection.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

Rule.accordsByCreatedByRuleIdConnection.before ● Cursor scalar

Read all values in the set before (above) this cursor.

Rule.accordsByCreatedByRuleIdConnection.after ● Cursor scalar

Read all values in the set after (below) this cursor.

Rule.accordsByCreatedByRuleIdConnection.orderBy ● [AccordsOrderBy!] list enum

The method to use when ordering Accord.

Rule.accordsByCreatedByRuleIdConnection.condition ● AccordCondition input

A condition to be used in determining which values should be returned by the collection.

Rule.accordsByCreatedByRuleIdConnection.filter ● AccordFilter input

A filter to be used in determining which values should be returned by the collection.

Rule.accordsByCreatedByRuleId ● [Accord!]! non-null object

Reads and enables pagination through a set of Accord.

Rule.accordsByCreatedByRuleId.first ● Int scalar

Only read the first n values of the set.

Rule.accordsByCreatedByRuleId.offset ● Int scalar

Skip the first n values.

Rule.accordsByCreatedByRuleId.orderBy ● [AccordsOrderBy!] list enum

The method to use when ordering Accord.

Rule.accordsByCreatedByRuleId.condition ● AccordCondition input

A condition to be used in determining which values should be returned by the collection.

Rule.accordsByCreatedByRuleId.filter ● AccordFilter input

A filter to be used in determining which values should be returned by the collection.

Rule.externalServiceRulesConnection ● ExternalServiceRulesConnection! non-null object

Reads and enables pagination through a set of ExternalServiceRule.

Rule.externalServiceRulesConnection.first ● Int scalar

Only read the first n values of the set.

Rule.externalServiceRulesConnection.last ● Int scalar

Only read the last n values of the set.

Rule.externalServiceRulesConnection.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

Rule.externalServiceRulesConnection.before ● Cursor scalar

Read all values in the set before (above) this cursor.

Rule.externalServiceRulesConnection.after ● Cursor scalar

Read all values in the set after (below) this cursor.

Rule.externalServiceRulesConnection.orderBy ● [ExternalServiceRulesOrderBy!] list enum

The method to use when ordering ExternalServiceRule.

Rule.externalServiceRulesConnection.condition ● ExternalServiceRuleCondition input

A condition to be used in determining which values should be returned by the collection.

Rule.externalServiceRulesConnection.filter ● ExternalServiceRuleFilter input

A filter to be used in determining which values should be returned by the collection.

Rule.externalServiceRules ● [ExternalServiceRule!]! non-null object

Reads and enables pagination through a set of ExternalServiceRule.

Rule.externalServiceRules.first ● Int scalar

Only read the first n values of the set.

Rule.externalServiceRules.offset ● Int scalar

Skip the first n values.

Rule.externalServiceRules.orderBy ● [ExternalServiceRulesOrderBy!] list enum

The method to use when ordering ExternalServiceRule.

Rule.externalServiceRules.condition ● ExternalServiceRuleCondition input

A condition to be used in determining which values should be returned by the collection.

Rule.externalServiceRules.filter ● ExternalServiceRuleFilter input

A filter to be used in determining which values should be returned by the collection.

Interfaces

Node interface

An object with a globally unique ID.

Returned By

rule query ● ruleByNodeId query ● rules query

Member Of

Accord object ● DeleteRulePayload object ● ExternalServiceRule object ● RecoverAccordPayload object ● RulesConnection object ● RulesEdge object ● UpdateAccordPayload object ● UpdateRulePayload object ● Workspace object