Source code for ace.centralize.graphql.selections.opportunity

"""
Predefined SelectionSets for Opportunity entity.

Based on the Lead GraphQL schema output type: GqlOpportunity
"""

from ace.core.graphql import SelectionSet


[docs] class OpportunitySelections: """Reusable selection sets for Opportunity fields.""" MINIMAL = SelectionSet( "opportunityId", "opportunityGuid", "opportunityNumber", ) STANDARD = SelectionSet( "opportunityId", "opportunityGuid", "opportunityNumber", "leadId", "referenceNumber", "opportunityTypeId", "priorityId", "estimatedValue", "expectedClosedDate", "startDate", "statusId", "subStatusId", ) FULL = SelectionSet( "opportunityId", "opportunityGuid", "opportunityNumber", "leadId", "referenceNumber", "opportunityTypeId", "priorityId", "estimatedValue", "expectedClosedDate", "startDate", "winDate", "onHoldDate", "closedDate", "identifiedDate", "identifiedBy", "riskLevelId", "description", "statusId", "statusChangeDate", "subStatusId", "subStatusChangeDate", "creationDateTime", )