ace.centralize.graphql.selections.lead

Predefined SelectionSets for Lead entity.

Based on the Lead GraphQL schema output type: GqlLead

class ace.centralize.graphql.selections.lead.LeadSelections[source]

Bases: object

Reusable selection sets for Lead fields.

MINIMAL = SelectionSet(fields=['leadId', 'leadNumber', 'name'], nested=[])
STANDARD = SelectionSet(fields=['leadId', 'leadGuid', 'leadNumber', 'name', 'leadTypeId', 'referralSourceId', 'estimatedValue', 'priorityId', 'referenceNumber', 'isArchived', 'statusId', 'subStatusId'], nested=[])
FULL = SelectionSet(fields=['leadId', 'leadGuid', 'leadNumber', 'name', 'leadTypeId', 'referralSourceId', 'estimatedValue', 'contactedDate', 'qualifiedDate', 'convertedDate', 'closedDate', 'priorityId', 'referenceNumber', 'isArchived', 'statusId', 'statusChangeDate', 'subStatusId', 'subStatusChangeDate'], nested=[])
WITH_OPPORTUNITIES = SelectionSet(fields=['leadId', 'leadNumber', 'name'], nested=['opportunities'])
WITH_OPPORTUNITIES_FULL = SelectionSet(fields=['leadId', 'leadGuid', 'leadNumber', 'name', 'leadTypeId', 'referralSourceId', 'estimatedValue', 'contactedDate', 'qualifiedDate', 'convertedDate', 'closedDate', 'priorityId', 'referenceNumber', 'isArchived', 'statusId', 'statusChangeDate', 'subStatusId', 'subStatusChangeDate'], nested=['opportunities'])