Тип

Automation

Каталог доступных сценариев автоматизации (только чтение).

"""Каталог доступных сценариев автоматизации (только чтение)."""
type Automation implements Node {
  """Непрозрачный GraphQL Global ID."""
  id: ID!
  """UUID каталожной записи."""
  rowId: UUID!
  createdAt: Datetime!
  updatedAt: Datetime!
  """Целевая платформа (TikTok и др.)."""
  serviceId: UUID!
  """Совместимая текстовая категория сценария."""
  type: String!
  """Стабильный ключ сценария MassFarmer."""
  scenarioKey: String!
  """Функциональная группа сценария."""
  kind: String!
  """Название сценария."""
  name: JSON!
  """Версионированная схема пользовательских параметров."""
  inputSchema: JSON!
  """Нейтральные возможности сценария."""
  capabilities: JSON!
  """Доступность сценария для запуска."""
  enabled: Boolean!
  """Платформа из каталога."""
  serviceByServiceId: Service
  """Reads and enables pagination through a set of `Task`."""
  tasksByAutomationId(
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """Read all values in the set before (above) this cursor."""
    before: Cursor
    """Read all values in the set after (below) this cursor."""
    after: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: TaskCondition
    """
    A filter to be used in determining which values should be returned by the collection.
    """
    filter: TaskFilter
    """The method to use when ordering `Task`."""
    orderBy: [TaskOrderBy!] = [PRIMARY_KEY_ASC]
  ): TaskConnection!
}