OBJECT

OpportunityRepository

link GraphQL Schema definition

  • type OpportunityRepository {
  • # Arguments
  • # entityId: ID of the entity to retrieve.
  • getById(entityId: ID!): OpportunityEntity
  • # Arguments
  • # entityIds: IDs of the entities to retrieve.
  • getByIds(entityIds: [ID!]!): [OpportunityEntity!]!
  • # Arguments
  • # limit: Number of entities to retrieve.
  • # offset: How many entities from beginning to skip.
  • # filter: Filtering criteria.
  • # orderBy: Ordering of the result set.
  • # includeDeleted: Returns deleted records as well. Default false.
  • getAll(
  • limit: Int,
  • offset: Int,
  • filter: OpportunityFilterInput,
  • orderBy: [OpportunityOrderByInput!],
  • includeDeleted: Boolean
  • ): [OpportunityEntity!]!
  • # Arguments
  • # filter: filtering criteria.
  • # orderBy: Ordering of the result set.
  • # includeDeleted: [Not documented]
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • getByCriteria(
  • filter: OpportunityFilterInput,
  • orderBy: [OpportunityOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): OpportunityEntityConnection
  • # Arguments
  • # id: [Not documented]
  • # revision: [Not documented]
  • getChangedFieldsSinceRevision(
  • id: UUID!,
  • revision: Int!
  • ): [UUID!]!
  • # Arguments
  • # includedIds: List of ids to include in result.
  • # excludedIds: List of ids to exclude from result.
  • # sessionId: Session to load ids from.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • getBySession(
  • includedIds: [UUID!]!,
  • excludedIds: [UUID!]!,
  • sessionId: String!,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): OpportunityEntityConnection
  • # Arguments
  • # id: [Not documented]
  • # fieldIds: [Not documented]
  • getByIdFormatted(id: UUID!, fieldIds: [UUID!]): JSONString
  • }