Sequent Voting Platform GraphQL API Documentation

Detailed description of the API

API Endpoints
https://hasura-qa.sequentech.io/v1/graphql
Version

9.1.0

Queries

count_users

Response

Returns a CountUsersOutput!

Arguments
Name Description
body - CountUsersInput!

Example

Query
query count_users($body: CountUsersInput!) {
  count_users(body: $body) {
    count
  }
}
Variables
{"body": CountUsersInput}
Response
{"data": {"count_users": {"count": 987}}}

fetchDocument

Description

fetch document

Response

Returns a FetchDocumentOutput

Arguments
Name Description
document_id - String!
election_event_id - String

Example

Query
query fetchDocument(
  $document_id: String!,
  $election_event_id: String
) {
  fetchDocument(
    document_id: $document_id,
    election_event_id: $election_event_id
  ) {
    url
  }
}
Variables
{
  "document_id": "xyz789",
  "election_event_id": "abc123"
}
Response
{
  "data": {
    "fetchDocument": {"url": "xyz789"}
  }
}

fetchResultsArtifact

Description

Fetch voter-authorized results website artifact URLs

Response

Returns a FetchResultsArtifactOutput!

Arguments
Name Description
election_event_id - String!
election_id - String
publication_id - String!

Example

Query
query fetchResultsArtifact(
  $election_event_id: String!,
  $election_id: String,
  $publication_id: String!
) {
  fetchResultsArtifact(
    election_event_id: $election_event_id,
    election_id: $election_id,
    publication_id: $publication_id
  ) {
    urls
  }
}
Variables
{
  "election_event_id": "abc123",
  "election_id": "xyz789",
  "publication_id": "abc123"
}
Response
{
  "data": {
    "fetchResultsArtifact": {
      "urls": ["xyz789"]
    }
  }
}

getElectionEventStats

Description

get election event stats

Response

Returns an ElectionEventStatsOutput

Arguments
Name Description
object - ElectionEventStatsInput!

Example

Query
query getElectionEventStats($object: ElectionEventStatsInput!) {
  getElectionEventStats(object: $object) {
    total_areas
    total_distinct_voters
    total_elections
    total_eligible_voters
    voters_by_channel {
      ...VotersByChannelFragment
    }
    votes_per_day {
      ...CastVotesPerDayFragment
    }
  }
}
Variables
{"object": ElectionEventStatsInput}
Response
{
  "data": {
    "getElectionEventStats": {
      "total_areas": 987,
      "total_distinct_voters": 987,
      "total_elections": 123,
      "total_eligible_voters": 987,
      "voters_by_channel": [VotersByChannel],
      "votes_per_day": [CastVotesPerDay]
    }
  }
}

getElectionStats

Description

get election event stats

Response

Returns an ElectionStatsOutput

Arguments
Name Description
object - ElectionStatsInput!

Example

Query
query getElectionStats($object: ElectionStatsInput!) {
  getElectionStats(object: $object) {
    total_areas
    total_distinct_voters
    voters_by_channel {
      ...VotersByChannelFragment
    }
    votes_per_day {
      ...CastVotesPerDayFragment
    }
  }
}
Variables
{"object": ElectionStatsInput}
Response
{
  "data": {
    "getElectionStats": {
      "total_areas": 987,
      "total_distinct_voters": 123,
      "voters_by_channel": [VotersByChannel],
      "votes_per_day": [CastVotesPerDay]
    }
  }
}

get_document_password

Response

Returns a DocumentPasswordOutput!

Arguments
Name Description
document_id - String!

Example

Query
query get_document_password($document_id: String!) {
  get_document_password(document_id: $document_id) {
    password
  }
}
Variables
{"document_id": "xyz789"}
Response
{
  "data": {
    "get_document_password": {
      "password": "abc123"
    }
  }
}

get_permissions

Description

list permissions

Response

Returns a GetPermissionsOutput!

Arguments
Name Description
body - GetPermissionsInput!

Example

Query
query get_permissions($body: GetPermissionsInput!) {
  get_permissions(body: $body) {
    items {
      ...KeycloakPermissionFragment
    }
    total {
      ...TotalAggregateFragment
    }
  }
}
Variables
{"body": GetPermissionsInput}
Response
{
  "data": {
    "get_permissions": {
      "items": [KeycloakPermission],
      "total": TotalAggregate
    }
  }
}

get_realm_attributes

Response

Returns a GetRealmAttributesOutput!

Arguments
Name Description
election_event_id - String!

Example

Query
query get_realm_attributes($election_event_id: String!) {
  get_realm_attributes(election_event_id: $election_event_id) {
    attributes
  }
}
Variables
{"election_event_id": "abc123"}
Response
{"data": {"get_realm_attributes": {"attributes": jsonb}}}

get_realm_password_policy

Response

Returns a RealmPasswordPolicy!

Arguments
Name Description
election_event_id - String!

Example

Query
query get_realm_password_policy($election_event_id: String!) {
  get_realm_password_policy(election_event_id: $election_event_id) {
    configured
    include_digits
    include_lowercase
    include_special_characters
    include_uppercase
    maximum_length
    minimum_length
  }
}
Variables
{"election_event_id": "abc123"}
Response
{
  "data": {
    "get_realm_password_policy": {
      "configured": true,
      "include_digits": true,
      "include_lowercase": true,
      "include_special_characters": false,
      "include_uppercase": false,
      "maximum_length": 987,
      "minimum_length": 123
    }
  }
}

get_roles

Response

Returns a GetRolesOutput!

Arguments
Name Description
body - GetRolesInput!

Example

Query
query get_roles($body: GetRolesInput!) {
  get_roles(body: $body) {
    items {
      ...KeycloakRoleFragment
    }
    total {
      ...TotalAggregateFragment
    }
  }
}
Variables
{"body": GetRolesInput}
Response
{
  "data": {
    "get_roles": {
      "items": [KeycloakRole],
      "total": TotalAggregate
    }
  }
}

get_support_materials_acknowledgment

Description

get_support_materials_acknowledgment

Arguments
Name Description
election_event_id - uuid!

Example

Query
query get_support_materials_acknowledgment($election_event_id: uuid!) {
  get_support_materials_acknowledgment(election_event_id: $election_event_id) {
    document_ids
  }
}
Variables
{"election_event_id": uuid}
Response
{
  "data": {
    "get_support_materials_acknowledgment": {
      "document_ids": ["xyz789"]
    }
  }
}

get_top_votes_by_ip

Response

Returns a GetTopCastVotesByIpOutput

Arguments
Name Description
body - GetTopCastVotesByIpInput!

Example

Query
query get_top_votes_by_ip($body: GetTopCastVotesByIpInput!) {
  get_top_votes_by_ip(body: $body) {
    items {
      ...CastVotesByIpFragment
    }
    total {
      ...TotalAggregateFragment
    }
  }
}
Variables
{"body": GetTopCastVotesByIpInput}
Response
{
  "data": {
    "get_top_votes_by_ip": {
      "items": [CastVotesByIp],
      "total": TotalAggregate
    }
  }
}

get_user_profile_attributes

Response

Returns [UserProfileAttribute!]!

Arguments
Name Description
election_event_id - String
tenant_id - String!

Example

Query
query get_user_profile_attributes(
  $election_event_id: String,
  $tenant_id: String!
) {
  get_user_profile_attributes(
    election_event_id: $election_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    display_name
    group
    multivalued
    name
    permissions
    read_only
    required
    selector
    validations
  }
}
Variables
{
  "election_event_id": "abc123",
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "get_user_profile_attributes": [
      {
        "annotations": jsonb,
        "display_name": "xyz789",
        "group": "abc123",
        "multivalued": true,
        "name": "xyz789",
        "permissions": jsonb,
        "read_only": false,
        "required": jsonb,
        "selector": jsonb,
        "validations": jsonb
      }
    ]
  }
}

get_user_profile_configuration

Response

Returns a UserProfileConfiguration!

Arguments
Name Description
election_event_id - String
tenant_id - String!

Example

Query
query get_user_profile_configuration(
  $election_event_id: String,
  $tenant_id: String!
) {
  get_user_profile_configuration(
    election_event_id: $election_event_id,
    tenant_id: $tenant_id
  ) {
    attributes {
      ...UserProfileAttributeFragment
    }
    groups {
      ...UserProfileAttributeGroupFragment
    }
  }
}
Variables
{
  "election_event_id": "xyz789",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "get_user_profile_configuration": {
      "attributes": [UserProfileAttribute],
      "groups": [UserProfileAttributeGroup]
    }
  }
}

get_users

Response

Returns a GetUsersOutput!

Arguments
Name Description
body - GetUsersInput!

Example

Query
query get_users($body: GetUsersInput!) {
  get_users(body: $body) {
    items {
      ...KeycloakUserFragment
    }
    total {
      ...TotalAggregateFragment
    }
  }
}
Variables
{"body": GetUsersInput}
Response
{
  "data": {
    "get_users": {
      "items": [KeycloakUser],
      "total": TotalAggregate
    }
  }
}

listElectoralLog

Description

List Electoral Log

Response

Returns a DataListElectoralLog

Arguments
Name Description
election_event_id - String
filter - ElectoralLogFilter
limit - Int
offset - Int
order_by - ElectoralLogOrderBy

Example

Query
query listElectoralLog(
  $election_event_id: String,
  $filter: ElectoralLogFilter,
  $limit: Int,
  $offset: Int,
  $order_by: ElectoralLogOrderBy
) {
  listElectoralLog(
    election_event_id: $election_event_id,
    filter: $filter,
    limit: $limit,
    offset: $offset,
    order_by: $order_by
  ) {
    items {
      ...ElectoralLogRowFragment
    }
    total {
      ...TotalAggregateFragment
    }
  }
}
Variables
{
  "election_event_id": "abc123",
  "filter": ElectoralLogFilter,
  "limit": 987,
  "offset": 123,
  "order_by": ElectoralLogOrderBy
}
Response
{
  "data": {
    "listElectoralLog": {
      "items": [ElectoralLogRow],
      "total": TotalAggregate
    }
  }
}

list_cast_vote_messages

Description

List electoral log entries of statement_kind CastVote

Response

Returns a ListCastVoteMessagesOutput

Arguments
Name Description
ballot_id - String!
election_event_id - String!
election_id - String
limit - Int
offset - Int
order_by - ElectoralLogOrderBy
tenant_id - String!

Example

Query
query list_cast_vote_messages(
  $ballot_id: String!,
  $election_event_id: String!,
  $election_id: String,
  $limit: Int,
  $offset: Int,
  $order_by: ElectoralLogOrderBy,
  $tenant_id: String!
) {
  list_cast_vote_messages(
    ballot_id: $ballot_id,
    election_event_id: $election_event_id,
    election_id: $election_id,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    tenant_id: $tenant_id
  ) {
    list {
      ...CastVoteEntryFragment
    }
    total
  }
}
Variables
{
  "ballot_id": "abc123",
  "election_event_id": "abc123",
  "election_id": "xyz789",
  "limit": 987,
  "offset": 987,
  "order_by": ElectoralLogOrderBy,
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "list_cast_vote_messages": {
      "list": [CastVoteEntry],
      "total": 123
    }
  }
}

list_keys_ceremony

Response

Returns a ListKeysCeremonyOutput

Arguments
Name Description
election_event_id - String!

Example

Query
query list_keys_ceremony($election_event_id: String!) {
  list_keys_ceremony(election_event_id: $election_event_id) {
    items {
      ...KeysCeremonyFragment
    }
    total {
      ...TotalAggregateFragment
    }
  }
}
Variables
{"election_event_id": "xyz789"}
Response
{
  "data": {
    "list_keys_ceremony": {
      "items": [KeysCeremony],
      "total": TotalAggregate
    }
  }
}

list_user_roles

Response

Returns [KeycloakRole!]!

Arguments
Name Description
election_event_id - String
tenant_id - String!
user_id - String!

Example

Query
query list_user_roles(
  $election_event_id: String,
  $tenant_id: String!,
  $user_id: String!
) {
  list_user_roles(
    election_event_id: $election_event_id,
    tenant_id: $tenant_id,
    user_id: $user_id
  ) {
    access
    attributes
    client_roles
    id
    name
    permissions
  }
}
Variables
{
  "election_event_id": "abc123",
  "tenant_id": "xyz789",
  "user_id": "abc123"
}
Response
{
  "data": {
    "list_user_roles": [
      {
        "access": jsonb,
        "attributes": jsonb,
        "client_roles": jsonb,
        "id": "abc123",
        "name": "xyz789",
        "permissions": jsonb
      }
    ]
  }
}

resolveResultsPublication

Description

Resolve the active results website publication for authenticated viewers

Response

Returns a ResolveResultsPublicationOutput

Arguments
Name Description
ee_id - String!
election_id - String

Example

Query
query resolveResultsPublication(
  $ee_id: String!,
  $election_id: String
) {
  resolveResultsPublication(
    ee_id: $ee_id,
    election_id: $election_id
  ) {
    access
    election_event_id
    election_ids
    manifest
    manifest_public_path
    manifest_url
    publication_id
    route_scope
    tenant_id
  }
}
Variables
{
  "ee_id": "xyz789",
  "election_id": "abc123"
}
Response
{
  "data": {
    "resolveResultsPublication": {
      "access": "authenticated",
      "election_event_id": "abc123",
      "election_ids": ["abc123"],
      "manifest": jsonb,
      "manifest_public_path": "xyz789",
      "manifest_url": "xyz789",
      "publication_id": "abc123",
      "route_scope": "election",
      "tenant_id": "abc123"
    }
  }
}

reveal_voter_secret_attribute

Arguments
Name Description
attribute_name - String!
election_event_id - String!
tenant_id - String!
user_id - String!

Example

Query
query reveal_voter_secret_attribute(
  $attribute_name: String!,
  $election_event_id: String!,
  $tenant_id: String!,
  $user_id: String!
) {
  reveal_voter_secret_attribute(
    attribute_name: $attribute_name,
    election_event_id: $election_event_id,
    tenant_id: $tenant_id,
    user_id: $user_id
  ) {
    attribute_name
    values
  }
}
Variables
{
  "attribute_name": "abc123",
  "election_event_id": "xyz789",
  "tenant_id": "abc123",
  "user_id": "abc123"
}
Response
{
  "data": {
    "reveal_voter_secret_attribute": {
      "attribute_name": "xyz789",
      "values": ["xyz789"]
    }
  }
}

sequent_backend_applications

Description

fetch data from the table: "sequent_backend.applications"

Response

Returns [applications!]!

Arguments
Name Description
distinct_on - [applications_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [applications_order_by!] sort the rows by one or more columns
where - applications_bool_exp filter the rows returned

Example

Query
query sequent_backend_applications(
  $distinct_on: [applications_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [applications_order_by!],
  $where: applications_bool_exp
) {
  sequent_backend_applications(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    applicant_data
    applicant_id
    area_id
    created_at
    election_event_id
    id
    labels
    permission_label
    status
    tenant_id
    updated_at
    verification_type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [applications_order_by],
  "where": applications_bool_exp
}
Response
{
  "data": {
    "sequent_backend_applications": [
      {
        "annotations": jsonb,
        "applicant_data": jsonb,
        "applicant_id": "xyz789",
        "area_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "permission_label": "abc123",
        "status": "abc123",
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "verification_type": "xyz789"
      }
    ]
  }
}

sequent_backend_applications_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.applications"

Response

Returns an applications_aggregate!

Arguments
Name Description
distinct_on - [applications_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [applications_order_by!] sort the rows by one or more columns
where - applications_bool_exp filter the rows returned

Example

Query
query sequent_backend_applications_aggregate(
  $distinct_on: [applications_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [applications_order_by!],
  $where: applications_bool_exp
) {
  sequent_backend_applications_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...applications_aggregate_fieldsFragment
    }
    nodes {
      ...applicationsFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [applications_order_by],
  "where": applications_bool_exp
}
Response
{
  "data": {
    "sequent_backend_applications_aggregate": {
      "aggregate": applications_aggregate_fields,
      "nodes": [applications]
    }
  }
}

sequent_backend_applications_by_pk

Description

fetch data from the table: "sequent_backend.applications" using primary key columns

Response

Returns an applications

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_applications_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_applications_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    applicant_data
    applicant_id
    area_id
    created_at
    election_event_id
    id
    labels
    permission_label
    status
    tenant_id
    updated_at
    verification_type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_applications_by_pk": {
      "annotations": jsonb,
      "applicant_data": jsonb,
      "applicant_id": "abc123",
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "permission_label": "abc123",
      "status": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "verification_type": "abc123"
    }
  }
}

sequent_backend_area

Description

fetch data from the table: "sequent_backend.area"

Response

Returns [area!]!

Arguments
Name Description
distinct_on - [area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [area_order_by!] sort the rows by one or more columns
where - area_bool_exp filter the rows returned

Example

Query
query sequent_backend_area(
  $distinct_on: [area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [area_order_by!],
  $where: area_bool_exp
) {
  sequent_backend_area(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    presentation
    tenant_id
    type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [area_order_by],
  "where": area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "description": "abc123",
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "parent_id": uuid,
        "presentation": jsonb,
        "tenant_id": uuid,
        "type": "abc123"
      }
    ]
  }
}

sequent_backend_area_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.area"

Response

Returns an area_aggregate!

Arguments
Name Description
distinct_on - [area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [area_order_by!] sort the rows by one or more columns
where - area_bool_exp filter the rows returned

Example

Query
query sequent_backend_area_aggregate(
  $distinct_on: [area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [area_order_by!],
  $where: area_bool_exp
) {
  sequent_backend_area_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...area_aggregate_fieldsFragment
    }
    nodes {
      ...areaFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [area_order_by],
  "where": area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_aggregate": {
      "aggregate": area_aggregate_fields,
      "nodes": [area]
    }
  }
}

sequent_backend_area_by_pk

Description

fetch data from the table: "sequent_backend.area" using primary key columns

Response

Returns an area

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_area_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_area_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    presentation
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_area_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "parent_id": uuid,
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

sequent_backend_area_contest

Description

fetch data from the table: "sequent_backend.area_contest"

Response

Returns [area_contest!]!

Arguments
Name Description
distinct_on - [area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [area_contest_order_by!] sort the rows by one or more columns
where - area_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_area_contest(
  $distinct_on: [area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [area_contest_order_by!],
  $where: area_contest_bool_exp
) {
  sequent_backend_area_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area {
      ...areaFragment
    }
    area_id
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [area_contest_order_by],
  "where": area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_contest": [
      {
        "annotations": jsonb,
        "area": area,
        "area_id": uuid,
        "contest": contest,
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_area_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.area_contest"

Response

Returns an area_contest_aggregate!

Arguments
Name Description
distinct_on - [area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [area_contest_order_by!] sort the rows by one or more columns
where - area_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_area_contest_aggregate(
  $distinct_on: [area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [area_contest_order_by!],
  $where: area_contest_bool_exp
) {
  sequent_backend_area_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...area_contest_aggregate_fieldsFragment
    }
    nodes {
      ...area_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [area_contest_order_by],
  "where": area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_contest_aggregate": {
      "aggregate": area_contest_aggregate_fields,
      "nodes": [area_contest]
    }
  }
}

sequent_backend_area_contest_by_pk

Description

fetch data from the table: "sequent_backend.area_contest" using primary key columns

Response

Returns an area_contest

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_area_contest_by_pk($id: uuid!) {
  sequent_backend_area_contest_by_pk(id: $id) {
    annotations
    area {
      ...areaFragment
    }
    area_id
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_area_contest_by_pk": {
      "annotations": jsonb,
      "area": area,
      "area_id": uuid,
      "contest": contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_ballot_publication

Description

fetch data from the table: "sequent_backend.ballot_publication"

Response

Returns [ballot_publication!]!

Arguments
Name Description
distinct_on - [ballot_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [ballot_publication_order_by!] sort the rows by one or more columns
where - ballot_publication_bool_exp filter the rows returned

Example

Query
query sequent_backend_ballot_publication(
  $distinct_on: [ballot_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [ballot_publication_order_by!],
  $where: ballot_publication_bool_exp
) {
  sequent_backend_ballot_publication(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [ballot_publication_order_by],
  "where": ballot_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_publication": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "created_by_user_id": "abc123",
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "election_ids": [uuid],
        "id": uuid,
        "is_generated": false,
        "labels": jsonb,
        "published_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_ballot_publication_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.ballot_publication"

Response

Returns a ballot_publication_aggregate!

Arguments
Name Description
distinct_on - [ballot_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [ballot_publication_order_by!] sort the rows by one or more columns
where - ballot_publication_bool_exp filter the rows returned

Example

Query
query sequent_backend_ballot_publication_aggregate(
  $distinct_on: [ballot_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [ballot_publication_order_by!],
  $where: ballot_publication_bool_exp
) {
  sequent_backend_ballot_publication_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...ballot_publication_aggregate_fieldsFragment
    }
    nodes {
      ...ballot_publicationFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [ballot_publication_order_by],
  "where": ballot_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_publication_aggregate": {
      "aggregate": ballot_publication_aggregate_fields,
      "nodes": [ballot_publication]
    }
  }
}

sequent_backend_ballot_publication_by_pk

Description

fetch data from the table: "sequent_backend.ballot_publication" using primary key columns

Response

Returns a ballot_publication

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_ballot_publication_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_ballot_publication_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_ballot_publication_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "election_ids": [uuid],
      "id": uuid,
      "is_generated": true,
      "labels": jsonb,
      "published_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_ballot_style

Description

fetch data from the table: "sequent_backend.ballot_style"

Response

Returns [ballot_style!]!

Arguments
Name Description
distinct_on - [ballot_style_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [ballot_style_order_by!] sort the rows by one or more columns
where - ballot_style_bool_exp filter the rows returned

Example

Query
query sequent_backend_ballot_style(
  $distinct_on: [ballot_style_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [ballot_style_order_by!],
  $where: ballot_style_bool_exp
) {
  sequent_backend_ballot_style(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [ballot_style_order_by],
  "where": ballot_style_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_style": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "ballot_eml": "abc123",
        "ballot_publication_id": uuid,
        "ballot_signature": bytea,
        "created_at": timestamptz,
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "status": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_ballot_style_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.ballot_style"

Response

Returns a ballot_style_aggregate!

Arguments
Name Description
distinct_on - [ballot_style_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [ballot_style_order_by!] sort the rows by one or more columns
where - ballot_style_bool_exp filter the rows returned

Example

Query
query sequent_backend_ballot_style_aggregate(
  $distinct_on: [ballot_style_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [ballot_style_order_by!],
  $where: ballot_style_bool_exp
) {
  sequent_backend_ballot_style_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...ballot_style_aggregate_fieldsFragment
    }
    nodes {
      ...ballot_styleFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [ballot_style_order_by],
  "where": ballot_style_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_style_aggregate": {
      "aggregate": ballot_style_aggregate_fields,
      "nodes": [ballot_style]
    }
  }
}

sequent_backend_ballot_style_by_pk

Description

fetch data from the table: "sequent_backend.ballot_style" using primary key columns

Response

Returns a ballot_style

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_ballot_style_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_ballot_style_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_ballot_style_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_eml": "xyz789",
      "ballot_publication_id": uuid,
      "ballot_signature": bytea,
      "created_at": timestamptz,
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_candidate

Description

fetch data from the table: "sequent_backend.candidate"

Response

Returns [candidate!]!

Arguments
Name Description
distinct_on - [candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [candidate_order_by!] sort the rows by one or more columns
where - candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_candidate(
  $distinct_on: [candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [candidate_order_by!],
  $where: candidate_bool_exp
) {
  sequent_backend_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    contest_id
    created_at
    description
    election_event_id
    external_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    presentation
    tenant_id
    type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [candidate_order_by],
  "where": candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_candidate": [
      {
        "annotations": jsonb,
        "contest_id": uuid,
        "created_at": timestamptz,
        "description": "abc123",
        "election_event_id": uuid,
        "external_id": "abc123",
        "id": uuid,
        "image_document_id": "abc123",
        "is_public": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "presentation": jsonb,
        "tenant_id": uuid,
        "type": "xyz789"
      }
    ]
  }
}

sequent_backend_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.candidate"

Response

Returns a candidate_aggregate!

Arguments
Name Description
distinct_on - [candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [candidate_order_by!] sort the rows by one or more columns
where - candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_candidate_aggregate(
  $distinct_on: [candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [candidate_order_by!],
  $where: candidate_bool_exp
) {
  sequent_backend_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...candidate_aggregate_fieldsFragment
    }
    nodes {
      ...candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [candidate_order_by],
  "where": candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_candidate_aggregate": {
      "aggregate": candidate_aggregate_fields,
      "nodes": [candidate]
    }
  }
}

sequent_backend_candidate_by_pk

Description

fetch data from the table: "sequent_backend.candidate" using primary key columns

Response

Returns a candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    contest_id
    created_at
    description
    election_event_id
    external_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    presentation
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_candidate_by_pk": {
      "annotations": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "external_id": "abc123",
      "id": uuid,
      "image_document_id": "xyz789",
      "is_public": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

sequent_backend_certificate_authority

Description

fetch data from the table: "sequent_backend.certificate_authority"

Response

Returns [certificate_authority!]!

Arguments
Name Description
distinct_on - [certificate_authority_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [certificate_authority_order_by!] sort the rows by one or more columns
where - certificate_authority_bool_exp filter the rows returned

Example

Query
query sequent_backend_certificate_authority(
  $distinct_on: [certificate_authority_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [certificate_authority_order_by!],
  $where: certificate_authority_bool_exp
) {
  sequent_backend_certificate_authority(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    common_name
    created_at
    election_event_id
    fingerprint_sha256
    id
    issuer
    issuer_common_name
    not_after
    not_before
    pem
    serial_number
    subject
    tenant_id
  }
}
Variables
{
  "distinct_on": ["common_name"],
  "limit": 987,
  "offset": 987,
  "order_by": [certificate_authority_order_by],
  "where": certificate_authority_bool_exp
}
Response
{
  "data": {
    "sequent_backend_certificate_authority": [
      {
        "common_name": "abc123",
        "created_at": timestamptz,
        "election_event_id": uuid,
        "fingerprint_sha256": "abc123",
        "id": uuid,
        "issuer": "xyz789",
        "issuer_common_name": "abc123",
        "not_after": timestamptz,
        "not_before": timestamptz,
        "pem": "xyz789",
        "serial_number": "abc123",
        "subject": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_certificate_authority_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.certificate_authority"

Arguments
Name Description
distinct_on - [certificate_authority_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [certificate_authority_order_by!] sort the rows by one or more columns
where - certificate_authority_bool_exp filter the rows returned

Example

Query
query sequent_backend_certificate_authority_aggregate(
  $distinct_on: [certificate_authority_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [certificate_authority_order_by!],
  $where: certificate_authority_bool_exp
) {
  sequent_backend_certificate_authority_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...certificate_authority_aggregate_fieldsFragment
    }
    nodes {
      ...certificate_authorityFragment
    }
  }
}
Variables
{
  "distinct_on": ["common_name"],
  "limit": 123,
  "offset": 123,
  "order_by": [certificate_authority_order_by],
  "where": certificate_authority_bool_exp
}
Response
{
  "data": {
    "sequent_backend_certificate_authority_aggregate": {
      "aggregate": certificate_authority_aggregate_fields,
      "nodes": [certificate_authority]
    }
  }
}

sequent_backend_certificate_authority_by_pk

Description

fetch data from the table: "sequent_backend.certificate_authority" using primary key columns

Response

Returns a certificate_authority

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_certificate_authority_by_pk($id: uuid!) {
  sequent_backend_certificate_authority_by_pk(id: $id) {
    common_name
    created_at
    election_event_id
    fingerprint_sha256
    id
    issuer
    issuer_common_name
    not_after
    not_before
    pem
    serial_number
    subject
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_certificate_authority_by_pk": {
      "common_name": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "fingerprint_sha256": "abc123",
      "id": uuid,
      "issuer": "xyz789",
      "issuer_common_name": "abc123",
      "not_after": timestamptz,
      "not_before": timestamptz,
      "pem": "abc123",
      "serial_number": "abc123",
      "subject": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_contest

Description

fetch data from the table: "sequent_backend.contest"

Response

Returns [contest!]!

Arguments
Name Description
distinct_on - [contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [contest_order_by!] sort the rows by one or more columns
where - contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_contest(
  $distinct_on: [contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [contest_order_by!],
  $where: contest_bool_exp
) {
  sequent_backend_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    candidates {
      ...candidateFragment
    }
    candidates_aggregate {
      ...candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    external_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [contest_order_by],
  "where": contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_contest": [
      {
        "annotations": jsonb,
        "candidates": [candidate],
        "candidates_aggregate": candidate_aggregate,
        "conditions": jsonb,
        "counting_algorithm": "xyz789",
        "created_at": timestamptz,
        "description": "abc123",
        "election_event_id": uuid,
        "election_id": uuid,
        "external_id": "xyz789",
        "id": uuid,
        "image_document_id": "abc123",
        "is_acclaimed": false,
        "is_active": false,
        "is_encrypted": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "max_votes": 987,
        "min_votes": 123,
        "presentation": jsonb,
        "tally_configuration": jsonb,
        "tenant_id": uuid,
        "voting_type": "xyz789",
        "winning_candidates_num": 987
      }
    ]
  }
}

sequent_backend_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.contest"

Response

Returns a contest_aggregate!

Arguments
Name Description
distinct_on - [contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [contest_order_by!] sort the rows by one or more columns
where - contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_contest_aggregate(
  $distinct_on: [contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [contest_order_by!],
  $where: contest_bool_exp
) {
  sequent_backend_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...contest_aggregate_fieldsFragment
    }
    nodes {
      ...contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [contest_order_by],
  "where": contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_contest_aggregate": {
      "aggregate": contest_aggregate_fields,
      "nodes": [contest]
    }
  }
}

sequent_backend_contest_by_pk

Description

fetch data from the table: "sequent_backend.contest" using primary key columns

Response

Returns a contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    candidates {
      ...candidateFragment
    }
    candidates_aggregate {
      ...candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    external_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_contest_by_pk": {
      "annotations": jsonb,
      "candidates": [candidate],
      "candidates_aggregate": candidate_aggregate,
      "conditions": jsonb,
      "counting_algorithm": "abc123",
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "election_id": uuid,
      "external_id": "abc123",
      "id": uuid,
      "image_document_id": "xyz789",
      "is_acclaimed": true,
      "is_active": false,
      "is_encrypted": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "max_votes": 987,
      "min_votes": 987,
      "presentation": jsonb,
      "tally_configuration": jsonb,
      "tenant_id": uuid,
      "voting_type": "abc123",
      "winning_candidates_num": 123
    }
  }
}

sequent_backend_document

Description

fetch data from the table: "sequent_backend.document"

Response

Returns [document!]!

Arguments
Name Description
distinct_on - [document_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [document_order_by!] sort the rows by one or more columns
where - document_bool_exp filter the rows returned

Example

Query
query sequent_backend_document(
  $distinct_on: [document_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [document_order_by!],
  $where: document_bool_exp
) {
  sequent_backend_document(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [document_order_by],
  "where": document_bool_exp
}
Response
{
  "data": {
    "sequent_backend_document": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "is_public": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "media_type": "abc123",
        "name": "xyz789",
        "size": bigint,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_document_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.document"

Response

Returns a document_aggregate!

Arguments
Name Description
distinct_on - [document_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [document_order_by!] sort the rows by one or more columns
where - document_bool_exp filter the rows returned

Example

Query
query sequent_backend_document_aggregate(
  $distinct_on: [document_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [document_order_by!],
  $where: document_bool_exp
) {
  sequent_backend_document_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...document_aggregate_fieldsFragment
    }
    nodes {
      ...documentFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [document_order_by],
  "where": document_bool_exp
}
Response
{
  "data": {
    "sequent_backend_document_aggregate": {
      "aggregate": document_aggregate_fields,
      "nodes": [document]
    }
  }
}

sequent_backend_document_by_pk

Description

fetch data from the table: "sequent_backend.document" using primary key columns

Response

Returns a document

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_document_by_pk($id: uuid!) {
  sequent_backend_document_by_pk(id: $id) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_document_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "is_public": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "media_type": "xyz789",
      "name": "abc123",
      "size": bigint,
      "tenant_id": uuid
    }
  }
}

sequent_backend_election

Description

fetch data from the table: "sequent_backend.election"

Response

Returns [election!]!

Arguments
Name Description
distinct_on - [election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_order_by!] sort the rows by one or more columns
where - election_bool_exp filter the rows returned

Example

Query
query sequent_backend_election(
  $distinct_on: [election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_order_by!],
  $where: election_bool_exp
) {
  sequent_backend_election(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    contests {
      ...contestFragment
    }
    contests_aggregate {
      ...contest_aggregateFragment
    }
    created_at
    description
    election_event_id
    eml
    external_id
    id
    image_document_id
    initialization_report_generated
    is_consolidated_ballot_encoding
    is_kiosk
    keys_ceremony_id
    labels
    last_updated_at
    num_allowed_revotes
    permission_label
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [election_order_by],
  "where": election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election": [
      {
        "annotations": jsonb,
        "contests": [contest],
        "contests_aggregate": contest_aggregate,
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "eml": "xyz789",
        "external_id": "abc123",
        "id": uuid,
        "image_document_id": "xyz789",
        "initialization_report_generated": true,
        "is_consolidated_ballot_encoding": true,
        "is_kiosk": true,
        "keys_ceremony_id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "num_allowed_revotes": 123,
        "permission_label": "xyz789",
        "presentation": jsonb,
        "receipts": jsonb,
        "spoil_ballot_option": false,
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election"

Response

Returns an election_aggregate!

Arguments
Name Description
distinct_on - [election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_order_by!] sort the rows by one or more columns
where - election_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_aggregate(
  $distinct_on: [election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_order_by!],
  $where: election_bool_exp
) {
  sequent_backend_election_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...election_aggregate_fieldsFragment
    }
    nodes {
      ...electionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [election_order_by],
  "where": election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_aggregate": {
      "aggregate": election_aggregate_fields,
      "nodes": [election]
    }
  }
}

sequent_backend_election_by_pk

Description

fetch data from the table: "sequent_backend.election" using primary key columns

Response

Returns an election

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    contests {
      ...contestFragment
    }
    contests_aggregate {
      ...contest_aggregateFragment
    }
    created_at
    description
    election_event_id
    eml
    external_id
    id
    image_document_id
    initialization_report_generated
    is_consolidated_ballot_encoding
    is_kiosk
    keys_ceremony_id
    labels
    last_updated_at
    num_allowed_revotes
    permission_label
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_election_by_pk": {
      "annotations": jsonb,
      "contests": [contest],
      "contests_aggregate": contest_aggregate,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "eml": "xyz789",
      "external_id": "xyz789",
      "id": uuid,
      "image_document_id": "xyz789",
      "initialization_report_generated": false,
      "is_consolidated_ballot_encoding": false,
      "is_kiosk": true,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "num_allowed_revotes": 987,
      "permission_label": "abc123",
      "presentation": jsonb,
      "receipts": jsonb,
      "spoil_ballot_option": false,
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "voting_channels": jsonb
    }
  }
}

sequent_backend_election_event

Description

fetch data from the table: "sequent_backend.election_event"

Response

Returns [election_event!]!

Arguments
Name Description
distinct_on - [election_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_event_order_by!] sort the rows by one or more columns
where - election_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_event(
  $distinct_on: [election_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_event_order_by!],
  $where: election_event_bool_exp
) {
  sequent_backend_election_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    description
    elections {
      ...electionFragment
    }
    elections_aggregate {
      ...election_aggregateFragment
    }
    encryption_protocol
    external_id
    id
    is_archived
    is_audit
    labels
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [election_event_order_by],
  "where": election_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_event": [
      {
        "annotations": jsonb,
        "audit_election_event_id": uuid,
        "bulletin_board_reference": jsonb,
        "created_at": timestamptz,
        "description": "xyz789",
        "elections": [election],
        "elections_aggregate": election_aggregate,
        "encryption_protocol": "abc123",
        "external_id": "xyz789",
        "id": uuid,
        "is_archived": true,
        "is_audit": true,
        "labels": jsonb,
        "presentation": jsonb,
        "public_key": "abc123",
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "user_boards": "abc123",
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_event"

Response

Returns an election_event_aggregate!

Arguments
Name Description
distinct_on - [election_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_event_order_by!] sort the rows by one or more columns
where - election_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_event_aggregate(
  $distinct_on: [election_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_event_order_by!],
  $where: election_event_bool_exp
) {
  sequent_backend_election_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...election_event_aggregate_fieldsFragment
    }
    nodes {
      ...election_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [election_event_order_by],
  "where": election_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_event_aggregate": {
      "aggregate": election_event_aggregate_fields,
      "nodes": [election_event]
    }
  }
}

sequent_backend_election_event_by_pk

Description

fetch data from the table: "sequent_backend.election_event" using primary key columns

Response

Returns an election_event

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_election_event_by_pk($id: uuid!) {
  sequent_backend_election_event_by_pk(id: $id) {
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    description
    elections {
      ...electionFragment
    }
    elections_aggregate {
      ...election_aggregateFragment
    }
    encryption_protocol
    external_id
    id
    is_archived
    is_audit
    labels
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_election_event_by_pk": {
      "annotations": jsonb,
      "audit_election_event_id": uuid,
      "bulletin_board_reference": jsonb,
      "created_at": timestamptz,
      "description": "xyz789",
      "elections": [election],
      "elections_aggregate": election_aggregate,
      "encryption_protocol": "abc123",
      "external_id": "abc123",
      "id": uuid,
      "is_archived": false,
      "is_audit": false,
      "labels": jsonb,
      "presentation": jsonb,
      "public_key": "xyz789",
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "user_boards": "xyz789",
      "voting_channels": jsonb
    }
  }
}

sequent_backend_election_result

Description

fetch data from the table: "sequent_backend.election_result"

Response

Returns [election_result!]!

Arguments
Name Description
distinct_on - [election_result_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_result_order_by!] sort the rows by one or more columns
where - election_result_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_result(
  $distinct_on: [election_result_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_result_order_by!],
  $where: election_result_bool_exp
) {
  sequent_backend_election_result(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [election_result_order_by],
  "where": election_result_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_result": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "result_eml": "xyz789",
        "result_eml_signature": bytea,
        "statistics": jsonb,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_election_result_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_result"

Response

Returns an election_result_aggregate!

Arguments
Name Description
distinct_on - [election_result_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_result_order_by!] sort the rows by one or more columns
where - election_result_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_result_aggregate(
  $distinct_on: [election_result_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_result_order_by!],
  $where: election_result_bool_exp
) {
  sequent_backend_election_result_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...election_result_aggregate_fieldsFragment
    }
    nodes {
      ...election_resultFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [election_result_order_by],
  "where": election_result_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_result_aggregate": {
      "aggregate": election_result_aggregate_fields,
      "nodes": [election_result]
    }
  }
}

sequent_backend_election_result_by_pk

Description

fetch data from the table: "sequent_backend.election_result" using primary key columns

Response

Returns an election_result

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_election_result_by_pk($id: uuid!) {
  sequent_backend_election_result_by_pk(id: $id) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_election_result_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "result_eml": "xyz789",
      "result_eml_signature": bytea,
      "statistics": jsonb,
      "tenant_id": uuid
    }
  }
}

sequent_backend_election_type

Description

fetch data from the table: "sequent_backend.election_type"

Response

Returns [election_type!]!

Arguments
Name Description
distinct_on - [election_type_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_type_order_by!] sort the rows by one or more columns
where - election_type_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_type(
  $distinct_on: [election_type_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_type_order_by!],
  $where: election_type_bool_exp
) {
  sequent_backend_election_type(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [election_type_order_by],
  "where": election_type_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_type": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "labels": jsonb,
        "name": "xyz789",
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_election_type_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_type"

Response

Returns an election_type_aggregate!

Arguments
Name Description
distinct_on - [election_type_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_type_order_by!] sort the rows by one or more columns
where - election_type_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_type_aggregate(
  $distinct_on: [election_type_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_type_order_by!],
  $where: election_type_bool_exp
) {
  sequent_backend_election_type_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...election_type_aggregate_fieldsFragment
    }
    nodes {
      ...election_typeFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [election_type_order_by],
  "where": election_type_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_type_aggregate": {
      "aggregate": election_type_aggregate_fields,
      "nodes": [election_type]
    }
  }
}

sequent_backend_election_type_by_pk

Description

fetch data from the table: "sequent_backend.election_type" using primary key columns

Response

Returns an election_type

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_election_type_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_election_type_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "sequent_backend_election_type_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "name": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

sequent_backend_electoral_log_checkpoint

Description

fetch data from the table: "sequent_backend.electoral_log_checkpoint"

Response

Returns [electoral_log_checkpoint!]!

Arguments
Name Description
distinct_on - [electoral_log_checkpoint_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [electoral_log_checkpoint_order_by!] sort the rows by one or more columns
where - electoral_log_checkpoint_bool_exp filter the rows returned

Example

Query
query sequent_backend_electoral_log_checkpoint(
  $distinct_on: [electoral_log_checkpoint_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [electoral_log_checkpoint_order_by!],
  $where: electoral_log_checkpoint_bool_exp
) {
  sequent_backend_electoral_log_checkpoint(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    board_name
    created_at
    election_event_id
    id
    log_id
    reason
    root
    signature
    signer_pk
    tenant_id
    tree_size
  }
}
Variables
{
  "distinct_on": ["board_name"],
  "limit": 987,
  "offset": 123,
  "order_by": [electoral_log_checkpoint_order_by],
  "where": electoral_log_checkpoint_bool_exp
}
Response
{
  "data": {
    "sequent_backend_electoral_log_checkpoint": [
      {
        "board_name": "xyz789",
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "log_id": bigint,
        "reason": "xyz789",
        "root": "abc123",
        "signature": "xyz789",
        "signer_pk": "xyz789",
        "tenant_id": uuid,
        "tree_size": bigint
      }
    ]
  }
}

sequent_backend_electoral_log_checkpoint_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.electoral_log_checkpoint"

Arguments
Name Description
distinct_on - [electoral_log_checkpoint_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [electoral_log_checkpoint_order_by!] sort the rows by one or more columns
where - electoral_log_checkpoint_bool_exp filter the rows returned

Example

Query
query sequent_backend_electoral_log_checkpoint_aggregate(
  $distinct_on: [electoral_log_checkpoint_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [electoral_log_checkpoint_order_by!],
  $where: electoral_log_checkpoint_bool_exp
) {
  sequent_backend_electoral_log_checkpoint_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...electoral_log_checkpoint_aggregate_fieldsFragment
    }
    nodes {
      ...electoral_log_checkpointFragment
    }
  }
}
Variables
{
  "distinct_on": ["board_name"],
  "limit": 123,
  "offset": 123,
  "order_by": [electoral_log_checkpoint_order_by],
  "where": electoral_log_checkpoint_bool_exp
}
Response
{
  "data": {
    "sequent_backend_electoral_log_checkpoint_aggregate": {
      "aggregate": electoral_log_checkpoint_aggregate_fields,
      "nodes": [electoral_log_checkpoint]
    }
  }
}

sequent_backend_electoral_log_checkpoint_by_pk

Description

fetch data from the table: "sequent_backend.electoral_log_checkpoint" using primary key columns

Response

Returns an electoral_log_checkpoint

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_electoral_log_checkpoint_by_pk($id: uuid!) {
  sequent_backend_electoral_log_checkpoint_by_pk(id: $id) {
    board_name
    created_at
    election_event_id
    id
    log_id
    reason
    root
    signature
    signer_pk
    tenant_id
    tree_size
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_electoral_log_checkpoint_by_pk": {
      "board_name": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "log_id": bigint,
      "reason": "abc123",
      "root": "abc123",
      "signature": "abc123",
      "signer_pk": "xyz789",
      "tenant_id": uuid,
      "tree_size": bigint
    }
  }
}

sequent_backend_event_execution

Description

fetch data from the table: "sequent_backend.event_execution"

Response

Returns [event_execution!]!

Arguments
Name Description
distinct_on - [event_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [event_execution_order_by!] sort the rows by one or more columns
where - event_execution_bool_exp filter the rows returned

Example

Query
query sequent_backend_event_execution(
  $distinct_on: [event_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [event_execution_order_by!],
  $where: event_execution_bool_exp
) {
  sequent_backend_event_execution(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [event_execution_order_by],
  "where": event_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_event_execution": [
      {
        "annotations": jsonb,
        "election_event_id": uuid,
        "ended_at": timestamptz,
        "execution_payload": jsonb,
        "execution_state": "abc123",
        "id": uuid,
        "labels": jsonb,
        "result_payload": jsonb,
        "scheduled_event_id": uuid,
        "started_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_event_execution_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.event_execution"

Response

Returns an event_execution_aggregate!

Arguments
Name Description
distinct_on - [event_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [event_execution_order_by!] sort the rows by one or more columns
where - event_execution_bool_exp filter the rows returned

Example

Query
query sequent_backend_event_execution_aggregate(
  $distinct_on: [event_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [event_execution_order_by!],
  $where: event_execution_bool_exp
) {
  sequent_backend_event_execution_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...event_execution_aggregate_fieldsFragment
    }
    nodes {
      ...event_executionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [event_execution_order_by],
  "where": event_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_event_execution_aggregate": {
      "aggregate": event_execution_aggregate_fields,
      "nodes": [event_execution]
    }
  }
}

sequent_backend_event_execution_by_pk

Description

fetch data from the table: "sequent_backend.event_execution" using primary key columns

Response

Returns an event_execution

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_event_execution_by_pk($id: uuid!) {
  sequent_backend_event_execution_by_pk(id: $id) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_event_execution_by_pk": {
      "annotations": jsonb,
      "election_event_id": uuid,
      "ended_at": timestamptz,
      "execution_payload": jsonb,
      "execution_state": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "result_payload": jsonb,
      "scheduled_event_id": uuid,
      "started_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_keys_ceremony

Description

fetch data from the table: "sequent_backend.keys_ceremony"

Response

Returns [keys_ceremony!]!

Arguments
Name Description
distinct_on - [keys_ceremony_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [keys_ceremony_order_by!] sort the rows by one or more columns
where - keys_ceremony_bool_exp filter the rows returned

Example

Query
query sequent_backend_keys_ceremony(
  $distinct_on: [keys_ceremony_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [keys_ceremony_order_by!],
  $where: keys_ceremony_bool_exp
) {
  sequent_backend_keys_ceremony(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    is_default
    keys_ceremony_trustee_ids {
      ...trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...trustee_aggregateFragment
    }
    labels
    last_updated_at
    name
    permission_label
    settings
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [keys_ceremony_order_by],
  "where": keys_ceremony_bool_exp
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "execution_status": "xyz789",
        "id": uuid,
        "is_default": true,
        "keys_ceremony_trustee_ids": [trustee],
        "keys_ceremony_trustee_ids_aggregate": trustee_aggregate,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "permission_label": ["xyz789"],
        "settings": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "threshold": 123,
        "trustee_ids": [uuid]
      }
    ]
  }
}

sequent_backend_keys_ceremony_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.keys_ceremony"

Response

Returns a keys_ceremony_aggregate!

Arguments
Name Description
distinct_on - [keys_ceremony_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [keys_ceremony_order_by!] sort the rows by one or more columns
where - keys_ceremony_bool_exp filter the rows returned

Example

Query
query sequent_backend_keys_ceremony_aggregate(
  $distinct_on: [keys_ceremony_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [keys_ceremony_order_by!],
  $where: keys_ceremony_bool_exp
) {
  sequent_backend_keys_ceremony_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...keys_ceremony_aggregate_fieldsFragment
    }
    nodes {
      ...keys_ceremonyFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [keys_ceremony_order_by],
  "where": keys_ceremony_bool_exp
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony_aggregate": {
      "aggregate": keys_ceremony_aggregate_fields,
      "nodes": [keys_ceremony]
    }
  }
}

sequent_backend_keys_ceremony_by_pk

Description

fetch data from the table: "sequent_backend.keys_ceremony" using primary key columns

Response

Returns a keys_ceremony

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_keys_ceremony_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_keys_ceremony_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    is_default
    keys_ceremony_trustee_ids {
      ...trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...trustee_aggregateFragment
    }
    labels
    last_updated_at
    name
    permission_label
    settings
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "execution_status": "abc123",
      "id": uuid,
      "is_default": false,
      "keys_ceremony_trustee_ids": [trustee],
      "keys_ceremony_trustee_ids_aggregate": trustee_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "permission_label": ["xyz789"],
      "settings": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "threshold": 123,
      "trustee_ids": [uuid]
    }
  }
}

sequent_backend_lock

Description

fetch data from the table: "sequent_backend.lock"

Response

Returns [lock!]!

Arguments
Name Description
distinct_on - [lock_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [lock_order_by!] sort the rows by one or more columns
where - lock_bool_exp filter the rows returned

Example

Query
query sequent_backend_lock(
  $distinct_on: [lock_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [lock_order_by!],
  $where: lock_bool_exp
) {
  sequent_backend_lock(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 123,
  "order_by": [lock_order_by],
  "where": lock_bool_exp
}
Response
{
  "data": {
    "sequent_backend_lock": [
      {
        "created_at": timestamptz,
        "expiry_date": timestamptz,
        "key": "abc123",
        "last_updated_at": timestamptz,
        "value": "xyz789"
      }
    ]
  }
}

sequent_backend_lock_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.lock"

Response

Returns a lock_aggregate!

Arguments
Name Description
distinct_on - [lock_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [lock_order_by!] sort the rows by one or more columns
where - lock_bool_exp filter the rows returned

Example

Query
query sequent_backend_lock_aggregate(
  $distinct_on: [lock_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [lock_order_by!],
  $where: lock_bool_exp
) {
  sequent_backend_lock_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...lock_aggregate_fieldsFragment
    }
    nodes {
      ...lockFragment
    }
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 987,
  "offset": 123,
  "order_by": [lock_order_by],
  "where": lock_bool_exp
}
Response
{
  "data": {
    "sequent_backend_lock_aggregate": {
      "aggregate": lock_aggregate_fields,
      "nodes": [lock]
    }
  }
}

sequent_backend_lock_by_pk

Description

fetch data from the table: "sequent_backend.lock" using primary key columns

Response

Returns a lock

Arguments
Name Description
key - String!

Example

Query
query sequent_backend_lock_by_pk($key: String!) {
  sequent_backend_lock_by_pk(key: $key) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{"key": "abc123"}
Response
{
  "data": {
    "sequent_backend_lock_by_pk": {
      "created_at": timestamptz,
      "expiry_date": timestamptz,
      "key": "abc123",
      "last_updated_at": timestamptz,
      "value": "abc123"
    }
  }
}

sequent_backend_notification

Description

fetch data from the table: "sequent_backend.notification"

Response

Returns [notification!]!

Arguments
Name Description
distinct_on - [notification_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [notification_order_by!] sort the rows by one or more columns
where - notification_bool_exp filter the rows returned

Example

Query
query sequent_backend_notification(
  $distinct_on: [notification_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [notification_order_by!],
  $where: notification_bool_exp
) {
  sequent_backend_notification(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    alias
    annotations
    created_at
    election_event_id
    election_id
    id
    labels
    name
    template_id
    tenant_id
    type
    updated_at
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 123,
  "offset": 987,
  "order_by": [notification_order_by],
  "where": notification_bool_exp
}
Response
{
  "data": {
    "sequent_backend_notification": [
      {
        "alias": "abc123",
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "name": "xyz789",
        "template_id": uuid,
        "tenant_id": uuid,
        "type": "xyz789",
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_notification_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.notification"

Response

Returns a notification_aggregate!

Arguments
Name Description
distinct_on - [notification_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [notification_order_by!] sort the rows by one or more columns
where - notification_bool_exp filter the rows returned

Example

Query
query sequent_backend_notification_aggregate(
  $distinct_on: [notification_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [notification_order_by!],
  $where: notification_bool_exp
) {
  sequent_backend_notification_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...notification_aggregate_fieldsFragment
    }
    nodes {
      ...notificationFragment
    }
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 987,
  "order_by": [notification_order_by],
  "where": notification_bool_exp
}
Response
{
  "data": {
    "sequent_backend_notification_aggregate": {
      "aggregate": notification_aggregate_fields,
      "nodes": [notification]
    }
  }
}

sequent_backend_notification_by_pk

Description

fetch data from the table: "sequent_backend.notification" using primary key columns

Response

Returns a notification

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_notification_by_pk($id: uuid!) {
  sequent_backend_notification_by_pk(id: $id) {
    alias
    annotations
    created_at
    election_event_id
    election_id
    id
    labels
    name
    template_id
    tenant_id
    type
    updated_at
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_notification_by_pk": {
      "alias": "xyz789",
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "name": "xyz789",
      "template_id": uuid,
      "tenant_id": uuid,
      "type": "abc123",
      "updated_at": timestamptz
    }
  }
}

sequent_backend_phone_blacklist

Description

fetch data from the table: "sequent_backend.phone_blacklist"

Response

Returns [phone_blacklist!]!

Arguments
Name Description
distinct_on - [phone_blacklist_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [phone_blacklist_order_by!] sort the rows by one or more columns
where - phone_blacklist_bool_exp filter the rows returned

Example

Query
query sequent_backend_phone_blacklist(
  $distinct_on: [phone_blacklist_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [phone_blacklist_order_by!],
  $where: phone_blacklist_bool_exp
) {
  sequent_backend_phone_blacklist(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    created_at
    created_by
    election_event_id
    id
    phone_e164
    reason
    tenant_id
    updated_at
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 987,
  "offset": 987,
  "order_by": [phone_blacklist_order_by],
  "where": phone_blacklist_bool_exp
}
Response
{
  "data": {
    "sequent_backend_phone_blacklist": [
      {
        "created_at": timestamptz,
        "created_by": uuid,
        "election_event_id": uuid,
        "id": uuid,
        "phone_e164": "xyz789",
        "reason": "abc123",
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_phone_blacklist_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.phone_blacklist"

Response

Returns a phone_blacklist_aggregate!

Arguments
Name Description
distinct_on - [phone_blacklist_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [phone_blacklist_order_by!] sort the rows by one or more columns
where - phone_blacklist_bool_exp filter the rows returned

Example

Query
query sequent_backend_phone_blacklist_aggregate(
  $distinct_on: [phone_blacklist_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [phone_blacklist_order_by!],
  $where: phone_blacklist_bool_exp
) {
  sequent_backend_phone_blacklist_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...phone_blacklist_aggregate_fieldsFragment
    }
    nodes {
      ...phone_blacklistFragment
    }
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 123,
  "order_by": [phone_blacklist_order_by],
  "where": phone_blacklist_bool_exp
}
Response
{
  "data": {
    "sequent_backend_phone_blacklist_aggregate": {
      "aggregate": phone_blacklist_aggregate_fields,
      "nodes": [phone_blacklist]
    }
  }
}

sequent_backend_phone_blacklist_by_pk

Description

fetch data from the table: "sequent_backend.phone_blacklist" using primary key columns

Response

Returns a phone_blacklist

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_phone_blacklist_by_pk($id: uuid!) {
  sequent_backend_phone_blacklist_by_pk(id: $id) {
    created_at
    created_by
    election_event_id
    id
    phone_e164
    reason
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_phone_blacklist_by_pk": {
      "created_at": timestamptz,
      "created_by": uuid,
      "election_event_id": uuid,
      "id": uuid,
      "phone_e164": "abc123",
      "reason": "abc123",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

sequent_backend_preview

Description

fetch data from the table: "sequent_backend.preview"

Response

Returns [preview!]!

Arguments
Name Description
distinct_on - [preview_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [preview_order_by!] sort the rows by one or more columns
where - preview_bool_exp filter the rows returned

Example

Query
query sequent_backend_preview(
  $distinct_on: [preview_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [preview_order_by!],
  $where: preview_bool_exp
) {
  sequent_backend_preview(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    document_id
    id
    requested_by
    tenant_id
    updated_at
    url
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [preview_order_by],
  "where": preview_bool_exp
}
Response
{
  "data": {
    "sequent_backend_preview": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "document_id": uuid,
        "id": uuid,
        "requested_by": "xyz789",
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "url": "abc123"
      }
    ]
  }
}

sequent_backend_preview_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.preview"

Response

Returns a preview_aggregate!

Arguments
Name Description
distinct_on - [preview_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [preview_order_by!] sort the rows by one or more columns
where - preview_bool_exp filter the rows returned

Example

Query
query sequent_backend_preview_aggregate(
  $distinct_on: [preview_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [preview_order_by!],
  $where: preview_bool_exp
) {
  sequent_backend_preview_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...preview_aggregate_fieldsFragment
    }
    nodes {
      ...previewFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [preview_order_by],
  "where": preview_bool_exp
}
Response
{
  "data": {
    "sequent_backend_preview_aggregate": {
      "aggregate": preview_aggregate_fields,
      "nodes": [preview]
    }
  }
}

sequent_backend_preview_by_pk

Description

fetch data from the table: "sequent_backend.preview" using primary key columns

Response

Returns a preview

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_preview_by_pk($id: uuid!) {
  sequent_backend_preview_by_pk(id: $id) {
    annotations
    created_at
    document_id
    id
    requested_by
    tenant_id
    updated_at
    url
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_preview_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "document_id": uuid,
      "id": uuid,
      "requested_by": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "url": "abc123"
    }
  }
}

sequent_backend_report

Description

fetch data from the table: "sequent_backend.report"

Response

Returns [report!]!

Arguments
Name Description
distinct_on - [report_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [report_order_by!] sort the rows by one or more columns
where - report_bool_exp filter the rows returned

Example

Query
query sequent_backend_report(
  $distinct_on: [report_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [report_order_by!],
  $where: report_bool_exp
) {
  sequent_backend_report(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    created_at
    cron_config
    election_event_id
    election_id
    encryption_policy
    id
    permission_label
    report_type
    template_alias
    tenant_id
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 123,
  "order_by": [report_order_by],
  "where": report_bool_exp
}
Response
{
  "data": {
    "sequent_backend_report": [
      {
        "created_at": timestamptz,
        "cron_config": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "encryption_policy": "xyz789",
        "id": uuid,
        "permission_label": ["xyz789"],
        "report_type": "abc123",
        "template_alias": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_report_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.report"

Response

Returns a report_aggregate!

Arguments
Name Description
distinct_on - [report_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [report_order_by!] sort the rows by one or more columns
where - report_bool_exp filter the rows returned

Example

Query
query sequent_backend_report_aggregate(
  $distinct_on: [report_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [report_order_by!],
  $where: report_bool_exp
) {
  sequent_backend_report_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...report_aggregate_fieldsFragment
    }
    nodes {
      ...reportFragment
    }
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 987,
  "offset": 123,
  "order_by": [report_order_by],
  "where": report_bool_exp
}
Response
{
  "data": {
    "sequent_backend_report_aggregate": {
      "aggregate": report_aggregate_fields,
      "nodes": [report]
    }
  }
}

sequent_backend_report_by_pk

Description

fetch data from the table: "sequent_backend.report" using primary key columns

Response

Returns a report

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_report_by_pk($id: uuid!) {
  sequent_backend_report_by_pk(id: $id) {
    created_at
    cron_config
    election_event_id
    election_id
    encryption_policy
    id
    permission_label
    report_type
    template_alias
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_report_by_pk": {
      "created_at": timestamptz,
      "cron_config": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "encryption_policy": "xyz789",
      "id": uuid,
      "permission_label": ["xyz789"],
      "report_type": "xyz789",
      "template_alias": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_results_area_contest

Description

fetch data from the table: "sequent_backend.results_area_contest"

Response

Returns [results_area_contest!]!

Arguments
Name Description
distinct_on - [results_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_area_contest_order_by!] sort the rows by one or more columns
where - results_area_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_area_contest(
  $distinct_on: [results_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_area_contest_order_by!],
  $where: results_area_contest_bool_exp
) {
  sequent_backend_results_area_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [results_area_contest_order_by],
  "where": results_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 987,
        "explicit_blank_votes": 987,
        "explicit_blank_votes_percent": numeric,
        "explicit_invalid_votes": 123,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_blank_votes": 987,
        "implicit_blank_votes_percent": numeric,
        "implicit_invalid_votes": 987,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_auditable_votes": 987,
        "total_auditable_votes_percent": numeric,
        "total_blank_votes": 987,
        "total_blank_votes_percent": numeric,
        "total_invalid_votes": 123,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 123,
        "total_valid_votes_percent": numeric,
        "total_votes": 987,
        "total_votes_percent": numeric
      }
    ]
  }
}

sequent_backend_results_area_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_area_contest"

Response

Returns a results_area_contest_aggregate!

Arguments
Name Description
distinct_on - [results_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_area_contest_order_by!] sort the rows by one or more columns
where - results_area_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_area_contest_aggregate(
  $distinct_on: [results_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_area_contest_order_by!],
  $where: results_area_contest_bool_exp
) {
  sequent_backend_results_area_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_area_contest_aggregate_fieldsFragment
    }
    nodes {
      ...results_area_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [results_area_contest_order_by],
  "where": results_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_aggregate": {
      "aggregate": results_area_contest_aggregate_fields,
      "nodes": [results_area_contest]
    }
  }
}

sequent_backend_results_area_contest_by_pk

Description

fetch data from the table: "sequent_backend.results_area_contest" using primary key columns

Response

Returns a results_area_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_area_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_area_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "explicit_blank_votes": 123,
      "explicit_blank_votes_percent": numeric,
      "explicit_invalid_votes": 987,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_blank_votes": 987,
      "implicit_blank_votes_percent": numeric,
      "implicit_invalid_votes": 123,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_auditable_votes": 123,
      "total_auditable_votes_percent": numeric,
      "total_blank_votes": 987,
      "total_blank_votes_percent": numeric,
      "total_invalid_votes": 123,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 987,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric
    }
  }
}

sequent_backend_results_area_contest_candidate

Description

fetch data from the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
distinct_on - [results_area_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_area_contest_candidate_order_by!] sort the rows by one or more columns
where - results_area_contest_candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_area_contest_candidate(
  $distinct_on: [results_area_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_area_contest_candidate_order_by!],
  $where: results_area_contest_candidate_bool_exp
) {
  sequent_backend_results_area_contest_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [results_area_contest_candidate_order_by],
  "where": results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "candidate_id": uuid,
        "cast_votes": 987,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 987,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 987
      }
    ]
  }
}

sequent_backend_results_area_contest_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
distinct_on - [results_area_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_area_contest_candidate_order_by!] sort the rows by one or more columns
where - results_area_contest_candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_area_contest_candidate_aggregate(
  $distinct_on: [results_area_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_area_contest_candidate_order_by!],
  $where: results_area_contest_candidate_bool_exp
) {
  sequent_backend_results_area_contest_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_area_contest_candidate_aggregate_fieldsFragment
    }
    nodes {
      ...results_area_contest_candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_area_contest_candidate_order_by],
  "where": results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate_aggregate": {
      "aggregate": results_area_contest_candidate_aggregate_fields,
      "nodes": [results_area_contest_candidate]
    }
  }
}

sequent_backend_results_area_contest_candidate_by_pk

Description

fetch data from the table: "sequent_backend.results_area_contest_candidate" using primary key columns

Response

Returns a results_area_contest_candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_area_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_area_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 123
    }
  }
}

sequent_backend_results_contest

Description

fetch data from the table: "sequent_backend.results_contest"

Response

Returns [results_contest!]!

Arguments
Name Description
distinct_on - [results_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_contest_order_by!] sort the rows by one or more columns
where - results_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_contest(
  $distinct_on: [results_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_contest_order_by!],
  $where: results_contest_bool_exp
) {
  sequent_backend_results_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_contest_order_by],
  "where": results_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest": [
      {
        "annotations": jsonb,
        "contest_id": uuid,
        "counting_algorithm": "xyz789",
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "explicit_blank_votes": 987,
        "explicit_blank_votes_percent": numeric,
        "explicit_invalid_votes": 123,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_blank_votes": 987,
        "implicit_blank_votes_percent": numeric,
        "implicit_invalid_votes": 123,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_auditable_votes": 123,
        "total_auditable_votes_percent": numeric,
        "total_blank_votes": 987,
        "total_blank_votes_percent": numeric,
        "total_invalid_votes": 987,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 987,
        "total_valid_votes_percent": numeric,
        "total_votes": 987,
        "total_votes_percent": numeric,
        "voting_type": "abc123"
      }
    ]
  }
}

sequent_backend_results_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_contest"

Response

Returns a results_contest_aggregate!

Arguments
Name Description
distinct_on - [results_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_contest_order_by!] sort the rows by one or more columns
where - results_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_contest_aggregate(
  $distinct_on: [results_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_contest_order_by!],
  $where: results_contest_bool_exp
) {
  sequent_backend_results_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_contest_aggregate_fieldsFragment
    }
    nodes {
      ...results_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [results_contest_order_by],
  "where": results_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_aggregate": {
      "aggregate": results_contest_aggregate_fields,
      "nodes": [results_contest]
    }
  }
}

sequent_backend_results_contest_by_pk

Description

fetch data from the table: "sequent_backend.results_contest" using primary key columns

Response

Returns a results_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_contest_by_pk": {
      "annotations": jsonb,
      "contest_id": uuid,
      "counting_algorithm": "abc123",
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "explicit_blank_votes": 987,
      "explicit_blank_votes_percent": numeric,
      "explicit_invalid_votes": 123,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_blank_votes": 987,
      "implicit_blank_votes_percent": numeric,
      "implicit_invalid_votes": 987,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_auditable_votes": 123,
      "total_auditable_votes_percent": numeric,
      "total_blank_votes": 987,
      "total_blank_votes_percent": numeric,
      "total_invalid_votes": 123,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 987,
      "total_valid_votes_percent": numeric,
      "total_votes": 123,
      "total_votes_percent": numeric,
      "voting_type": "xyz789"
    }
  }
}

sequent_backend_results_contest_candidate

Description

fetch data from the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
distinct_on - [results_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_contest_candidate_order_by!] sort the rows by one or more columns
where - results_contest_candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_contest_candidate(
  $distinct_on: [results_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_contest_candidate_order_by!],
  $where: results_contest_candidate_bool_exp
) {
  sequent_backend_results_contest_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_contest_candidate_order_by],
  "where": results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate": [
      {
        "annotations": jsonb,
        "candidate_id": uuid,
        "cast_votes": 987,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 123,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 987
      }
    ]
  }
}

sequent_backend_results_contest_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
distinct_on - [results_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_contest_candidate_order_by!] sort the rows by one or more columns
where - results_contest_candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_contest_candidate_aggregate(
  $distinct_on: [results_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_contest_candidate_order_by!],
  $where: results_contest_candidate_bool_exp
) {
  sequent_backend_results_contest_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_contest_candidate_aggregate_fieldsFragment
    }
    nodes {
      ...results_contest_candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [results_contest_candidate_order_by],
  "where": results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate_aggregate": {
      "aggregate": results_contest_candidate_aggregate_fields,
      "nodes": [results_contest_candidate]
    }
  }
}

sequent_backend_results_contest_candidate_by_pk

Description

fetch data from the table: "sequent_backend.results_contest_candidate" using primary key columns

Response

Returns a results_contest_candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate_by_pk": {
      "annotations": jsonb,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 987,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 987
    }
  }
}

sequent_backend_results_election

Description

fetch data from the table: "sequent_backend.results_election"

Response

Returns [results_election!]!

Arguments
Name Description
distinct_on - [results_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_election_order_by!] sort the rows by one or more columns
where - results_election_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_election(
  $distinct_on: [results_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_election_order_by!],
  $where: results_election_bool_exp
) {
  sequent_backend_results_election(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_election_order_by],
  "where": results_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election": [
      {
        "annotations": jsonb,
        "blank_ballots": 123,
        "blank_ballots_percent": numeric,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_voters": 123,
        "total_voters_percent": numeric
      }
    ]
  }
}

sequent_backend_results_election_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_election"

Response

Returns a results_election_aggregate!

Arguments
Name Description
distinct_on - [results_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_election_order_by!] sort the rows by one or more columns
where - results_election_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_election_aggregate(
  $distinct_on: [results_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_election_order_by!],
  $where: results_election_bool_exp
) {
  sequent_backend_results_election_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_election_aggregate_fieldsFragment
    }
    nodes {
      ...results_electionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_election_order_by],
  "where": results_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election_aggregate": {
      "aggregate": results_election_aggregate_fields,
      "nodes": [results_election]
    }
  }
}

sequent_backend_results_election_area

Description

fetch data from the table: "sequent_backend.results_election_area"

Response

Returns [results_election_area!]!

Arguments
Name Description
distinct_on - [results_election_area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_election_area_order_by!] sort the rows by one or more columns
where - results_election_area_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_election_area(
  $distinct_on: [results_election_area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_election_area_order_by!],
  $where: results_election_area_bool_exp
) {
  sequent_backend_results_election_area(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    area_id
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    id
    last_updated_at
    name
    results_event_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["area_id"],
  "limit": 123,
  "offset": 987,
  "order_by": [results_election_area_order_by],
  "where": results_election_area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election_area": [
      {
        "area_id": uuid,
        "blank_ballots": 123,
        "blank_ballots_percent": numeric,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "results_event_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_results_election_area_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_election_area"

Arguments
Name Description
distinct_on - [results_election_area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_election_area_order_by!] sort the rows by one or more columns
where - results_election_area_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_election_area_aggregate(
  $distinct_on: [results_election_area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_election_area_order_by!],
  $where: results_election_area_bool_exp
) {
  sequent_backend_results_election_area_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_election_area_aggregate_fieldsFragment
    }
    nodes {
      ...results_election_areaFragment
    }
  }
}
Variables
{
  "distinct_on": ["area_id"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_election_area_order_by],
  "where": results_election_area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election_area_aggregate": {
      "aggregate": results_election_area_aggregate_fields,
      "nodes": [results_election_area]
    }
  }
}

sequent_backend_results_election_area_by_pk

Description

fetch data from the table: "sequent_backend.results_election_area" using primary key columns

Response

Returns a results_election_area

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_election_area_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_election_area_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    area_id
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    id
    last_updated_at
    name
    results_event_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_election_area_by_pk": {
      "area_id": uuid,
      "blank_ballots": 987,
      "blank_ballots_percent": numeric,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid
    }
  }
}

sequent_backend_results_election_by_pk

Description

fetch data from the table: "sequent_backend.results_election" using primary key columns

Response

Returns a results_election

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_election_by_pk": {
      "annotations": jsonb,
      "blank_ballots": 987,
      "blank_ballots_percent": numeric,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_voters": 123,
      "total_voters_percent": numeric
    }
  }
}

sequent_backend_results_event

Description

fetch data from the table: "sequent_backend.results_event"

Response

Returns [results_event!]!

Arguments
Name Description
distinct_on - [results_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_event_order_by!] sort the rows by one or more columns
where - results_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_event(
  $distinct_on: [results_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_event_order_by!],
  $where: results_event_bool_exp
) {
  sequent_backend_results_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_event_order_by],
  "where": results_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_event": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_results_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_event"

Response

Returns a results_event_aggregate!

Arguments
Name Description
distinct_on - [results_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_event_order_by!] sort the rows by one or more columns
where - results_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_event_aggregate(
  $distinct_on: [results_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_event_order_by!],
  $where: results_event_bool_exp
) {
  sequent_backend_results_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_event_aggregate_fieldsFragment
    }
    nodes {
      ...results_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_event_order_by],
  "where": results_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_event_aggregate": {
      "aggregate": results_event_aggregate_fields,
      "nodes": [results_event]
    }
  }
}

sequent_backend_results_event_by_pk

Description

fetch data from the table: "sequent_backend.results_event" using primary key columns

Response

Returns a results_event

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_event_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_event_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_scheduled_event

Description

fetch data from the table: "sequent_backend.scheduled_event"

Response

Returns [scheduled_event!]!

Arguments
Name Description
distinct_on - [scheduled_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [scheduled_event_order_by!] sort the rows by one or more columns
where - scheduled_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_scheduled_event(
  $distinct_on: [scheduled_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [scheduled_event_order_by!],
  $where: scheduled_event_bool_exp
) {
  sequent_backend_scheduled_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    archived_at
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [scheduled_event_order_by],
  "where": scheduled_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_scheduled_event": [
      {
        "annotations": jsonb,
        "archived_at": timestamptz,
        "created_at": timestamptz,
        "created_by": "xyz789",
        "cron_config": jsonb,
        "election_event_id": uuid,
        "event_payload": jsonb,
        "event_processor": "abc123",
        "id": uuid,
        "labels": jsonb,
        "stopped_at": timestamptz,
        "task_id": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_scheduled_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.scheduled_event"

Response

Returns a scheduled_event_aggregate!

Arguments
Name Description
distinct_on - [scheduled_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [scheduled_event_order_by!] sort the rows by one or more columns
where - scheduled_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_scheduled_event_aggregate(
  $distinct_on: [scheduled_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [scheduled_event_order_by!],
  $where: scheduled_event_bool_exp
) {
  sequent_backend_scheduled_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...scheduled_event_aggregate_fieldsFragment
    }
    nodes {
      ...scheduled_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [scheduled_event_order_by],
  "where": scheduled_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_scheduled_event_aggregate": {
      "aggregate": scheduled_event_aggregate_fields,
      "nodes": [scheduled_event]
    }
  }
}

sequent_backend_scheduled_event_by_pk

Description

fetch data from the table: "sequent_backend.scheduled_event" using primary key columns

Response

Returns a scheduled_event

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_scheduled_event_by_pk($id: uuid!) {
  sequent_backend_scheduled_event_by_pk(id: $id) {
    annotations
    archived_at
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_scheduled_event_by_pk": {
      "annotations": jsonb,
      "archived_at": timestamptz,
      "created_at": timestamptz,
      "created_by": "abc123",
      "cron_config": jsonb,
      "election_event_id": uuid,
      "event_payload": jsonb,
      "event_processor": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "stopped_at": timestamptz,
      "task_id": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_secret

Description

fetch data from the table: "sequent_backend.secret"

Response

Returns [secret!]!

Arguments
Name Description
distinct_on - [secret_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [secret_order_by!] sort the rows by one or more columns
where - secret_bool_exp filter the rows returned

Example

Query
query sequent_backend_secret(
  $distinct_on: [secret_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [secret_order_by!],
  $where: secret_bool_exp
) {
  sequent_backend_secret(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    id
    key
    labels
    tenant_id
    value
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [secret_order_by],
  "where": secret_bool_exp
}
Response
{
  "data": {
    "sequent_backend_secret": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "key": "abc123",
        "labels": jsonb,
        "tenant_id": uuid,
        "value": bytea
      }
    ]
  }
}

sequent_backend_secret_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.secret"

Response

Returns a secret_aggregate!

Arguments
Name Description
distinct_on - [secret_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [secret_order_by!] sort the rows by one or more columns
where - secret_bool_exp filter the rows returned

Example

Query
query sequent_backend_secret_aggregate(
  $distinct_on: [secret_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [secret_order_by!],
  $where: secret_bool_exp
) {
  sequent_backend_secret_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...secret_aggregate_fieldsFragment
    }
    nodes {
      ...secretFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [secret_order_by],
  "where": secret_bool_exp
}
Response
{
  "data": {
    "sequent_backend_secret_aggregate": {
      "aggregate": secret_aggregate_fields,
      "nodes": [secret]
    }
  }
}

sequent_backend_secret_by_pk

Description

fetch data from the table: "sequent_backend.secret" using primary key columns

Response

Returns a secret

Arguments
Name Description
id - uuid!
key - String!
tenant_id - uuid!

Example

Query
query sequent_backend_secret_by_pk(
  $id: uuid!,
  $key: String!,
  $tenant_id: uuid!
) {
  sequent_backend_secret_by_pk(
    id: $id,
    key: $key,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    election_event_id
    id
    key
    labels
    tenant_id
    value
  }
}
Variables
{
  "id": uuid,
  "key": "xyz789",
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_secret_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "key": "abc123",
      "labels": jsonb,
      "tenant_id": uuid,
      "value": bytea
    }
  }
}

sequent_backend_support_material

Description

fetch data from the table: "sequent_backend.support_material"

Response

Returns [support_material!]!

Arguments
Name Description
distinct_on - [support_material_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [support_material_order_by!] sort the rows by one or more columns
where - support_material_bool_exp filter the rows returned

Example

Query
query sequent_backend_support_material(
  $distinct_on: [support_material_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [support_material_order_by!],
  $where: support_material_bool_exp
) {
  sequent_backend_support_material(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [support_material_order_by],
  "where": support_material_bool_exp
}
Response
{
  "data": {
    "sequent_backend_support_material": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "data": jsonb,
        "document_id": "abc123",
        "election_event_id": uuid,
        "id": uuid,
        "is_hidden": true,
        "kind": "xyz789",
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_support_material_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.support_material"

Response

Returns a support_material_aggregate!

Arguments
Name Description
distinct_on - [support_material_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [support_material_order_by!] sort the rows by one or more columns
where - support_material_bool_exp filter the rows returned

Example

Query
query sequent_backend_support_material_aggregate(
  $distinct_on: [support_material_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [support_material_order_by!],
  $where: support_material_bool_exp
) {
  sequent_backend_support_material_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...support_material_aggregate_fieldsFragment
    }
    nodes {
      ...support_materialFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [support_material_order_by],
  "where": support_material_bool_exp
}
Response
{
  "data": {
    "sequent_backend_support_material_aggregate": {
      "aggregate": support_material_aggregate_fields,
      "nodes": [support_material]
    }
  }
}

sequent_backend_support_material_by_pk

Description

fetch data from the table: "sequent_backend.support_material" using primary key columns

Response

Returns a support_material

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_support_material_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_support_material_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_support_material_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "data": jsonb,
      "document_id": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "is_hidden": true,
      "kind": "xyz789",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_tally_results_publication

Description

fetch data from the table: "sequent_backend.tally_results_publication"

Arguments
Name Description
distinct_on - [tally_results_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_results_publication_order_by!] sort the rows by one or more columns
where - tally_results_publication_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_results_publication(
  $distinct_on: [tally_results_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_results_publication_order_by!],
  $where: tally_results_publication_bool_exp
) {
  sequent_backend_tally_results_publication(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    access
    contest_publication_state
    created_at
    documents
    election_event_id
    election_ids
    error_message
    id
    manifest
    publication_status
    published_at
    published_by_user_id
    published_contest_ids
    results_event_id
    revoked_at
    route_election_id
    route_scope
    tally_session_execution_id
    tally_session_id
    task_execution_id
    tenant_id
    updated_at
    version
    visibility_scope
  }
}
Variables
{
  "distinct_on": ["access"],
  "limit": 987,
  "offset": 987,
  "order_by": [tally_results_publication_order_by],
  "where": tally_results_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_results_publication": [
      {
        "access": "abc123",
        "contest_publication_state": jsonb,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_ids": [uuid],
        "error_message": "abc123",
        "id": uuid,
        "manifest": jsonb,
        "publication_status": "abc123",
        "published_at": timestamptz,
        "published_by_user_id": uuid,
        "published_contest_ids": jsonb,
        "results_event_id": uuid,
        "revoked_at": timestamptz,
        "route_election_id": uuid,
        "route_scope": "xyz789",
        "tally_session_execution_id": uuid,
        "tally_session_id": uuid,
        "task_execution_id": uuid,
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "version": 987,
        "visibility_scope": "abc123"
      }
    ]
  }
}

sequent_backend_tally_results_publication_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_results_publication"

Arguments
Name Description
distinct_on - [tally_results_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_results_publication_order_by!] sort the rows by one or more columns
where - tally_results_publication_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_results_publication_aggregate(
  $distinct_on: [tally_results_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_results_publication_order_by!],
  $where: tally_results_publication_bool_exp
) {
  sequent_backend_tally_results_publication_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...tally_results_publication_aggregate_fieldsFragment
    }
    nodes {
      ...tally_results_publicationFragment
    }
  }
}
Variables
{
  "distinct_on": ["access"],
  "limit": 123,
  "offset": 987,
  "order_by": [tally_results_publication_order_by],
  "where": tally_results_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_results_publication_aggregate": {
      "aggregate": tally_results_publication_aggregate_fields,
      "nodes": [tally_results_publication]
    }
  }
}

sequent_backend_tally_results_publication_by_pk

Description

fetch data from the table: "sequent_backend.tally_results_publication" using primary key columns

Response

Returns a tally_results_publication

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_tally_results_publication_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_results_publication_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    access
    contest_publication_state
    created_at
    documents
    election_event_id
    election_ids
    error_message
    id
    manifest
    publication_status
    published_at
    published_by_user_id
    published_contest_ids
    results_event_id
    revoked_at
    route_election_id
    route_scope
    tally_session_execution_id
    tally_session_id
    task_execution_id
    tenant_id
    updated_at
    version
    visibility_scope
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_results_publication_by_pk": {
      "access": "xyz789",
      "contest_publication_state": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "error_message": "xyz789",
      "id": uuid,
      "manifest": jsonb,
      "publication_status": "xyz789",
      "published_at": timestamptz,
      "published_by_user_id": uuid,
      "published_contest_ids": jsonb,
      "results_event_id": uuid,
      "revoked_at": timestamptz,
      "route_election_id": uuid,
      "route_scope": "xyz789",
      "tally_session_execution_id": uuid,
      "tally_session_id": uuid,
      "task_execution_id": uuid,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "version": 123,
      "visibility_scope": "xyz789"
    }
  }
}

sequent_backend_tally_session

Description

fetch data from the table: "sequent_backend.tally_session"

Response

Returns [tally_session!]!

Arguments
Name Description
distinct_on - [tally_session_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_session_order_by!] sort the rows by one or more columns
where - tally_session_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session(
  $distinct_on: [tally_session_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_session_order_by!],
  $where: tally_session_bool_exp
) {
  sequent_backend_tally_session(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_ids
    configuration
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    permission_label
    resolutions {
      ...tally_session_resolutionFragment
    }
    resolutions_aggregate {
      ...tally_session_resolution_aggregateFragment
    }
    tally_type
    tenant_id
    threshold
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [tally_session_order_by],
  "where": tally_session_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session": [
      {
        "annotations": jsonb,
        "area_ids": [uuid],
        "configuration": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_ids": [uuid],
        "execution_status": "xyz789",
        "id": uuid,
        "is_execution_completed": false,
        "keys_ceremony_id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "permission_label": ["xyz789"],
        "resolutions": [tally_session_resolution],
        "resolutions_aggregate": tally_session_resolution_aggregate,
        "tally_type": "xyz789",
        "tenant_id": uuid,
        "threshold": 987
      }
    ]
  }
}

sequent_backend_tally_session_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_session"

Response

Returns a tally_session_aggregate!

Arguments
Name Description
distinct_on - [tally_session_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_session_order_by!] sort the rows by one or more columns
where - tally_session_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_aggregate(
  $distinct_on: [tally_session_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_session_order_by!],
  $where: tally_session_bool_exp
) {
  sequent_backend_tally_session_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...tally_session_aggregate_fieldsFragment
    }
    nodes {
      ...tally_sessionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [tally_session_order_by],
  "where": tally_session_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_aggregate": {
      "aggregate": tally_session_aggregate_fields,
      "nodes": [tally_session]
    }
  }
}

sequent_backend_tally_session_by_pk

Description

fetch data from the table: "sequent_backend.tally_session" using primary key columns

Response

Returns a tally_session

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_tally_session_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_session_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_ids
    configuration
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    permission_label
    resolutions {
      ...tally_session_resolutionFragment
    }
    resolutions_aggregate {
      ...tally_session_resolution_aggregateFragment
    }
    tally_type
    tenant_id
    threshold
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_session_by_pk": {
      "annotations": jsonb,
      "area_ids": [uuid],
      "configuration": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "execution_status": "abc123",
      "id": uuid,
      "is_execution_completed": true,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "permission_label": ["abc123"],
      "resolutions": [tally_session_resolution],
      "resolutions_aggregate": tally_session_resolution_aggregate,
      "tally_type": "xyz789",
      "tenant_id": uuid,
      "threshold": 123
    }
  }
}

sequent_backend_tally_session_contest

Description

fetch data from the table: "sequent_backend.tally_session_contest"

Response

Returns [tally_session_contest!]!

Arguments
Name Description
distinct_on - [tally_session_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_session_contest_order_by!] sort the rows by one or more columns
where - tally_session_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_contest(
  $distinct_on: [tally_session_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_session_contest_order_by!],
  $where: tally_session_contest_bool_exp
) {
  sequent_backend_tally_session_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [tally_session_contest_order_by],
  "where": tally_session_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_contest": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "session_id": 987,
        "tally_session_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_session_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
distinct_on - [tally_session_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_session_contest_order_by!] sort the rows by one or more columns
where - tally_session_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_contest_aggregate(
  $distinct_on: [tally_session_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_session_contest_order_by!],
  $where: tally_session_contest_bool_exp
) {
  sequent_backend_tally_session_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...tally_session_contest_aggregate_fieldsFragment
    }
    nodes {
      ...tally_session_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [tally_session_contest_order_by],
  "where": tally_session_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_contest_aggregate": {
      "aggregate": tally_session_contest_aggregate_fields,
      "nodes": [tally_session_contest]
    }
  }
}

sequent_backend_tally_session_contest_by_pk

Description

fetch data from the table: "sequent_backend.tally_session_contest" using primary key columns

Response

Returns a tally_session_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_tally_session_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_session_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_session_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "session_id": 123,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

sequent_backend_tally_session_execution

Description

fetch data from the table: "sequent_backend.tally_session_execution"

Response

Returns [tally_session_execution!]!

Arguments
Name Description
distinct_on - [tally_session_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_session_execution_order_by!] sort the rows by one or more columns
where - tally_session_execution_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_execution(
  $distinct_on: [tally_session_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_session_execution_order_by!],
  $where: tally_session_execution_bool_exp
) {
  sequent_backend_tally_session_execution(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    current_message_id
    documents
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    run_reason
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [tally_session_execution_order_by],
  "where": tally_session_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_execution": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "current_message_id": 123,
        "documents": jsonb,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "results_event_id": uuid,
        "run_reason": "xyz789",
        "session_ids": [123],
        "status": jsonb,
        "tally_session_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_session_execution_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
distinct_on - [tally_session_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_session_execution_order_by!] sort the rows by one or more columns
where - tally_session_execution_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_execution_aggregate(
  $distinct_on: [tally_session_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_session_execution_order_by!],
  $where: tally_session_execution_bool_exp
) {
  sequent_backend_tally_session_execution_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...tally_session_execution_aggregate_fieldsFragment
    }
    nodes {
      ...tally_session_executionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [tally_session_execution_order_by],
  "where": tally_session_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_execution_aggregate": {
      "aggregate": tally_session_execution_aggregate_fields,
      "nodes": [tally_session_execution]
    }
  }
}

sequent_backend_tally_session_execution_by_pk

Description

fetch data from the table: "sequent_backend.tally_session_execution" using primary key columns

Response

Returns a tally_session_execution

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_tally_session_execution_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_session_execution_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    current_message_id
    documents
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    run_reason
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_session_execution_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "current_message_id": 987,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "run_reason": "abc123",
      "session_ids": [987],
      "status": jsonb,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

sequent_backend_tally_session_resolution

Description

fetch data from the table: "sequent_backend.tally_session_resolution"

Response

Returns [tally_session_resolution!]!

Arguments
Name Description
distinct_on - [tally_session_resolution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_session_resolution_order_by!] sort the rows by one or more columns
where - tally_session_resolution_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_resolution(
  $distinct_on: [tally_session_resolution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_session_resolution_order_by!],
  $where: tally_session_resolution_bool_exp
) {
  sequent_backend_tally_session_resolution(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    resolution_data
    resolution_type
    resolved_at
    resolved_by_user
    status
    tally_session {
      ...tally_sessionFragment
    }
    tally_session_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [tally_session_resolution_order_by],
  "where": tally_session_resolution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_resolution": [
      {
        "annotations": jsonb,
        "contest": contest,
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "resolution_data": jsonb,
        "resolution_type": "abc123",
        "resolved_at": timestamptz,
        "resolved_by_user": uuid,
        "status": "xyz789",
        "tally_session": tally_session,
        "tally_session_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_session_resolution_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_session_resolution"

Arguments
Name Description
distinct_on - [tally_session_resolution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_session_resolution_order_by!] sort the rows by one or more columns
where - tally_session_resolution_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_resolution_aggregate(
  $distinct_on: [tally_session_resolution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_session_resolution_order_by!],
  $where: tally_session_resolution_bool_exp
) {
  sequent_backend_tally_session_resolution_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...tally_session_resolution_aggregate_fieldsFragment
    }
    nodes {
      ...tally_session_resolutionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [tally_session_resolution_order_by],
  "where": tally_session_resolution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_resolution_aggregate": {
      "aggregate": tally_session_resolution_aggregate_fields,
      "nodes": [tally_session_resolution]
    }
  }
}

sequent_backend_tally_session_resolution_by_pk

Description

fetch data from the table: "sequent_backend.tally_session_resolution" using primary key columns

Response

Returns a tally_session_resolution

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_tally_session_resolution_by_pk($id: uuid!) {
  sequent_backend_tally_session_resolution_by_pk(id: $id) {
    annotations
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    resolution_data
    resolution_type
    resolved_at
    resolved_by_user
    status
    tally_session {
      ...tally_sessionFragment
    }
    tally_session_id
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_tally_session_resolution_by_pk": {
      "annotations": jsonb,
      "contest": contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "resolution_data": jsonb,
      "resolution_type": "abc123",
      "resolved_at": timestamptz,
      "resolved_by_user": uuid,
      "status": "xyz789",
      "tally_session": tally_session,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

sequent_backend_tally_sheet

Description

fetch data from the table: "sequent_backend.tally_sheet"

Response

Returns [tally_sheet!]!

Arguments
Name Description
distinct_on - [tally_sheet_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_sheet_order_by!] sort the rows by one or more columns
where - tally_sheet_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_sheet(
  $distinct_on: [tally_sheet_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_sheet_order_by!],
  $where: tally_sheet_bool_exp
) {
  sequent_backend_tally_sheet(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    import_id
    labels
    last_updated_at
    reviewed_at
    reviewed_by_user_id
    source_import {
      ...tally_sheet_importFragment
    }
    status
    tenant_id
    version
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [tally_sheet_order_by],
  "where": tally_sheet_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_sheet": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "channel": "xyz789",
        "content": jsonb,
        "contest_id": uuid,
        "created_at": timestamptz,
        "created_by_user_id": "xyz789",
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "import_id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "reviewed_at": timestamptz,
        "reviewed_by_user_id": "xyz789",
        "source_import": tally_sheet_import,
        "status": "xyz789",
        "tenant_id": uuid,
        "version": 987
      }
    ]
  }
}

sequent_backend_tally_sheet_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_sheet"

Response

Returns a tally_sheet_aggregate!

Arguments
Name Description
distinct_on - [tally_sheet_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_sheet_order_by!] sort the rows by one or more columns
where - tally_sheet_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_sheet_aggregate(
  $distinct_on: [tally_sheet_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_sheet_order_by!],
  $where: tally_sheet_bool_exp
) {
  sequent_backend_tally_sheet_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...tally_sheet_aggregate_fieldsFragment
    }
    nodes {
      ...tally_sheetFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [tally_sheet_order_by],
  "where": tally_sheet_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_sheet_aggregate": {
      "aggregate": tally_sheet_aggregate_fields,
      "nodes": [tally_sheet]
    }
  }
}

sequent_backend_tally_sheet_by_pk

Description

fetch data from the table: "sequent_backend.tally_sheet" using primary key columns

Response

Returns a tally_sheet

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_tally_sheet_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_sheet_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    import_id
    labels
    last_updated_at
    reviewed_at
    reviewed_by_user_id
    source_import {
      ...tally_sheet_importFragment
    }
    status
    tenant_id
    version
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_sheet_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "channel": "xyz789",
      "content": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "import_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "reviewed_at": timestamptz,
      "reviewed_by_user_id": "abc123",
      "source_import": tally_sheet_import,
      "status": "xyz789",
      "tenant_id": uuid,
      "version": 123
    }
  }
}

sequent_backend_tally_sheet_import

Description

fetch data from the table: "sequent_backend.tally_sheet_import"

Response

Returns [tally_sheet_import!]!

Arguments
Name Description
distinct_on - [tally_sheet_import_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_sheet_import_order_by!] sort the rows by one or more columns
where - tally_sheet_import_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_sheet_import(
  $distinct_on: [tally_sheet_import_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_sheet_import_order_by!],
  $where: tally_sheet_import_bool_exp
) {
  sequent_backend_tally_sheet_import(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    canonical_csv_sha256
    created_at
    created_by_user_id
    election_event_id
    id
    items {
      ...tally_sheet_import_itemFragment
    }
    items_aggregate {
      ...tally_sheet_import_item_aggregateFragment
    }
    labels
    last_updated_at
    selected_channel
    source_document {
      ...documentFragment
    }
    source_document_id
    source_file_name
    source_format
    source_sha256
    status
    summary
    tenant_id
    validation_report
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [tally_sheet_import_order_by],
  "where": tally_sheet_import_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_sheet_import": [
      {
        "annotations": jsonb,
        "canonical_csv_sha256": "xyz789",
        "created_at": timestamptz,
        "created_by_user_id": "abc123",
        "election_event_id": uuid,
        "id": uuid,
        "items": [tally_sheet_import_item],
        "items_aggregate": tally_sheet_import_item_aggregate,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "selected_channel": "abc123",
        "source_document": document,
        "source_document_id": uuid,
        "source_file_name": "abc123",
        "source_format": "xyz789",
        "source_sha256": "abc123",
        "status": "abc123",
        "summary": jsonb,
        "tenant_id": uuid,
        "validation_report": jsonb
      }
    ]
  }
}

sequent_backend_tally_sheet_import_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_sheet_import"

Response

Returns a tally_sheet_import_aggregate!

Arguments
Name Description
distinct_on - [tally_sheet_import_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_sheet_import_order_by!] sort the rows by one or more columns
where - tally_sheet_import_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_sheet_import_aggregate(
  $distinct_on: [tally_sheet_import_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_sheet_import_order_by!],
  $where: tally_sheet_import_bool_exp
) {
  sequent_backend_tally_sheet_import_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...tally_sheet_import_aggregate_fieldsFragment
    }
    nodes {
      ...tally_sheet_importFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [tally_sheet_import_order_by],
  "where": tally_sheet_import_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_sheet_import_aggregate": {
      "aggregate": tally_sheet_import_aggregate_fields,
      "nodes": [tally_sheet_import]
    }
  }
}

sequent_backend_tally_sheet_import_by_pk

Description

fetch data from the table: "sequent_backend.tally_sheet_import" using primary key columns

Response

Returns a tally_sheet_import

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_tally_sheet_import_by_pk($id: uuid!) {
  sequent_backend_tally_sheet_import_by_pk(id: $id) {
    annotations
    canonical_csv_sha256
    created_at
    created_by_user_id
    election_event_id
    id
    items {
      ...tally_sheet_import_itemFragment
    }
    items_aggregate {
      ...tally_sheet_import_item_aggregateFragment
    }
    labels
    last_updated_at
    selected_channel
    source_document {
      ...documentFragment
    }
    source_document_id
    source_file_name
    source_format
    source_sha256
    status
    summary
    tenant_id
    validation_report
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_tally_sheet_import_by_pk": {
      "annotations": jsonb,
      "canonical_csv_sha256": "abc123",
      "created_at": timestamptz,
      "created_by_user_id": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "items": [tally_sheet_import_item],
      "items_aggregate": tally_sheet_import_item_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "selected_channel": "abc123",
      "source_document": document,
      "source_document_id": uuid,
      "source_file_name": "xyz789",
      "source_format": "xyz789",
      "source_sha256": "xyz789",
      "status": "abc123",
      "summary": jsonb,
      "tenant_id": uuid,
      "validation_report": jsonb
    }
  }
}

sequent_backend_tally_sheet_import_item

Description

fetch data from the table: "sequent_backend.tally_sheet_import_item"

Response

Returns [tally_sheet_import_item!]!

Arguments
Name Description
distinct_on - [tally_sheet_import_item_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_sheet_import_item_order_by!] sort the rows by one or more columns
where - tally_sheet_import_item_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_sheet_import_item(
  $distinct_on: [tally_sheet_import_item_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_sheet_import_item_order_by!],
  $where: tally_sheet_import_item_bool_exp
) {
  sequent_backend_tally_sheet_import_item(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    baseline_approved_tally_sheet_id
    baseline_approved_version
    baseline_content_hash
    change_type
    channel
    contest_id
    created_at
    election_event_id
    election_id
    generated_tally_sheet {
      ...tally_sheetFragment
    }
    generated_tally_sheet_id
    id
    import {
      ...tally_sheet_importFragment
    }
    import_id
    incoming_content_hash
    incoming_csv
    labels
    last_updated_at
    previous_csv
    source_refs
    status
    tenant_id
    validation_warnings
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [tally_sheet_import_item_order_by],
  "where": tally_sheet_import_item_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_sheet_import_item": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "baseline_approved_tally_sheet_id": uuid,
        "baseline_approved_version": 123,
        "baseline_content_hash": "abc123",
        "change_type": "abc123",
        "channel": "abc123",
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "generated_tally_sheet": tally_sheet,
        "generated_tally_sheet_id": uuid,
        "id": uuid,
        "import": tally_sheet_import,
        "import_id": uuid,
        "incoming_content_hash": "xyz789",
        "incoming_csv": "xyz789",
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "previous_csv": "abc123",
        "source_refs": jsonb,
        "status": "abc123",
        "tenant_id": uuid,
        "validation_warnings": jsonb
      }
    ]
  }
}

sequent_backend_tally_sheet_import_item_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_sheet_import_item"

Arguments
Name Description
distinct_on - [tally_sheet_import_item_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_sheet_import_item_order_by!] sort the rows by one or more columns
where - tally_sheet_import_item_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_sheet_import_item_aggregate(
  $distinct_on: [tally_sheet_import_item_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_sheet_import_item_order_by!],
  $where: tally_sheet_import_item_bool_exp
) {
  sequent_backend_tally_sheet_import_item_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...tally_sheet_import_item_aggregate_fieldsFragment
    }
    nodes {
      ...tally_sheet_import_itemFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [tally_sheet_import_item_order_by],
  "where": tally_sheet_import_item_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_sheet_import_item_aggregate": {
      "aggregate": tally_sheet_import_item_aggregate_fields,
      "nodes": [tally_sheet_import_item]
    }
  }
}

sequent_backend_tally_sheet_import_item_by_pk

Description

fetch data from the table: "sequent_backend.tally_sheet_import_item" using primary key columns

Response

Returns a tally_sheet_import_item

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_tally_sheet_import_item_by_pk($id: uuid!) {
  sequent_backend_tally_sheet_import_item_by_pk(id: $id) {
    annotations
    area_id
    baseline_approved_tally_sheet_id
    baseline_approved_version
    baseline_content_hash
    change_type
    channel
    contest_id
    created_at
    election_event_id
    election_id
    generated_tally_sheet {
      ...tally_sheetFragment
    }
    generated_tally_sheet_id
    id
    import {
      ...tally_sheet_importFragment
    }
    import_id
    incoming_content_hash
    incoming_csv
    labels
    last_updated_at
    previous_csv
    source_refs
    status
    tenant_id
    validation_warnings
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_tally_sheet_import_item_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "baseline_approved_tally_sheet_id": uuid,
      "baseline_approved_version": 123,
      "baseline_content_hash": "abc123",
      "change_type": "abc123",
      "channel": "abc123",
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "generated_tally_sheet": tally_sheet,
      "generated_tally_sheet_id": uuid,
      "id": uuid,
      "import": tally_sheet_import,
      "import_id": uuid,
      "incoming_content_hash": "xyz789",
      "incoming_csv": "xyz789",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "previous_csv": "abc123",
      "source_refs": jsonb,
      "status": "xyz789",
      "tenant_id": uuid,
      "validation_warnings": jsonb
    }
  }
}

sequent_backend_tasks_execution

Description

fetch data from the table: "sequent_backend.tasks_execution"

Response

Returns [tasks_execution!]!

Arguments
Name Description
distinct_on - [tasks_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tasks_execution_order_by!] sort the rows by one or more columns
where - tasks_execution_bool_exp filter the rows returned

Example

Query
query sequent_backend_tasks_execution(
  $distinct_on: [tasks_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tasks_execution_order_by!],
  $where: tasks_execution_bool_exp
) {
  sequent_backend_tasks_execution(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    end_at
    executed_by_user
    execution_status
    id
    labels
    logs
    name
    start_at
    tenant {
      ...tenantFragment
    }
    tenant_id
    type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [tasks_execution_order_by],
  "where": tasks_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tasks_execution": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "end_at": timestamptz,
        "executed_by_user": "abc123",
        "execution_status": "xyz789",
        "id": uuid,
        "labels": jsonb,
        "logs": json,
        "name": "abc123",
        "start_at": timestamptz,
        "tenant": tenant,
        "tenant_id": uuid,
        "type": "xyz789"
      }
    ]
  }
}

sequent_backend_tasks_execution_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tasks_execution"

Response

Returns a tasks_execution_aggregate!

Arguments
Name Description
distinct_on - [tasks_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tasks_execution_order_by!] sort the rows by one or more columns
where - tasks_execution_bool_exp filter the rows returned

Example

Query
query sequent_backend_tasks_execution_aggregate(
  $distinct_on: [tasks_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tasks_execution_order_by!],
  $where: tasks_execution_bool_exp
) {
  sequent_backend_tasks_execution_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...tasks_execution_aggregate_fieldsFragment
    }
    nodes {
      ...tasks_executionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [tasks_execution_order_by],
  "where": tasks_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tasks_execution_aggregate": {
      "aggregate": tasks_execution_aggregate_fields,
      "nodes": [tasks_execution]
    }
  }
}

sequent_backend_tasks_execution_by_pk

Description

fetch data from the table: "sequent_backend.tasks_execution" using primary key columns

Response

Returns a tasks_execution

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_tasks_execution_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tasks_execution_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    election_event_id
    end_at
    executed_by_user
    execution_status
    id
    labels
    logs
    name
    start_at
    tenant {
      ...tenantFragment
    }
    tenant_id
    type
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "sequent_backend_tasks_execution_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "end_at": timestamptz,
      "executed_by_user": "xyz789",
      "execution_status": "abc123",
      "id": uuid,
      "labels": jsonb,
      "logs": json,
      "name": "abc123",
      "start_at": timestamptz,
      "tenant": tenant,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

sequent_backend_template

Description

fetch data from the table: "sequent_backend.template"

Response

Returns [template!]!

Arguments
Name Description
distinct_on - [template_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [template_order_by!] sort the rows by one or more columns
where - template_bool_exp filter the rows returned

Example

Query
query sequent_backend_template(
  $distinct_on: [template_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [template_order_by!],
  $where: template_bool_exp
) {
  sequent_backend_template(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    alias
    annotations
    communication_method
    created_at
    created_by
    id
    labels
    template
    tenant_id
    type
    updated_at
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 123,
  "order_by": [template_order_by],
  "where": template_bool_exp
}
Response
{
  "data": {
    "sequent_backend_template": [
      {
        "alias": "xyz789",
        "annotations": jsonb,
        "communication_method": "abc123",
        "created_at": timestamptz,
        "created_by": "xyz789",
        "id": uuid,
        "labels": jsonb,
        "template": jsonb,
        "tenant_id": uuid,
        "type": "xyz789",
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_template_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.template"

Response

Returns a template_aggregate!

Arguments
Name Description
distinct_on - [template_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [template_order_by!] sort the rows by one or more columns
where - template_bool_exp filter the rows returned

Example

Query
query sequent_backend_template_aggregate(
  $distinct_on: [template_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [template_order_by!],
  $where: template_bool_exp
) {
  sequent_backend_template_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...template_aggregate_fieldsFragment
    }
    nodes {
      ...templateFragment
    }
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 123,
  "offset": 123,
  "order_by": [template_order_by],
  "where": template_bool_exp
}
Response
{
  "data": {
    "sequent_backend_template_aggregate": {
      "aggregate": template_aggregate_fields,
      "nodes": [template]
    }
  }
}

sequent_backend_template_by_pk

Description

fetch data from the table: "sequent_backend.template" using primary key columns

Response

Returns a template

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_template_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_template_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    alias
    annotations
    communication_method
    created_at
    created_by
    id
    labels
    template
    tenant_id
    type
    updated_at
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "sequent_backend_template_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "communication_method": "abc123",
      "created_at": timestamptz,
      "created_by": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "template": jsonb,
      "tenant_id": uuid,
      "type": "xyz789",
      "updated_at": timestamptz
    }
  }
}

sequent_backend_tenant

Description

fetch data from the table: "sequent_backend.tenant"

Response

Returns [tenant!]!

Arguments
Name Description
distinct_on - [tenant_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tenant_order_by!] sort the rows by one or more columns
where - tenant_bool_exp filter the rows returned

Example

Query
query sequent_backend_tenant(
  $distinct_on: [tenant_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tenant_order_by!],
  $where: tenant_bool_exp
) {
  sequent_backend_tenant(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    test
    updated_at
    voting_channels
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [tenant_order_by],
  "where": tenant_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tenant": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "is_active": true,
        "labels": jsonb,
        "settings": jsonb,
        "slug": "xyz789",
        "test": 123,
        "updated_at": timestamptz,
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_tenant_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tenant"

Response

Returns a tenant_aggregate!

Arguments
Name Description
distinct_on - [tenant_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tenant_order_by!] sort the rows by one or more columns
where - tenant_bool_exp filter the rows returned

Example

Query
query sequent_backend_tenant_aggregate(
  $distinct_on: [tenant_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tenant_order_by!],
  $where: tenant_bool_exp
) {
  sequent_backend_tenant_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...tenant_aggregate_fieldsFragment
    }
    nodes {
      ...tenantFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [tenant_order_by],
  "where": tenant_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tenant_aggregate": {
      "aggregate": tenant_aggregate_fields,
      "nodes": [tenant]
    }
  }
}

sequent_backend_tenant_by_pk

Description

fetch data from the table: "sequent_backend.tenant" using primary key columns

Response

Returns a tenant

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_tenant_by_pk($id: uuid!) {
  sequent_backend_tenant_by_pk(id: $id) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    test
    updated_at
    voting_channels
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_tenant_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "is_active": false,
      "labels": jsonb,
      "settings": jsonb,
      "slug": "xyz789",
      "test": 987,
      "updated_at": timestamptz,
      "voting_channels": jsonb
    }
  }
}

sequent_backend_trustee

Description

fetch data from the table: "sequent_backend.trustee"

Response

Returns [trustee!]!

Arguments
Name Description
distinct_on - [trustee_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [trustee_order_by!] sort the rows by one or more columns
where - trustee_bool_exp filter the rows returned

Example

Query
query sequent_backend_trustee(
  $distinct_on: [trustee_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [trustee_order_by!],
  $where: trustee_bool_exp
) {
  sequent_backend_trustee(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [trustee_order_by],
  "where": trustee_bool_exp
}
Response
{
  "data": {
    "sequent_backend_trustee": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "public_key": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_trustee_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.trustee"

Response

Returns a trustee_aggregate!

Arguments
Name Description
distinct_on - [trustee_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [trustee_order_by!] sort the rows by one or more columns
where - trustee_bool_exp filter the rows returned

Example

Query
query sequent_backend_trustee_aggregate(
  $distinct_on: [trustee_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [trustee_order_by!],
  $where: trustee_bool_exp
) {
  sequent_backend_trustee_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...trustee_aggregate_fieldsFragment
    }
    nodes {
      ...trusteeFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [trustee_order_by],
  "where": trustee_bool_exp
}
Response
{
  "data": {
    "sequent_backend_trustee_aggregate": {
      "aggregate": trustee_aggregate_fields,
      "nodes": [trustee]
    }
  }
}

sequent_backend_trustee_by_pk

Description

fetch data from the table: "sequent_backend.trustee" using primary key columns

Response

Returns a trustee

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_trustee_by_pk($id: uuid!) {
  sequent_backend_trustee_by_pk(id: $id) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_trustee_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "public_key": "abc123",
      "tenant_id": uuid
    }
  }
}

Mutations

ApplicationChangeStatus

Description

Confirm voter application and correlate to a Voter

Response

Returns an ApplicationChangeStatusOutput

Arguments
Name Description
body - ApplicationChangeStatusBody!

Example

Query
mutation ApplicationChangeStatus($body: ApplicationChangeStatusBody!) {
  ApplicationChangeStatus(body: $body) {
    error
    message
  }
}
Variables
{"body": ApplicationChangeStatusBody}
Response
{
  "data": {
    "ApplicationChangeStatus": {
      "error": "abc123",
      "message": "abc123"
    }
  }
}

VerifyApplication

Description

Verify User Registration Application

Response

Returns a String!

Arguments
Name Description
body - ApplicationVerifyBody!

Example

Query
mutation VerifyApplication($body: ApplicationVerifyBody!) {
  VerifyApplication(body: $body)
}
Variables
{"body": ApplicationVerifyBody}
Response
{"data": {"VerifyApplication": "xyz789"}}

acknowledge_support_materials

Description

acknowledge_support_materials

Response

Returns an AcknowledgeSupportMaterialsOutput

Arguments
Name Description
document_ids - [String!]!
election_event_id - uuid!

Example

Query
mutation acknowledge_support_materials(
  $document_ids: [String!]!,
  $election_event_id: uuid!
) {
  acknowledge_support_materials(
    document_ids: $document_ids,
    election_event_id: $election_event_id
  ) {
    document_ids
    election_event_id
  }
}
Variables
{
  "document_ids": ["xyz789"],
  "election_event_id": uuid
}
Response
{
  "data": {
    "acknowledge_support_materials": {
      "document_ids": ["abc123"],
      "election_event_id": uuid
    }
  }
}

apply_external_reconciliation_changes

Description

applies the Sequent-side reconciliation diff for an already-computed import

Response

Returns a taskOutput

Arguments
Name Description
diff_document_id - String!
election_event_id - String!

Example

Query
mutation apply_external_reconciliation_changes(
  $diff_document_id: String!,
  $election_event_id: String!
) {
  apply_external_reconciliation_changes(
    diff_document_id: $diff_document_id,
    election_event_id: $election_event_id
  ) {
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "diff_document_id": "abc123",
  "election_event_id": "xyz789"
}
Response
{
  "data": {
    "apply_external_reconciliation_changes": {
      "task_execution": tasks_execution_type
    }
  }
}

audit_electoral_log

Response

Returns a taskOutput!

Arguments
Name Description
election_event_id - String!

Example

Query
mutation audit_electoral_log($election_event_id: String!) {
  audit_electoral_log(election_event_id: $election_event_id) {
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{"election_event_id": "abc123"}
Response
{
  "data": {
    "audit_electoral_log": {
      "task_execution": tasks_execution_type
    }
  }
}

call_plugin_route

Response

Returns a PluginsRouteOutput!

Arguments
Name Description
data - jsonb!
path - String!

Example

Query
mutation call_plugin_route(
  $data: jsonb!,
  $path: String!
) {
  call_plugin_route(
    data: $data,
    path: $path
  ) {
    data
  }
}
Variables
{
  "data": jsonb,
  "path": "xyz789"
}
Response
{"data": {"call_plugin_route": {"data": jsonb}}}

check_private_key

Description

check private key

Response

Returns a CheckPrivateKeyOutput

Arguments
Name Description
object - CheckPrivateKeyInput!

Example

Query
mutation check_private_key($object: CheckPrivateKeyInput!) {
  check_private_key(object: $object) {
    is_valid
  }
}
Variables
{"object": CheckPrivateKeyInput}
Response
{"data": {"check_private_key": {"is_valid": false}}}

configureResultsWebsitePolicy

Description

Configure the results website policy for an election event

Arguments
Name Description
access - ResultsWebsiteAccess!
election_event_id - String!
status - ResultsWebsiteStatus!
visibility_scope - ResultsWebsiteVisibilityScope!

Example

Query
mutation configureResultsWebsitePolicy(
  $access: ResultsWebsiteAccess!,
  $election_event_id: String!,
  $status: ResultsWebsiteStatus!,
  $visibility_scope: ResultsWebsiteVisibilityScope!
) {
  configureResultsWebsitePolicy(
    access: $access,
    election_event_id: $election_event_id,
    status: $status,
    visibility_scope: $visibility_scope
  ) {
    access
    election_event_id
    status
    visibility_scope
  }
}
Variables
{
  "access": "authenticated",
  "election_event_id": "abc123",
  "status": "disabled",
  "visibility_scope": "area_based"
}
Response
{
  "data": {
    "configureResultsWebsitePolicy": {
      "access": "authenticated",
      "election_event_id": "abc123",
      "status": "disabled",
      "visibility_scope": "area_based"
    }
  }
}

createScheduledEvent

Description

create scheduled event

Response

Returns a ScheduledEventOutput3

Arguments
Name Description
created_by - String
cron_config - String
election_event_id - uuid
event_payload - jsonb!
event_processor - String!
tenant_id - String!

Example

Query
mutation createScheduledEvent(
  $created_by: String,
  $cron_config: String,
  $election_event_id: uuid,
  $event_payload: jsonb!,
  $event_processor: String!,
  $tenant_id: String!
) {
  createScheduledEvent(
    created_by: $created_by,
    cron_config: $cron_config,
    election_event_id: $election_event_id,
    event_payload: $event_payload,
    event_processor: $event_processor,
    tenant_id: $tenant_id
  ) {
    id
  }
}
Variables
{
  "created_by": "abc123",
  "cron_config": "xyz789",
  "election_event_id": uuid,
  "event_payload": jsonb,
  "event_processor": "abc123",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "createScheduledEvent": {"id": "xyz789"}
  }
}

create_ballot_receipt

Description

create_ballot_receipt

Response

Returns a createBallotReceiptOutput

Arguments
Name Description
ballot_id - String!
ballot_tracker_url - String!
election_event_id - uuid!
election_id - uuid!
tenant_id - uuid!

Example

Query
mutation create_ballot_receipt(
  $ballot_id: String!,
  $ballot_tracker_url: String!,
  $election_event_id: uuid!,
  $election_id: uuid!,
  $tenant_id: uuid!
) {
  create_ballot_receipt(
    ballot_id: $ballot_id,
    ballot_tracker_url: $ballot_tracker_url,
    election_event_id: $election_event_id,
    election_id: $election_id,
    tenant_id: $tenant_id
  ) {
    ballot_id
    id
    status
  }
}
Variables
{
  "ballot_id": "xyz789",
  "ballot_tracker_url": "abc123",
  "election_event_id": uuid,
  "election_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "create_ballot_receipt": {
      "ballot_id": "xyz789",
      "id": uuid,
      "status": "xyz789"
    }
  }
}

create_election

Response

Returns a CreateElectionOutput

Arguments
Name Description
description - String
election_event_id - String!
external_id - String!
presentation - jsonb

Example

Query
mutation create_election(
  $description: String,
  $election_event_id: String!,
  $external_id: String!,
  $presentation: jsonb
) {
  create_election(
    description: $description,
    election_event_id: $election_event_id,
    external_id: $external_id,
    presentation: $presentation
  ) {
    id
  }
}
Variables
{
  "description": "abc123",
  "election_event_id": "xyz789",
  "external_id": "abc123",
  "presentation": jsonb
}
Response
{
  "data": {
    "create_election": {"id": "xyz789"}
  }
}

create_external_reconciliation_import

Description

uploads an external (i.e. Datafix) reconciliation file and kicks off the diff-calculation task

Response

Returns a taskOutput

Arguments
Name Description
document_id - String!
election_event_id - String!

Example

Query
mutation create_external_reconciliation_import(
  $document_id: String!,
  $election_event_id: String!
) {
  create_external_reconciliation_import(
    document_id: $document_id,
    election_event_id: $election_event_id
  ) {
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "document_id": "xyz789",
  "election_event_id": "xyz789"
}
Response
{
  "data": {
    "create_external_reconciliation_import": {
      "task_execution": tasks_execution_type
    }
  }
}

create_keys_ceremony

Description

create keys ceremony

Response

Returns a CreateKeysCeremonyOutput

Arguments
Name Description
object - CreateKeysCeremonyInput!

Example

Query
mutation create_keys_ceremony($object: CreateKeysCeremonyInput!) {
  create_keys_ceremony(object: $object) {
    error_message
    keys_ceremony_id
  }
}
Variables
{"object": CreateKeysCeremonyInput}
Response
{
  "data": {
    "create_keys_ceremony": {
      "error_message": "xyz789",
      "keys_ceremony_id": "abc123"
    }
  }
}

create_new_tally_sheet

Description

create_new_tally_sheet

Response

Returns a TallySheetOutput

Arguments
Name Description
area_id - String!
channel - String!
content - jsonb!
contest_id - String!
election_event_id - String!

Example

Query
mutation create_new_tally_sheet(
  $area_id: String!,
  $channel: String!,
  $content: jsonb!,
  $contest_id: String!,
  $election_event_id: String!
) {
  create_new_tally_sheet(
    area_id: $area_id,
    channel: $channel,
    content: $content,
    contest_id: $contest_id,
    election_event_id: $election_event_id
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    import_id
    labels
    last_updated_at
    reviewed_at
    reviewed_by_user_id
    status
    tenant_id
    version
  }
}
Variables
{
  "area_id": "xyz789",
  "channel": "xyz789",
  "content": jsonb,
  "contest_id": "abc123",
  "election_event_id": "xyz789"
}
Response
{
  "data": {
    "create_new_tally_sheet": {
      "annotations": jsonb,
      "area_id": "xyz789",
      "channel": "abc123",
      "content": jsonb,
      "contest_id": "xyz789",
      "created_at": "abc123",
      "created_by_user_id": "xyz789",
      "deleted_at": "xyz789",
      "election_event_id": "xyz789",
      "election_id": "abc123",
      "id": "abc123",
      "import_id": "xyz789",
      "labels": jsonb,
      "last_updated_at": "abc123",
      "reviewed_at": "abc123",
      "reviewed_by_user_id": "abc123",
      "status": "xyz789",
      "tenant_id": "xyz789",
      "version": 123
    }
  }
}

create_permission

Response

Returns a KeycloakPermission

Arguments
Name Description
body - CreatePermissionInput!

Example

Query
mutation create_permission($body: CreatePermissionInput!) {
  create_permission(body: $body) {
    attributes
    container_id
    description
    id
    name
  }
}
Variables
{"body": CreatePermissionInput}
Response
{
  "data": {
    "create_permission": {
      "attributes": jsonb,
      "container_id": "abc123",
      "description": "xyz789",
      "id": "abc123",
      "name": "xyz789"
    }
  }
}

create_phone_blacklist_entry

Response

Returns a PhoneBlacklistEntry

Arguments
Name Description
election_event_id - uuid!
phone_e164 - String!
reason - String

Example

Query
mutation create_phone_blacklist_entry(
  $election_event_id: uuid!,
  $phone_e164: String!,
  $reason: String
) {
  create_phone_blacklist_entry(
    election_event_id: $election_event_id,
    phone_e164: $phone_e164,
    reason: $reason
  ) {
    created_at
    created_by
    election_event_id
    id
    phone_e164
    reason
    tenant_id
    updated_at
  }
}
Variables
{
  "election_event_id": uuid,
  "phone_e164": "abc123",
  "reason": "abc123"
}
Response
{
  "data": {
    "create_phone_blacklist_entry": {
      "created_at": "xyz789",
      "created_by": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "phone_e164": "abc123",
      "reason": "abc123",
      "tenant_id": uuid,
      "updated_at": "abc123"
    }
  }
}

create_role

Response

Returns a KeycloakRole!

Arguments
Name Description
role - KeycloakRole2!
tenant_id - String!

Example

Query
mutation create_role(
  $role: KeycloakRole2!,
  $tenant_id: String!
) {
  create_role(
    role: $role,
    tenant_id: $tenant_id
  ) {
    access
    attributes
    client_roles
    id
    name
    permissions
  }
}
Variables
{
  "role": KeycloakRole2,
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "create_role": {
      "access": jsonb,
      "attributes": jsonb,
      "client_roles": jsonb,
      "id": "xyz789",
      "name": "xyz789",
      "permissions": jsonb
    }
  }
}

create_tally_ceremony

Response

Returns a CreateTallyOutput

Arguments
Name Description
configuration - jsonb
election_event_id - uuid!
election_ids - [uuid!]!
tally_type - String

Example

Query
mutation create_tally_ceremony(
  $configuration: jsonb,
  $election_event_id: uuid!,
  $election_ids: [uuid!]!,
  $tally_type: String
) {
  create_tally_ceremony(
    configuration: $configuration,
    election_event_id: $election_event_id,
    election_ids: $election_ids,
    tally_type: $tally_type
  ) {
    tally_session_id
  }
}
Variables
{
  "configuration": jsonb,
  "election_event_id": uuid,
  "election_ids": [uuid],
  "tally_type": "abc123"
}
Response
{
  "data": {
    "create_tally_ceremony": {"tally_session_id": uuid}
  }
}

create_tally_sheet_import

Description

create_tally_sheet_import

Response

Returns a TallySheetImportActionOutput

Arguments
Name Description
document_id - String!
election_event_id - String!
selected_channel - String!
sha256 - String
source_format - String!

Example

Query
mutation create_tally_sheet_import(
  $document_id: String!,
  $election_event_id: String!,
  $selected_channel: String!,
  $sha256: String,
  $source_format: String!
) {
  create_tally_sheet_import(
    document_id: $document_id,
    election_event_id: $election_event_id,
    selected_channel: $selected_channel,
    sha256: $sha256,
    source_format: $source_format
  ) {
    import
  }
}
Variables
{
  "document_id": "abc123",
  "election_event_id": "abc123",
  "selected_channel": "xyz789",
  "sha256": "xyz789",
  "source_format": "abc123"
}
Response
{"data": {"create_tally_sheet_import": {"import": jsonb}}}

create_transmission_package

Response

Returns a createTransmissionPackageOutput

Arguments
Name Description
area_id - uuid!
election_event_id - uuid!
election_id - uuid!
force - Boolean!
tally_session_id - uuid!

Example

Query
mutation create_transmission_package(
  $area_id: uuid!,
  $election_event_id: uuid!,
  $election_id: uuid!,
  $force: Boolean!,
  $tally_session_id: uuid!
) {
  create_transmission_package(
    area_id: $area_id,
    election_event_id: $election_event_id,
    election_id: $election_id,
    force: $force,
    tally_session_id: $tally_session_id
  ) {
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "area_id": uuid,
  "election_event_id": uuid,
  "election_id": uuid,
  "force": true,
  "tally_session_id": uuid
}
Response
{
  "data": {
    "create_transmission_package": {
      "error_msg": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

create_user

Response

Returns a KeycloakUser!

Arguments
Name Description
election_event_id - String
secret_attributes - jsonb
tenant_id - String!
user - KeycloakUser2!
user_roles_ids - [String!]

Example

Query
mutation create_user(
  $election_event_id: String,
  $secret_attributes: jsonb,
  $tenant_id: String!,
  $user: KeycloakUser2!,
  $user_roles_ids: [String!]
) {
  create_user(
    election_event_id: $election_event_id,
    secret_attributes: $secret_attributes,
    tenant_id: $tenant_id,
    user: $user,
    user_roles_ids: $user_roles_ids
  ) {
    area {
      ...KeycloakUserAreaFragment
    }
    attributes
    email
    email_verified
    enabled
    first_name
    groups
    id
    last_name
    username
    votes_info {
      ...VotesInfoFragment
    }
  }
}
Variables
{
  "election_event_id": "abc123",
  "secret_attributes": jsonb,
  "tenant_id": "xyz789",
  "user": KeycloakUser2,
  "user_roles_ids": ["xyz789"]
}
Response
{
  "data": {
    "create_user": {
      "area": KeycloakUserArea,
      "attributes": jsonb,
      "email": "abc123",
      "email_verified": false,
      "enabled": true,
      "first_name": "xyz789",
      "groups": ["xyz789"],
      "id": "xyz789",
      "last_name": "xyz789",
      "username": "xyz789",
      "votes_info": [VotesInfo]
    }
  }
}

delete_certificate_authority

Description

Delete a certificate authority by id

Arguments
Name Description
election_event_id - uuid!
ids - [uuid!]!

Example

Query
mutation delete_certificate_authority(
  $election_event_id: uuid!,
  $ids: [uuid!]!
) {
  delete_certificate_authority(
    election_event_id: $election_event_id,
    ids: $ids
  ) {
    deleted_count
  }
}
Variables
{
  "election_event_id": uuid,
  "ids": [uuid]
}
Response
{"data": {"delete_certificate_authority": {"deleted_count": 987}}}

delete_election_event

Response

Returns a DeleteElectionEvent

Arguments
Name Description
election_event_id - String!

Example

Query
mutation delete_election_event($election_event_id: String!) {
  delete_election_event(election_event_id: $election_event_id) {
    error_msg
    id
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{"election_event_id": "xyz789"}
Response
{
  "data": {
    "delete_election_event": {
      "error_msg": "abc123",
      "id": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

delete_permission

Response

Returns a SetRolePermissionOutput

Arguments
Name Description
permission_name - String!
tenant_id - String!

Example

Query
mutation delete_permission(
  $permission_name: String!,
  $tenant_id: String!
) {
  delete_permission(
    permission_name: $permission_name,
    tenant_id: $tenant_id
  ) {
    id
  }
}
Variables
{
  "permission_name": "xyz789",
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "delete_permission": {"id": "abc123"}
  }
}

delete_phone_blacklist_entry

Response

Returns an IdOutput

Arguments
Name Description
election_event_id - uuid!
id - uuid!

Example

Query
mutation delete_phone_blacklist_entry(
  $election_event_id: uuid!,
  $id: uuid!
) {
  delete_phone_blacklist_entry(
    election_event_id: $election_event_id,
    id: $id
  ) {
    id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid
}
Response
{
  "data": {
    "delete_phone_blacklist_entry": {
      "id": "abc123"
    }
  }
}

delete_role

Response

Returns a SetUserRoleOutput

Arguments
Name Description
role_id - String!
tenant_id - String!

Example

Query
mutation delete_role(
  $role_id: String!,
  $tenant_id: String!
) {
  delete_role(
    role_id: $role_id,
    tenant_id: $tenant_id
  ) {
    id
  }
}
Variables
{
  "role_id": "xyz789",
  "tenant_id": "xyz789"
}
Response
{"data": {"delete_role": {"id": "abc123"}}}

delete_role_permission

Response

Returns a SetRolePermissionOutput

Arguments
Name Description
permission_name - String!
role_id - String!
tenant_id - String!

Example

Query
mutation delete_role_permission(
  $permission_name: String!,
  $role_id: String!,
  $tenant_id: String!
) {
  delete_role_permission(
    permission_name: $permission_name,
    role_id: $role_id,
    tenant_id: $tenant_id
  ) {
    id
  }
}
Variables
{
  "permission_name": "xyz789",
  "role_id": "abc123",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "delete_role_permission": {
      "id": "abc123"
    }
  }
}

delete_sequent_backend_applications

Description

delete data from the table: "sequent_backend.applications"

Response

Returns an applications_mutation_response

Arguments
Name Description
where - applications_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_applications($where: applications_bool_exp!) {
  delete_sequent_backend_applications(where: $where) {
    affected_rows
    returning {
      ...applicationsFragment
    }
  }
}
Variables
{"where": applications_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_applications": {
      "affected_rows": 123,
      "returning": [applications]
    }
  }
}

delete_sequent_backend_applications_by_pk

Description

delete single row from the table: "sequent_backend.applications"

Response

Returns an applications

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_applications_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_applications_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    applicant_data
    applicant_id
    area_id
    created_at
    election_event_id
    id
    labels
    permission_label
    status
    tenant_id
    updated_at
    verification_type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_applications_by_pk": {
      "annotations": jsonb,
      "applicant_data": jsonb,
      "applicant_id": "abc123",
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "permission_label": "xyz789",
      "status": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "verification_type": "xyz789"
    }
  }
}

delete_sequent_backend_area

Description

delete data from the table: "sequent_backend.area"

Response

Returns an area_mutation_response

Arguments
Name Description
where - area_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_area($where: area_bool_exp!) {
  delete_sequent_backend_area(where: $where) {
    affected_rows
    returning {
      ...areaFragment
    }
  }
}
Variables
{"where": area_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_area": {
      "affected_rows": 123,
      "returning": [area]
    }
  }
}

delete_sequent_backend_area_by_pk

Description

delete single row from the table: "sequent_backend.area"

Response

Returns an area

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_area_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_area_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    presentation
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_area_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "parent_id": uuid,
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

delete_sequent_backend_area_contest

Description

delete data from the table: "sequent_backend.area_contest"

Response

Returns an area_contest_mutation_response

Arguments
Name Description
where - area_contest_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_area_contest($where: area_contest_bool_exp!) {
  delete_sequent_backend_area_contest(where: $where) {
    affected_rows
    returning {
      ...area_contestFragment
    }
  }
}
Variables
{"where": area_contest_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_area_contest": {
      "affected_rows": 123,
      "returning": [area_contest]
    }
  }
}

delete_sequent_backend_area_contest_by_pk

Description

delete single row from the table: "sequent_backend.area_contest"

Response

Returns an area_contest

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_area_contest_by_pk($id: uuid!) {
  delete_sequent_backend_area_contest_by_pk(id: $id) {
    annotations
    area {
      ...areaFragment
    }
    area_id
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_area_contest_by_pk": {
      "annotations": jsonb,
      "area": area,
      "area_id": uuid,
      "contest": contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_ballot_publication

Description

delete data from the table: "sequent_backend.ballot_publication"

Arguments
Name Description
where - ballot_publication_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_ballot_publication($where: ballot_publication_bool_exp!) {
  delete_sequent_backend_ballot_publication(where: $where) {
    affected_rows
    returning {
      ...ballot_publicationFragment
    }
  }
}
Variables
{"where": ballot_publication_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_ballot_publication": {
      "affected_rows": 123,
      "returning": [ballot_publication]
    }
  }
}

delete_sequent_backend_ballot_publication_by_pk

Description

delete single row from the table: "sequent_backend.ballot_publication"

Response

Returns a ballot_publication

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_ballot_publication_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_ballot_publication_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_ballot_publication_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "election_ids": [uuid],
      "id": uuid,
      "is_generated": false,
      "labels": jsonb,
      "published_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_ballot_style

Description

delete data from the table: "sequent_backend.ballot_style"

Response

Returns a ballot_style_mutation_response

Arguments
Name Description
where - ballot_style_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_ballot_style($where: ballot_style_bool_exp!) {
  delete_sequent_backend_ballot_style(where: $where) {
    affected_rows
    returning {
      ...ballot_styleFragment
    }
  }
}
Variables
{"where": ballot_style_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_ballot_style": {
      "affected_rows": 123,
      "returning": [ballot_style]
    }
  }
}

delete_sequent_backend_ballot_style_by_pk

Description

delete single row from the table: "sequent_backend.ballot_style"

Response

Returns a ballot_style

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_ballot_style_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_ballot_style_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_ballot_style_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_eml": "xyz789",
      "ballot_publication_id": uuid,
      "ballot_signature": bytea,
      "created_at": timestamptz,
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": "abc123",
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_candidate

Description

delete data from the table: "sequent_backend.candidate"

Response

Returns a candidate_mutation_response

Arguments
Name Description
where - candidate_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_candidate($where: candidate_bool_exp!) {
  delete_sequent_backend_candidate(where: $where) {
    affected_rows
    returning {
      ...candidateFragment
    }
  }
}
Variables
{"where": candidate_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_candidate": {
      "affected_rows": 987,
      "returning": [candidate]
    }
  }
}

delete_sequent_backend_candidate_by_pk

Description

delete single row from the table: "sequent_backend.candidate"

Response

Returns a candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    contest_id
    created_at
    description
    election_event_id
    external_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    presentation
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_candidate_by_pk": {
      "annotations": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "external_id": "abc123",
      "id": uuid,
      "image_document_id": "xyz789",
      "is_public": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

delete_sequent_backend_certificate_authority

Description

delete data from the table: "sequent_backend.certificate_authority"

Arguments
Name Description
where - certificate_authority_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_certificate_authority($where: certificate_authority_bool_exp!) {
  delete_sequent_backend_certificate_authority(where: $where) {
    affected_rows
    returning {
      ...certificate_authorityFragment
    }
  }
}
Variables
{"where": certificate_authority_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_certificate_authority": {
      "affected_rows": 123,
      "returning": [certificate_authority]
    }
  }
}

delete_sequent_backend_certificate_authority_by_pk

Description

delete single row from the table: "sequent_backend.certificate_authority"

Response

Returns a certificate_authority

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_certificate_authority_by_pk($id: uuid!) {
  delete_sequent_backend_certificate_authority_by_pk(id: $id) {
    common_name
    created_at
    election_event_id
    fingerprint_sha256
    id
    issuer
    issuer_common_name
    not_after
    not_before
    pem
    serial_number
    subject
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_certificate_authority_by_pk": {
      "common_name": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "fingerprint_sha256": "abc123",
      "id": uuid,
      "issuer": "abc123",
      "issuer_common_name": "xyz789",
      "not_after": timestamptz,
      "not_before": timestamptz,
      "pem": "xyz789",
      "serial_number": "abc123",
      "subject": "xyz789",
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_contest

Description

delete data from the table: "sequent_backend.contest"

Response

Returns a contest_mutation_response

Arguments
Name Description
where - contest_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_contest($where: contest_bool_exp!) {
  delete_sequent_backend_contest(where: $where) {
    affected_rows
    returning {
      ...contestFragment
    }
  }
}
Variables
{"where": contest_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_contest": {
      "affected_rows": 987,
      "returning": [contest]
    }
  }
}

delete_sequent_backend_contest_by_pk

Description

delete single row from the table: "sequent_backend.contest"

Response

Returns a contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    candidates {
      ...candidateFragment
    }
    candidates_aggregate {
      ...candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    external_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_contest_by_pk": {
      "annotations": jsonb,
      "candidates": [candidate],
      "candidates_aggregate": candidate_aggregate,
      "conditions": jsonb,
      "counting_algorithm": "abc123",
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "election_id": uuid,
      "external_id": "abc123",
      "id": uuid,
      "image_document_id": "abc123",
      "is_acclaimed": false,
      "is_active": true,
      "is_encrypted": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "max_votes": 123,
      "min_votes": 987,
      "presentation": jsonb,
      "tally_configuration": jsonb,
      "tenant_id": uuid,
      "voting_type": "abc123",
      "winning_candidates_num": 123
    }
  }
}

delete_sequent_backend_document

Description

delete data from the table: "sequent_backend.document"

Response

Returns a document_mutation_response

Arguments
Name Description
where - document_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_document($where: document_bool_exp!) {
  delete_sequent_backend_document(where: $where) {
    affected_rows
    returning {
      ...documentFragment
    }
  }
}
Variables
{"where": document_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_document": {
      "affected_rows": 123,
      "returning": [document]
    }
  }
}

delete_sequent_backend_document_by_pk

Description

delete single row from the table: "sequent_backend.document"

Response

Returns a document

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_document_by_pk($id: uuid!) {
  delete_sequent_backend_document_by_pk(id: $id) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_document_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "is_public": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "media_type": "xyz789",
      "name": "xyz789",
      "size": bigint,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_election

Description

delete data from the table: "sequent_backend.election"

Response

Returns an election_mutation_response

Arguments
Name Description
where - election_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_election($where: election_bool_exp!) {
  delete_sequent_backend_election(where: $where) {
    affected_rows
    returning {
      ...electionFragment
    }
  }
}
Variables
{"where": election_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_election": {
      "affected_rows": 987,
      "returning": [election]
    }
  }
}

delete_sequent_backend_election_by_pk

Description

delete single row from the table: "sequent_backend.election"

Response

Returns an election

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    contests {
      ...contestFragment
    }
    contests_aggregate {
      ...contest_aggregateFragment
    }
    created_at
    description
    election_event_id
    eml
    external_id
    id
    image_document_id
    initialization_report_generated
    is_consolidated_ballot_encoding
    is_kiosk
    keys_ceremony_id
    labels
    last_updated_at
    num_allowed_revotes
    permission_label
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_election_by_pk": {
      "annotations": jsonb,
      "contests": [contest],
      "contests_aggregate": contest_aggregate,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "eml": "xyz789",
      "external_id": "xyz789",
      "id": uuid,
      "image_document_id": "abc123",
      "initialization_report_generated": false,
      "is_consolidated_ballot_encoding": true,
      "is_kiosk": false,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "num_allowed_revotes": 123,
      "permission_label": "abc123",
      "presentation": jsonb,
      "receipts": jsonb,
      "spoil_ballot_option": false,
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "voting_channels": jsonb
    }
  }
}

delete_sequent_backend_election_event

Description

delete data from the table: "sequent_backend.election_event"

Response

Returns an election_event_mutation_response

Arguments
Name Description
where - election_event_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_election_event($where: election_event_bool_exp!) {
  delete_sequent_backend_election_event(where: $where) {
    affected_rows
    returning {
      ...election_eventFragment
    }
  }
}
Variables
{"where": election_event_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_election_event": {
      "affected_rows": 987,
      "returning": [election_event]
    }
  }
}

delete_sequent_backend_election_event_by_pk

Description

delete single row from the table: "sequent_backend.election_event"

Response

Returns an election_event

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_election_event_by_pk($id: uuid!) {
  delete_sequent_backend_election_event_by_pk(id: $id) {
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    description
    elections {
      ...electionFragment
    }
    elections_aggregate {
      ...election_aggregateFragment
    }
    encryption_protocol
    external_id
    id
    is_archived
    is_audit
    labels
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_election_event_by_pk": {
      "annotations": jsonb,
      "audit_election_event_id": uuid,
      "bulletin_board_reference": jsonb,
      "created_at": timestamptz,
      "description": "abc123",
      "elections": [election],
      "elections_aggregate": election_aggregate,
      "encryption_protocol": "abc123",
      "external_id": "xyz789",
      "id": uuid,
      "is_archived": false,
      "is_audit": false,
      "labels": jsonb,
      "presentation": jsonb,
      "public_key": "xyz789",
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "user_boards": "abc123",
      "voting_channels": jsonb
    }
  }
}

delete_sequent_backend_election_result

Description

delete data from the table: "sequent_backend.election_result"

Response

Returns an election_result_mutation_response

Arguments
Name Description
where - election_result_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_election_result($where: election_result_bool_exp!) {
  delete_sequent_backend_election_result(where: $where) {
    affected_rows
    returning {
      ...election_resultFragment
    }
  }
}
Variables
{"where": election_result_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_election_result": {
      "affected_rows": 987,
      "returning": [election_result]
    }
  }
}

delete_sequent_backend_election_result_by_pk

Description

delete single row from the table: "sequent_backend.election_result"

Response

Returns an election_result

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_election_result_by_pk($id: uuid!) {
  delete_sequent_backend_election_result_by_pk(id: $id) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_election_result_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "result_eml": "xyz789",
      "result_eml_signature": bytea,
      "statistics": jsonb,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_election_type

Description

delete data from the table: "sequent_backend.election_type"

Response

Returns an election_type_mutation_response

Arguments
Name Description
where - election_type_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_election_type($where: election_type_bool_exp!) {
  delete_sequent_backend_election_type(where: $where) {
    affected_rows
    returning {
      ...election_typeFragment
    }
  }
}
Variables
{"where": election_type_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_election_type": {
      "affected_rows": 123,
      "returning": [election_type]
    }
  }
}

delete_sequent_backend_election_type_by_pk

Description

delete single row from the table: "sequent_backend.election_type"

Response

Returns an election_type

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_election_type_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_election_type_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_election_type_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "name": "abc123",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

delete_sequent_backend_electoral_log_checkpoint

Description

delete data from the table: "sequent_backend.electoral_log_checkpoint"

Arguments
Name Description
where - electoral_log_checkpoint_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_electoral_log_checkpoint($where: electoral_log_checkpoint_bool_exp!) {
  delete_sequent_backend_electoral_log_checkpoint(where: $where) {
    affected_rows
    returning {
      ...electoral_log_checkpointFragment
    }
  }
}
Variables
{"where": electoral_log_checkpoint_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_electoral_log_checkpoint": {
      "affected_rows": 987,
      "returning": [electoral_log_checkpoint]
    }
  }
}

delete_sequent_backend_electoral_log_checkpoint_by_pk

Description

delete single row from the table: "sequent_backend.electoral_log_checkpoint"

Response

Returns an electoral_log_checkpoint

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_electoral_log_checkpoint_by_pk($id: uuid!) {
  delete_sequent_backend_electoral_log_checkpoint_by_pk(id: $id) {
    board_name
    created_at
    election_event_id
    id
    log_id
    reason
    root
    signature
    signer_pk
    tenant_id
    tree_size
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_electoral_log_checkpoint_by_pk": {
      "board_name": "abc123",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "log_id": bigint,
      "reason": "abc123",
      "root": "abc123",
      "signature": "abc123",
      "signer_pk": "abc123",
      "tenant_id": uuid,
      "tree_size": bigint
    }
  }
}

delete_sequent_backend_event_execution

Description

delete data from the table: "sequent_backend.event_execution"

Response

Returns an event_execution_mutation_response

Arguments
Name Description
where - event_execution_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_event_execution($where: event_execution_bool_exp!) {
  delete_sequent_backend_event_execution(where: $where) {
    affected_rows
    returning {
      ...event_executionFragment
    }
  }
}
Variables
{"where": event_execution_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_event_execution": {
      "affected_rows": 123,
      "returning": [event_execution]
    }
  }
}

delete_sequent_backend_event_execution_by_pk

Description

delete single row from the table: "sequent_backend.event_execution"

Response

Returns an event_execution

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_event_execution_by_pk($id: uuid!) {
  delete_sequent_backend_event_execution_by_pk(id: $id) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_event_execution_by_pk": {
      "annotations": jsonb,
      "election_event_id": uuid,
      "ended_at": timestamptz,
      "execution_payload": jsonb,
      "execution_state": "abc123",
      "id": uuid,
      "labels": jsonb,
      "result_payload": jsonb,
      "scheduled_event_id": uuid,
      "started_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_keys_ceremony

Description

delete data from the table: "sequent_backend.keys_ceremony"

Response

Returns a keys_ceremony_mutation_response

Arguments
Name Description
where - keys_ceremony_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_keys_ceremony($where: keys_ceremony_bool_exp!) {
  delete_sequent_backend_keys_ceremony(where: $where) {
    affected_rows
    returning {
      ...keys_ceremonyFragment
    }
  }
}
Variables
{"where": keys_ceremony_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_keys_ceremony": {
      "affected_rows": 123,
      "returning": [keys_ceremony]
    }
  }
}

delete_sequent_backend_keys_ceremony_by_pk

Description

delete single row from the table: "sequent_backend.keys_ceremony"

Response

Returns a keys_ceremony

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_keys_ceremony_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_keys_ceremony_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    is_default
    keys_ceremony_trustee_ids {
      ...trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...trustee_aggregateFragment
    }
    labels
    last_updated_at
    name
    permission_label
    settings
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_keys_ceremony_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "execution_status": "xyz789",
      "id": uuid,
      "is_default": false,
      "keys_ceremony_trustee_ids": [trustee],
      "keys_ceremony_trustee_ids_aggregate": trustee_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "permission_label": ["abc123"],
      "settings": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "threshold": 123,
      "trustee_ids": [uuid]
    }
  }
}

delete_sequent_backend_lock

Description

delete data from the table: "sequent_backend.lock"

Response

Returns a lock_mutation_response

Arguments
Name Description
where - lock_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_lock($where: lock_bool_exp!) {
  delete_sequent_backend_lock(where: $where) {
    affected_rows
    returning {
      ...lockFragment
    }
  }
}
Variables
{"where": lock_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_lock": {
      "affected_rows": 987,
      "returning": [lock]
    }
  }
}

delete_sequent_backend_lock_by_pk

Description

delete single row from the table: "sequent_backend.lock"

Response

Returns a lock

Arguments
Name Description
key - String!

Example

Query
mutation delete_sequent_backend_lock_by_pk($key: String!) {
  delete_sequent_backend_lock_by_pk(key: $key) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{"key": "abc123"}
Response
{
  "data": {
    "delete_sequent_backend_lock_by_pk": {
      "created_at": timestamptz,
      "expiry_date": timestamptz,
      "key": "abc123",
      "last_updated_at": timestamptz,
      "value": "xyz789"
    }
  }
}

delete_sequent_backend_notification

Description

delete data from the table: "sequent_backend.notification"

Response

Returns a notification_mutation_response

Arguments
Name Description
where - notification_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_notification($where: notification_bool_exp!) {
  delete_sequent_backend_notification(where: $where) {
    affected_rows
    returning {
      ...notificationFragment
    }
  }
}
Variables
{"where": notification_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_notification": {
      "affected_rows": 987,
      "returning": [notification]
    }
  }
}

delete_sequent_backend_notification_by_pk

Description

delete single row from the table: "sequent_backend.notification"

Response

Returns a notification

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_notification_by_pk($id: uuid!) {
  delete_sequent_backend_notification_by_pk(id: $id) {
    alias
    annotations
    created_at
    election_event_id
    election_id
    id
    labels
    name
    template_id
    tenant_id
    type
    updated_at
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_notification_by_pk": {
      "alias": "xyz789",
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "name": "xyz789",
      "template_id": uuid,
      "tenant_id": uuid,
      "type": "xyz789",
      "updated_at": timestamptz
    }
  }
}

delete_sequent_backend_phone_blacklist

Description

delete data from the table: "sequent_backend.phone_blacklist"

Arguments
Name Description
where - phone_blacklist_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_phone_blacklist($where: phone_blacklist_bool_exp!) {
  delete_sequent_backend_phone_blacklist(where: $where) {
    affected_rows
    returning {
      ...phone_blacklistFragment
    }
  }
}
Variables
{"where": phone_blacklist_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_phone_blacklist": {
      "affected_rows": 123,
      "returning": [phone_blacklist]
    }
  }
}

delete_sequent_backend_phone_blacklist_by_pk

Description

delete single row from the table: "sequent_backend.phone_blacklist"

Response

Returns a phone_blacklist

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_phone_blacklist_by_pk($id: uuid!) {
  delete_sequent_backend_phone_blacklist_by_pk(id: $id) {
    created_at
    created_by
    election_event_id
    id
    phone_e164
    reason
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_phone_blacklist_by_pk": {
      "created_at": timestamptz,
      "created_by": uuid,
      "election_event_id": uuid,
      "id": uuid,
      "phone_e164": "xyz789",
      "reason": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

delete_sequent_backend_preview

Description

delete data from the table: "sequent_backend.preview"

Response

Returns a preview_mutation_response

Arguments
Name Description
where - preview_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_preview($where: preview_bool_exp!) {
  delete_sequent_backend_preview(where: $where) {
    affected_rows
    returning {
      ...previewFragment
    }
  }
}
Variables
{"where": preview_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_preview": {
      "affected_rows": 987,
      "returning": [preview]
    }
  }
}

delete_sequent_backend_preview_by_pk

Description

delete single row from the table: "sequent_backend.preview"

Response

Returns a preview

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_preview_by_pk($id: uuid!) {
  delete_sequent_backend_preview_by_pk(id: $id) {
    annotations
    created_at
    document_id
    id
    requested_by
    tenant_id
    updated_at
    url
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_preview_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "document_id": uuid,
      "id": uuid,
      "requested_by": "abc123",
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "url": "abc123"
    }
  }
}

delete_sequent_backend_report

Description

delete data from the table: "sequent_backend.report"

Response

Returns a report_mutation_response

Arguments
Name Description
where - report_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_report($where: report_bool_exp!) {
  delete_sequent_backend_report(where: $where) {
    affected_rows
    returning {
      ...reportFragment
    }
  }
}
Variables
{"where": report_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_report": {
      "affected_rows": 987,
      "returning": [report]
    }
  }
}

delete_sequent_backend_report_by_pk

Description

delete single row from the table: "sequent_backend.report"

Response

Returns a report

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_report_by_pk($id: uuid!) {
  delete_sequent_backend_report_by_pk(id: $id) {
    created_at
    cron_config
    election_event_id
    election_id
    encryption_policy
    id
    permission_label
    report_type
    template_alias
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_report_by_pk": {
      "created_at": timestamptz,
      "cron_config": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "encryption_policy": "xyz789",
      "id": uuid,
      "permission_label": ["xyz789"],
      "report_type": "xyz789",
      "template_alias": "abc123",
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_results_area_contest

Description

delete data from the table: "sequent_backend.results_area_contest"

Arguments
Name Description
where - results_area_contest_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_area_contest($where: results_area_contest_bool_exp!) {
  delete_sequent_backend_results_area_contest(where: $where) {
    affected_rows
    returning {
      ...results_area_contestFragment
    }
  }
}
Variables
{"where": results_area_contest_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_results_area_contest": {
      "affected_rows": 123,
      "returning": [results_area_contest]
    }
  }
}

delete_sequent_backend_results_area_contest_by_pk

Description

delete single row from the table: "sequent_backend.results_area_contest"

Response

Returns a results_area_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_area_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_area_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_area_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "explicit_blank_votes": 123,
      "explicit_blank_votes_percent": numeric,
      "explicit_invalid_votes": 123,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_blank_votes": 123,
      "implicit_blank_votes_percent": numeric,
      "implicit_invalid_votes": 123,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_auditable_votes": 123,
      "total_auditable_votes_percent": numeric,
      "total_blank_votes": 123,
      "total_blank_votes_percent": numeric,
      "total_invalid_votes": 123,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 987,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric
    }
  }
}

delete_sequent_backend_results_area_contest_candidate

Description

delete data from the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
where - results_area_contest_candidate_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_area_contest_candidate($where: results_area_contest_candidate_bool_exp!) {
  delete_sequent_backend_results_area_contest_candidate(where: $where) {
    affected_rows
    returning {
      ...results_area_contest_candidateFragment
    }
  }
}
Variables
{"where": results_area_contest_candidate_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_results_area_contest_candidate": {
      "affected_rows": 987,
      "returning": [results_area_contest_candidate]
    }
  }
}

delete_sequent_backend_results_area_contest_candidate_by_pk

Description

delete single row from the table: "sequent_backend.results_area_contest_candidate"

Response

Returns a results_area_contest_candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_area_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_area_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_area_contest_candidate_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "candidate_id": uuid,
      "cast_votes": 123,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 987,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 123
    }
  }
}

delete_sequent_backend_results_contest

Description

delete data from the table: "sequent_backend.results_contest"

Arguments
Name Description
where - results_contest_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_contest($where: results_contest_bool_exp!) {
  delete_sequent_backend_results_contest(where: $where) {
    affected_rows
    returning {
      ...results_contestFragment
    }
  }
}
Variables
{"where": results_contest_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_results_contest": {
      "affected_rows": 987,
      "returning": [results_contest]
    }
  }
}

delete_sequent_backend_results_contest_by_pk

Description

delete single row from the table: "sequent_backend.results_contest"

Response

Returns a results_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_contest_by_pk": {
      "annotations": jsonb,
      "contest_id": uuid,
      "counting_algorithm": "abc123",
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "explicit_blank_votes": 123,
      "explicit_blank_votes_percent": numeric,
      "explicit_invalid_votes": 123,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_blank_votes": 987,
      "implicit_blank_votes_percent": numeric,
      "implicit_invalid_votes": 987,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_auditable_votes": 987,
      "total_auditable_votes_percent": numeric,
      "total_blank_votes": 123,
      "total_blank_votes_percent": numeric,
      "total_invalid_votes": 987,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 123,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric,
      "voting_type": "xyz789"
    }
  }
}

delete_sequent_backend_results_contest_candidate

Description

delete data from the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
where - results_contest_candidate_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_contest_candidate($where: results_contest_candidate_bool_exp!) {
  delete_sequent_backend_results_contest_candidate(where: $where) {
    affected_rows
    returning {
      ...results_contest_candidateFragment
    }
  }
}
Variables
{"where": results_contest_candidate_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_results_contest_candidate": {
      "affected_rows": 987,
      "returning": [results_contest_candidate]
    }
  }
}

delete_sequent_backend_results_contest_candidate_by_pk

Description

delete single row from the table: "sequent_backend.results_contest_candidate"

Response

Returns a results_contest_candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_contest_candidate_by_pk": {
      "annotations": jsonb,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 987
    }
  }
}

delete_sequent_backend_results_election

Description

delete data from the table: "sequent_backend.results_election"

Arguments
Name Description
where - results_election_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_election($where: results_election_bool_exp!) {
  delete_sequent_backend_results_election(where: $where) {
    affected_rows
    returning {
      ...results_electionFragment
    }
  }
}
Variables
{"where": results_election_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_results_election": {
      "affected_rows": 987,
      "returning": [results_election]
    }
  }
}

delete_sequent_backend_results_election_area

Description

delete data from the table: "sequent_backend.results_election_area"

Arguments
Name Description
where - results_election_area_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_election_area($where: results_election_area_bool_exp!) {
  delete_sequent_backend_results_election_area(where: $where) {
    affected_rows
    returning {
      ...results_election_areaFragment
    }
  }
}
Variables
{"where": results_election_area_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_results_election_area": {
      "affected_rows": 123,
      "returning": [results_election_area]
    }
  }
}

delete_sequent_backend_results_election_area_by_pk

Description

delete single row from the table: "sequent_backend.results_election_area"

Response

Returns a results_election_area

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_election_area_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_election_area_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    area_id
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    id
    last_updated_at
    name
    results_event_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_election_area_by_pk": {
      "area_id": uuid,
      "blank_ballots": 987,
      "blank_ballots_percent": numeric,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_results_election_by_pk

Description

delete single row from the table: "sequent_backend.results_election"

Response

Returns a results_election

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_election_by_pk": {
      "annotations": jsonb,
      "blank_ballots": 987,
      "blank_ballots_percent": numeric,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_voters": 123,
      "total_voters_percent": numeric
    }
  }
}

delete_sequent_backend_results_event

Description

delete data from the table: "sequent_backend.results_event"

Response

Returns a results_event_mutation_response

Arguments
Name Description
where - results_event_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_event($where: results_event_bool_exp!) {
  delete_sequent_backend_results_event(where: $where) {
    affected_rows
    returning {
      ...results_eventFragment
    }
  }
}
Variables
{"where": results_event_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_results_event": {
      "affected_rows": 123,
      "returning": [results_event]
    }
  }
}

delete_sequent_backend_results_event_by_pk

Description

delete single row from the table: "sequent_backend.results_event"

Response

Returns a results_event

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_event_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_event_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_scheduled_event

Description

delete data from the table: "sequent_backend.scheduled_event"

Arguments
Name Description
where - scheduled_event_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_scheduled_event($where: scheduled_event_bool_exp!) {
  delete_sequent_backend_scheduled_event(where: $where) {
    affected_rows
    returning {
      ...scheduled_eventFragment
    }
  }
}
Variables
{"where": scheduled_event_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_scheduled_event": {
      "affected_rows": 123,
      "returning": [scheduled_event]
    }
  }
}

delete_sequent_backend_scheduled_event_by_pk

Description

delete single row from the table: "sequent_backend.scheduled_event"

Response

Returns a scheduled_event

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_scheduled_event_by_pk($id: uuid!) {
  delete_sequent_backend_scheduled_event_by_pk(id: $id) {
    annotations
    archived_at
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_scheduled_event_by_pk": {
      "annotations": jsonb,
      "archived_at": timestamptz,
      "created_at": timestamptz,
      "created_by": "abc123",
      "cron_config": jsonb,
      "election_event_id": uuid,
      "event_payload": jsonb,
      "event_processor": "abc123",
      "id": uuid,
      "labels": jsonb,
      "stopped_at": timestamptz,
      "task_id": "xyz789",
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_secret

Description

delete data from the table: "sequent_backend.secret"

Response

Returns a secret_mutation_response

Arguments
Name Description
where - secret_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_secret($where: secret_bool_exp!) {
  delete_sequent_backend_secret(where: $where) {
    affected_rows
    returning {
      ...secretFragment
    }
  }
}
Variables
{"where": secret_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_secret": {
      "affected_rows": 123,
      "returning": [secret]
    }
  }
}

delete_sequent_backend_secret_by_pk

Description

delete single row from the table: "sequent_backend.secret"

Response

Returns a secret

Arguments
Name Description
id - uuid!
key - String!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_secret_by_pk(
  $id: uuid!,
  $key: String!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_secret_by_pk(
    id: $id,
    key: $key,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    election_event_id
    id
    key
    labels
    tenant_id
    value
  }
}
Variables
{
  "id": uuid,
  "key": "abc123",
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_secret_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "key": "abc123",
      "labels": jsonb,
      "tenant_id": uuid,
      "value": bytea
    }
  }
}

delete_sequent_backend_support_material

Description

delete data from the table: "sequent_backend.support_material"

Arguments
Name Description
where - support_material_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_support_material($where: support_material_bool_exp!) {
  delete_sequent_backend_support_material(where: $where) {
    affected_rows
    returning {
      ...support_materialFragment
    }
  }
}
Variables
{"where": support_material_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_support_material": {
      "affected_rows": 123,
      "returning": [support_material]
    }
  }
}

delete_sequent_backend_support_material_by_pk

Description

delete single row from the table: "sequent_backend.support_material"

Response

Returns a support_material

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_support_material_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_support_material_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_support_material_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "data": jsonb,
      "document_id": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "is_hidden": true,
      "kind": "abc123",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_tally_results_publication

Description

delete data from the table: "sequent_backend.tally_results_publication"

Arguments
Name Description
where - tally_results_publication_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_results_publication($where: tally_results_publication_bool_exp!) {
  delete_sequent_backend_tally_results_publication(where: $where) {
    affected_rows
    returning {
      ...tally_results_publicationFragment
    }
  }
}
Variables
{"where": tally_results_publication_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tally_results_publication": {
      "affected_rows": 123,
      "returning": [tally_results_publication]
    }
  }
}

delete_sequent_backend_tally_results_publication_by_pk

Description

delete single row from the table: "sequent_backend.tally_results_publication"

Response

Returns a tally_results_publication

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_tally_results_publication_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_tally_results_publication_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    access
    contest_publication_state
    created_at
    documents
    election_event_id
    election_ids
    error_message
    id
    manifest
    publication_status
    published_at
    published_by_user_id
    published_contest_ids
    results_event_id
    revoked_at
    route_election_id
    route_scope
    tally_session_execution_id
    tally_session_id
    task_execution_id
    tenant_id
    updated_at
    version
    visibility_scope
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_tally_results_publication_by_pk": {
      "access": "xyz789",
      "contest_publication_state": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "error_message": "xyz789",
      "id": uuid,
      "manifest": jsonb,
      "publication_status": "abc123",
      "published_at": timestamptz,
      "published_by_user_id": uuid,
      "published_contest_ids": jsonb,
      "results_event_id": uuid,
      "revoked_at": timestamptz,
      "route_election_id": uuid,
      "route_scope": "abc123",
      "tally_session_execution_id": uuid,
      "tally_session_id": uuid,
      "task_execution_id": uuid,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "version": 987,
      "visibility_scope": "abc123"
    }
  }
}

delete_sequent_backend_tally_session

Description

delete data from the table: "sequent_backend.tally_session"

Response

Returns a tally_session_mutation_response

Arguments
Name Description
where - tally_session_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_session($where: tally_session_bool_exp!) {
  delete_sequent_backend_tally_session(where: $where) {
    affected_rows
    returning {
      ...tally_sessionFragment
    }
  }
}
Variables
{"where": tally_session_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tally_session": {
      "affected_rows": 123,
      "returning": [tally_session]
    }
  }
}

delete_sequent_backend_tally_session_by_pk

Description

delete single row from the table: "sequent_backend.tally_session"

Response

Returns a tally_session

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_tally_session_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_tally_session_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_ids
    configuration
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    permission_label
    resolutions {
      ...tally_session_resolutionFragment
    }
    resolutions_aggregate {
      ...tally_session_resolution_aggregateFragment
    }
    tally_type
    tenant_id
    threshold
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_by_pk": {
      "annotations": jsonb,
      "area_ids": [uuid],
      "configuration": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "execution_status": "abc123",
      "id": uuid,
      "is_execution_completed": true,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "permission_label": ["abc123"],
      "resolutions": [tally_session_resolution],
      "resolutions_aggregate": tally_session_resolution_aggregate,
      "tally_type": "abc123",
      "tenant_id": uuid,
      "threshold": 987
    }
  }
}

delete_sequent_backend_tally_session_contest

Description

delete data from the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
where - tally_session_contest_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_session_contest($where: tally_session_contest_bool_exp!) {
  delete_sequent_backend_tally_session_contest(where: $where) {
    affected_rows
    returning {
      ...tally_session_contestFragment
    }
  }
}
Variables
{"where": tally_session_contest_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_contest": {
      "affected_rows": 123,
      "returning": [tally_session_contest]
    }
  }
}

delete_sequent_backend_tally_session_contest_by_pk

Description

delete single row from the table: "sequent_backend.tally_session_contest"

Response

Returns a tally_session_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_tally_session_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_tally_session_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "session_id": 123,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_tally_session_execution

Description

delete data from the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
where - tally_session_execution_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_session_execution($where: tally_session_execution_bool_exp!) {
  delete_sequent_backend_tally_session_execution(where: $where) {
    affected_rows
    returning {
      ...tally_session_executionFragment
    }
  }
}
Variables
{"where": tally_session_execution_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_execution": {
      "affected_rows": 123,
      "returning": [tally_session_execution]
    }
  }
}

delete_sequent_backend_tally_session_execution_by_pk

Description

delete single row from the table: "sequent_backend.tally_session_execution"

Response

Returns a tally_session_execution

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_tally_session_execution_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_tally_session_execution_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    current_message_id
    documents
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    run_reason
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_execution_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "current_message_id": 123,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "run_reason": "abc123",
      "session_ids": [987],
      "status": jsonb,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_tally_session_resolution

Description

delete data from the table: "sequent_backend.tally_session_resolution"

Arguments
Name Description
where - tally_session_resolution_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_session_resolution($where: tally_session_resolution_bool_exp!) {
  delete_sequent_backend_tally_session_resolution(where: $where) {
    affected_rows
    returning {
      ...tally_session_resolutionFragment
    }
  }
}
Variables
{"where": tally_session_resolution_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_resolution": {
      "affected_rows": 123,
      "returning": [tally_session_resolution]
    }
  }
}

delete_sequent_backend_tally_session_resolution_by_pk

Description

delete single row from the table: "sequent_backend.tally_session_resolution"

Response

Returns a tally_session_resolution

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_tally_session_resolution_by_pk($id: uuid!) {
  delete_sequent_backend_tally_session_resolution_by_pk(id: $id) {
    annotations
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    resolution_data
    resolution_type
    resolved_at
    resolved_by_user
    status
    tally_session {
      ...tally_sessionFragment
    }
    tally_session_id
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_resolution_by_pk": {
      "annotations": jsonb,
      "contest": contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "resolution_data": jsonb,
      "resolution_type": "abc123",
      "resolved_at": timestamptz,
      "resolved_by_user": uuid,
      "status": "abc123",
      "tally_session": tally_session,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_tally_sheet

Description

delete data from the table: "sequent_backend.tally_sheet"

Response

Returns a tally_sheet_mutation_response

Arguments
Name Description
where - tally_sheet_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_sheet($where: tally_sheet_bool_exp!) {
  delete_sequent_backend_tally_sheet(where: $where) {
    affected_rows
    returning {
      ...tally_sheetFragment
    }
  }
}
Variables
{"where": tally_sheet_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tally_sheet": {
      "affected_rows": 987,
      "returning": [tally_sheet]
    }
  }
}

delete_sequent_backend_tally_sheet_by_pk

Description

delete single row from the table: "sequent_backend.tally_sheet"

Response

Returns a tally_sheet

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_tally_sheet_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_tally_sheet_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    import_id
    labels
    last_updated_at
    reviewed_at
    reviewed_by_user_id
    source_import {
      ...tally_sheet_importFragment
    }
    status
    tenant_id
    version
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_tally_sheet_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "channel": "xyz789",
      "content": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "created_by_user_id": "xyz789",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "import_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "reviewed_at": timestamptz,
      "reviewed_by_user_id": "xyz789",
      "source_import": tally_sheet_import,
      "status": "xyz789",
      "tenant_id": uuid,
      "version": 987
    }
  }
}

delete_sequent_backend_tally_sheet_import

Description

delete data from the table: "sequent_backend.tally_sheet_import"

Arguments
Name Description
where - tally_sheet_import_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_sheet_import($where: tally_sheet_import_bool_exp!) {
  delete_sequent_backend_tally_sheet_import(where: $where) {
    affected_rows
    returning {
      ...tally_sheet_importFragment
    }
  }
}
Variables
{"where": tally_sheet_import_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tally_sheet_import": {
      "affected_rows": 987,
      "returning": [tally_sheet_import]
    }
  }
}

delete_sequent_backend_tally_sheet_import_by_pk

Description

delete single row from the table: "sequent_backend.tally_sheet_import"

Response

Returns a tally_sheet_import

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_tally_sheet_import_by_pk($id: uuid!) {
  delete_sequent_backend_tally_sheet_import_by_pk(id: $id) {
    annotations
    canonical_csv_sha256
    created_at
    created_by_user_id
    election_event_id
    id
    items {
      ...tally_sheet_import_itemFragment
    }
    items_aggregate {
      ...tally_sheet_import_item_aggregateFragment
    }
    labels
    last_updated_at
    selected_channel
    source_document {
      ...documentFragment
    }
    source_document_id
    source_file_name
    source_format
    source_sha256
    status
    summary
    tenant_id
    validation_report
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_tally_sheet_import_by_pk": {
      "annotations": jsonb,
      "canonical_csv_sha256": "abc123",
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "election_event_id": uuid,
      "id": uuid,
      "items": [tally_sheet_import_item],
      "items_aggregate": tally_sheet_import_item_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "selected_channel": "xyz789",
      "source_document": document,
      "source_document_id": uuid,
      "source_file_name": "xyz789",
      "source_format": "abc123",
      "source_sha256": "abc123",
      "status": "abc123",
      "summary": jsonb,
      "tenant_id": uuid,
      "validation_report": jsonb
    }
  }
}

delete_sequent_backend_tally_sheet_import_item

Description

delete data from the table: "sequent_backend.tally_sheet_import_item"

Arguments
Name Description
where - tally_sheet_import_item_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_sheet_import_item($where: tally_sheet_import_item_bool_exp!) {
  delete_sequent_backend_tally_sheet_import_item(where: $where) {
    affected_rows
    returning {
      ...tally_sheet_import_itemFragment
    }
  }
}
Variables
{"where": tally_sheet_import_item_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tally_sheet_import_item": {
      "affected_rows": 123,
      "returning": [tally_sheet_import_item]
    }
  }
}

delete_sequent_backend_tally_sheet_import_item_by_pk

Description

delete single row from the table: "sequent_backend.tally_sheet_import_item"

Response

Returns a tally_sheet_import_item

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_tally_sheet_import_item_by_pk($id: uuid!) {
  delete_sequent_backend_tally_sheet_import_item_by_pk(id: $id) {
    annotations
    area_id
    baseline_approved_tally_sheet_id
    baseline_approved_version
    baseline_content_hash
    change_type
    channel
    contest_id
    created_at
    election_event_id
    election_id
    generated_tally_sheet {
      ...tally_sheetFragment
    }
    generated_tally_sheet_id
    id
    import {
      ...tally_sheet_importFragment
    }
    import_id
    incoming_content_hash
    incoming_csv
    labels
    last_updated_at
    previous_csv
    source_refs
    status
    tenant_id
    validation_warnings
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_tally_sheet_import_item_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "baseline_approved_tally_sheet_id": uuid,
      "baseline_approved_version": 123,
      "baseline_content_hash": "xyz789",
      "change_type": "xyz789",
      "channel": "abc123",
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "generated_tally_sheet": tally_sheet,
      "generated_tally_sheet_id": uuid,
      "id": uuid,
      "import": tally_sheet_import,
      "import_id": uuid,
      "incoming_content_hash": "xyz789",
      "incoming_csv": "xyz789",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "previous_csv": "xyz789",
      "source_refs": jsonb,
      "status": "abc123",
      "tenant_id": uuid,
      "validation_warnings": jsonb
    }
  }
}

delete_sequent_backend_tasks_execution

Description

delete data from the table: "sequent_backend.tasks_execution"

Arguments
Name Description
where - tasks_execution_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tasks_execution($where: tasks_execution_bool_exp!) {
  delete_sequent_backend_tasks_execution(where: $where) {
    affected_rows
    returning {
      ...tasks_executionFragment
    }
  }
}
Variables
{"where": tasks_execution_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tasks_execution": {
      "affected_rows": 123,
      "returning": [tasks_execution]
    }
  }
}

delete_sequent_backend_tasks_execution_by_pk

Description

delete single row from the table: "sequent_backend.tasks_execution"

Response

Returns a tasks_execution

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_tasks_execution_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_tasks_execution_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    election_event_id
    end_at
    executed_by_user
    execution_status
    id
    labels
    logs
    name
    start_at
    tenant {
      ...tenantFragment
    }
    tenant_id
    type
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_tasks_execution_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "end_at": timestamptz,
      "executed_by_user": "xyz789",
      "execution_status": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "logs": json,
      "name": "xyz789",
      "start_at": timestamptz,
      "tenant": tenant,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

delete_sequent_backend_template

Description

delete data from the table: "sequent_backend.template"

Response

Returns a template_mutation_response

Arguments
Name Description
where - template_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_template($where: template_bool_exp!) {
  delete_sequent_backend_template(where: $where) {
    affected_rows
    returning {
      ...templateFragment
    }
  }
}
Variables
{"where": template_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_template": {
      "affected_rows": 987,
      "returning": [template]
    }
  }
}

delete_sequent_backend_template_by_pk

Description

delete single row from the table: "sequent_backend.template"

Response

Returns a template

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_template_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_template_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    alias
    annotations
    communication_method
    created_at
    created_by
    id
    labels
    template
    tenant_id
    type
    updated_at
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_template_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "communication_method": "xyz789",
      "created_at": timestamptz,
      "created_by": "abc123",
      "id": uuid,
      "labels": jsonb,
      "template": jsonb,
      "tenant_id": uuid,
      "type": "xyz789",
      "updated_at": timestamptz
    }
  }
}

delete_sequent_backend_tenant

Description

delete data from the table: "sequent_backend.tenant"

Response

Returns a tenant_mutation_response

Arguments
Name Description
where - tenant_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tenant($where: tenant_bool_exp!) {
  delete_sequent_backend_tenant(where: $where) {
    affected_rows
    returning {
      ...tenantFragment
    }
  }
}
Variables
{"where": tenant_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tenant": {
      "affected_rows": 987,
      "returning": [tenant]
    }
  }
}

delete_sequent_backend_tenant_by_pk

Description

delete single row from the table: "sequent_backend.tenant"

Response

Returns a tenant

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_tenant_by_pk($id: uuid!) {
  delete_sequent_backend_tenant_by_pk(id: $id) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    test
    updated_at
    voting_channels
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_tenant_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "is_active": true,
      "labels": jsonb,
      "settings": jsonb,
      "slug": "abc123",
      "test": 987,
      "updated_at": timestamptz,
      "voting_channels": jsonb
    }
  }
}

delete_sequent_backend_trustee

Description

delete data from the table: "sequent_backend.trustee"

Response

Returns a trustee_mutation_response

Arguments
Name Description
where - trustee_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_trustee($where: trustee_bool_exp!) {
  delete_sequent_backend_trustee(where: $where) {
    affected_rows
    returning {
      ...trusteeFragment
    }
  }
}
Variables
{"where": trustee_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_trustee": {
      "affected_rows": 123,
      "returning": [trustee]
    }
  }
}

delete_sequent_backend_trustee_by_pk

Description

delete single row from the table: "sequent_backend.trustee"

Response

Returns a trustee

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_trustee_by_pk($id: uuid!) {
  delete_sequent_backend_trustee_by_pk(id: $id) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_trustee_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "public_key": "xyz789",
      "tenant_id": uuid
    }
  }
}

delete_tenant

Description

delete_tenant

Response

Returns a DeleteTenant

Arguments
Name Description
tenant_id - String!

Example

Query
mutation delete_tenant($tenant_id: String!) {
  delete_tenant(tenant_id: $tenant_id) {
    error_msg
    id
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{"tenant_id": "abc123"}
Response
{
  "data": {
    "delete_tenant": {
      "error_msg": "abc123",
      "id": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

delete_user

Response

Returns a DeleteUserOutput

Arguments
Name Description
election_event_id - String
tenant_id - String!
user_id - String!

Example

Query
mutation delete_user(
  $election_event_id: String,
  $tenant_id: String!,
  $user_id: String!
) {
  delete_user(
    election_event_id: $election_event_id,
    tenant_id: $tenant_id,
    user_id: $user_id
  ) {
    id
  }
}
Variables
{
  "election_event_id": "xyz789",
  "tenant_id": "xyz789",
  "user_id": "abc123"
}
Response
{"data": {"delete_user": {"id": "xyz789"}}}

delete_user_role

Response

Returns a SetUserRoleOutput

Arguments
Name Description
role_id - String!
tenant_id - String!
user_id - String!

Example

Query
mutation delete_user_role(
  $role_id: String!,
  $tenant_id: String!,
  $user_id: String!
) {
  delete_user_role(
    role_id: $role_id,
    tenant_id: $tenant_id,
    user_id: $user_id
  ) {
    id
  }
}
Variables
{
  "role_id": "xyz789",
  "tenant_id": "xyz789",
  "user_id": "xyz789"
}
Response
{
  "data": {
    "delete_user_role": {"id": "xyz789"}
  }
}

delete_users

Description

delete users

Response

Returns a DeleteUsersOutput

Arguments
Name Description
attributes - json
authorized_to_election_alias - String
election_event_id - String
election_id - String
email - json
email_verified - Boolean
enabled - Boolean
first_name - json
has_voted - Boolean
last_name - json
select_all - Boolean
tenant_id - String!
username - json
users_id - [String!]

Example

Query
mutation delete_users(
  $attributes: json,
  $authorized_to_election_alias: String,
  $election_event_id: String,
  $election_id: String,
  $email: json,
  $email_verified: Boolean,
  $enabled: Boolean,
  $first_name: json,
  $has_voted: Boolean,
  $last_name: json,
  $select_all: Boolean,
  $tenant_id: String!,
  $username: json,
  $users_id: [String!]
) {
  delete_users(
    attributes: $attributes,
    authorized_to_election_alias: $authorized_to_election_alias,
    election_event_id: $election_event_id,
    election_id: $election_id,
    email: $email,
    email_verified: $email_verified,
    enabled: $enabled,
    first_name: $first_name,
    has_voted: $has_voted,
    last_name: $last_name,
    select_all: $select_all,
    tenant_id: $tenant_id,
    username: $username,
    users_id: $users_id
  ) {
    error_msg
    ids
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "attributes": json,
  "authorized_to_election_alias": "xyz789",
  "election_event_id": "abc123",
  "election_id": "xyz789",
  "email": json,
  "email_verified": false,
  "enabled": false,
  "first_name": json,
  "has_voted": false,
  "last_name": json,
  "select_all": false,
  "tenant_id": "xyz789",
  "username": json,
  "users_id": ["abc123"]
}
Response
{
  "data": {
    "delete_users": {
      "error_msg": "xyz789",
      "ids": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

edit_user

Response

Returns an EditUserOutput!

Arguments
Name Description
body - EditUsersInput!

Example

Query
mutation edit_user($body: EditUsersInput!) {
  edit_user(body: $body) {
    task_execution {
      ...tasks_execution_typeFragment
    }
    user {
      ...KeycloakUserFragment
    }
  }
}
Variables
{"body": EditUsersInput}
Response
{
  "data": {
    "edit_user": {
      "task_execution": tasks_execution_type,
      "user": KeycloakUser
    }
  }
}

encrypt_report

Response

Returns an EncryptReportOutput

Arguments
Name Description
election_event_id - String!
password - String!
report_id - String

Example

Query
mutation encrypt_report(
  $election_event_id: String!,
  $password: String!,
  $report_id: String
) {
  encrypt_report(
    election_event_id: $election_event_id,
    password: $password,
    report_id: $report_id
  ) {
    document_id
    error_msg
  }
}
Variables
{
  "election_event_id": "xyz789",
  "password": "xyz789",
  "report_id": "xyz789"
}
Response
{
  "data": {
    "encrypt_report": {
      "document_id": "abc123",
      "error_msg": "xyz789"
    }
  }
}

exportTrustees

Response

Returns an ExportTrusteesOutput

Arguments
Name Description
password - String!

Example

Query
mutation exportTrustees($password: String!) {
  exportTrustees(password: $password) {
    document_id
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{"password": "abc123"}
Response
{
  "data": {
    "exportTrustees": {
      "document_id": "xyz789",
      "error_msg": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

export_application

Response

Returns an ExportApplicationOutput

Arguments
Name Description
election_event_id - String
election_id - String
tenant_id - String!

Example

Query
mutation export_application(
  $election_event_id: String,
  $election_id: String,
  $tenant_id: String!
) {
  export_application(
    election_event_id: $election_event_id,
    election_id: $election_id,
    tenant_id: $tenant_id
  ) {
    document_id
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": "abc123",
  "election_id": "xyz789",
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "export_application": {
      "document_id": "xyz789",
      "error_msg": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

export_ballot_publication

Response

Returns an ExportBallotPublicationOutput

Arguments
Name Description
ballot_publication_id - String!
election_event_id - String!
election_id - String
tenant_id - String!

Example

Query
mutation export_ballot_publication(
  $ballot_publication_id: String!,
  $election_event_id: String!,
  $election_id: String,
  $tenant_id: String!
) {
  export_ballot_publication(
    ballot_publication_id: $ballot_publication_id,
    election_event_id: $election_event_id,
    election_id: $election_id,
    tenant_id: $tenant_id
  ) {
    document_id
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "ballot_publication_id": "abc123",
  "election_event_id": "abc123",
  "election_id": "xyz789",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "export_ballot_publication": {
      "document_id": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

export_certificate_authority

Description

Export certificate authorities as a PEM bundle for an election event

Response

Returns an ExportCertificateAuthorityOutput

Arguments
Name Description
election_event_id - uuid!
ids - [uuid!]!

Example

Query
mutation export_certificate_authority(
  $election_event_id: uuid!,
  $ids: [uuid!]!
) {
  export_certificate_authority(
    election_event_id: $election_event_id,
    ids: $ids
  ) {
    document_id
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": uuid,
  "ids": [uuid]
}
Response
{
  "data": {
    "export_certificate_authority": {
      "document_id": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

export_election_event

Response

Returns an ExportElectionEventOutput

Arguments
Name Description
election_event_id - String
export_configurations - ExportOptions

Example

Query
mutation export_election_event(
  $election_event_id: String,
  $export_configurations: ExportOptions
) {
  export_election_event(
    election_event_id: $election_event_id,
    export_configurations: $export_configurations
  ) {
    document_id
    password
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": "abc123",
  "export_configurations": ExportOptions
}
Response
{
  "data": {
    "export_election_event": {
      "document_id": "xyz789",
      "password": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

export_election_event_logs

Response

Returns an ExportLogsOutput

Arguments
Name Description
election_event_id - String!
format - String!

Example

Query
mutation export_election_event_logs(
  $election_event_id: String!,
  $format: String!
) {
  export_election_event_logs(
    election_event_id: $election_event_id,
    format: $format
  ) {
    document_id
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": "abc123",
  "format": "xyz789"
}
Response
{
  "data": {
    "export_election_event_logs": {
      "document_id": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

export_election_event_tasks

Response

Returns an ExportTasksOutput

Arguments
Name Description
election_event_id - String

Example

Query
mutation export_election_event_tasks($election_event_id: String) {
  export_election_event_tasks(election_event_id: $election_event_id) {
    document_id
    task_id
  }
}
Variables
{"election_event_id": "xyz789"}
Response
{
  "data": {
    "export_election_event_tasks": {
      "document_id": "abc123",
      "task_id": "abc123"
    }
  }
}

export_tally_results

Response

Returns an ExportTallyResultsOutput

Arguments
Name Description
election_event_id - String!
tally_session_id - String!

Example

Query
mutation export_tally_results(
  $election_event_id: String!,
  $tally_session_id: String!
) {
  export_tally_results(
    election_event_id: $election_event_id,
    tally_session_id: $tally_session_id
  ) {
    document_id
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": "xyz789",
  "tally_session_id": "xyz789"
}
Response
{
  "data": {
    "export_tally_results": {
      "document_id": "xyz789",
      "error_msg": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

export_tasks_execution

Response

Returns an ExportTasksExecutionOutput

Arguments
Name Description
election_event_id - String!
tenant_id - String!

Example

Query
mutation export_tasks_execution(
  $election_event_id: String!,
  $tenant_id: String!
) {
  export_tasks_execution(
    election_event_id: $election_event_id,
    tenant_id: $tenant_id
  ) {
    document_id
    error_msg
  }
}
Variables
{
  "election_event_id": "xyz789",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "export_tasks_execution": {
      "document_id": "abc123",
      "error_msg": "abc123"
    }
  }
}

export_template

Response

Returns an ExportTemplateOutput

Arguments
Name Description
election_event_id - String
election_id - String
tenant_id - String!

Example

Query
mutation export_template(
  $election_event_id: String,
  $election_id: String,
  $tenant_id: String!
) {
  export_template(
    election_event_id: $election_event_id,
    election_id: $election_id,
    tenant_id: $tenant_id
  ) {
    document_id
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": "abc123",
  "election_id": "xyz789",
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "export_template": {
      "document_id": "xyz789",
      "error_msg": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

export_tenant_config

Response

Returns a documentTaskOutput

Arguments
Name Description
tenant_id - String

Example

Query
mutation export_tenant_config($tenant_id: String) {
  export_tenant_config(tenant_id: $tenant_id) {
    document_id
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{"tenant_id": "abc123"}
Response
{
  "data": {
    "export_tenant_config": {
      "document_id": "xyz789",
      "error_msg": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

export_tenant_users

Response

Returns an ExportTenantUsersOutput

Arguments
Name Description
tenant_id - String!

Example

Query
mutation export_tenant_users($tenant_id: String!) {
  export_tenant_users(tenant_id: $tenant_id) {
    document_id
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{"tenant_id": "abc123"}
Response
{
  "data": {
    "export_tenant_users": {
      "document_id": "abc123",
      "error_msg": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

export_users

Response

Returns an ExportUsersOutput

Arguments
Name Description
election_event_id - String
election_id - String
include_secret_attributes - Boolean
tenant_id - String!

Example

Query
mutation export_users(
  $election_event_id: String,
  $election_id: String,
  $include_secret_attributes: Boolean,
  $tenant_id: String!
) {
  export_users(
    election_event_id: $election_event_id,
    election_id: $election_id,
    include_secret_attributes: $include_secret_attributes,
    tenant_id: $tenant_id
  ) {
    document_id
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": "abc123",
  "election_id": "xyz789",
  "include_secret_attributes": true,
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "export_users": {
      "document_id": "xyz789",
      "error_msg": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

generate_ballot_publication

Response

Returns a GenerateBallotPublicationOutput

Arguments
Name Description
election_event_id - uuid!
election_id - uuid

Example

Query
mutation generate_ballot_publication(
  $election_event_id: uuid!,
  $election_id: uuid
) {
  generate_ballot_publication(
    election_event_id: $election_event_id,
    election_id: $election_id
  ) {
    ballot_publication_id
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": uuid,
  "election_id": uuid
}
Response
{
  "data": {
    "generate_ballot_publication": {
      "ballot_publication_id": uuid,
      "task_execution": tasks_execution_type
    }
  }
}

generate_google_meet

Description

generate Google Meet link for election events

Response

Returns a GenerateGoogleMeetOutput

Arguments
Name Description
attendee_emails - [String!]!
description - String!
end_date_time - String!
start_date_time - String!
summary - String!
time_zone - String!

Example

Query
mutation generate_google_meet(
  $attendee_emails: [String!]!,
  $description: String!,
  $end_date_time: String!,
  $start_date_time: String!,
  $summary: String!,
  $time_zone: String!
) {
  generate_google_meet(
    attendee_emails: $attendee_emails,
    description: $description,
    end_date_time: $end_date_time,
    start_date_time: $start_date_time,
    summary: $summary,
    time_zone: $time_zone
  ) {
    meet_link
  }
}
Variables
{
  "attendee_emails": ["xyz789"],
  "description": "xyz789",
  "end_date_time": "xyz789",
  "start_date_time": "xyz789",
  "summary": "xyz789",
  "time_zone": "abc123"
}
Response
{
  "data": {
    "generate_google_meet": {
      "meet_link": "abc123"
    }
  }
}

generate_preview_url

Response

Returns a GeneratePreviewUrlOutput

Arguments
Name Description
document_id - String!
tenant_id - String!

Example

Query
mutation generate_preview_url(
  $document_id: String!,
  $tenant_id: String!
) {
  generate_preview_url(
    document_id: $document_id,
    tenant_id: $tenant_id
  ) {
    preview_url
  }
}
Variables
{
  "document_id": "abc123",
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "generate_preview_url": {
      "preview_url": "abc123"
    }
  }
}

generate_report

Response

Returns a generateReportOutput

Arguments
Name Description
election_event_id - String
report_id - String!
report_mode - String!
tenant_id - String!

Example

Query
mutation generate_report(
  $election_event_id: String,
  $report_id: String!,
  $report_mode: String!,
  $tenant_id: String!
) {
  generate_report(
    election_event_id: $election_event_id,
    report_id: $report_id,
    report_mode: $report_mode,
    tenant_id: $tenant_id
  ) {
    document_id
    encryption_policy
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": "xyz789",
  "report_id": "abc123",
  "report_mode": "abc123",
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "generate_report": {
      "document_id": "xyz789",
      "encryption_policy": "configured_password",
      "task_execution": tasks_execution_type
    }
  }
}

generate_template

Response

Returns a GenerateTemplateOutput

Arguments
Name Description
election_event_id - String!
election_id - String!
tally_session_id - String!
type - String!

Example

Query
mutation generate_template(
  $election_event_id: String!,
  $election_id: String!,
  $tally_session_id: String!,
  $type: String!
) {
  generate_template(
    election_event_id: $election_event_id,
    election_id: $election_id,
    tally_session_id: $tally_session_id,
    type: $type
  ) {
    document_id
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": "abc123",
  "election_id": "xyz789",
  "tally_session_id": "xyz789",
  "type": "abc123"
}
Response
{
  "data": {
    "generate_template": {
      "document_id": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

generate_transmission_report

Response

Returns a generateReportOutput

Arguments
Name Description
election_event_id - String!
election_id - String
tally_session_id - String
tenant_id - String!

Example

Query
mutation generate_transmission_report(
  $election_event_id: String!,
  $election_id: String,
  $tally_session_id: String,
  $tenant_id: String!
) {
  generate_transmission_report(
    election_event_id: $election_event_id,
    election_id: $election_id,
    tally_session_id: $tally_session_id,
    tenant_id: $tenant_id
  ) {
    document_id
    encryption_policy
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": "xyz789",
  "election_id": "xyz789",
  "tally_session_id": "abc123",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "generate_transmission_report": {
      "document_id": "xyz789",
      "encryption_policy": "configured_password",
      "task_execution": tasks_execution_type
    }
  }
}

generate_voter_information_letter

Response

Returns a VoterInformationLetterOutput!

Arguments
Name Description
election_event_id - String!
voter_id - String!

Example

Query
mutation generate_voter_information_letter(
  $election_event_id: String!,
  $voter_id: String!
) {
  generate_voter_information_letter(
    election_event_id: $election_event_id,
    voter_id: $voter_id
  ) {
    document_id
    pdf_password
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "election_event_id": "abc123",
  "voter_id": "abc123"
}
Response
{
  "data": {
    "generate_voter_information_letter": {
      "document_id": "abc123",
      "pdf_password": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

get_ballot_publication_changes

Arguments
Name Description
ballot_publication_id - uuid!
election_event_id - uuid!
limit - Int

Example

Query
mutation get_ballot_publication_changes(
  $ballot_publication_id: uuid!,
  $election_event_id: uuid!,
  $limit: Int
) {
  get_ballot_publication_changes(
    ballot_publication_id: $ballot_publication_id,
    election_event_id: $election_event_id,
    limit: $limit
  ) {
    current {
      ...BallotPublicationStylesFragment
    }
    previous {
      ...BallotPublicationStylesFragment
    }
  }
}
Variables
{
  "ballot_publication_id": uuid,
  "election_event_id": uuid,
  "limit": 987
}
Response
{
  "data": {
    "get_ballot_publication_changes": {
      "current": BallotPublicationStyles,
      "previous": BallotPublicationStyles
    }
  }
}

get_manual_verification_pdf

Response

Returns a GetManualVerificationOutput

Arguments
Name Description
body - GetManualVerificationInput!

Example

Query
mutation get_manual_verification_pdf($body: GetManualVerificationInput!) {
  get_manual_verification_pdf(body: $body) {
    document_id
    status
  }
}
Variables
{"body": GetManualVerificationInput}
Response
{
  "data": {
    "get_manual_verification_pdf": {
      "document_id": "abc123",
      "status": "abc123"
    }
  }
}

get_private_key

Description

get private key

Response

Returns a GetPrivateKeyOutput

Arguments
Name Description
object - GetPrivateKeyInput!

Example

Query
mutation get_private_key($object: GetPrivateKeyInput!) {
  get_private_key(object: $object) {
    private_key_base64
  }
}
Variables
{"object": GetPrivateKeyInput}
Response
{
  "data": {
    "get_private_key": {
      "private_key_base64": "xyz789"
    }
  }
}

get_upload_url

Response

Returns a GetUploadUrlOutput

Arguments
Name Description
election_event_id - String
is_local - Boolean
is_public - Boolean!
media_type - String!
name - String!
size - Int!

Example

Query
mutation get_upload_url(
  $election_event_id: String,
  $is_local: Boolean,
  $is_public: Boolean!,
  $media_type: String!,
  $name: String!,
  $size: Int!
) {
  get_upload_url(
    election_event_id: $election_event_id,
    is_local: $is_local,
    is_public: $is_public,
    media_type: $media_type,
    name: $name,
    size: $size
  ) {
    document_id
    url
  }
}
Variables
{
  "election_event_id": "abc123",
  "is_local": false,
  "is_public": false,
  "media_type": "abc123",
  "name": "xyz789",
  "size": 987
}
Response
{
  "data": {
    "get_upload_url": {
      "document_id": "xyz789",
      "url": "xyz789"
    }
  }
}

get_user

Response

Returns a KeycloakUser!

Arguments
Name Description
election_event_id - uuid
tenant_id - uuid!
user_id - String!

Example

Query
mutation get_user(
  $election_event_id: uuid,
  $tenant_id: uuid!,
  $user_id: String!
) {
  get_user(
    election_event_id: $election_event_id,
    tenant_id: $tenant_id,
    user_id: $user_id
  ) {
    area {
      ...KeycloakUserAreaFragment
    }
    attributes
    email
    email_verified
    enabled
    first_name
    groups
    id
    last_name
    username
    votes_info {
      ...VotesInfoFragment
    }
  }
}
Variables
{
  "election_event_id": uuid,
  "tenant_id": uuid,
  "user_id": "abc123"
}
Response
{
  "data": {
    "get_user": {
      "area": KeycloakUserArea,
      "attributes": jsonb,
      "email": "abc123",
      "email_verified": false,
      "enabled": true,
      "first_name": "abc123",
      "groups": ["abc123"],
      "id": "xyz789",
      "last_name": "xyz789",
      "username": "xyz789",
      "votes_info": [VotesInfo]
    }
  }
}

get_user_template

Response

Returns a GetUserTemplateOutput

Arguments
Name Description
template_type - String!

Example

Query
mutation get_user_template($template_type: String!) {
  get_user_template(template_type: $template_type) {
    extra_config
    template_hbs
  }
}
Variables
{"template_type": "xyz789"}
Response
{
  "data": {
    "get_user_template": {
      "extra_config": "xyz789",
      "template_hbs": "abc123"
    }
  }
}

import_application

Response

Returns an applicationOutput

Arguments
Name Description
document_id - String!
election_event_id - String
election_id - String
sha256 - String
tenant_id - String!

Example

Query
mutation import_application(
  $document_id: String!,
  $election_event_id: String,
  $election_id: String,
  $sha256: String,
  $tenant_id: String!
) {
  import_application(
    document_id: $document_id,
    election_event_id: $election_event_id,
    election_id: $election_id,
    sha256: $sha256,
    tenant_id: $tenant_id
  ) {
    document_id
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "document_id": "xyz789",
  "election_event_id": "xyz789",
  "election_id": "abc123",
  "sha256": "abc123",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "import_application": {
      "document_id": "abc123",
      "error_msg": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

import_areas

Response

Returns an OptionalId

Arguments
Name Description
document_id - String!
election_event_id - String!
sha256 - String

Example

Query
mutation import_areas(
  $document_id: String!,
  $election_event_id: String!,
  $sha256: String
) {
  import_areas(
    document_id: $document_id,
    election_event_id: $election_event_id,
    sha256: $sha256
  ) {
    id
  }
}
Variables
{
  "document_id": "xyz789",
  "election_event_id": "abc123",
  "sha256": "abc123"
}
Response
{"data": {"import_areas": {"id": "abc123"}}}

import_candidates

Response

Returns a documentTaskOutput

Arguments
Name Description
document_id - String!
election_event_id - String!
sha256 - String

Example

Query
mutation import_candidates(
  $document_id: String!,
  $election_event_id: String!,
  $sha256: String
) {
  import_candidates(
    document_id: $document_id,
    election_event_id: $election_event_id,
    sha256: $sha256
  ) {
    document_id
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "document_id": "xyz789",
  "election_event_id": "abc123",
  "sha256": "abc123"
}
Response
{
  "data": {
    "import_candidates": {
      "document_id": "abc123",
      "error_msg": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

import_certificate_authority

Description

Import certificate authorities from a PEM string for an election event

Response

Returns an ImportCertificateAuthorityOutput

Arguments
Name Description
election_event_id - uuid!
pem_content - String!

Example

Query
mutation import_certificate_authority(
  $election_event_id: uuid!,
  $pem_content: String!
) {
  import_certificate_authority(
    election_event_id: $election_event_id,
    pem_content: $pem_content
  ) {
    errors
    inserted_count
    skipped_count
  }
}
Variables
{
  "election_event_id": uuid,
  "pem_content": "abc123"
}
Response
{
  "data": {
    "import_certificate_authority": {
      "errors": ["abc123"],
      "inserted_count": 123,
      "skipped_count": 987
    }
  }
}

import_election_event

Description

import_election_event

Response

Returns an OptionalImportEvent

Arguments
Name Description
check_only - Boolean
document_id - String!
password - String
sha256 - String
tenant_id - String!

Example

Query
mutation import_election_event(
  $check_only: Boolean,
  $document_id: String!,
  $password: String,
  $sha256: String,
  $tenant_id: String!
) {
  import_election_event(
    check_only: $check_only,
    document_id: $document_id,
    password: $password,
    sha256: $sha256,
    tenant_id: $tenant_id
  ) {
    error
    id
    message
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "check_only": true,
  "document_id": "abc123",
  "password": "abc123",
  "sha256": "abc123",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "import_election_event": {
      "error": "xyz789",
      "id": "xyz789",
      "message": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

import_templates

Response

Returns a templateOutput

Arguments
Name Description
document_id - String!
sha256 - String
tenant_id - String!

Example

Query
mutation import_templates(
  $document_id: String!,
  $sha256: String,
  $tenant_id: String!
) {
  import_templates(
    document_id: $document_id,
    sha256: $sha256,
    tenant_id: $tenant_id
  ) {
    document_id
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "document_id": "xyz789",
  "sha256": "xyz789",
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "import_templates": {
      "document_id": "abc123",
      "error_msg": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

import_tenant_config

Response

Returns an ImportTenantOutput

Arguments
Name Description
document_id - String!
import_configurations - ImportOptions
sha256 - String
tenant_id - String!

Example

Query
mutation import_tenant_config(
  $document_id: String!,
  $import_configurations: ImportOptions,
  $sha256: String,
  $tenant_id: String!
) {
  import_tenant_config(
    document_id: $document_id,
    import_configurations: $import_configurations,
    sha256: $sha256,
    tenant_id: $tenant_id
  ) {
    error
    message
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "document_id": "xyz789",
  "import_configurations": ImportOptions,
  "sha256": "xyz789",
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "import_tenant_config": {
      "error": "xyz789",
      "message": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

import_users

Response

Returns a taskOutput

Arguments
Name Description
document_id - String!
election_event_id - String
sha256 - String
tenant_id - String!

Example

Query
mutation import_users(
  $document_id: String!,
  $election_event_id: String,
  $sha256: String,
  $tenant_id: String!
) {
  import_users(
    document_id: $document_id,
    election_event_id: $election_event_id,
    sha256: $sha256,
    tenant_id: $tenant_id
  ) {
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "document_id": "xyz789",
  "election_event_id": "xyz789",
  "sha256": "abc123",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "import_users": {
      "task_execution": tasks_execution_type
    }
  }
}

insertElectionEvent

Response

Returns a CreateElectionEventOutput

Arguments
Name Description
object - CreateElectionEventInput!

Example

Query
mutation insertElectionEvent($object: CreateElectionEventInput!) {
  insertElectionEvent(object: $object) {
    error
    id
    message
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{"object": CreateElectionEventInput}
Response
{
  "data": {
    "insertElectionEvent": {
      "error": "xyz789",
      "id": "abc123",
      "message": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

insertTenant

Description

insertTenant

Response

Returns an InsertTenantOutput

Arguments
Name Description
slug - String!

Example

Query
mutation insertTenant($slug: String!) {
  insertTenant(slug: $slug) {
    error_msg
    id
    slug
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{"slug": "abc123"}
Response
{
  "data": {
    "insertTenant": {
      "error_msg": "xyz789",
      "id": uuid,
      "slug": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

insert_cast_vote

Description

insert_cast_vote

Response

Returns an InsertCastVoteOutput

Arguments
Name Description
ballot_id - String!
content - String!
election_id - uuid!

Example

Query
mutation insert_cast_vote(
  $ballot_id: String!,
  $content: String!,
  $election_id: uuid!
) {
  insert_cast_vote(
    ballot_id: $ballot_id,
    content: $content,
    election_id: $election_id
  ) {
    annotations
    area_id
    ballot_id
    cast_ballot_signature
    content
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    tenant_id
    voter_id_string
  }
}
Variables
{
  "ballot_id": "abc123",
  "content": "abc123",
  "election_id": uuid
}
Response
{
  "data": {
    "insert_cast_vote": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_id": "xyz789",
      "cast_ballot_signature": bytea,
      "content": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "voter_id_string": "abc123"
    }
  }
}

insert_sequent_backend_applications

Description

insert data into the table: "sequent_backend.applications"

Response

Returns an applications_mutation_response

Arguments
Name Description
objects - [applications_insert_input!]! the rows to be inserted
on_conflict - applications_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_applications(
  $objects: [applications_insert_input!]!,
  $on_conflict: applications_on_conflict
) {
  insert_sequent_backend_applications(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...applicationsFragment
    }
  }
}
Variables
{
  "objects": [applications_insert_input],
  "on_conflict": applications_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_applications": {
      "affected_rows": 987,
      "returning": [applications]
    }
  }
}

insert_sequent_backend_applications_one

Description

insert a single row into the table: "sequent_backend.applications"

Response

Returns an applications

Arguments
Name Description
object - applications_insert_input! the row to be inserted
on_conflict - applications_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_applications_one(
  $object: applications_insert_input!,
  $on_conflict: applications_on_conflict
) {
  insert_sequent_backend_applications_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    applicant_data
    applicant_id
    area_id
    created_at
    election_event_id
    id
    labels
    permission_label
    status
    tenant_id
    updated_at
    verification_type
  }
}
Variables
{
  "object": applications_insert_input,
  "on_conflict": applications_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_applications_one": {
      "annotations": jsonb,
      "applicant_data": jsonb,
      "applicant_id": "abc123",
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "permission_label": "abc123",
      "status": "abc123",
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "verification_type": "abc123"
    }
  }
}

insert_sequent_backend_area

Description

insert data into the table: "sequent_backend.area"

Response

Returns an area_mutation_response

Arguments
Name Description
objects - [area_insert_input!]! the rows to be inserted
on_conflict - area_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_area(
  $objects: [area_insert_input!]!,
  $on_conflict: area_on_conflict
) {
  insert_sequent_backend_area(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...areaFragment
    }
  }
}
Variables
{
  "objects": [area_insert_input],
  "on_conflict": area_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_area": {
      "affected_rows": 123,
      "returning": [area]
    }
  }
}

insert_sequent_backend_area_contest

Description

insert data into the table: "sequent_backend.area_contest"

Response

Returns an area_contest_mutation_response

Arguments
Name Description
objects - [area_contest_insert_input!]! the rows to be inserted
on_conflict - area_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_area_contest(
  $objects: [area_contest_insert_input!]!,
  $on_conflict: area_contest_on_conflict
) {
  insert_sequent_backend_area_contest(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...area_contestFragment
    }
  }
}
Variables
{
  "objects": [area_contest_insert_input],
  "on_conflict": area_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_area_contest": {
      "affected_rows": 987,
      "returning": [area_contest]
    }
  }
}

insert_sequent_backend_area_contest_one

Description

insert a single row into the table: "sequent_backend.area_contest"

Response

Returns an area_contest

Arguments
Name Description
object - area_contest_insert_input! the row to be inserted
on_conflict - area_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_area_contest_one(
  $object: area_contest_insert_input!,
  $on_conflict: area_contest_on_conflict
) {
  insert_sequent_backend_area_contest_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area {
      ...areaFragment
    }
    area_id
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "object": area_contest_insert_input,
  "on_conflict": area_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_area_contest_one": {
      "annotations": jsonb,
      "area": area,
      "area_id": uuid,
      "contest": contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_area_one

Description

insert a single row into the table: "sequent_backend.area"

Response

Returns an area

Arguments
Name Description
object - area_insert_input! the row to be inserted
on_conflict - area_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_area_one(
  $object: area_insert_input!,
  $on_conflict: area_on_conflict
) {
  insert_sequent_backend_area_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    presentation
    tenant_id
    type
  }
}
Variables
{
  "object": area_insert_input,
  "on_conflict": area_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_area_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "parent_id": uuid,
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

insert_sequent_backend_ballot_publication

Description

insert data into the table: "sequent_backend.ballot_publication"

Arguments
Name Description
objects - [ballot_publication_insert_input!]! the rows to be inserted
on_conflict - ballot_publication_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_ballot_publication(
  $objects: [ballot_publication_insert_input!]!,
  $on_conflict: ballot_publication_on_conflict
) {
  insert_sequent_backend_ballot_publication(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...ballot_publicationFragment
    }
  }
}
Variables
{
  "objects": [ballot_publication_insert_input],
  "on_conflict": ballot_publication_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_ballot_publication": {
      "affected_rows": 987,
      "returning": [ballot_publication]
    }
  }
}

insert_sequent_backend_ballot_publication_one

Description

insert a single row into the table: "sequent_backend.ballot_publication"

Response

Returns a ballot_publication

Arguments
Name Description
object - ballot_publication_insert_input! the row to be inserted
on_conflict - ballot_publication_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_ballot_publication_one(
  $object: ballot_publication_insert_input!,
  $on_conflict: ballot_publication_on_conflict
) {
  insert_sequent_backend_ballot_publication_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "object": ballot_publication_insert_input,
  "on_conflict": ballot_publication_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_ballot_publication_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by_user_id": "xyz789",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "election_ids": [uuid],
      "id": uuid,
      "is_generated": true,
      "labels": jsonb,
      "published_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_ballot_style

Description

insert data into the table: "sequent_backend.ballot_style"

Response

Returns a ballot_style_mutation_response

Arguments
Name Description
objects - [ballot_style_insert_input!]! the rows to be inserted
on_conflict - ballot_style_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_ballot_style(
  $objects: [ballot_style_insert_input!]!,
  $on_conflict: ballot_style_on_conflict
) {
  insert_sequent_backend_ballot_style(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...ballot_styleFragment
    }
  }
}
Variables
{
  "objects": [ballot_style_insert_input],
  "on_conflict": ballot_style_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_ballot_style": {
      "affected_rows": 987,
      "returning": [ballot_style]
    }
  }
}

insert_sequent_backend_ballot_style_one

Description

insert a single row into the table: "sequent_backend.ballot_style"

Response

Returns a ballot_style

Arguments
Name Description
object - ballot_style_insert_input! the row to be inserted
on_conflict - ballot_style_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_ballot_style_one(
  $object: ballot_style_insert_input!,
  $on_conflict: ballot_style_on_conflict
) {
  insert_sequent_backend_ballot_style_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "object": ballot_style_insert_input,
  "on_conflict": ballot_style_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_ballot_style_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_eml": "abc123",
      "ballot_publication_id": uuid,
      "ballot_signature": bytea,
      "created_at": timestamptz,
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": "xyz789",
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_candidate

Description

insert data into the table: "sequent_backend.candidate"

Response

Returns a candidate_mutation_response

Arguments
Name Description
objects - [candidate_insert_input!]! the rows to be inserted
on_conflict - candidate_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_candidate(
  $objects: [candidate_insert_input!]!,
  $on_conflict: candidate_on_conflict
) {
  insert_sequent_backend_candidate(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...candidateFragment
    }
  }
}
Variables
{
  "objects": [candidate_insert_input],
  "on_conflict": candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_candidate": {
      "affected_rows": 123,
      "returning": [candidate]
    }
  }
}

insert_sequent_backend_candidate_one

Description

insert a single row into the table: "sequent_backend.candidate"

Response

Returns a candidate

Arguments
Name Description
object - candidate_insert_input! the row to be inserted
on_conflict - candidate_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_candidate_one(
  $object: candidate_insert_input!,
  $on_conflict: candidate_on_conflict
) {
  insert_sequent_backend_candidate_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    contest_id
    created_at
    description
    election_event_id
    external_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    presentation
    tenant_id
    type
  }
}
Variables
{
  "object": candidate_insert_input,
  "on_conflict": candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_candidate_one": {
      "annotations": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "external_id": "abc123",
      "id": uuid,
      "image_document_id": "xyz789",
      "is_public": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

insert_sequent_backend_certificate_authority

Description

insert data into the table: "sequent_backend.certificate_authority"

Arguments
Name Description
objects - [certificate_authority_insert_input!]! the rows to be inserted
on_conflict - certificate_authority_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_certificate_authority(
  $objects: [certificate_authority_insert_input!]!,
  $on_conflict: certificate_authority_on_conflict
) {
  insert_sequent_backend_certificate_authority(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...certificate_authorityFragment
    }
  }
}
Variables
{
  "objects": [certificate_authority_insert_input],
  "on_conflict": certificate_authority_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_certificate_authority": {
      "affected_rows": 123,
      "returning": [certificate_authority]
    }
  }
}

insert_sequent_backend_certificate_authority_one

Description

insert a single row into the table: "sequent_backend.certificate_authority"

Response

Returns a certificate_authority

Arguments
Name Description
object - certificate_authority_insert_input! the row to be inserted
on_conflict - certificate_authority_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_certificate_authority_one(
  $object: certificate_authority_insert_input!,
  $on_conflict: certificate_authority_on_conflict
) {
  insert_sequent_backend_certificate_authority_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    common_name
    created_at
    election_event_id
    fingerprint_sha256
    id
    issuer
    issuer_common_name
    not_after
    not_before
    pem
    serial_number
    subject
    tenant_id
  }
}
Variables
{
  "object": certificate_authority_insert_input,
  "on_conflict": certificate_authority_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_certificate_authority_one": {
      "common_name": "abc123",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "fingerprint_sha256": "xyz789",
      "id": uuid,
      "issuer": "xyz789",
      "issuer_common_name": "xyz789",
      "not_after": timestamptz,
      "not_before": timestamptz,
      "pem": "abc123",
      "serial_number": "xyz789",
      "subject": "abc123",
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_contest

Description

insert data into the table: "sequent_backend.contest"

Response

Returns a contest_mutation_response

Arguments
Name Description
objects - [contest_insert_input!]! the rows to be inserted
on_conflict - contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_contest(
  $objects: [contest_insert_input!]!,
  $on_conflict: contest_on_conflict
) {
  insert_sequent_backend_contest(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...contestFragment
    }
  }
}
Variables
{
  "objects": [contest_insert_input],
  "on_conflict": contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_contest": {
      "affected_rows": 987,
      "returning": [contest]
    }
  }
}

insert_sequent_backend_contest_one

Description

insert a single row into the table: "sequent_backend.contest"

Response

Returns a contest

Arguments
Name Description
object - contest_insert_input! the row to be inserted
on_conflict - contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_contest_one(
  $object: contest_insert_input!,
  $on_conflict: contest_on_conflict
) {
  insert_sequent_backend_contest_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    candidates {
      ...candidateFragment
    }
    candidates_aggregate {
      ...candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    external_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "object": contest_insert_input,
  "on_conflict": contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_contest_one": {
      "annotations": jsonb,
      "candidates": [candidate],
      "candidates_aggregate": candidate_aggregate,
      "conditions": jsonb,
      "counting_algorithm": "abc123",
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "election_id": uuid,
      "external_id": "abc123",
      "id": uuid,
      "image_document_id": "xyz789",
      "is_acclaimed": false,
      "is_active": false,
      "is_encrypted": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "max_votes": 123,
      "min_votes": 987,
      "presentation": jsonb,
      "tally_configuration": jsonb,
      "tenant_id": uuid,
      "voting_type": "abc123",
      "winning_candidates_num": 987
    }
  }
}

insert_sequent_backend_document

Description

insert data into the table: "sequent_backend.document"

Response

Returns a document_mutation_response

Arguments
Name Description
objects - [document_insert_input!]! the rows to be inserted
on_conflict - document_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_document(
  $objects: [document_insert_input!]!,
  $on_conflict: document_on_conflict
) {
  insert_sequent_backend_document(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...documentFragment
    }
  }
}
Variables
{
  "objects": [document_insert_input],
  "on_conflict": document_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_document": {
      "affected_rows": 123,
      "returning": [document]
    }
  }
}

insert_sequent_backend_document_one

Description

insert a single row into the table: "sequent_backend.document"

Response

Returns a document

Arguments
Name Description
object - document_insert_input! the row to be inserted
on_conflict - document_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_document_one(
  $object: document_insert_input!,
  $on_conflict: document_on_conflict
) {
  insert_sequent_backend_document_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{
  "object": document_insert_input,
  "on_conflict": document_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_document_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "is_public": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "media_type": "xyz789",
      "name": "abc123",
      "size": bigint,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_election

Description

insert data into the table: "sequent_backend.election"

Response

Returns an election_mutation_response

Arguments
Name Description
objects - [election_insert_input!]! the rows to be inserted
on_conflict - election_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election(
  $objects: [election_insert_input!]!,
  $on_conflict: election_on_conflict
) {
  insert_sequent_backend_election(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...electionFragment
    }
  }
}
Variables
{
  "objects": [election_insert_input],
  "on_conflict": election_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election": {
      "affected_rows": 987,
      "returning": [election]
    }
  }
}

insert_sequent_backend_election_event

Description

insert data into the table: "sequent_backend.election_event"

Response

Returns an election_event_mutation_response

Arguments
Name Description
objects - [election_event_insert_input!]! the rows to be inserted
on_conflict - election_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_event(
  $objects: [election_event_insert_input!]!,
  $on_conflict: election_event_on_conflict
) {
  insert_sequent_backend_election_event(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...election_eventFragment
    }
  }
}
Variables
{
  "objects": [election_event_insert_input],
  "on_conflict": election_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_event": {
      "affected_rows": 123,
      "returning": [election_event]
    }
  }
}

insert_sequent_backend_election_event_one

Description

insert a single row into the table: "sequent_backend.election_event"

Response

Returns an election_event

Arguments
Name Description
object - election_event_insert_input! the row to be inserted
on_conflict - election_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_event_one(
  $object: election_event_insert_input!,
  $on_conflict: election_event_on_conflict
) {
  insert_sequent_backend_election_event_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    description
    elections {
      ...electionFragment
    }
    elections_aggregate {
      ...election_aggregateFragment
    }
    encryption_protocol
    external_id
    id
    is_archived
    is_audit
    labels
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{
  "object": election_event_insert_input,
  "on_conflict": election_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_event_one": {
      "annotations": jsonb,
      "audit_election_event_id": uuid,
      "bulletin_board_reference": jsonb,
      "created_at": timestamptz,
      "description": "xyz789",
      "elections": [election],
      "elections_aggregate": election_aggregate,
      "encryption_protocol": "abc123",
      "external_id": "xyz789",
      "id": uuid,
      "is_archived": true,
      "is_audit": false,
      "labels": jsonb,
      "presentation": jsonb,
      "public_key": "abc123",
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "user_boards": "abc123",
      "voting_channels": jsonb
    }
  }
}

insert_sequent_backend_election_one

Description

insert a single row into the table: "sequent_backend.election"

Response

Returns an election

Arguments
Name Description
object - election_insert_input! the row to be inserted
on_conflict - election_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_one(
  $object: election_insert_input!,
  $on_conflict: election_on_conflict
) {
  insert_sequent_backend_election_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    contests {
      ...contestFragment
    }
    contests_aggregate {
      ...contest_aggregateFragment
    }
    created_at
    description
    election_event_id
    eml
    external_id
    id
    image_document_id
    initialization_report_generated
    is_consolidated_ballot_encoding
    is_kiosk
    keys_ceremony_id
    labels
    last_updated_at
    num_allowed_revotes
    permission_label
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "object": election_insert_input,
  "on_conflict": election_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_one": {
      "annotations": jsonb,
      "contests": [contest],
      "contests_aggregate": contest_aggregate,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "eml": "xyz789",
      "external_id": "abc123",
      "id": uuid,
      "image_document_id": "abc123",
      "initialization_report_generated": false,
      "is_consolidated_ballot_encoding": false,
      "is_kiosk": true,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "num_allowed_revotes": 987,
      "permission_label": "abc123",
      "presentation": jsonb,
      "receipts": jsonb,
      "spoil_ballot_option": false,
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "voting_channels": jsonb
    }
  }
}

insert_sequent_backend_election_result

Description

insert data into the table: "sequent_backend.election_result"

Response

Returns an election_result_mutation_response

Arguments
Name Description
objects - [election_result_insert_input!]! the rows to be inserted
on_conflict - election_result_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_result(
  $objects: [election_result_insert_input!]!,
  $on_conflict: election_result_on_conflict
) {
  insert_sequent_backend_election_result(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...election_resultFragment
    }
  }
}
Variables
{
  "objects": [election_result_insert_input],
  "on_conflict": election_result_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_result": {
      "affected_rows": 123,
      "returning": [election_result]
    }
  }
}

insert_sequent_backend_election_result_one

Description

insert a single row into the table: "sequent_backend.election_result"

Response

Returns an election_result

Arguments
Name Description
object - election_result_insert_input! the row to be inserted
on_conflict - election_result_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_result_one(
  $object: election_result_insert_input!,
  $on_conflict: election_result_on_conflict
) {
  insert_sequent_backend_election_result_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{
  "object": election_result_insert_input,
  "on_conflict": election_result_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_result_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "result_eml": "xyz789",
      "result_eml_signature": bytea,
      "statistics": jsonb,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_election_type

Description

insert data into the table: "sequent_backend.election_type"

Response

Returns an election_type_mutation_response

Arguments
Name Description
objects - [election_type_insert_input!]! the rows to be inserted
on_conflict - election_type_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_type(
  $objects: [election_type_insert_input!]!,
  $on_conflict: election_type_on_conflict
) {
  insert_sequent_backend_election_type(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...election_typeFragment
    }
  }
}
Variables
{
  "objects": [election_type_insert_input],
  "on_conflict": election_type_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_type": {
      "affected_rows": 987,
      "returning": [election_type]
    }
  }
}

insert_sequent_backend_election_type_one

Description

insert a single row into the table: "sequent_backend.election_type"

Response

Returns an election_type

Arguments
Name Description
object - election_type_insert_input! the row to be inserted
on_conflict - election_type_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_type_one(
  $object: election_type_insert_input!,
  $on_conflict: election_type_on_conflict
) {
  insert_sequent_backend_election_type_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{
  "object": election_type_insert_input,
  "on_conflict": election_type_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_type_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "name": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

insert_sequent_backend_electoral_log_checkpoint

Description

insert data into the table: "sequent_backend.electoral_log_checkpoint"

Arguments
Name Description
objects - [electoral_log_checkpoint_insert_input!]! the rows to be inserted
on_conflict - electoral_log_checkpoint_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_electoral_log_checkpoint(
  $objects: [electoral_log_checkpoint_insert_input!]!,
  $on_conflict: electoral_log_checkpoint_on_conflict
) {
  insert_sequent_backend_electoral_log_checkpoint(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...electoral_log_checkpointFragment
    }
  }
}
Variables
{
  "objects": [electoral_log_checkpoint_insert_input],
  "on_conflict": electoral_log_checkpoint_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_electoral_log_checkpoint": {
      "affected_rows": 987,
      "returning": [electoral_log_checkpoint]
    }
  }
}

insert_sequent_backend_electoral_log_checkpoint_one

Description

insert a single row into the table: "sequent_backend.electoral_log_checkpoint"

Response

Returns an electoral_log_checkpoint

Arguments
Name Description
object - electoral_log_checkpoint_insert_input! the row to be inserted
on_conflict - electoral_log_checkpoint_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_electoral_log_checkpoint_one(
  $object: electoral_log_checkpoint_insert_input!,
  $on_conflict: electoral_log_checkpoint_on_conflict
) {
  insert_sequent_backend_electoral_log_checkpoint_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    board_name
    created_at
    election_event_id
    id
    log_id
    reason
    root
    signature
    signer_pk
    tenant_id
    tree_size
  }
}
Variables
{
  "object": electoral_log_checkpoint_insert_input,
  "on_conflict": electoral_log_checkpoint_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_electoral_log_checkpoint_one": {
      "board_name": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "log_id": bigint,
      "reason": "xyz789",
      "root": "xyz789",
      "signature": "abc123",
      "signer_pk": "abc123",
      "tenant_id": uuid,
      "tree_size": bigint
    }
  }
}

insert_sequent_backend_event_execution

Description

insert data into the table: "sequent_backend.event_execution"

Response

Returns an event_execution_mutation_response

Arguments
Name Description
objects - [event_execution_insert_input!]! the rows to be inserted
on_conflict - event_execution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_event_execution(
  $objects: [event_execution_insert_input!]!,
  $on_conflict: event_execution_on_conflict
) {
  insert_sequent_backend_event_execution(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...event_executionFragment
    }
  }
}
Variables
{
  "objects": [event_execution_insert_input],
  "on_conflict": event_execution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_event_execution": {
      "affected_rows": 123,
      "returning": [event_execution]
    }
  }
}

insert_sequent_backend_event_execution_one

Description

insert a single row into the table: "sequent_backend.event_execution"

Response

Returns an event_execution

Arguments
Name Description
object - event_execution_insert_input! the row to be inserted
on_conflict - event_execution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_event_execution_one(
  $object: event_execution_insert_input!,
  $on_conflict: event_execution_on_conflict
) {
  insert_sequent_backend_event_execution_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{
  "object": event_execution_insert_input,
  "on_conflict": event_execution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_event_execution_one": {
      "annotations": jsonb,
      "election_event_id": uuid,
      "ended_at": timestamptz,
      "execution_payload": jsonb,
      "execution_state": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "result_payload": jsonb,
      "scheduled_event_id": uuid,
      "started_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_keys_ceremony

Description

insert data into the table: "sequent_backend.keys_ceremony"

Response

Returns a keys_ceremony_mutation_response

Arguments
Name Description
objects - [keys_ceremony_insert_input!]! the rows to be inserted
on_conflict - keys_ceremony_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_keys_ceremony(
  $objects: [keys_ceremony_insert_input!]!,
  $on_conflict: keys_ceremony_on_conflict
) {
  insert_sequent_backend_keys_ceremony(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...keys_ceremonyFragment
    }
  }
}
Variables
{
  "objects": [keys_ceremony_insert_input],
  "on_conflict": keys_ceremony_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_keys_ceremony": {
      "affected_rows": 987,
      "returning": [keys_ceremony]
    }
  }
}

insert_sequent_backend_keys_ceremony_one

Description

insert a single row into the table: "sequent_backend.keys_ceremony"

Response

Returns a keys_ceremony

Arguments
Name Description
object - keys_ceremony_insert_input! the row to be inserted
on_conflict - keys_ceremony_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_keys_ceremony_one(
  $object: keys_ceremony_insert_input!,
  $on_conflict: keys_ceremony_on_conflict
) {
  insert_sequent_backend_keys_ceremony_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    is_default
    keys_ceremony_trustee_ids {
      ...trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...trustee_aggregateFragment
    }
    labels
    last_updated_at
    name
    permission_label
    settings
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "object": keys_ceremony_insert_input,
  "on_conflict": keys_ceremony_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_keys_ceremony_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "execution_status": "abc123",
      "id": uuid,
      "is_default": false,
      "keys_ceremony_trustee_ids": [trustee],
      "keys_ceremony_trustee_ids_aggregate": trustee_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "permission_label": ["abc123"],
      "settings": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "threshold": 123,
      "trustee_ids": [uuid]
    }
  }
}

insert_sequent_backend_lock

Description

insert data into the table: "sequent_backend.lock"

Response

Returns a lock_mutation_response

Arguments
Name Description
objects - [lock_insert_input!]! the rows to be inserted
on_conflict - lock_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_lock(
  $objects: [lock_insert_input!]!,
  $on_conflict: lock_on_conflict
) {
  insert_sequent_backend_lock(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...lockFragment
    }
  }
}
Variables
{
  "objects": [lock_insert_input],
  "on_conflict": lock_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_lock": {
      "affected_rows": 123,
      "returning": [lock]
    }
  }
}

insert_sequent_backend_lock_one

Description

insert a single row into the table: "sequent_backend.lock"

Response

Returns a lock

Arguments
Name Description
object - lock_insert_input! the row to be inserted
on_conflict - lock_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_lock_one(
  $object: lock_insert_input!,
  $on_conflict: lock_on_conflict
) {
  insert_sequent_backend_lock_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{
  "object": lock_insert_input,
  "on_conflict": lock_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_lock_one": {
      "created_at": timestamptz,
      "expiry_date": timestamptz,
      "key": "abc123",
      "last_updated_at": timestamptz,
      "value": "xyz789"
    }
  }
}

insert_sequent_backend_notification

Description

insert data into the table: "sequent_backend.notification"

Response

Returns a notification_mutation_response

Arguments
Name Description
objects - [notification_insert_input!]! the rows to be inserted
on_conflict - notification_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_notification(
  $objects: [notification_insert_input!]!,
  $on_conflict: notification_on_conflict
) {
  insert_sequent_backend_notification(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...notificationFragment
    }
  }
}
Variables
{
  "objects": [notification_insert_input],
  "on_conflict": notification_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_notification": {
      "affected_rows": 123,
      "returning": [notification]
    }
  }
}

insert_sequent_backend_notification_one

Description

insert a single row into the table: "sequent_backend.notification"

Response

Returns a notification

Arguments
Name Description
object - notification_insert_input! the row to be inserted
on_conflict - notification_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_notification_one(
  $object: notification_insert_input!,
  $on_conflict: notification_on_conflict
) {
  insert_sequent_backend_notification_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    alias
    annotations
    created_at
    election_event_id
    election_id
    id
    labels
    name
    template_id
    tenant_id
    type
    updated_at
  }
}
Variables
{
  "object": notification_insert_input,
  "on_conflict": notification_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_notification_one": {
      "alias": "abc123",
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "name": "abc123",
      "template_id": uuid,
      "tenant_id": uuid,
      "type": "abc123",
      "updated_at": timestamptz
    }
  }
}

insert_sequent_backend_phone_blacklist

Description

insert data into the table: "sequent_backend.phone_blacklist"

Arguments
Name Description
objects - [phone_blacklist_insert_input!]! the rows to be inserted
on_conflict - phone_blacklist_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_phone_blacklist(
  $objects: [phone_blacklist_insert_input!]!,
  $on_conflict: phone_blacklist_on_conflict
) {
  insert_sequent_backend_phone_blacklist(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...phone_blacklistFragment
    }
  }
}
Variables
{
  "objects": [phone_blacklist_insert_input],
  "on_conflict": phone_blacklist_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_phone_blacklist": {
      "affected_rows": 123,
      "returning": [phone_blacklist]
    }
  }
}

insert_sequent_backend_phone_blacklist_one

Description

insert a single row into the table: "sequent_backend.phone_blacklist"

Response

Returns a phone_blacklist

Arguments
Name Description
object - phone_blacklist_insert_input! the row to be inserted
on_conflict - phone_blacklist_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_phone_blacklist_one(
  $object: phone_blacklist_insert_input!,
  $on_conflict: phone_blacklist_on_conflict
) {
  insert_sequent_backend_phone_blacklist_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    created_at
    created_by
    election_event_id
    id
    phone_e164
    reason
    tenant_id
    updated_at
  }
}
Variables
{
  "object": phone_blacklist_insert_input,
  "on_conflict": phone_blacklist_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_phone_blacklist_one": {
      "created_at": timestamptz,
      "created_by": uuid,
      "election_event_id": uuid,
      "id": uuid,
      "phone_e164": "abc123",
      "reason": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

insert_sequent_backend_preview

Description

insert data into the table: "sequent_backend.preview"

Response

Returns a preview_mutation_response

Arguments
Name Description
objects - [preview_insert_input!]! the rows to be inserted
on_conflict - preview_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_preview(
  $objects: [preview_insert_input!]!,
  $on_conflict: preview_on_conflict
) {
  insert_sequent_backend_preview(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...previewFragment
    }
  }
}
Variables
{
  "objects": [preview_insert_input],
  "on_conflict": preview_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_preview": {
      "affected_rows": 987,
      "returning": [preview]
    }
  }
}

insert_sequent_backend_preview_one

Description

insert a single row into the table: "sequent_backend.preview"

Response

Returns a preview

Arguments
Name Description
object - preview_insert_input! the row to be inserted
on_conflict - preview_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_preview_one(
  $object: preview_insert_input!,
  $on_conflict: preview_on_conflict
) {
  insert_sequent_backend_preview_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    document_id
    id
    requested_by
    tenant_id
    updated_at
    url
  }
}
Variables
{
  "object": preview_insert_input,
  "on_conflict": preview_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_preview_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "document_id": uuid,
      "id": uuid,
      "requested_by": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "url": "xyz789"
    }
  }
}

insert_sequent_backend_report

Description

insert data into the table: "sequent_backend.report"

Response

Returns a report_mutation_response

Arguments
Name Description
objects - [report_insert_input!]! the rows to be inserted
on_conflict - report_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_report(
  $objects: [report_insert_input!]!,
  $on_conflict: report_on_conflict
) {
  insert_sequent_backend_report(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...reportFragment
    }
  }
}
Variables
{
  "objects": [report_insert_input],
  "on_conflict": report_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_report": {
      "affected_rows": 987,
      "returning": [report]
    }
  }
}

insert_sequent_backend_report_one

Description

insert a single row into the table: "sequent_backend.report"

Response

Returns a report

Arguments
Name Description
object - report_insert_input! the row to be inserted
on_conflict - report_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_report_one(
  $object: report_insert_input!,
  $on_conflict: report_on_conflict
) {
  insert_sequent_backend_report_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    created_at
    cron_config
    election_event_id
    election_id
    encryption_policy
    id
    permission_label
    report_type
    template_alias
    tenant_id
  }
}
Variables
{
  "object": report_insert_input,
  "on_conflict": report_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_report_one": {
      "created_at": timestamptz,
      "cron_config": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "encryption_policy": "xyz789",
      "id": uuid,
      "permission_label": ["xyz789"],
      "report_type": "abc123",
      "template_alias": "abc123",
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_results_area_contest

Description

insert data into the table: "sequent_backend.results_area_contest"

Arguments
Name Description
objects - [results_area_contest_insert_input!]! the rows to be inserted
on_conflict - results_area_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_area_contest(
  $objects: [results_area_contest_insert_input!]!,
  $on_conflict: results_area_contest_on_conflict
) {
  insert_sequent_backend_results_area_contest(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...results_area_contestFragment
    }
  }
}
Variables
{
  "objects": [results_area_contest_insert_input],
  "on_conflict": results_area_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_area_contest": {
      "affected_rows": 123,
      "returning": [results_area_contest]
    }
  }
}

insert_sequent_backend_results_area_contest_candidate

Description

insert data into the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
objects - [results_area_contest_candidate_insert_input!]! the rows to be inserted
on_conflict - results_area_contest_candidate_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_area_contest_candidate(
  $objects: [results_area_contest_candidate_insert_input!]!,
  $on_conflict: results_area_contest_candidate_on_conflict
) {
  insert_sequent_backend_results_area_contest_candidate(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...results_area_contest_candidateFragment
    }
  }
}
Variables
{
  "objects": [
    results_area_contest_candidate_insert_input
  ],
  "on_conflict": results_area_contest_candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_area_contest_candidate": {
      "affected_rows": 987,
      "returning": [results_area_contest_candidate]
    }
  }
}

insert_sequent_backend_results_area_contest_candidate_one

Description

insert a single row into the table: "sequent_backend.results_area_contest_candidate"

Response

Returns a results_area_contest_candidate

Arguments
Name Description
object - results_area_contest_candidate_insert_input! the row to be inserted
on_conflict - results_area_contest_candidate_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_area_contest_candidate_one(
  $object: results_area_contest_candidate_insert_input!,
  $on_conflict: results_area_contest_candidate_on_conflict
) {
  insert_sequent_backend_results_area_contest_candidate_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "object": results_area_contest_candidate_insert_input,
  "on_conflict": results_area_contest_candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_area_contest_candidate_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 987
    }
  }
}

insert_sequent_backend_results_area_contest_one

Description

insert a single row into the table: "sequent_backend.results_area_contest"

Response

Returns a results_area_contest

Arguments
Name Description
object - results_area_contest_insert_input! the row to be inserted
on_conflict - results_area_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_area_contest_one(
  $object: results_area_contest_insert_input!,
  $on_conflict: results_area_contest_on_conflict
) {
  insert_sequent_backend_results_area_contest_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "object": results_area_contest_insert_input,
  "on_conflict": results_area_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_area_contest_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "explicit_blank_votes": 123,
      "explicit_blank_votes_percent": numeric,
      "explicit_invalid_votes": 987,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_blank_votes": 987,
      "implicit_blank_votes_percent": numeric,
      "implicit_invalid_votes": 123,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_auditable_votes": 123,
      "total_auditable_votes_percent": numeric,
      "total_blank_votes": 987,
      "total_blank_votes_percent": numeric,
      "total_invalid_votes": 987,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 123,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric
    }
  }
}

insert_sequent_backend_results_contest

Description

insert data into the table: "sequent_backend.results_contest"

Arguments
Name Description
objects - [results_contest_insert_input!]! the rows to be inserted
on_conflict - results_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_contest(
  $objects: [results_contest_insert_input!]!,
  $on_conflict: results_contest_on_conflict
) {
  insert_sequent_backend_results_contest(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...results_contestFragment
    }
  }
}
Variables
{
  "objects": [results_contest_insert_input],
  "on_conflict": results_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_contest": {
      "affected_rows": 987,
      "returning": [results_contest]
    }
  }
}

insert_sequent_backend_results_contest_candidate

Description

insert data into the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
objects - [results_contest_candidate_insert_input!]! the rows to be inserted
on_conflict - results_contest_candidate_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_contest_candidate(
  $objects: [results_contest_candidate_insert_input!]!,
  $on_conflict: results_contest_candidate_on_conflict
) {
  insert_sequent_backend_results_contest_candidate(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...results_contest_candidateFragment
    }
  }
}
Variables
{
  "objects": [results_contest_candidate_insert_input],
  "on_conflict": results_contest_candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_contest_candidate": {
      "affected_rows": 123,
      "returning": [results_contest_candidate]
    }
  }
}

insert_sequent_backend_results_contest_candidate_one

Description

insert a single row into the table: "sequent_backend.results_contest_candidate"

Response

Returns a results_contest_candidate

Arguments
Name Description
object - results_contest_candidate_insert_input! the row to be inserted
on_conflict - results_contest_candidate_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_contest_candidate_one(
  $object: results_contest_candidate_insert_input!,
  $on_conflict: results_contest_candidate_on_conflict
) {
  insert_sequent_backend_results_contest_candidate_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "object": results_contest_candidate_insert_input,
  "on_conflict": results_contest_candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_contest_candidate_one": {
      "annotations": jsonb,
      "candidate_id": uuid,
      "cast_votes": 123,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 987
    }
  }
}

insert_sequent_backend_results_contest_one

Description

insert a single row into the table: "sequent_backend.results_contest"

Response

Returns a results_contest

Arguments
Name Description
object - results_contest_insert_input! the row to be inserted
on_conflict - results_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_contest_one(
  $object: results_contest_insert_input!,
  $on_conflict: results_contest_on_conflict
) {
  insert_sequent_backend_results_contest_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "object": results_contest_insert_input,
  "on_conflict": results_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_contest_one": {
      "annotations": jsonb,
      "contest_id": uuid,
      "counting_algorithm": "xyz789",
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "explicit_blank_votes": 987,
      "explicit_blank_votes_percent": numeric,
      "explicit_invalid_votes": 987,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_blank_votes": 123,
      "implicit_blank_votes_percent": numeric,
      "implicit_invalid_votes": 123,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_auditable_votes": 123,
      "total_auditable_votes_percent": numeric,
      "total_blank_votes": 987,
      "total_blank_votes_percent": numeric,
      "total_invalid_votes": 123,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 987,
      "total_valid_votes_percent": numeric,
      "total_votes": 123,
      "total_votes_percent": numeric,
      "voting_type": "xyz789"
    }
  }
}

insert_sequent_backend_results_election

Description

insert data into the table: "sequent_backend.results_election"

Arguments
Name Description
objects - [results_election_insert_input!]! the rows to be inserted
on_conflict - results_election_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_election(
  $objects: [results_election_insert_input!]!,
  $on_conflict: results_election_on_conflict
) {
  insert_sequent_backend_results_election(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...results_electionFragment
    }
  }
}
Variables
{
  "objects": [results_election_insert_input],
  "on_conflict": results_election_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_election": {
      "affected_rows": 123,
      "returning": [results_election]
    }
  }
}

insert_sequent_backend_results_election_area

Description

insert data into the table: "sequent_backend.results_election_area"

Arguments
Name Description
objects - [results_election_area_insert_input!]! the rows to be inserted
on_conflict - results_election_area_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_election_area(
  $objects: [results_election_area_insert_input!]!,
  $on_conflict: results_election_area_on_conflict
) {
  insert_sequent_backend_results_election_area(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...results_election_areaFragment
    }
  }
}
Variables
{
  "objects": [results_election_area_insert_input],
  "on_conflict": results_election_area_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_election_area": {
      "affected_rows": 987,
      "returning": [results_election_area]
    }
  }
}

insert_sequent_backend_results_election_area_one

Description

insert a single row into the table: "sequent_backend.results_election_area"

Response

Returns a results_election_area

Arguments
Name Description
object - results_election_area_insert_input! the row to be inserted
on_conflict - results_election_area_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_election_area_one(
  $object: results_election_area_insert_input!,
  $on_conflict: results_election_area_on_conflict
) {
  insert_sequent_backend_results_election_area_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    area_id
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    id
    last_updated_at
    name
    results_event_id
    tenant_id
  }
}
Variables
{
  "object": results_election_area_insert_input,
  "on_conflict": results_election_area_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_election_area_one": {
      "area_id": uuid,
      "blank_ballots": 987,
      "blank_ballots_percent": numeric,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_results_election_one

Description

insert a single row into the table: "sequent_backend.results_election"

Response

Returns a results_election

Arguments
Name Description
object - results_election_insert_input! the row to be inserted
on_conflict - results_election_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_election_one(
  $object: results_election_insert_input!,
  $on_conflict: results_election_on_conflict
) {
  insert_sequent_backend_results_election_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "object": results_election_insert_input,
  "on_conflict": results_election_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_election_one": {
      "annotations": jsonb,
      "blank_ballots": 123,
      "blank_ballots_percent": numeric,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_voters": 987,
      "total_voters_percent": numeric
    }
  }
}

insert_sequent_backend_results_event

Description

insert data into the table: "sequent_backend.results_event"

Response

Returns a results_event_mutation_response

Arguments
Name Description
objects - [results_event_insert_input!]! the rows to be inserted
on_conflict - results_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_event(
  $objects: [results_event_insert_input!]!,
  $on_conflict: results_event_on_conflict
) {
  insert_sequent_backend_results_event(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...results_eventFragment
    }
  }
}
Variables
{
  "objects": [results_event_insert_input],
  "on_conflict": results_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_event": {
      "affected_rows": 123,
      "returning": [results_event]
    }
  }
}

insert_sequent_backend_results_event_one

Description

insert a single row into the table: "sequent_backend.results_event"

Response

Returns a results_event

Arguments
Name Description
object - results_event_insert_input! the row to be inserted
on_conflict - results_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_event_one(
  $object: results_event_insert_input!,
  $on_conflict: results_event_on_conflict
) {
  insert_sequent_backend_results_event_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "object": results_event_insert_input,
  "on_conflict": results_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_event_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_scheduled_event

Description

insert data into the table: "sequent_backend.scheduled_event"

Arguments
Name Description
objects - [scheduled_event_insert_input!]! the rows to be inserted
on_conflict - scheduled_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_scheduled_event(
  $objects: [scheduled_event_insert_input!]!,
  $on_conflict: scheduled_event_on_conflict
) {
  insert_sequent_backend_scheduled_event(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...scheduled_eventFragment
    }
  }
}
Variables
{
  "objects": [scheduled_event_insert_input],
  "on_conflict": scheduled_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_scheduled_event": {
      "affected_rows": 123,
      "returning": [scheduled_event]
    }
  }
}

insert_sequent_backend_scheduled_event_one

Description

insert a single row into the table: "sequent_backend.scheduled_event"

Response

Returns a scheduled_event

Arguments
Name Description
object - scheduled_event_insert_input! the row to be inserted
on_conflict - scheduled_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_scheduled_event_one(
  $object: scheduled_event_insert_input!,
  $on_conflict: scheduled_event_on_conflict
) {
  insert_sequent_backend_scheduled_event_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    archived_at
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{
  "object": scheduled_event_insert_input,
  "on_conflict": scheduled_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_scheduled_event_one": {
      "annotations": jsonb,
      "archived_at": timestamptz,
      "created_at": timestamptz,
      "created_by": "xyz789",
      "cron_config": jsonb,
      "election_event_id": uuid,
      "event_payload": jsonb,
      "event_processor": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "stopped_at": timestamptz,
      "task_id": "xyz789",
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_secret

Description

insert data into the table: "sequent_backend.secret"

Response

Returns a secret_mutation_response

Arguments
Name Description
objects - [secret_insert_input!]! the rows to be inserted
on_conflict - secret_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_secret(
  $objects: [secret_insert_input!]!,
  $on_conflict: secret_on_conflict
) {
  insert_sequent_backend_secret(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...secretFragment
    }
  }
}
Variables
{
  "objects": [secret_insert_input],
  "on_conflict": secret_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_secret": {
      "affected_rows": 987,
      "returning": [secret]
    }
  }
}

insert_sequent_backend_secret_one

Description

insert a single row into the table: "sequent_backend.secret"

Response

Returns a secret

Arguments
Name Description
object - secret_insert_input! the row to be inserted
on_conflict - secret_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_secret_one(
  $object: secret_insert_input!,
  $on_conflict: secret_on_conflict
) {
  insert_sequent_backend_secret_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    election_event_id
    id
    key
    labels
    tenant_id
    value
  }
}
Variables
{
  "object": secret_insert_input,
  "on_conflict": secret_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_secret_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "key": "xyz789",
      "labels": jsonb,
      "tenant_id": uuid,
      "value": bytea
    }
  }
}

insert_sequent_backend_support_material

Description

insert data into the table: "sequent_backend.support_material"

Arguments
Name Description
objects - [support_material_insert_input!]! the rows to be inserted
on_conflict - support_material_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_support_material(
  $objects: [support_material_insert_input!]!,
  $on_conflict: support_material_on_conflict
) {
  insert_sequent_backend_support_material(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...support_materialFragment
    }
  }
}
Variables
{
  "objects": [support_material_insert_input],
  "on_conflict": support_material_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_support_material": {
      "affected_rows": 987,
      "returning": [support_material]
    }
  }
}

insert_sequent_backend_support_material_one

Description

insert a single row into the table: "sequent_backend.support_material"

Response

Returns a support_material

Arguments
Name Description
object - support_material_insert_input! the row to be inserted
on_conflict - support_material_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_support_material_one(
  $object: support_material_insert_input!,
  $on_conflict: support_material_on_conflict
) {
  insert_sequent_backend_support_material_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "object": support_material_insert_input,
  "on_conflict": support_material_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_support_material_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "data": jsonb,
      "document_id": "abc123",
      "election_event_id": uuid,
      "id": uuid,
      "is_hidden": false,
      "kind": "xyz789",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_tally_results_publication

Description

insert data into the table: "sequent_backend.tally_results_publication"

Arguments
Name Description
objects - [tally_results_publication_insert_input!]! the rows to be inserted
on_conflict - tally_results_publication_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_results_publication(
  $objects: [tally_results_publication_insert_input!]!,
  $on_conflict: tally_results_publication_on_conflict
) {
  insert_sequent_backend_tally_results_publication(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...tally_results_publicationFragment
    }
  }
}
Variables
{
  "objects": [tally_results_publication_insert_input],
  "on_conflict": tally_results_publication_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_results_publication": {
      "affected_rows": 987,
      "returning": [tally_results_publication]
    }
  }
}

insert_sequent_backend_tally_results_publication_one

Description

insert a single row into the table: "sequent_backend.tally_results_publication"

Response

Returns a tally_results_publication

Arguments
Name Description
object - tally_results_publication_insert_input! the row to be inserted
on_conflict - tally_results_publication_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_results_publication_one(
  $object: tally_results_publication_insert_input!,
  $on_conflict: tally_results_publication_on_conflict
) {
  insert_sequent_backend_tally_results_publication_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    access
    contest_publication_state
    created_at
    documents
    election_event_id
    election_ids
    error_message
    id
    manifest
    publication_status
    published_at
    published_by_user_id
    published_contest_ids
    results_event_id
    revoked_at
    route_election_id
    route_scope
    tally_session_execution_id
    tally_session_id
    task_execution_id
    tenant_id
    updated_at
    version
    visibility_scope
  }
}
Variables
{
  "object": tally_results_publication_insert_input,
  "on_conflict": tally_results_publication_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_results_publication_one": {
      "access": "xyz789",
      "contest_publication_state": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "error_message": "abc123",
      "id": uuid,
      "manifest": jsonb,
      "publication_status": "xyz789",
      "published_at": timestamptz,
      "published_by_user_id": uuid,
      "published_contest_ids": jsonb,
      "results_event_id": uuid,
      "revoked_at": timestamptz,
      "route_election_id": uuid,
      "route_scope": "xyz789",
      "tally_session_execution_id": uuid,
      "tally_session_id": uuid,
      "task_execution_id": uuid,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "version": 987,
      "visibility_scope": "abc123"
    }
  }
}

insert_sequent_backend_tally_session

Description

insert data into the table: "sequent_backend.tally_session"

Response

Returns a tally_session_mutation_response

Arguments
Name Description
objects - [tally_session_insert_input!]! the rows to be inserted
on_conflict - tally_session_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session(
  $objects: [tally_session_insert_input!]!,
  $on_conflict: tally_session_on_conflict
) {
  insert_sequent_backend_tally_session(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...tally_sessionFragment
    }
  }
}
Variables
{
  "objects": [tally_session_insert_input],
  "on_conflict": tally_session_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session": {
      "affected_rows": 987,
      "returning": [tally_session]
    }
  }
}

insert_sequent_backend_tally_session_contest

Description

insert data into the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
objects - [tally_session_contest_insert_input!]! the rows to be inserted
on_conflict - tally_session_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_contest(
  $objects: [tally_session_contest_insert_input!]!,
  $on_conflict: tally_session_contest_on_conflict
) {
  insert_sequent_backend_tally_session_contest(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...tally_session_contestFragment
    }
  }
}
Variables
{
  "objects": [tally_session_contest_insert_input],
  "on_conflict": tally_session_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_contest": {
      "affected_rows": 987,
      "returning": [tally_session_contest]
    }
  }
}

insert_sequent_backend_tally_session_contest_one

Description

insert a single row into the table: "sequent_backend.tally_session_contest"

Response

Returns a tally_session_contest

Arguments
Name Description
object - tally_session_contest_insert_input! the row to be inserted
on_conflict - tally_session_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_contest_one(
  $object: tally_session_contest_insert_input!,
  $on_conflict: tally_session_contest_on_conflict
) {
  insert_sequent_backend_tally_session_contest_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "object": tally_session_contest_insert_input,
  "on_conflict": tally_session_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_contest_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "session_id": 123,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_tally_session_execution

Description

insert data into the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
objects - [tally_session_execution_insert_input!]! the rows to be inserted
on_conflict - tally_session_execution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_execution(
  $objects: [tally_session_execution_insert_input!]!,
  $on_conflict: tally_session_execution_on_conflict
) {
  insert_sequent_backend_tally_session_execution(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...tally_session_executionFragment
    }
  }
}
Variables
{
  "objects": [tally_session_execution_insert_input],
  "on_conflict": tally_session_execution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_execution": {
      "affected_rows": 123,
      "returning": [tally_session_execution]
    }
  }
}

insert_sequent_backend_tally_session_execution_one

Description

insert a single row into the table: "sequent_backend.tally_session_execution"

Response

Returns a tally_session_execution

Arguments
Name Description
object - tally_session_execution_insert_input! the row to be inserted
on_conflict - tally_session_execution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_execution_one(
  $object: tally_session_execution_insert_input!,
  $on_conflict: tally_session_execution_on_conflict
) {
  insert_sequent_backend_tally_session_execution_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    current_message_id
    documents
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    run_reason
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "object": tally_session_execution_insert_input,
  "on_conflict": tally_session_execution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_execution_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "current_message_id": 987,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "run_reason": "xyz789",
      "session_ids": [123],
      "status": jsonb,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_tally_session_one

Description

insert a single row into the table: "sequent_backend.tally_session"

Response

Returns a tally_session

Arguments
Name Description
object - tally_session_insert_input! the row to be inserted
on_conflict - tally_session_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_one(
  $object: tally_session_insert_input!,
  $on_conflict: tally_session_on_conflict
) {
  insert_sequent_backend_tally_session_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_ids
    configuration
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    permission_label
    resolutions {
      ...tally_session_resolutionFragment
    }
    resolutions_aggregate {
      ...tally_session_resolution_aggregateFragment
    }
    tally_type
    tenant_id
    threshold
  }
}
Variables
{
  "object": tally_session_insert_input,
  "on_conflict": tally_session_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_one": {
      "annotations": jsonb,
      "area_ids": [uuid],
      "configuration": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "execution_status": "xyz789",
      "id": uuid,
      "is_execution_completed": true,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "permission_label": ["xyz789"],
      "resolutions": [tally_session_resolution],
      "resolutions_aggregate": tally_session_resolution_aggregate,
      "tally_type": "abc123",
      "tenant_id": uuid,
      "threshold": 987
    }
  }
}

insert_sequent_backend_tally_session_resolution

Description

insert data into the table: "sequent_backend.tally_session_resolution"

Arguments
Name Description
objects - [tally_session_resolution_insert_input!]! the rows to be inserted
on_conflict - tally_session_resolution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_resolution(
  $objects: [tally_session_resolution_insert_input!]!,
  $on_conflict: tally_session_resolution_on_conflict
) {
  insert_sequent_backend_tally_session_resolution(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...tally_session_resolutionFragment
    }
  }
}
Variables
{
  "objects": [tally_session_resolution_insert_input],
  "on_conflict": tally_session_resolution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_resolution": {
      "affected_rows": 987,
      "returning": [tally_session_resolution]
    }
  }
}

insert_sequent_backend_tally_session_resolution_one

Description

insert a single row into the table: "sequent_backend.tally_session_resolution"

Response

Returns a tally_session_resolution

Arguments
Name Description
object - tally_session_resolution_insert_input! the row to be inserted
on_conflict - tally_session_resolution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_resolution_one(
  $object: tally_session_resolution_insert_input!,
  $on_conflict: tally_session_resolution_on_conflict
) {
  insert_sequent_backend_tally_session_resolution_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    resolution_data
    resolution_type
    resolved_at
    resolved_by_user
    status
    tally_session {
      ...tally_sessionFragment
    }
    tally_session_id
    tenant_id
  }
}
Variables
{
  "object": tally_session_resolution_insert_input,
  "on_conflict": tally_session_resolution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_resolution_one": {
      "annotations": jsonb,
      "contest": contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "resolution_data": jsonb,
      "resolution_type": "abc123",
      "resolved_at": timestamptz,
      "resolved_by_user": uuid,
      "status": "abc123",
      "tally_session": tally_session,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_tally_sheet

Description

insert data into the table: "sequent_backend.tally_sheet"

Response

Returns a tally_sheet_mutation_response

Arguments
Name Description
objects - [tally_sheet_insert_input!]! the rows to be inserted
on_conflict - tally_sheet_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_sheet(
  $objects: [tally_sheet_insert_input!]!,
  $on_conflict: tally_sheet_on_conflict
) {
  insert_sequent_backend_tally_sheet(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...tally_sheetFragment
    }
  }
}
Variables
{
  "objects": [tally_sheet_insert_input],
  "on_conflict": tally_sheet_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_sheet": {
      "affected_rows": 123,
      "returning": [tally_sheet]
    }
  }
}

insert_sequent_backend_tally_sheet_import

Description

insert data into the table: "sequent_backend.tally_sheet_import"

Arguments
Name Description
objects - [tally_sheet_import_insert_input!]! the rows to be inserted
on_conflict - tally_sheet_import_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_sheet_import(
  $objects: [tally_sheet_import_insert_input!]!,
  $on_conflict: tally_sheet_import_on_conflict
) {
  insert_sequent_backend_tally_sheet_import(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...tally_sheet_importFragment
    }
  }
}
Variables
{
  "objects": [tally_sheet_import_insert_input],
  "on_conflict": tally_sheet_import_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_sheet_import": {
      "affected_rows": 987,
      "returning": [tally_sheet_import]
    }
  }
}

insert_sequent_backend_tally_sheet_import_item

Description

insert data into the table: "sequent_backend.tally_sheet_import_item"

Arguments
Name Description
objects - [tally_sheet_import_item_insert_input!]! the rows to be inserted
on_conflict - tally_sheet_import_item_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_sheet_import_item(
  $objects: [tally_sheet_import_item_insert_input!]!,
  $on_conflict: tally_sheet_import_item_on_conflict
) {
  insert_sequent_backend_tally_sheet_import_item(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...tally_sheet_import_itemFragment
    }
  }
}
Variables
{
  "objects": [tally_sheet_import_item_insert_input],
  "on_conflict": tally_sheet_import_item_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_sheet_import_item": {
      "affected_rows": 123,
      "returning": [tally_sheet_import_item]
    }
  }
}

insert_sequent_backend_tally_sheet_import_item_one

Description

insert a single row into the table: "sequent_backend.tally_sheet_import_item"

Response

Returns a tally_sheet_import_item

Arguments
Name Description
object - tally_sheet_import_item_insert_input! the row to be inserted
on_conflict - tally_sheet_import_item_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_sheet_import_item_one(
  $object: tally_sheet_import_item_insert_input!,
  $on_conflict: tally_sheet_import_item_on_conflict
) {
  insert_sequent_backend_tally_sheet_import_item_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    baseline_approved_tally_sheet_id
    baseline_approved_version
    baseline_content_hash
    change_type
    channel
    contest_id
    created_at
    election_event_id
    election_id
    generated_tally_sheet {
      ...tally_sheetFragment
    }
    generated_tally_sheet_id
    id
    import {
      ...tally_sheet_importFragment
    }
    import_id
    incoming_content_hash
    incoming_csv
    labels
    last_updated_at
    previous_csv
    source_refs
    status
    tenant_id
    validation_warnings
  }
}
Variables
{
  "object": tally_sheet_import_item_insert_input,
  "on_conflict": tally_sheet_import_item_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_sheet_import_item_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "baseline_approved_tally_sheet_id": uuid,
      "baseline_approved_version": 987,
      "baseline_content_hash": "xyz789",
      "change_type": "abc123",
      "channel": "abc123",
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "generated_tally_sheet": tally_sheet,
      "generated_tally_sheet_id": uuid,
      "id": uuid,
      "import": tally_sheet_import,
      "import_id": uuid,
      "incoming_content_hash": "abc123",
      "incoming_csv": "abc123",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "previous_csv": "abc123",
      "source_refs": jsonb,
      "status": "abc123",
      "tenant_id": uuid,
      "validation_warnings": jsonb
    }
  }
}

insert_sequent_backend_tally_sheet_import_one

Description

insert a single row into the table: "sequent_backend.tally_sheet_import"

Response

Returns a tally_sheet_import

Arguments
Name Description
object - tally_sheet_import_insert_input! the row to be inserted
on_conflict - tally_sheet_import_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_sheet_import_one(
  $object: tally_sheet_import_insert_input!,
  $on_conflict: tally_sheet_import_on_conflict
) {
  insert_sequent_backend_tally_sheet_import_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    canonical_csv_sha256
    created_at
    created_by_user_id
    election_event_id
    id
    items {
      ...tally_sheet_import_itemFragment
    }
    items_aggregate {
      ...tally_sheet_import_item_aggregateFragment
    }
    labels
    last_updated_at
    selected_channel
    source_document {
      ...documentFragment
    }
    source_document_id
    source_file_name
    source_format
    source_sha256
    status
    summary
    tenant_id
    validation_report
  }
}
Variables
{
  "object": tally_sheet_import_insert_input,
  "on_conflict": tally_sheet_import_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_sheet_import_one": {
      "annotations": jsonb,
      "canonical_csv_sha256": "abc123",
      "created_at": timestamptz,
      "created_by_user_id": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "items": [tally_sheet_import_item],
      "items_aggregate": tally_sheet_import_item_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "selected_channel": "abc123",
      "source_document": document,
      "source_document_id": uuid,
      "source_file_name": "abc123",
      "source_format": "xyz789",
      "source_sha256": "xyz789",
      "status": "abc123",
      "summary": jsonb,
      "tenant_id": uuid,
      "validation_report": jsonb
    }
  }
}

insert_sequent_backend_tally_sheet_one

Description

insert a single row into the table: "sequent_backend.tally_sheet"

Response

Returns a tally_sheet

Arguments
Name Description
object - tally_sheet_insert_input! the row to be inserted
on_conflict - tally_sheet_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_sheet_one(
  $object: tally_sheet_insert_input!,
  $on_conflict: tally_sheet_on_conflict
) {
  insert_sequent_backend_tally_sheet_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    import_id
    labels
    last_updated_at
    reviewed_at
    reviewed_by_user_id
    source_import {
      ...tally_sheet_importFragment
    }
    status
    tenant_id
    version
  }
}
Variables
{
  "object": tally_sheet_insert_input,
  "on_conflict": tally_sheet_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_sheet_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "channel": "xyz789",
      "content": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "import_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "reviewed_at": timestamptz,
      "reviewed_by_user_id": "xyz789",
      "source_import": tally_sheet_import,
      "status": "xyz789",
      "tenant_id": uuid,
      "version": 123
    }
  }
}

insert_sequent_backend_tasks_execution

Description

insert data into the table: "sequent_backend.tasks_execution"

Arguments
Name Description
objects - [tasks_execution_insert_input!]! the rows to be inserted
on_conflict - tasks_execution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tasks_execution(
  $objects: [tasks_execution_insert_input!]!,
  $on_conflict: tasks_execution_on_conflict
) {
  insert_sequent_backend_tasks_execution(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...tasks_executionFragment
    }
  }
}
Variables
{
  "objects": [tasks_execution_insert_input],
  "on_conflict": tasks_execution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tasks_execution": {
      "affected_rows": 123,
      "returning": [tasks_execution]
    }
  }
}

insert_sequent_backend_tasks_execution_one

Description

insert a single row into the table: "sequent_backend.tasks_execution"

Response

Returns a tasks_execution

Arguments
Name Description
object - tasks_execution_insert_input! the row to be inserted
on_conflict - tasks_execution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tasks_execution_one(
  $object: tasks_execution_insert_input!,
  $on_conflict: tasks_execution_on_conflict
) {
  insert_sequent_backend_tasks_execution_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    election_event_id
    end_at
    executed_by_user
    execution_status
    id
    labels
    logs
    name
    start_at
    tenant {
      ...tenantFragment
    }
    tenant_id
    type
  }
}
Variables
{
  "object": tasks_execution_insert_input,
  "on_conflict": tasks_execution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tasks_execution_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "end_at": timestamptz,
      "executed_by_user": "xyz789",
      "execution_status": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "logs": json,
      "name": "abc123",
      "start_at": timestamptz,
      "tenant": tenant,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

insert_sequent_backend_template

Description

insert data into the table: "sequent_backend.template"

Response

Returns a template_mutation_response

Arguments
Name Description
objects - [template_insert_input!]! the rows to be inserted
on_conflict - template_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_template(
  $objects: [template_insert_input!]!,
  $on_conflict: template_on_conflict
) {
  insert_sequent_backend_template(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...templateFragment
    }
  }
}
Variables
{
  "objects": [template_insert_input],
  "on_conflict": template_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_template": {
      "affected_rows": 987,
      "returning": [template]
    }
  }
}

insert_sequent_backend_template_one

Description

insert a single row into the table: "sequent_backend.template"

Response

Returns a template

Arguments
Name Description
object - template_insert_input! the row to be inserted
on_conflict - template_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_template_one(
  $object: template_insert_input!,
  $on_conflict: template_on_conflict
) {
  insert_sequent_backend_template_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    alias
    annotations
    communication_method
    created_at
    created_by
    id
    labels
    template
    tenant_id
    type
    updated_at
  }
}
Variables
{
  "object": template_insert_input,
  "on_conflict": template_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_template_one": {
      "alias": "xyz789",
      "annotations": jsonb,
      "communication_method": "abc123",
      "created_at": timestamptz,
      "created_by": "abc123",
      "id": uuid,
      "labels": jsonb,
      "template": jsonb,
      "tenant_id": uuid,
      "type": "xyz789",
      "updated_at": timestamptz
    }
  }
}

insert_sequent_backend_tenant

Description

insert data into the table: "sequent_backend.tenant"

Response

Returns a tenant_mutation_response

Arguments
Name Description
objects - [tenant_insert_input!]! the rows to be inserted
on_conflict - tenant_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tenant(
  $objects: [tenant_insert_input!]!,
  $on_conflict: tenant_on_conflict
) {
  insert_sequent_backend_tenant(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...tenantFragment
    }
  }
}
Variables
{
  "objects": [tenant_insert_input],
  "on_conflict": tenant_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tenant": {
      "affected_rows": 987,
      "returning": [tenant]
    }
  }
}

insert_sequent_backend_tenant_one

Description

insert a single row into the table: "sequent_backend.tenant"

Response

Returns a tenant

Arguments
Name Description
object - tenant_insert_input! the row to be inserted
on_conflict - tenant_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tenant_one(
  $object: tenant_insert_input!,
  $on_conflict: tenant_on_conflict
) {
  insert_sequent_backend_tenant_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    test
    updated_at
    voting_channels
  }
}
Variables
{
  "object": tenant_insert_input,
  "on_conflict": tenant_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tenant_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "is_active": true,
      "labels": jsonb,
      "settings": jsonb,
      "slug": "abc123",
      "test": 123,
      "updated_at": timestamptz,
      "voting_channels": jsonb
    }
  }
}

insert_sequent_backend_trustee

Description

insert data into the table: "sequent_backend.trustee"

Response

Returns a trustee_mutation_response

Arguments
Name Description
objects - [trustee_insert_input!]! the rows to be inserted
on_conflict - trustee_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_trustee(
  $objects: [trustee_insert_input!]!,
  $on_conflict: trustee_on_conflict
) {
  insert_sequent_backend_trustee(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...trusteeFragment
    }
  }
}
Variables
{
  "objects": [trustee_insert_input],
  "on_conflict": trustee_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_trustee": {
      "affected_rows": 123,
      "returning": [trustee]
    }
  }
}

insert_sequent_backend_trustee_one

Description

insert a single row into the table: "sequent_backend.trustee"

Response

Returns a trustee

Arguments
Name Description
object - trustee_insert_input! the row to be inserted
on_conflict - trustee_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_trustee_one(
  $object: trustee_insert_input!,
  $on_conflict: trustee_on_conflict
) {
  insert_sequent_backend_trustee_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{
  "object": trustee_insert_input,
  "on_conflict": trustee_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_trustee_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "public_key": "abc123",
      "tenant_id": uuid
    }
  }
}

limit_access_by_countries

Response

Returns a LimitAccessByCountriesOutput

Arguments
Name Description
enroll_countries - [String!]!
voting_countries - [String!]!

Example

Query
mutation limit_access_by_countries(
  $enroll_countries: [String!]!,
  $voting_countries: [String!]!
) {
  limit_access_by_countries(
    enroll_countries: $enroll_countries,
    voting_countries: $voting_countries
  ) {
    success
  }
}
Variables
{
  "enroll_countries": ["xyz789"],
  "voting_countries": ["xyz789"]
}
Response
{"data": {"limit_access_by_countries": {"success": false}}}

manage_election_dates

Response

Returns a ManageElectionDatesOutput

Arguments
Name Description
election_event_id - String!
election_id - String
event_processor - String!
scheduled_date - String
voting_channels - [VotingStatusChannel!]

Example

Query
mutation manage_election_dates(
  $election_event_id: String!,
  $election_id: String,
  $event_processor: String!,
  $scheduled_date: String,
  $voting_channels: [VotingStatusChannel!]
) {
  manage_election_dates(
    election_event_id: $election_event_id,
    election_id: $election_id,
    event_processor: $event_processor,
    scheduled_date: $scheduled_date,
    voting_channels: $voting_channels
  ) {
    error_msg
  }
}
Variables
{
  "election_event_id": "abc123",
  "election_id": "xyz789",
  "event_processor": "abc123",
  "scheduled_date": "xyz789",
  "voting_channels": ["EARLY_VOTING"]
}
Response
{
  "data": {
    "manage_election_dates": {
      "error_msg": "abc123"
    }
  }
}

prepare_ballot_publication_preview

Arguments
Name Description
ballot_publication_id - String!
election_event_id - String!

Example

Query
mutation prepare_ballot_publication_preview(
  $ballot_publication_id: String!,
  $election_event_id: String!
) {
  prepare_ballot_publication_preview(
    ballot_publication_id: $ballot_publication_id,
    election_event_id: $election_event_id
  ) {
    document_id
    error_msg
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "ballot_publication_id": "xyz789",
  "election_event_id": "abc123"
}
Response
{
  "data": {
    "prepare_ballot_publication_preview": {
      "document_id": "abc123",
      "error_msg": "xyz789",
      "task_execution": tasks_execution_type
    }
  }
}

preview_tally_sheet_import

Description

preview_tally_sheet_import

Arguments
Name Description
document_id - String!
election_event_id - String!
selected_channel - String!
sha256 - String
source_format - String!

Example

Query
mutation preview_tally_sheet_import(
  $document_id: String!,
  $election_event_id: String!,
  $selected_channel: String!,
  $sha256: String,
  $source_format: String!
) {
  preview_tally_sheet_import(
    document_id: $document_id,
    election_event_id: $election_event_id,
    selected_channel: $selected_channel,
    sha256: $sha256,
    source_format: $source_format
  ) {
    preview
  }
}
Variables
{
  "document_id": "abc123",
  "election_event_id": "xyz789",
  "selected_channel": "abc123",
  "sha256": "xyz789",
  "source_format": "xyz789"
}
Response
{
  "data": {
    "preview_tally_sheet_import": {"preview": jsonb}
  }
}

publishResultsWebsite

Description

Publish selected tally contests to the results website

Response

Returns a PublishResultsWebsiteOutput!

Arguments
Name Description
access - ResultsWebsiteAccess!
contest_ids - [String!]!
election_event_id - String!
election_ids - [String!]!
results_event_id - String!
route_election_id - String
route_scope - ResultsRouteScope!
tally_session_execution_id - String!
tally_session_id - String!
visibility_scope - ResultsWebsiteVisibilityScope!

Example

Query
mutation publishResultsWebsite(
  $access: ResultsWebsiteAccess!,
  $contest_ids: [String!]!,
  $election_event_id: String!,
  $election_ids: [String!]!,
  $results_event_id: String!,
  $route_election_id: String,
  $route_scope: ResultsRouteScope!,
  $tally_session_execution_id: String!,
  $tally_session_id: String!,
  $visibility_scope: ResultsWebsiteVisibilityScope!
) {
  publishResultsWebsite(
    access: $access,
    contest_ids: $contest_ids,
    election_event_id: $election_event_id,
    election_ids: $election_ids,
    results_event_id: $results_event_id,
    route_election_id: $route_election_id,
    route_scope: $route_scope,
    tally_session_execution_id: $tally_session_execution_id,
    tally_session_id: $tally_session_id,
    visibility_scope: $visibility_scope
  ) {
    error_msg
    publication_id
    publication_status
    task_execution {
      ...tasks_execution_typeFragment
    }
    task_execution_id
  }
}
Variables
{
  "access": "authenticated",
  "contest_ids": ["xyz789"],
  "election_event_id": "xyz789",
  "election_ids": ["abc123"],
  "results_event_id": "abc123",
  "route_election_id": "xyz789",
  "route_scope": "election",
  "tally_session_execution_id": "xyz789",
  "tally_session_id": "abc123",
  "visibility_scope": "area_based"
}
Response
{
  "data": {
    "publishResultsWebsite": {
      "error_msg": "xyz789",
      "publication_id": "abc123",
      "publication_status": "Failed",
      "task_execution": tasks_execution_type,
      "task_execution_id": "abc123"
    }
  }
}

publish_ballot

Response

Returns a PublishBallotOutput

Arguments
Name Description
ballot_publication_id - uuid!
election_event_id - uuid!

Example

Query
mutation publish_ballot(
  $ballot_publication_id: uuid!,
  $election_event_id: uuid!
) {
  publish_ballot(
    ballot_publication_id: $ballot_publication_id,
    election_event_id: $election_event_id
  ) {
    ballot_publication_id
  }
}
Variables
{
  "ballot_publication_id": uuid,
  "election_event_id": uuid
}
Response
{
  "data": {
    "publish_ballot": {"ballot_publication_id": uuid}
  }
}

recount_tally_session

Description

Recount a completed tally session with fresh result ids

Response

Returns a StartTallyOutput

Arguments
Name Description
election_event_id - uuid!
tally_session_id - uuid!

Example

Query
mutation recount_tally_session(
  $election_event_id: uuid!,
  $tally_session_id: uuid!
) {
  recount_tally_session(
    election_event_id: $election_event_id,
    tally_session_id: $tally_session_id
  ) {
    tally_session_id
  }
}
Variables
{
  "election_event_id": uuid,
  "tally_session_id": uuid
}
Response
{
  "data": {
    "recount_tally_session": {"tally_session_id": uuid}
  }
}

refreshResultsPublicationIndex

Description

Refresh the public results publication index using the current results website policy

Arguments
Name Description
election_event_id - String!

Example

Query
mutation refreshResultsPublicationIndex($election_event_id: String!) {
  refreshResultsPublicationIndex(election_event_id: $election_event_id) {
    election_event_id
    results_enabled
  }
}
Variables
{"election_event_id": "xyz789"}
Response
{
  "data": {
    "refreshResultsPublicationIndex": {
      "election_event_id": "xyz789",
      "results_enabled": true
    }
  }
}

render_document_pdf

Response

Returns a RenderDocumentPDFOutput

Arguments
Name Description
document_id - uuid!
election_event_id - uuid
tally_session_id - uuid

Example

Query
mutation render_document_pdf(
  $document_id: uuid!,
  $election_event_id: uuid,
  $tally_session_id: uuid
) {
  render_document_pdf(
    document_id: $document_id,
    election_event_id: $election_event_id,
    tally_session_id: $tally_session_id
  ) {
    document_id
    task_execution {
      ...tasks_execution_typeFragment
    }
  }
}
Variables
{
  "document_id": uuid,
  "election_event_id": uuid,
  "tally_session_id": uuid
}
Response
{
  "data": {
    "render_document_pdf": {
      "document_id": "abc123",
      "task_execution": tasks_execution_type
    }
  }
}

restore_private_key

Response

Returns a RestorePrivateKeyOutput

Arguments
Name Description
object - RestorePrivateKeyInput!

Example

Query
mutation restore_private_key($object: RestorePrivateKeyInput!) {
  restore_private_key(object: $object) {
    is_valid
  }
}
Variables
{"object": RestorePrivateKeyInput}
Response
{"data": {"restore_private_key": {"is_valid": false}}}

review_tally_sheet

Description

review_tally_sheet

Response

Returns a TallySheetOutput

Arguments
Name Description
election_event_id - String!
new_status - String!
tally_sheet_id - String!

Example

Query
mutation review_tally_sheet(
  $election_event_id: String!,
  $new_status: String!,
  $tally_sheet_id: String!
) {
  review_tally_sheet(
    election_event_id: $election_event_id,
    new_status: $new_status,
    tally_sheet_id: $tally_sheet_id
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    import_id
    labels
    last_updated_at
    reviewed_at
    reviewed_by_user_id
    status
    tenant_id
    version
  }
}
Variables
{
  "election_event_id": "abc123",
  "new_status": "abc123",
  "tally_sheet_id": "abc123"
}
Response
{
  "data": {
    "review_tally_sheet": {
      "annotations": jsonb,
      "area_id": "xyz789",
      "channel": "abc123",
      "content": jsonb,
      "contest_id": "abc123",
      "created_at": "abc123",
      "created_by_user_id": "abc123",
      "deleted_at": "abc123",
      "election_event_id": "xyz789",
      "election_id": "abc123",
      "id": "abc123",
      "import_id": "abc123",
      "labels": jsonb,
      "last_updated_at": "abc123",
      "reviewed_at": "abc123",
      "reviewed_by_user_id": "abc123",
      "status": "xyz789",
      "tenant_id": "xyz789",
      "version": 123
    }
  }
}

review_tally_sheet_import

Description

review_tally_sheet_import

Response

Returns a TallySheetImportActionOutput

Arguments
Name Description
decision - String!
election_event_id - String!
import_id - String!

Example

Query
mutation review_tally_sheet_import(
  $decision: String!,
  $election_event_id: String!,
  $import_id: String!
) {
  review_tally_sheet_import(
    decision: $decision,
    election_event_id: $election_event_id,
    import_id: $import_id
  ) {
    import
  }
}
Variables
{
  "decision": "abc123",
  "election_event_id": "abc123",
  "import_id": "xyz789"
}
Response
{"data": {"review_tally_sheet_import": {"import": jsonb}}}

revokeResultsPublication

Description

Revoke an active results website publication

Response

Returns a RevokeResultsPublicationOutput!

Arguments
Name Description
election_event_id - String!
publication_id - String!

Example

Query
mutation revokeResultsPublication(
  $election_event_id: String!,
  $publication_id: String!
) {
  revokeResultsPublication(
    election_event_id: $election_event_id,
    publication_id: $publication_id
  ) {
    publication_id
    publication_status
  }
}
Variables
{
  "election_event_id": "xyz789",
  "publication_id": "abc123"
}
Response
{
  "data": {
    "revokeResultsPublication": {
      "publication_id": "xyz789",
      "publication_status": "Failed"
    }
  }
}

send_transmission_package

Response

Returns an OptionalId

Arguments
Name Description
area_id - uuid!
election_id - uuid!
tally_session_id - uuid!

Example

Query
mutation send_transmission_package(
  $area_id: uuid!,
  $election_id: uuid!,
  $tally_session_id: uuid!
) {
  send_transmission_package(
    area_id: $area_id,
    election_id: $election_id,
    tally_session_id: $tally_session_id
  ) {
    id
  }
}
Variables
{
  "area_id": uuid,
  "election_id": uuid,
  "tally_session_id": uuid
}
Response
{
  "data": {
    "send_transmission_package": {
      "id": "abc123"
    }
  }
}

set_custom_urls

Response

Returns a SetCustomUrlsOutput

Arguments
Name Description
dns_prefix - String!
election_id - String!
key - String!
origin - String!
redirect_to - String!

Example

Query
mutation set_custom_urls(
  $dns_prefix: String!,
  $election_id: String!,
  $key: String!,
  $origin: String!,
  $redirect_to: String!
) {
  set_custom_urls(
    dns_prefix: $dns_prefix,
    election_id: $election_id,
    key: $key,
    origin: $origin,
    redirect_to: $redirect_to
  ) {
    message
    success
  }
}
Variables
{
  "dns_prefix": "xyz789",
  "election_id": "abc123",
  "key": "abc123",
  "origin": "abc123",
  "redirect_to": "xyz789"
}
Response
{
  "data": {
    "set_custom_urls": {
      "message": "abc123",
      "success": true
    }
  }
}

set_role_permission

Response

Returns a SetRolePermissionOutput

Arguments
Name Description
permission_name - String!
role_id - String!
tenant_id - String!

Example

Query
mutation set_role_permission(
  $permission_name: String!,
  $role_id: String!,
  $tenant_id: String!
) {
  set_role_permission(
    permission_name: $permission_name,
    role_id: $role_id,
    tenant_id: $tenant_id
  ) {
    id
  }
}
Variables
{
  "permission_name": "xyz789",
  "role_id": "abc123",
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "set_role_permission": {"id": "abc123"}
  }
}

set_user_role

Response

Returns a SetUserRoleOutput

Arguments
Name Description
role_id - String!
tenant_id - String!
user_id - String!

Example

Query
mutation set_user_role(
  $role_id: String!,
  $tenant_id: String!,
  $user_id: String!
) {
  set_user_role(
    role_id: $role_id,
    tenant_id: $tenant_id,
    user_id: $user_id
  ) {
    id
  }
}
Variables
{
  "role_id": "xyz789",
  "tenant_id": "abc123",
  "user_id": "abc123"
}
Response
{
  "data": {
    "set_user_role": {"id": "abc123"}
  }
}

set_voter_authentication

Response

Returns a SetVoterAuthenticationOutput

Arguments
Name Description
election_event_id - String!
enrollment - String!
otp - String!

Example

Query
mutation set_voter_authentication(
  $election_event_id: String!,
  $enrollment: String!,
  $otp: String!
) {
  set_voter_authentication(
    election_event_id: $election_event_id,
    enrollment: $enrollment,
    otp: $otp
  ) {
    message
    success
  }
}
Variables
{
  "election_event_id": "xyz789",
  "enrollment": "abc123",
  "otp": "xyz789"
}
Response
{
  "data": {
    "set_voter_authentication": {
      "message": "abc123",
      "success": false
    }
  }
}

submit_tally_resolution

Description

Submit tally resolutions

Response

Returns a SubmitTallyResolutionOutput

Arguments
Name Description
election_event_id - uuid!
resolutions - [TallyResolutionInput!]!
tally_session_id - uuid!

Example

Query
mutation submit_tally_resolution(
  $election_event_id: uuid!,
  $resolutions: [TallyResolutionInput!]!,
  $tally_session_id: uuid!
) {
  submit_tally_resolution(
    election_event_id: $election_event_id,
    resolutions: $resolutions,
    tally_session_id: $tally_session_id
  ) {
    resolved_count
    success
    tally_session_id
  }
}
Variables
{
  "election_event_id": uuid,
  "resolutions": [TallyResolutionInput],
  "tally_session_id": uuid
}
Response
{
  "data": {
    "submit_tally_resolution": {
      "resolved_count": 987,
      "success": true,
      "tally_session_id": "abc123"
    }
  }
}

update_election_voting_status

Response

Returns an UpdateElectionVotingStatusOutput

Arguments
Name Description
election_event_id - uuid!
election_id - uuid!
voting_channels - [VotingStatusChannel]
voting_status - VotingStatus!

Example

Query
mutation update_election_voting_status(
  $election_event_id: uuid!,
  $election_id: uuid!,
  $voting_channels: [VotingStatusChannel],
  $voting_status: VotingStatus!
) {
  update_election_voting_status(
    election_event_id: $election_event_id,
    election_id: $election_id,
    voting_channels: $voting_channels,
    voting_status: $voting_status
  ) {
    election_id
  }
}
Variables
{
  "election_event_id": uuid,
  "election_id": uuid,
  "voting_channels": ["EARLY_VOTING"],
  "voting_status": "CLOSED"
}
Response
{
  "data": {
    "update_election_voting_status": {"election_id": uuid}
  }
}

update_event_voting_status

Response

Returns an UpdateEventVotingStatusOutput

Arguments
Name Description
election_event_id - uuid!
voting_channels - [VotingStatusChannel]
voting_status - VotingStatus!

Example

Query
mutation update_event_voting_status(
  $election_event_id: uuid!,
  $voting_channels: [VotingStatusChannel],
  $voting_status: VotingStatus!
) {
  update_event_voting_status(
    election_event_id: $election_event_id,
    voting_channels: $voting_channels,
    voting_status: $voting_status
  ) {
    election_event_id
  }
}
Variables
{
  "election_event_id": uuid,
  "voting_channels": ["EARLY_VOTING"],
  "voting_status": "CLOSED"
}
Response
{
  "data": {
    "update_event_voting_status": {
      "election_event_id": uuid
    }
  }
}

update_realm_attributes

Response

Returns an UpdateRealmAttributesOutput

Arguments
Name Description
attributes - jsonb!
election_event_id - String!

Example

Query
mutation update_realm_attributes(
  $attributes: jsonb!,
  $election_event_id: String!
) {
  update_realm_attributes(
    attributes: $attributes,
    election_event_id: $election_event_id
  ) {
    updated
  }
}
Variables
{
  "attributes": jsonb,
  "election_event_id": "abc123"
}
Response
{"data": {"update_realm_attributes": {"updated": true}}}

update_realm_password_policy

Response

Returns an UpdateRealmPasswordPolicyOutput!

Arguments
Name Description
election_event_id - String!
include_digits - Boolean!
include_lowercase - Boolean!
include_special_characters - Boolean!
include_uppercase - Boolean!
maximum_length - Int!
minimum_length - Int!

Example

Query
mutation update_realm_password_policy(
  $election_event_id: String!,
  $include_digits: Boolean!,
  $include_lowercase: Boolean!,
  $include_special_characters: Boolean!,
  $include_uppercase: Boolean!,
  $maximum_length: Int!,
  $minimum_length: Int!
) {
  update_realm_password_policy(
    election_event_id: $election_event_id,
    include_digits: $include_digits,
    include_lowercase: $include_lowercase,
    include_special_characters: $include_special_characters,
    include_uppercase: $include_uppercase,
    maximum_length: $maximum_length,
    minimum_length: $minimum_length
  ) {
    updated
  }
}
Variables
{
  "election_event_id": "xyz789",
  "include_digits": false,
  "include_lowercase": false,
  "include_special_characters": false,
  "include_uppercase": false,
  "maximum_length": 987,
  "minimum_length": 123
}
Response
{"data": {"update_realm_password_policy": {"updated": true}}}

update_sequent_backend_applications

Description

update data of the table: "sequent_backend.applications"

Response

Returns an applications_mutation_response

Arguments
Name Description
_append - applications_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - applications_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - applications_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - applications_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - applications_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - applications_set_input sets the columns of the filtered rows to the given values
where - applications_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_applications(
  $_append: applications_append_input,
  $_delete_at_path: applications_delete_at_path_input,
  $_delete_elem: applications_delete_elem_input,
  $_delete_key: applications_delete_key_input,
  $_prepend: applications_prepend_input,
  $_set: applications_set_input,
  $where: applications_bool_exp!
) {
  update_sequent_backend_applications(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...applicationsFragment
    }
  }
}
Variables
{
  "_append": applications_append_input,
  "_delete_at_path": applications_delete_at_path_input,
  "_delete_elem": applications_delete_elem_input,
  "_delete_key": applications_delete_key_input,
  "_prepend": applications_prepend_input,
  "_set": applications_set_input,
  "where": applications_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_applications": {
      "affected_rows": 987,
      "returning": [applications]
    }
  }
}

update_sequent_backend_applications_by_pk

Description

update single row of the table: "sequent_backend.applications"

Response

Returns an applications

Arguments
Name Description
_append - applications_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - applications_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - applications_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - applications_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - applications_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - applications_set_input sets the columns of the filtered rows to the given values
pk_columns - applications_pk_columns_input!

Example

Query
mutation update_sequent_backend_applications_by_pk(
  $_append: applications_append_input,
  $_delete_at_path: applications_delete_at_path_input,
  $_delete_elem: applications_delete_elem_input,
  $_delete_key: applications_delete_key_input,
  $_prepend: applications_prepend_input,
  $_set: applications_set_input,
  $pk_columns: applications_pk_columns_input!
) {
  update_sequent_backend_applications_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    applicant_data
    applicant_id
    area_id
    created_at
    election_event_id
    id
    labels
    permission_label
    status
    tenant_id
    updated_at
    verification_type
  }
}
Variables
{
  "_append": applications_append_input,
  "_delete_at_path": applications_delete_at_path_input,
  "_delete_elem": applications_delete_elem_input,
  "_delete_key": applications_delete_key_input,
  "_prepend": applications_prepend_input,
  "_set": applications_set_input,
  "pk_columns": applications_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_applications_by_pk": {
      "annotations": jsonb,
      "applicant_data": jsonb,
      "applicant_id": "abc123",
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "permission_label": "abc123",
      "status": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "verification_type": "xyz789"
    }
  }
}

update_sequent_backend_applications_many

Description

update multiples rows of table: "sequent_backend.applications"

Arguments
Name Description
updates - [applications_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_applications_many($updates: [applications_updates!]!) {
  update_sequent_backend_applications_many(updates: $updates) {
    affected_rows
    returning {
      ...applicationsFragment
    }
  }
}
Variables
{"updates": [applications_updates]}
Response
{
  "data": {
    "update_sequent_backend_applications_many": [
      {"affected_rows": 123, "returning": [applications]}
    ]
  }
}

update_sequent_backend_area

Description

update data of the table: "sequent_backend.area"

Response

Returns an area_mutation_response

Arguments
Name Description
_append - area_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - area_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - area_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - area_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - area_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - area_set_input sets the columns of the filtered rows to the given values
where - area_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_area(
  $_append: area_append_input,
  $_delete_at_path: area_delete_at_path_input,
  $_delete_elem: area_delete_elem_input,
  $_delete_key: area_delete_key_input,
  $_prepend: area_prepend_input,
  $_set: area_set_input,
  $where: area_bool_exp!
) {
  update_sequent_backend_area(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...areaFragment
    }
  }
}
Variables
{
  "_append": area_append_input,
  "_delete_at_path": area_delete_at_path_input,
  "_delete_elem": area_delete_elem_input,
  "_delete_key": area_delete_key_input,
  "_prepend": area_prepend_input,
  "_set": area_set_input,
  "where": area_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_area": {
      "affected_rows": 123,
      "returning": [area]
    }
  }
}

update_sequent_backend_area_by_pk

Description

update single row of the table: "sequent_backend.area"

Response

Returns an area

Arguments
Name Description
_append - area_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - area_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - area_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - area_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - area_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - area_set_input sets the columns of the filtered rows to the given values
pk_columns - area_pk_columns_input!

Example

Query
mutation update_sequent_backend_area_by_pk(
  $_append: area_append_input,
  $_delete_at_path: area_delete_at_path_input,
  $_delete_elem: area_delete_elem_input,
  $_delete_key: area_delete_key_input,
  $_prepend: area_prepend_input,
  $_set: area_set_input,
  $pk_columns: area_pk_columns_input!
) {
  update_sequent_backend_area_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    presentation
    tenant_id
    type
  }
}
Variables
{
  "_append": area_append_input,
  "_delete_at_path": area_delete_at_path_input,
  "_delete_elem": area_delete_elem_input,
  "_delete_key": area_delete_key_input,
  "_prepend": area_prepend_input,
  "_set": area_set_input,
  "pk_columns": area_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_area_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "parent_id": uuid,
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

update_sequent_backend_area_contest

Description

update data of the table: "sequent_backend.area_contest"

Response

Returns an area_contest_mutation_response

Arguments
Name Description
_append - area_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - area_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - area_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - area_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - area_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - area_contest_set_input sets the columns of the filtered rows to the given values
where - area_contest_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_area_contest(
  $_append: area_contest_append_input,
  $_delete_at_path: area_contest_delete_at_path_input,
  $_delete_elem: area_contest_delete_elem_input,
  $_delete_key: area_contest_delete_key_input,
  $_prepend: area_contest_prepend_input,
  $_set: area_contest_set_input,
  $where: area_contest_bool_exp!
) {
  update_sequent_backend_area_contest(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...area_contestFragment
    }
  }
}
Variables
{
  "_append": area_contest_append_input,
  "_delete_at_path": area_contest_delete_at_path_input,
  "_delete_elem": area_contest_delete_elem_input,
  "_delete_key": area_contest_delete_key_input,
  "_prepend": area_contest_prepend_input,
  "_set": area_contest_set_input,
  "where": area_contest_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_area_contest": {
      "affected_rows": 123,
      "returning": [area_contest]
    }
  }
}

update_sequent_backend_area_contest_by_pk

Description

update single row of the table: "sequent_backend.area_contest"

Response

Returns an area_contest

Arguments
Name Description
_append - area_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - area_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - area_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - area_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - area_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - area_contest_set_input sets the columns of the filtered rows to the given values
pk_columns - area_contest_pk_columns_input!

Example

Query
mutation update_sequent_backend_area_contest_by_pk(
  $_append: area_contest_append_input,
  $_delete_at_path: area_contest_delete_at_path_input,
  $_delete_elem: area_contest_delete_elem_input,
  $_delete_key: area_contest_delete_key_input,
  $_prepend: area_contest_prepend_input,
  $_set: area_contest_set_input,
  $pk_columns: area_contest_pk_columns_input!
) {
  update_sequent_backend_area_contest_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area {
      ...areaFragment
    }
    area_id
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "_append": area_contest_append_input,
  "_delete_at_path": area_contest_delete_at_path_input,
  "_delete_elem": area_contest_delete_elem_input,
  "_delete_key": area_contest_delete_key_input,
  "_prepend": area_contest_prepend_input,
  "_set": area_contest_set_input,
  "pk_columns": area_contest_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_area_contest_by_pk": {
      "annotations": jsonb,
      "area": area,
      "area_id": uuid,
      "contest": contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_area_contest_many

Description

update multiples rows of table: "sequent_backend.area_contest"

Arguments
Name Description
updates - [area_contest_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_area_contest_many($updates: [area_contest_updates!]!) {
  update_sequent_backend_area_contest_many(updates: $updates) {
    affected_rows
    returning {
      ...area_contestFragment
    }
  }
}
Variables
{"updates": [area_contest_updates]}
Response
{
  "data": {
    "update_sequent_backend_area_contest_many": [
      {"affected_rows": 987, "returning": [area_contest]}
    ]
  }
}

update_sequent_backend_area_many

Description

update multiples rows of table: "sequent_backend.area"

Response

Returns [area_mutation_response]

Arguments
Name Description
updates - [area_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_area_many($updates: [area_updates!]!) {
  update_sequent_backend_area_many(updates: $updates) {
    affected_rows
    returning {
      ...areaFragment
    }
  }
}
Variables
{"updates": [area_updates]}
Response
{
  "data": {
    "update_sequent_backend_area_many": [
      {"affected_rows": 987, "returning": [area]}
    ]
  }
}

update_sequent_backend_ballot_publication

Description

update data of the table: "sequent_backend.ballot_publication"

Arguments
Name Description
_append - ballot_publication_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - ballot_publication_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - ballot_publication_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - ballot_publication_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - ballot_publication_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - ballot_publication_set_input sets the columns of the filtered rows to the given values
where - ballot_publication_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_ballot_publication(
  $_append: ballot_publication_append_input,
  $_delete_at_path: ballot_publication_delete_at_path_input,
  $_delete_elem: ballot_publication_delete_elem_input,
  $_delete_key: ballot_publication_delete_key_input,
  $_prepend: ballot_publication_prepend_input,
  $_set: ballot_publication_set_input,
  $where: ballot_publication_bool_exp!
) {
  update_sequent_backend_ballot_publication(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...ballot_publicationFragment
    }
  }
}
Variables
{
  "_append": ballot_publication_append_input,
  "_delete_at_path": ballot_publication_delete_at_path_input,
  "_delete_elem": ballot_publication_delete_elem_input,
  "_delete_key": ballot_publication_delete_key_input,
  "_prepend": ballot_publication_prepend_input,
  "_set": ballot_publication_set_input,
  "where": ballot_publication_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_ballot_publication": {
      "affected_rows": 987,
      "returning": [ballot_publication]
    }
  }
}

update_sequent_backend_ballot_publication_by_pk

Description

update single row of the table: "sequent_backend.ballot_publication"

Response

Returns a ballot_publication

Arguments
Name Description
_append - ballot_publication_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - ballot_publication_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - ballot_publication_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - ballot_publication_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - ballot_publication_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - ballot_publication_set_input sets the columns of the filtered rows to the given values
pk_columns - ballot_publication_pk_columns_input!

Example

Query
mutation update_sequent_backend_ballot_publication_by_pk(
  $_append: ballot_publication_append_input,
  $_delete_at_path: ballot_publication_delete_at_path_input,
  $_delete_elem: ballot_publication_delete_elem_input,
  $_delete_key: ballot_publication_delete_key_input,
  $_prepend: ballot_publication_prepend_input,
  $_set: ballot_publication_set_input,
  $pk_columns: ballot_publication_pk_columns_input!
) {
  update_sequent_backend_ballot_publication_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "_append": ballot_publication_append_input,
  "_delete_at_path": ballot_publication_delete_at_path_input,
  "_delete_elem": ballot_publication_delete_elem_input,
  "_delete_key": ballot_publication_delete_key_input,
  "_prepend": ballot_publication_prepend_input,
  "_set": ballot_publication_set_input,
  "pk_columns": ballot_publication_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_ballot_publication_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "election_ids": [uuid],
      "id": uuid,
      "is_generated": true,
      "labels": jsonb,
      "published_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_ballot_publication_many

Description

update multiples rows of table: "sequent_backend.ballot_publication"

Arguments
Name Description
updates - [ballot_publication_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_ballot_publication_many($updates: [ballot_publication_updates!]!) {
  update_sequent_backend_ballot_publication_many(updates: $updates) {
    affected_rows
    returning {
      ...ballot_publicationFragment
    }
  }
}
Variables
{"updates": [ballot_publication_updates]}
Response
{
  "data": {
    "update_sequent_backend_ballot_publication_many": [
      {
        "affected_rows": 123,
        "returning": [ballot_publication]
      }
    ]
  }
}

update_sequent_backend_ballot_style

Description

update data of the table: "sequent_backend.ballot_style"

Response

Returns a ballot_style_mutation_response

Arguments
Name Description
_append - ballot_style_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - ballot_style_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - ballot_style_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - ballot_style_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - ballot_style_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - ballot_style_set_input sets the columns of the filtered rows to the given values
where - ballot_style_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_ballot_style(
  $_append: ballot_style_append_input,
  $_delete_at_path: ballot_style_delete_at_path_input,
  $_delete_elem: ballot_style_delete_elem_input,
  $_delete_key: ballot_style_delete_key_input,
  $_prepend: ballot_style_prepend_input,
  $_set: ballot_style_set_input,
  $where: ballot_style_bool_exp!
) {
  update_sequent_backend_ballot_style(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...ballot_styleFragment
    }
  }
}
Variables
{
  "_append": ballot_style_append_input,
  "_delete_at_path": ballot_style_delete_at_path_input,
  "_delete_elem": ballot_style_delete_elem_input,
  "_delete_key": ballot_style_delete_key_input,
  "_prepend": ballot_style_prepend_input,
  "_set": ballot_style_set_input,
  "where": ballot_style_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_ballot_style": {
      "affected_rows": 987,
      "returning": [ballot_style]
    }
  }
}

update_sequent_backend_ballot_style_by_pk

Description

update single row of the table: "sequent_backend.ballot_style"

Response

Returns a ballot_style

Arguments
Name Description
_append - ballot_style_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - ballot_style_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - ballot_style_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - ballot_style_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - ballot_style_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - ballot_style_set_input sets the columns of the filtered rows to the given values
pk_columns - ballot_style_pk_columns_input!

Example

Query
mutation update_sequent_backend_ballot_style_by_pk(
  $_append: ballot_style_append_input,
  $_delete_at_path: ballot_style_delete_at_path_input,
  $_delete_elem: ballot_style_delete_elem_input,
  $_delete_key: ballot_style_delete_key_input,
  $_prepend: ballot_style_prepend_input,
  $_set: ballot_style_set_input,
  $pk_columns: ballot_style_pk_columns_input!
) {
  update_sequent_backend_ballot_style_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "_append": ballot_style_append_input,
  "_delete_at_path": ballot_style_delete_at_path_input,
  "_delete_elem": ballot_style_delete_elem_input,
  "_delete_key": ballot_style_delete_key_input,
  "_prepend": ballot_style_prepend_input,
  "_set": ballot_style_set_input,
  "pk_columns": ballot_style_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_ballot_style_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_eml": "xyz789",
      "ballot_publication_id": uuid,
      "ballot_signature": bytea,
      "created_at": timestamptz,
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": "xyz789",
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_ballot_style_many

Description

update multiples rows of table: "sequent_backend.ballot_style"

Arguments
Name Description
updates - [ballot_style_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_ballot_style_many($updates: [ballot_style_updates!]!) {
  update_sequent_backend_ballot_style_many(updates: $updates) {
    affected_rows
    returning {
      ...ballot_styleFragment
    }
  }
}
Variables
{"updates": [ballot_style_updates]}
Response
{
  "data": {
    "update_sequent_backend_ballot_style_many": [
      {"affected_rows": 987, "returning": [ballot_style]}
    ]
  }
}

update_sequent_backend_candidate

Description

update data of the table: "sequent_backend.candidate"

Response

Returns a candidate_mutation_response

Arguments
Name Description
_append - candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - candidate_set_input sets the columns of the filtered rows to the given values
where - candidate_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_candidate(
  $_append: candidate_append_input,
  $_delete_at_path: candidate_delete_at_path_input,
  $_delete_elem: candidate_delete_elem_input,
  $_delete_key: candidate_delete_key_input,
  $_prepend: candidate_prepend_input,
  $_set: candidate_set_input,
  $where: candidate_bool_exp!
) {
  update_sequent_backend_candidate(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...candidateFragment
    }
  }
}
Variables
{
  "_append": candidate_append_input,
  "_delete_at_path": candidate_delete_at_path_input,
  "_delete_elem": candidate_delete_elem_input,
  "_delete_key": candidate_delete_key_input,
  "_prepend": candidate_prepend_input,
  "_set": candidate_set_input,
  "where": candidate_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_candidate": {
      "affected_rows": 123,
      "returning": [candidate]
    }
  }
}

update_sequent_backend_candidate_by_pk

Description

update single row of the table: "sequent_backend.candidate"

Response

Returns a candidate

Arguments
Name Description
_append - candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - candidate_set_input sets the columns of the filtered rows to the given values
pk_columns - candidate_pk_columns_input!

Example

Query
mutation update_sequent_backend_candidate_by_pk(
  $_append: candidate_append_input,
  $_delete_at_path: candidate_delete_at_path_input,
  $_delete_elem: candidate_delete_elem_input,
  $_delete_key: candidate_delete_key_input,
  $_prepend: candidate_prepend_input,
  $_set: candidate_set_input,
  $pk_columns: candidate_pk_columns_input!
) {
  update_sequent_backend_candidate_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    contest_id
    created_at
    description
    election_event_id
    external_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    presentation
    tenant_id
    type
  }
}
Variables
{
  "_append": candidate_append_input,
  "_delete_at_path": candidate_delete_at_path_input,
  "_delete_elem": candidate_delete_elem_input,
  "_delete_key": candidate_delete_key_input,
  "_prepend": candidate_prepend_input,
  "_set": candidate_set_input,
  "pk_columns": candidate_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_candidate_by_pk": {
      "annotations": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "external_id": "xyz789",
      "id": uuid,
      "image_document_id": "xyz789",
      "is_public": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

update_sequent_backend_candidate_many

Description

update multiples rows of table: "sequent_backend.candidate"

Arguments
Name Description
updates - [candidate_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_candidate_many($updates: [candidate_updates!]!) {
  update_sequent_backend_candidate_many(updates: $updates) {
    affected_rows
    returning {
      ...candidateFragment
    }
  }
}
Variables
{"updates": [candidate_updates]}
Response
{
  "data": {
    "update_sequent_backend_candidate_many": [
      {"affected_rows": 987, "returning": [candidate]}
    ]
  }
}

update_sequent_backend_certificate_authority

Description

update data of the table: "sequent_backend.certificate_authority"

Arguments
Name Description
_set - certificate_authority_set_input sets the columns of the filtered rows to the given values
where - certificate_authority_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_certificate_authority(
  $_set: certificate_authority_set_input,
  $where: certificate_authority_bool_exp!
) {
  update_sequent_backend_certificate_authority(
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...certificate_authorityFragment
    }
  }
}
Variables
{
  "_set": certificate_authority_set_input,
  "where": certificate_authority_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_certificate_authority": {
      "affected_rows": 123,
      "returning": [certificate_authority]
    }
  }
}

update_sequent_backend_certificate_authority_by_pk

Description

update single row of the table: "sequent_backend.certificate_authority"

Response

Returns a certificate_authority

Arguments
Name Description
_set - certificate_authority_set_input sets the columns of the filtered rows to the given values
pk_columns - certificate_authority_pk_columns_input!

Example

Query
mutation update_sequent_backend_certificate_authority_by_pk(
  $_set: certificate_authority_set_input,
  $pk_columns: certificate_authority_pk_columns_input!
) {
  update_sequent_backend_certificate_authority_by_pk(
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    common_name
    created_at
    election_event_id
    fingerprint_sha256
    id
    issuer
    issuer_common_name
    not_after
    not_before
    pem
    serial_number
    subject
    tenant_id
  }
}
Variables
{
  "_set": certificate_authority_set_input,
  "pk_columns": certificate_authority_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_certificate_authority_by_pk": {
      "common_name": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "fingerprint_sha256": "abc123",
      "id": uuid,
      "issuer": "abc123",
      "issuer_common_name": "xyz789",
      "not_after": timestamptz,
      "not_before": timestamptz,
      "pem": "abc123",
      "serial_number": "xyz789",
      "subject": "xyz789",
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_certificate_authority_many

Description

update multiples rows of table: "sequent_backend.certificate_authority"

Arguments
Name Description
updates - [certificate_authority_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_certificate_authority_many($updates: [certificate_authority_updates!]!) {
  update_sequent_backend_certificate_authority_many(updates: $updates) {
    affected_rows
    returning {
      ...certificate_authorityFragment
    }
  }
}
Variables
{"updates": [certificate_authority_updates]}
Response
{
  "data": {
    "update_sequent_backend_certificate_authority_many": [
      {
        "affected_rows": 987,
        "returning": [certificate_authority]
      }
    ]
  }
}

update_sequent_backend_contest

Description

update data of the table: "sequent_backend.contest"

Response

Returns a contest_mutation_response

Arguments
Name Description
_append - contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - contest_set_input sets the columns of the filtered rows to the given values
where - contest_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_contest(
  $_append: contest_append_input,
  $_delete_at_path: contest_delete_at_path_input,
  $_delete_elem: contest_delete_elem_input,
  $_delete_key: contest_delete_key_input,
  $_inc: contest_inc_input,
  $_prepend: contest_prepend_input,
  $_set: contest_set_input,
  $where: contest_bool_exp!
) {
  update_sequent_backend_contest(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...contestFragment
    }
  }
}
Variables
{
  "_append": contest_append_input,
  "_delete_at_path": contest_delete_at_path_input,
  "_delete_elem": contest_delete_elem_input,
  "_delete_key": contest_delete_key_input,
  "_inc": contest_inc_input,
  "_prepend": contest_prepend_input,
  "_set": contest_set_input,
  "where": contest_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_contest": {
      "affected_rows": 987,
      "returning": [contest]
    }
  }
}

update_sequent_backend_contest_by_pk

Description

update single row of the table: "sequent_backend.contest"

Response

Returns a contest

Arguments
Name Description
_append - contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - contest_set_input sets the columns of the filtered rows to the given values
pk_columns - contest_pk_columns_input!

Example

Query
mutation update_sequent_backend_contest_by_pk(
  $_append: contest_append_input,
  $_delete_at_path: contest_delete_at_path_input,
  $_delete_elem: contest_delete_elem_input,
  $_delete_key: contest_delete_key_input,
  $_inc: contest_inc_input,
  $_prepend: contest_prepend_input,
  $_set: contest_set_input,
  $pk_columns: contest_pk_columns_input!
) {
  update_sequent_backend_contest_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    candidates {
      ...candidateFragment
    }
    candidates_aggregate {
      ...candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    external_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "_append": contest_append_input,
  "_delete_at_path": contest_delete_at_path_input,
  "_delete_elem": contest_delete_elem_input,
  "_delete_key": contest_delete_key_input,
  "_inc": contest_inc_input,
  "_prepend": contest_prepend_input,
  "_set": contest_set_input,
  "pk_columns": contest_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_contest_by_pk": {
      "annotations": jsonb,
      "candidates": [candidate],
      "candidates_aggregate": candidate_aggregate,
      "conditions": jsonb,
      "counting_algorithm": "xyz789",
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "election_id": uuid,
      "external_id": "abc123",
      "id": uuid,
      "image_document_id": "abc123",
      "is_acclaimed": true,
      "is_active": false,
      "is_encrypted": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "max_votes": 123,
      "min_votes": 123,
      "presentation": jsonb,
      "tally_configuration": jsonb,
      "tenant_id": uuid,
      "voting_type": "abc123",
      "winning_candidates_num": 987
    }
  }
}

update_sequent_backend_contest_many

Description

update multiples rows of table: "sequent_backend.contest"

Response

Returns [contest_mutation_response]

Arguments
Name Description
updates - [contest_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_contest_many($updates: [contest_updates!]!) {
  update_sequent_backend_contest_many(updates: $updates) {
    affected_rows
    returning {
      ...contestFragment
    }
  }
}
Variables
{"updates": [contest_updates]}
Response
{
  "data": {
    "update_sequent_backend_contest_many": [
      {"affected_rows": 123, "returning": [contest]}
    ]
  }
}

update_sequent_backend_document

Description

update data of the table: "sequent_backend.document"

Response

Returns a document_mutation_response

Arguments
Name Description
_append - document_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - document_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - document_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - document_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - document_inc_input increments the numeric columns with given value of the filtered values
_prepend - document_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - document_set_input sets the columns of the filtered rows to the given values
where - document_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_document(
  $_append: document_append_input,
  $_delete_at_path: document_delete_at_path_input,
  $_delete_elem: document_delete_elem_input,
  $_delete_key: document_delete_key_input,
  $_inc: document_inc_input,
  $_prepend: document_prepend_input,
  $_set: document_set_input,
  $where: document_bool_exp!
) {
  update_sequent_backend_document(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...documentFragment
    }
  }
}
Variables
{
  "_append": document_append_input,
  "_delete_at_path": document_delete_at_path_input,
  "_delete_elem": document_delete_elem_input,
  "_delete_key": document_delete_key_input,
  "_inc": document_inc_input,
  "_prepend": document_prepend_input,
  "_set": document_set_input,
  "where": document_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_document": {
      "affected_rows": 123,
      "returning": [document]
    }
  }
}

update_sequent_backend_document_by_pk

Description

update single row of the table: "sequent_backend.document"

Response

Returns a document

Arguments
Name Description
_append - document_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - document_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - document_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - document_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - document_inc_input increments the numeric columns with given value of the filtered values
_prepend - document_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - document_set_input sets the columns of the filtered rows to the given values
pk_columns - document_pk_columns_input!

Example

Query
mutation update_sequent_backend_document_by_pk(
  $_append: document_append_input,
  $_delete_at_path: document_delete_at_path_input,
  $_delete_elem: document_delete_elem_input,
  $_delete_key: document_delete_key_input,
  $_inc: document_inc_input,
  $_prepend: document_prepend_input,
  $_set: document_set_input,
  $pk_columns: document_pk_columns_input!
) {
  update_sequent_backend_document_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{
  "_append": document_append_input,
  "_delete_at_path": document_delete_at_path_input,
  "_delete_elem": document_delete_elem_input,
  "_delete_key": document_delete_key_input,
  "_inc": document_inc_input,
  "_prepend": document_prepend_input,
  "_set": document_set_input,
  "pk_columns": document_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_document_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "is_public": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "media_type": "abc123",
      "name": "xyz789",
      "size": bigint,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_document_many

Description

update multiples rows of table: "sequent_backend.document"

Response

Returns [document_mutation_response]

Arguments
Name Description
updates - [document_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_document_many($updates: [document_updates!]!) {
  update_sequent_backend_document_many(updates: $updates) {
    affected_rows
    returning {
      ...documentFragment
    }
  }
}
Variables
{"updates": [document_updates]}
Response
{
  "data": {
    "update_sequent_backend_document_many": [
      {"affected_rows": 987, "returning": [document]}
    ]
  }
}

update_sequent_backend_election

Description

update data of the table: "sequent_backend.election"

Response

Returns an election_mutation_response

Arguments
Name Description
_append - election_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - election_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - election_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - election_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - election_inc_input increments the numeric columns with given value of the filtered values
_prepend - election_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - election_set_input sets the columns of the filtered rows to the given values
where - election_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_election(
  $_append: election_append_input,
  $_delete_at_path: election_delete_at_path_input,
  $_delete_elem: election_delete_elem_input,
  $_delete_key: election_delete_key_input,
  $_inc: election_inc_input,
  $_prepend: election_prepend_input,
  $_set: election_set_input,
  $where: election_bool_exp!
) {
  update_sequent_backend_election(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...electionFragment
    }
  }
}
Variables
{
  "_append": election_append_input,
  "_delete_at_path": election_delete_at_path_input,
  "_delete_elem": election_delete_elem_input,
  "_delete_key": election_delete_key_input,
  "_inc": election_inc_input,
  "_prepend": election_prepend_input,
  "_set": election_set_input,
  "where": election_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_election": {
      "affected_rows": 123,
      "returning": [election]
    }
  }
}

update_sequent_backend_election_by_pk

Description

update single row of the table: "sequent_backend.election"

Response

Returns an election

Arguments
Name Description
_append - election_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - election_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - election_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - election_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - election_inc_input increments the numeric columns with given value of the filtered values
_prepend - election_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - election_set_input sets the columns of the filtered rows to the given values
pk_columns - election_pk_columns_input!

Example

Query
mutation update_sequent_backend_election_by_pk(
  $_append: election_append_input,
  $_delete_at_path: election_delete_at_path_input,
  $_delete_elem: election_delete_elem_input,
  $_delete_key: election_delete_key_input,
  $_inc: election_inc_input,
  $_prepend: election_prepend_input,
  $_set: election_set_input,
  $pk_columns: election_pk_columns_input!
) {
  update_sequent_backend_election_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    contests {
      ...contestFragment
    }
    contests_aggregate {
      ...contest_aggregateFragment
    }
    created_at
    description
    election_event_id
    eml
    external_id
    id
    image_document_id
    initialization_report_generated
    is_consolidated_ballot_encoding
    is_kiosk
    keys_ceremony_id
    labels
    last_updated_at
    num_allowed_revotes
    permission_label
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "_append": election_append_input,
  "_delete_at_path": election_delete_at_path_input,
  "_delete_elem": election_delete_elem_input,
  "_delete_key": election_delete_key_input,
  "_inc": election_inc_input,
  "_prepend": election_prepend_input,
  "_set": election_set_input,
  "pk_columns": election_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_election_by_pk": {
      "annotations": jsonb,
      "contests": [contest],
      "contests_aggregate": contest_aggregate,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "eml": "abc123",
      "external_id": "xyz789",
      "id": uuid,
      "image_document_id": "abc123",
      "initialization_report_generated": false,
      "is_consolidated_ballot_encoding": false,
      "is_kiosk": false,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "num_allowed_revotes": 123,
      "permission_label": "abc123",
      "presentation": jsonb,
      "receipts": jsonb,
      "spoil_ballot_option": false,
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "voting_channels": jsonb
    }
  }
}

update_sequent_backend_election_event

Description

update data of the table: "sequent_backend.election_event"

Response

Returns an election_event_mutation_response

Arguments
Name Description
_append - election_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - election_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - election_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - election_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - election_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - election_event_set_input sets the columns of the filtered rows to the given values
where - election_event_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_election_event(
  $_append: election_event_append_input,
  $_delete_at_path: election_event_delete_at_path_input,
  $_delete_elem: election_event_delete_elem_input,
  $_delete_key: election_event_delete_key_input,
  $_prepend: election_event_prepend_input,
  $_set: election_event_set_input,
  $where: election_event_bool_exp!
) {
  update_sequent_backend_election_event(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...election_eventFragment
    }
  }
}
Variables
{
  "_append": election_event_append_input,
  "_delete_at_path": election_event_delete_at_path_input,
  "_delete_elem": election_event_delete_elem_input,
  "_delete_key": election_event_delete_key_input,
  "_prepend": election_event_prepend_input,
  "_set": election_event_set_input,
  "where": election_event_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_election_event": {
      "affected_rows": 123,
      "returning": [election_event]
    }
  }
}

update_sequent_backend_election_event_by_pk

Description

update single row of the table: "sequent_backend.election_event"

Response

Returns an election_event

Arguments
Name Description
_append - election_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - election_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - election_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - election_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - election_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - election_event_set_input sets the columns of the filtered rows to the given values
pk_columns - election_event_pk_columns_input!

Example

Query
mutation update_sequent_backend_election_event_by_pk(
  $_append: election_event_append_input,
  $_delete_at_path: election_event_delete_at_path_input,
  $_delete_elem: election_event_delete_elem_input,
  $_delete_key: election_event_delete_key_input,
  $_prepend: election_event_prepend_input,
  $_set: election_event_set_input,
  $pk_columns: election_event_pk_columns_input!
) {
  update_sequent_backend_election_event_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    description
    elections {
      ...electionFragment
    }
    elections_aggregate {
      ...election_aggregateFragment
    }
    encryption_protocol
    external_id
    id
    is_archived
    is_audit
    labels
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{
  "_append": election_event_append_input,
  "_delete_at_path": election_event_delete_at_path_input,
  "_delete_elem": election_event_delete_elem_input,
  "_delete_key": election_event_delete_key_input,
  "_prepend": election_event_prepend_input,
  "_set": election_event_set_input,
  "pk_columns": election_event_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_election_event_by_pk": {
      "annotations": jsonb,
      "audit_election_event_id": uuid,
      "bulletin_board_reference": jsonb,
      "created_at": timestamptz,
      "description": "abc123",
      "elections": [election],
      "elections_aggregate": election_aggregate,
      "encryption_protocol": "xyz789",
      "external_id": "xyz789",
      "id": uuid,
      "is_archived": true,
      "is_audit": false,
      "labels": jsonb,
      "presentation": jsonb,
      "public_key": "abc123",
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "user_boards": "xyz789",
      "voting_channels": jsonb
    }
  }
}

update_sequent_backend_election_event_many

Description

update multiples rows of table: "sequent_backend.election_event"

Arguments
Name Description
updates - [election_event_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_election_event_many($updates: [election_event_updates!]!) {
  update_sequent_backend_election_event_many(updates: $updates) {
    affected_rows
    returning {
      ...election_eventFragment
    }
  }
}
Variables
{"updates": [election_event_updates]}
Response
{
  "data": {
    "update_sequent_backend_election_event_many": [
      {
        "affected_rows": 987,
        "returning": [election_event]
      }
    ]
  }
}

update_sequent_backend_election_many

Description

update multiples rows of table: "sequent_backend.election"

Response

Returns [election_mutation_response]

Arguments
Name Description
updates - [election_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_election_many($updates: [election_updates!]!) {
  update_sequent_backend_election_many(updates: $updates) {
    affected_rows
    returning {
      ...electionFragment
    }
  }
}
Variables
{"updates": [election_updates]}
Response
{
  "data": {
    "update_sequent_backend_election_many": [
      {"affected_rows": 987, "returning": [election]}
    ]
  }
}

update_sequent_backend_election_result

Description

update data of the table: "sequent_backend.election_result"

Response

Returns an election_result_mutation_response

Arguments
Name Description
_append - election_result_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - election_result_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - election_result_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - election_result_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - election_result_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - election_result_set_input sets the columns of the filtered rows to the given values
where - election_result_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_election_result(
  $_append: election_result_append_input,
  $_delete_at_path: election_result_delete_at_path_input,
  $_delete_elem: election_result_delete_elem_input,
  $_delete_key: election_result_delete_key_input,
  $_prepend: election_result_prepend_input,
  $_set: election_result_set_input,
  $where: election_result_bool_exp!
) {
  update_sequent_backend_election_result(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...election_resultFragment
    }
  }
}
Variables
{
  "_append": election_result_append_input,
  "_delete_at_path": election_result_delete_at_path_input,
  "_delete_elem": election_result_delete_elem_input,
  "_delete_key": election_result_delete_key_input,
  "_prepend": election_result_prepend_input,
  "_set": election_result_set_input,
  "where": election_result_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_election_result": {
      "affected_rows": 123,
      "returning": [election_result]
    }
  }
}

update_sequent_backend_election_result_by_pk

Description

update single row of the table: "sequent_backend.election_result"

Response

Returns an election_result

Arguments
Name Description
_append - election_result_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - election_result_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - election_result_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - election_result_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - election_result_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - election_result_set_input sets the columns of the filtered rows to the given values
pk_columns - election_result_pk_columns_input!

Example

Query
mutation update_sequent_backend_election_result_by_pk(
  $_append: election_result_append_input,
  $_delete_at_path: election_result_delete_at_path_input,
  $_delete_elem: election_result_delete_elem_input,
  $_delete_key: election_result_delete_key_input,
  $_prepend: election_result_prepend_input,
  $_set: election_result_set_input,
  $pk_columns: election_result_pk_columns_input!
) {
  update_sequent_backend_election_result_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{
  "_append": election_result_append_input,
  "_delete_at_path": election_result_delete_at_path_input,
  "_delete_elem": election_result_delete_elem_input,
  "_delete_key": election_result_delete_key_input,
  "_prepend": election_result_prepend_input,
  "_set": election_result_set_input,
  "pk_columns": election_result_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_election_result_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "result_eml": "xyz789",
      "result_eml_signature": bytea,
      "statistics": jsonb,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_election_result_many

Description

update multiples rows of table: "sequent_backend.election_result"

Arguments
Name Description
updates - [election_result_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_election_result_many($updates: [election_result_updates!]!) {
  update_sequent_backend_election_result_many(updates: $updates) {
    affected_rows
    returning {
      ...election_resultFragment
    }
  }
}
Variables
{"updates": [election_result_updates]}
Response
{
  "data": {
    "update_sequent_backend_election_result_many": [
      {
        "affected_rows": 987,
        "returning": [election_result]
      }
    ]
  }
}

update_sequent_backend_election_type

Description

update data of the table: "sequent_backend.election_type"

Response

Returns an election_type_mutation_response

Arguments
Name Description
_append - election_type_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - election_type_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - election_type_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - election_type_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - election_type_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - election_type_set_input sets the columns of the filtered rows to the given values
where - election_type_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_election_type(
  $_append: election_type_append_input,
  $_delete_at_path: election_type_delete_at_path_input,
  $_delete_elem: election_type_delete_elem_input,
  $_delete_key: election_type_delete_key_input,
  $_prepend: election_type_prepend_input,
  $_set: election_type_set_input,
  $where: election_type_bool_exp!
) {
  update_sequent_backend_election_type(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...election_typeFragment
    }
  }
}
Variables
{
  "_append": election_type_append_input,
  "_delete_at_path": election_type_delete_at_path_input,
  "_delete_elem": election_type_delete_elem_input,
  "_delete_key": election_type_delete_key_input,
  "_prepend": election_type_prepend_input,
  "_set": election_type_set_input,
  "where": election_type_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_election_type": {
      "affected_rows": 123,
      "returning": [election_type]
    }
  }
}

update_sequent_backend_election_type_by_pk

Description

update single row of the table: "sequent_backend.election_type"

Response

Returns an election_type

Arguments
Name Description
_append - election_type_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - election_type_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - election_type_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - election_type_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - election_type_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - election_type_set_input sets the columns of the filtered rows to the given values
pk_columns - election_type_pk_columns_input!

Example

Query
mutation update_sequent_backend_election_type_by_pk(
  $_append: election_type_append_input,
  $_delete_at_path: election_type_delete_at_path_input,
  $_delete_elem: election_type_delete_elem_input,
  $_delete_key: election_type_delete_key_input,
  $_prepend: election_type_prepend_input,
  $_set: election_type_set_input,
  $pk_columns: election_type_pk_columns_input!
) {
  update_sequent_backend_election_type_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{
  "_append": election_type_append_input,
  "_delete_at_path": election_type_delete_at_path_input,
  "_delete_elem": election_type_delete_elem_input,
  "_delete_key": election_type_delete_key_input,
  "_prepend": election_type_prepend_input,
  "_set": election_type_set_input,
  "pk_columns": election_type_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_election_type_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "name": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

update_sequent_backend_election_type_many

Description

update multiples rows of table: "sequent_backend.election_type"

Arguments
Name Description
updates - [election_type_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_election_type_many($updates: [election_type_updates!]!) {
  update_sequent_backend_election_type_many(updates: $updates) {
    affected_rows
    returning {
      ...election_typeFragment
    }
  }
}
Variables
{"updates": [election_type_updates]}
Response
{
  "data": {
    "update_sequent_backend_election_type_many": [
      {"affected_rows": 123, "returning": [election_type]}
    ]
  }
}

update_sequent_backend_electoral_log_checkpoint

Description

update data of the table: "sequent_backend.electoral_log_checkpoint"

Arguments
Name Description
_inc - electoral_log_checkpoint_inc_input increments the numeric columns with given value of the filtered values
_set - electoral_log_checkpoint_set_input sets the columns of the filtered rows to the given values
where - electoral_log_checkpoint_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_electoral_log_checkpoint(
  $_inc: electoral_log_checkpoint_inc_input,
  $_set: electoral_log_checkpoint_set_input,
  $where: electoral_log_checkpoint_bool_exp!
) {
  update_sequent_backend_electoral_log_checkpoint(
    _inc: $_inc,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...electoral_log_checkpointFragment
    }
  }
}
Variables
{
  "_inc": electoral_log_checkpoint_inc_input,
  "_set": electoral_log_checkpoint_set_input,
  "where": electoral_log_checkpoint_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_electoral_log_checkpoint": {
      "affected_rows": 987,
      "returning": [electoral_log_checkpoint]
    }
  }
}

update_sequent_backend_electoral_log_checkpoint_by_pk

Description

update single row of the table: "sequent_backend.electoral_log_checkpoint"

Response

Returns an electoral_log_checkpoint

Arguments
Name Description
_inc - electoral_log_checkpoint_inc_input increments the numeric columns with given value of the filtered values
_set - electoral_log_checkpoint_set_input sets the columns of the filtered rows to the given values
pk_columns - electoral_log_checkpoint_pk_columns_input!

Example

Query
mutation update_sequent_backend_electoral_log_checkpoint_by_pk(
  $_inc: electoral_log_checkpoint_inc_input,
  $_set: electoral_log_checkpoint_set_input,
  $pk_columns: electoral_log_checkpoint_pk_columns_input!
) {
  update_sequent_backend_electoral_log_checkpoint_by_pk(
    _inc: $_inc,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    board_name
    created_at
    election_event_id
    id
    log_id
    reason
    root
    signature
    signer_pk
    tenant_id
    tree_size
  }
}
Variables
{
  "_inc": electoral_log_checkpoint_inc_input,
  "_set": electoral_log_checkpoint_set_input,
  "pk_columns": electoral_log_checkpoint_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_electoral_log_checkpoint_by_pk": {
      "board_name": "abc123",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "log_id": bigint,
      "reason": "abc123",
      "root": "abc123",
      "signature": "xyz789",
      "signer_pk": "xyz789",
      "tenant_id": uuid,
      "tree_size": bigint
    }
  }
}

update_sequent_backend_electoral_log_checkpoint_many

Description

update multiples rows of table: "sequent_backend.electoral_log_checkpoint"

Arguments
Name Description
updates - [electoral_log_checkpoint_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_electoral_log_checkpoint_many($updates: [electoral_log_checkpoint_updates!]!) {
  update_sequent_backend_electoral_log_checkpoint_many(updates: $updates) {
    affected_rows
    returning {
      ...electoral_log_checkpointFragment
    }
  }
}
Variables
{"updates": [electoral_log_checkpoint_updates]}
Response
{
  "data": {
    "update_sequent_backend_electoral_log_checkpoint_many": [
      {
        "affected_rows": 987,
        "returning": [electoral_log_checkpoint]
      }
    ]
  }
}

update_sequent_backend_event_execution

Description

update data of the table: "sequent_backend.event_execution"

Response

Returns an event_execution_mutation_response

Arguments
Name Description
_append - event_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - event_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - event_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - event_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - event_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - event_execution_set_input sets the columns of the filtered rows to the given values
where - event_execution_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_event_execution(
  $_append: event_execution_append_input,
  $_delete_at_path: event_execution_delete_at_path_input,
  $_delete_elem: event_execution_delete_elem_input,
  $_delete_key: event_execution_delete_key_input,
  $_prepend: event_execution_prepend_input,
  $_set: event_execution_set_input,
  $where: event_execution_bool_exp!
) {
  update_sequent_backend_event_execution(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...event_executionFragment
    }
  }
}
Variables
{
  "_append": event_execution_append_input,
  "_delete_at_path": event_execution_delete_at_path_input,
  "_delete_elem": event_execution_delete_elem_input,
  "_delete_key": event_execution_delete_key_input,
  "_prepend": event_execution_prepend_input,
  "_set": event_execution_set_input,
  "where": event_execution_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_event_execution": {
      "affected_rows": 987,
      "returning": [event_execution]
    }
  }
}

update_sequent_backend_event_execution_by_pk

Description

update single row of the table: "sequent_backend.event_execution"

Response

Returns an event_execution

Arguments
Name Description
_append - event_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - event_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - event_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - event_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - event_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - event_execution_set_input sets the columns of the filtered rows to the given values
pk_columns - event_execution_pk_columns_input!

Example

Query
mutation update_sequent_backend_event_execution_by_pk(
  $_append: event_execution_append_input,
  $_delete_at_path: event_execution_delete_at_path_input,
  $_delete_elem: event_execution_delete_elem_input,
  $_delete_key: event_execution_delete_key_input,
  $_prepend: event_execution_prepend_input,
  $_set: event_execution_set_input,
  $pk_columns: event_execution_pk_columns_input!
) {
  update_sequent_backend_event_execution_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{
  "_append": event_execution_append_input,
  "_delete_at_path": event_execution_delete_at_path_input,
  "_delete_elem": event_execution_delete_elem_input,
  "_delete_key": event_execution_delete_key_input,
  "_prepend": event_execution_prepend_input,
  "_set": event_execution_set_input,
  "pk_columns": event_execution_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_event_execution_by_pk": {
      "annotations": jsonb,
      "election_event_id": uuid,
      "ended_at": timestamptz,
      "execution_payload": jsonb,
      "execution_state": "abc123",
      "id": uuid,
      "labels": jsonb,
      "result_payload": jsonb,
      "scheduled_event_id": uuid,
      "started_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_event_execution_many

Description

update multiples rows of table: "sequent_backend.event_execution"

Arguments
Name Description
updates - [event_execution_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_event_execution_many($updates: [event_execution_updates!]!) {
  update_sequent_backend_event_execution_many(updates: $updates) {
    affected_rows
    returning {
      ...event_executionFragment
    }
  }
}
Variables
{"updates": [event_execution_updates]}
Response
{
  "data": {
    "update_sequent_backend_event_execution_many": [
      {
        "affected_rows": 987,
        "returning": [event_execution]
      }
    ]
  }
}

update_sequent_backend_keys_ceremony

Description

update data of the table: "sequent_backend.keys_ceremony"

Response

Returns a keys_ceremony_mutation_response

Arguments
Name Description
_append - keys_ceremony_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - keys_ceremony_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - keys_ceremony_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - keys_ceremony_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - keys_ceremony_inc_input increments the numeric columns with given value of the filtered values
_prepend - keys_ceremony_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - keys_ceremony_set_input sets the columns of the filtered rows to the given values
where - keys_ceremony_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_keys_ceremony(
  $_append: keys_ceremony_append_input,
  $_delete_at_path: keys_ceremony_delete_at_path_input,
  $_delete_elem: keys_ceremony_delete_elem_input,
  $_delete_key: keys_ceremony_delete_key_input,
  $_inc: keys_ceremony_inc_input,
  $_prepend: keys_ceremony_prepend_input,
  $_set: keys_ceremony_set_input,
  $where: keys_ceremony_bool_exp!
) {
  update_sequent_backend_keys_ceremony(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...keys_ceremonyFragment
    }
  }
}
Variables
{
  "_append": keys_ceremony_append_input,
  "_delete_at_path": keys_ceremony_delete_at_path_input,
  "_delete_elem": keys_ceremony_delete_elem_input,
  "_delete_key": keys_ceremony_delete_key_input,
  "_inc": keys_ceremony_inc_input,
  "_prepend": keys_ceremony_prepend_input,
  "_set": keys_ceremony_set_input,
  "where": keys_ceremony_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_keys_ceremony": {
      "affected_rows": 123,
      "returning": [keys_ceremony]
    }
  }
}

update_sequent_backend_keys_ceremony_by_pk

Description

update single row of the table: "sequent_backend.keys_ceremony"

Response

Returns a keys_ceremony

Arguments
Name Description
_append - keys_ceremony_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - keys_ceremony_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - keys_ceremony_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - keys_ceremony_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - keys_ceremony_inc_input increments the numeric columns with given value of the filtered values
_prepend - keys_ceremony_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - keys_ceremony_set_input sets the columns of the filtered rows to the given values
pk_columns - keys_ceremony_pk_columns_input!

Example

Query
mutation update_sequent_backend_keys_ceremony_by_pk(
  $_append: keys_ceremony_append_input,
  $_delete_at_path: keys_ceremony_delete_at_path_input,
  $_delete_elem: keys_ceremony_delete_elem_input,
  $_delete_key: keys_ceremony_delete_key_input,
  $_inc: keys_ceremony_inc_input,
  $_prepend: keys_ceremony_prepend_input,
  $_set: keys_ceremony_set_input,
  $pk_columns: keys_ceremony_pk_columns_input!
) {
  update_sequent_backend_keys_ceremony_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    is_default
    keys_ceremony_trustee_ids {
      ...trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...trustee_aggregateFragment
    }
    labels
    last_updated_at
    name
    permission_label
    settings
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "_append": keys_ceremony_append_input,
  "_delete_at_path": keys_ceremony_delete_at_path_input,
  "_delete_elem": keys_ceremony_delete_elem_input,
  "_delete_key": keys_ceremony_delete_key_input,
  "_inc": keys_ceremony_inc_input,
  "_prepend": keys_ceremony_prepend_input,
  "_set": keys_ceremony_set_input,
  "pk_columns": keys_ceremony_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_keys_ceremony_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "execution_status": "abc123",
      "id": uuid,
      "is_default": true,
      "keys_ceremony_trustee_ids": [trustee],
      "keys_ceremony_trustee_ids_aggregate": trustee_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "permission_label": ["xyz789"],
      "settings": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "threshold": 987,
      "trustee_ids": [uuid]
    }
  }
}

update_sequent_backend_keys_ceremony_many

Description

update multiples rows of table: "sequent_backend.keys_ceremony"

Arguments
Name Description
updates - [keys_ceremony_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_keys_ceremony_many($updates: [keys_ceremony_updates!]!) {
  update_sequent_backend_keys_ceremony_many(updates: $updates) {
    affected_rows
    returning {
      ...keys_ceremonyFragment
    }
  }
}
Variables
{"updates": [keys_ceremony_updates]}
Response
{
  "data": {
    "update_sequent_backend_keys_ceremony_many": [
      {"affected_rows": 987, "returning": [keys_ceremony]}
    ]
  }
}

update_sequent_backend_lock

Description

update data of the table: "sequent_backend.lock"

Response

Returns a lock_mutation_response

Arguments
Name Description
_set - lock_set_input sets the columns of the filtered rows to the given values
where - lock_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_lock(
  $_set: lock_set_input,
  $where: lock_bool_exp!
) {
  update_sequent_backend_lock(
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...lockFragment
    }
  }
}
Variables
{
  "_set": lock_set_input,
  "where": lock_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_lock": {
      "affected_rows": 123,
      "returning": [lock]
    }
  }
}

update_sequent_backend_lock_by_pk

Description

update single row of the table: "sequent_backend.lock"

Response

Returns a lock

Arguments
Name Description
_set - lock_set_input sets the columns of the filtered rows to the given values
pk_columns - lock_pk_columns_input!

Example

Query
mutation update_sequent_backend_lock_by_pk(
  $_set: lock_set_input,
  $pk_columns: lock_pk_columns_input!
) {
  update_sequent_backend_lock_by_pk(
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{
  "_set": lock_set_input,
  "pk_columns": lock_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_lock_by_pk": {
      "created_at": timestamptz,
      "expiry_date": timestamptz,
      "key": "abc123",
      "last_updated_at": timestamptz,
      "value": "xyz789"
    }
  }
}

update_sequent_backend_lock_many

Description

update multiples rows of table: "sequent_backend.lock"

Response

Returns [lock_mutation_response]

Arguments
Name Description
updates - [lock_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_lock_many($updates: [lock_updates!]!) {
  update_sequent_backend_lock_many(updates: $updates) {
    affected_rows
    returning {
      ...lockFragment
    }
  }
}
Variables
{"updates": [lock_updates]}
Response
{
  "data": {
    "update_sequent_backend_lock_many": [
      {"affected_rows": 123, "returning": [lock]}
    ]
  }
}

update_sequent_backend_notification

Description

update data of the table: "sequent_backend.notification"

Response

Returns a notification_mutation_response

Arguments
Name Description
_append - notification_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - notification_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - notification_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - notification_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - notification_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - notification_set_input sets the columns of the filtered rows to the given values
where - notification_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_notification(
  $_append: notification_append_input,
  $_delete_at_path: notification_delete_at_path_input,
  $_delete_elem: notification_delete_elem_input,
  $_delete_key: notification_delete_key_input,
  $_prepend: notification_prepend_input,
  $_set: notification_set_input,
  $where: notification_bool_exp!
) {
  update_sequent_backend_notification(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...notificationFragment
    }
  }
}
Variables
{
  "_append": notification_append_input,
  "_delete_at_path": notification_delete_at_path_input,
  "_delete_elem": notification_delete_elem_input,
  "_delete_key": notification_delete_key_input,
  "_prepend": notification_prepend_input,
  "_set": notification_set_input,
  "where": notification_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_notification": {
      "affected_rows": 987,
      "returning": [notification]
    }
  }
}

update_sequent_backend_notification_by_pk

Description

update single row of the table: "sequent_backend.notification"

Response

Returns a notification

Arguments
Name Description
_append - notification_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - notification_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - notification_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - notification_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - notification_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - notification_set_input sets the columns of the filtered rows to the given values
pk_columns - notification_pk_columns_input!

Example

Query
mutation update_sequent_backend_notification_by_pk(
  $_append: notification_append_input,
  $_delete_at_path: notification_delete_at_path_input,
  $_delete_elem: notification_delete_elem_input,
  $_delete_key: notification_delete_key_input,
  $_prepend: notification_prepend_input,
  $_set: notification_set_input,
  $pk_columns: notification_pk_columns_input!
) {
  update_sequent_backend_notification_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    alias
    annotations
    created_at
    election_event_id
    election_id
    id
    labels
    name
    template_id
    tenant_id
    type
    updated_at
  }
}
Variables
{
  "_append": notification_append_input,
  "_delete_at_path": notification_delete_at_path_input,
  "_delete_elem": notification_delete_elem_input,
  "_delete_key": notification_delete_key_input,
  "_prepend": notification_prepend_input,
  "_set": notification_set_input,
  "pk_columns": notification_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_notification_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "name": "xyz789",
      "template_id": uuid,
      "tenant_id": uuid,
      "type": "xyz789",
      "updated_at": timestamptz
    }
  }
}

update_sequent_backend_notification_many

Description

update multiples rows of table: "sequent_backend.notification"

Arguments
Name Description
updates - [notification_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_notification_many($updates: [notification_updates!]!) {
  update_sequent_backend_notification_many(updates: $updates) {
    affected_rows
    returning {
      ...notificationFragment
    }
  }
}
Variables
{"updates": [notification_updates]}
Response
{
  "data": {
    "update_sequent_backend_notification_many": [
      {"affected_rows": 123, "returning": [notification]}
    ]
  }
}

update_sequent_backend_phone_blacklist

Description

update data of the table: "sequent_backend.phone_blacklist"

Arguments
Name Description
_set - phone_blacklist_set_input sets the columns of the filtered rows to the given values
where - phone_blacklist_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_phone_blacklist(
  $_set: phone_blacklist_set_input,
  $where: phone_blacklist_bool_exp!
) {
  update_sequent_backend_phone_blacklist(
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...phone_blacklistFragment
    }
  }
}
Variables
{
  "_set": phone_blacklist_set_input,
  "where": phone_blacklist_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_phone_blacklist": {
      "affected_rows": 123,
      "returning": [phone_blacklist]
    }
  }
}

update_sequent_backend_phone_blacklist_by_pk

Description

update single row of the table: "sequent_backend.phone_blacklist"

Response

Returns a phone_blacklist

Arguments
Name Description
_set - phone_blacklist_set_input sets the columns of the filtered rows to the given values
pk_columns - phone_blacklist_pk_columns_input!

Example

Query
mutation update_sequent_backend_phone_blacklist_by_pk(
  $_set: phone_blacklist_set_input,
  $pk_columns: phone_blacklist_pk_columns_input!
) {
  update_sequent_backend_phone_blacklist_by_pk(
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    created_at
    created_by
    election_event_id
    id
    phone_e164
    reason
    tenant_id
    updated_at
  }
}
Variables
{
  "_set": phone_blacklist_set_input,
  "pk_columns": phone_blacklist_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_phone_blacklist_by_pk": {
      "created_at": timestamptz,
      "created_by": uuid,
      "election_event_id": uuid,
      "id": uuid,
      "phone_e164": "xyz789",
      "reason": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

update_sequent_backend_phone_blacklist_many

Description

update multiples rows of table: "sequent_backend.phone_blacklist"

Arguments
Name Description
updates - [phone_blacklist_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_phone_blacklist_many($updates: [phone_blacklist_updates!]!) {
  update_sequent_backend_phone_blacklist_many(updates: $updates) {
    affected_rows
    returning {
      ...phone_blacklistFragment
    }
  }
}
Variables
{"updates": [phone_blacklist_updates]}
Response
{
  "data": {
    "update_sequent_backend_phone_blacklist_many": [
      {
        "affected_rows": 987,
        "returning": [phone_blacklist]
      }
    ]
  }
}

update_sequent_backend_preview

Description

update data of the table: "sequent_backend.preview"

Response

Returns a preview_mutation_response

Arguments
Name Description
_append - preview_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - preview_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - preview_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - preview_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - preview_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - preview_set_input sets the columns of the filtered rows to the given values
where - preview_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_preview(
  $_append: preview_append_input,
  $_delete_at_path: preview_delete_at_path_input,
  $_delete_elem: preview_delete_elem_input,
  $_delete_key: preview_delete_key_input,
  $_prepend: preview_prepend_input,
  $_set: preview_set_input,
  $where: preview_bool_exp!
) {
  update_sequent_backend_preview(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...previewFragment
    }
  }
}
Variables
{
  "_append": preview_append_input,
  "_delete_at_path": preview_delete_at_path_input,
  "_delete_elem": preview_delete_elem_input,
  "_delete_key": preview_delete_key_input,
  "_prepend": preview_prepend_input,
  "_set": preview_set_input,
  "where": preview_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_preview": {
      "affected_rows": 987,
      "returning": [preview]
    }
  }
}

update_sequent_backend_preview_by_pk

Description

update single row of the table: "sequent_backend.preview"

Response

Returns a preview

Arguments
Name Description
_append - preview_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - preview_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - preview_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - preview_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - preview_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - preview_set_input sets the columns of the filtered rows to the given values
pk_columns - preview_pk_columns_input!

Example

Query
mutation update_sequent_backend_preview_by_pk(
  $_append: preview_append_input,
  $_delete_at_path: preview_delete_at_path_input,
  $_delete_elem: preview_delete_elem_input,
  $_delete_key: preview_delete_key_input,
  $_prepend: preview_prepend_input,
  $_set: preview_set_input,
  $pk_columns: preview_pk_columns_input!
) {
  update_sequent_backend_preview_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    document_id
    id
    requested_by
    tenant_id
    updated_at
    url
  }
}
Variables
{
  "_append": preview_append_input,
  "_delete_at_path": preview_delete_at_path_input,
  "_delete_elem": preview_delete_elem_input,
  "_delete_key": preview_delete_key_input,
  "_prepend": preview_prepend_input,
  "_set": preview_set_input,
  "pk_columns": preview_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_preview_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "document_id": uuid,
      "id": uuid,
      "requested_by": "abc123",
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "url": "abc123"
    }
  }
}

update_sequent_backend_preview_many

Description

update multiples rows of table: "sequent_backend.preview"

Response

Returns [preview_mutation_response]

Arguments
Name Description
updates - [preview_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_preview_many($updates: [preview_updates!]!) {
  update_sequent_backend_preview_many(updates: $updates) {
    affected_rows
    returning {
      ...previewFragment
    }
  }
}
Variables
{"updates": [preview_updates]}
Response
{
  "data": {
    "update_sequent_backend_preview_many": [
      {"affected_rows": 987, "returning": [preview]}
    ]
  }
}

update_sequent_backend_report

Description

update data of the table: "sequent_backend.report"

Response

Returns a report_mutation_response

Arguments
Name Description
_append - report_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - report_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - report_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - report_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - report_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - report_set_input sets the columns of the filtered rows to the given values
where - report_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_report(
  $_append: report_append_input,
  $_delete_at_path: report_delete_at_path_input,
  $_delete_elem: report_delete_elem_input,
  $_delete_key: report_delete_key_input,
  $_prepend: report_prepend_input,
  $_set: report_set_input,
  $where: report_bool_exp!
) {
  update_sequent_backend_report(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...reportFragment
    }
  }
}
Variables
{
  "_append": report_append_input,
  "_delete_at_path": report_delete_at_path_input,
  "_delete_elem": report_delete_elem_input,
  "_delete_key": report_delete_key_input,
  "_prepend": report_prepend_input,
  "_set": report_set_input,
  "where": report_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_report": {
      "affected_rows": 123,
      "returning": [report]
    }
  }
}

update_sequent_backend_report_by_pk

Description

update single row of the table: "sequent_backend.report"

Response

Returns a report

Arguments
Name Description
_append - report_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - report_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - report_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - report_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - report_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - report_set_input sets the columns of the filtered rows to the given values
pk_columns - report_pk_columns_input!

Example

Query
mutation update_sequent_backend_report_by_pk(
  $_append: report_append_input,
  $_delete_at_path: report_delete_at_path_input,
  $_delete_elem: report_delete_elem_input,
  $_delete_key: report_delete_key_input,
  $_prepend: report_prepend_input,
  $_set: report_set_input,
  $pk_columns: report_pk_columns_input!
) {
  update_sequent_backend_report_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    created_at
    cron_config
    election_event_id
    election_id
    encryption_policy
    id
    permission_label
    report_type
    template_alias
    tenant_id
  }
}
Variables
{
  "_append": report_append_input,
  "_delete_at_path": report_delete_at_path_input,
  "_delete_elem": report_delete_elem_input,
  "_delete_key": report_delete_key_input,
  "_prepend": report_prepend_input,
  "_set": report_set_input,
  "pk_columns": report_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_report_by_pk": {
      "created_at": timestamptz,
      "cron_config": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "encryption_policy": "xyz789",
      "id": uuid,
      "permission_label": ["xyz789"],
      "report_type": "xyz789",
      "template_alias": "abc123",
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_report_many

Description

update multiples rows of table: "sequent_backend.report"

Response

Returns [report_mutation_response]

Arguments
Name Description
updates - [report_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_report_many($updates: [report_updates!]!) {
  update_sequent_backend_report_many(updates: $updates) {
    affected_rows
    returning {
      ...reportFragment
    }
  }
}
Variables
{"updates": [report_updates]}
Response
{
  "data": {
    "update_sequent_backend_report_many": [
      {"affected_rows": 123, "returning": [report]}
    ]
  }
}

update_sequent_backend_results_area_contest

Description

update data of the table: "sequent_backend.results_area_contest"

Arguments
Name Description
_append - results_area_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_area_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_area_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_area_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_area_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_area_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_area_contest_set_input sets the columns of the filtered rows to the given values
where - results_area_contest_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_area_contest(
  $_append: results_area_contest_append_input,
  $_delete_at_path: results_area_contest_delete_at_path_input,
  $_delete_elem: results_area_contest_delete_elem_input,
  $_delete_key: results_area_contest_delete_key_input,
  $_inc: results_area_contest_inc_input,
  $_prepend: results_area_contest_prepend_input,
  $_set: results_area_contest_set_input,
  $where: results_area_contest_bool_exp!
) {
  update_sequent_backend_results_area_contest(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...results_area_contestFragment
    }
  }
}
Variables
{
  "_append": results_area_contest_append_input,
  "_delete_at_path": results_area_contest_delete_at_path_input,
  "_delete_elem": results_area_contest_delete_elem_input,
  "_delete_key": results_area_contest_delete_key_input,
  "_inc": results_area_contest_inc_input,
  "_prepend": results_area_contest_prepend_input,
  "_set": results_area_contest_set_input,
  "where": results_area_contest_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest": {
      "affected_rows": 123,
      "returning": [results_area_contest]
    }
  }
}

update_sequent_backend_results_area_contest_by_pk

Description

update single row of the table: "sequent_backend.results_area_contest"

Response

Returns a results_area_contest

Arguments
Name Description
_append - results_area_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_area_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_area_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_area_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_area_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_area_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_area_contest_set_input sets the columns of the filtered rows to the given values
pk_columns - results_area_contest_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_area_contest_by_pk(
  $_append: results_area_contest_append_input,
  $_delete_at_path: results_area_contest_delete_at_path_input,
  $_delete_elem: results_area_contest_delete_elem_input,
  $_delete_key: results_area_contest_delete_key_input,
  $_inc: results_area_contest_inc_input,
  $_prepend: results_area_contest_prepend_input,
  $_set: results_area_contest_set_input,
  $pk_columns: results_area_contest_pk_columns_input!
) {
  update_sequent_backend_results_area_contest_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "_append": results_area_contest_append_input,
  "_delete_at_path": results_area_contest_delete_at_path_input,
  "_delete_elem": results_area_contest_delete_elem_input,
  "_delete_key": results_area_contest_delete_key_input,
  "_inc": results_area_contest_inc_input,
  "_prepend": results_area_contest_prepend_input,
  "_set": results_area_contest_set_input,
  "pk_columns": results_area_contest_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "explicit_blank_votes": 987,
      "explicit_blank_votes_percent": numeric,
      "explicit_invalid_votes": 123,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_blank_votes": 123,
      "implicit_blank_votes_percent": numeric,
      "implicit_invalid_votes": 123,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_auditable_votes": 123,
      "total_auditable_votes_percent": numeric,
      "total_blank_votes": 987,
      "total_blank_votes_percent": numeric,
      "total_invalid_votes": 987,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 123,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric
    }
  }
}

update_sequent_backend_results_area_contest_candidate

Description

update data of the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
_append - results_area_contest_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_area_contest_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_area_contest_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_area_contest_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_area_contest_candidate_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_area_contest_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_area_contest_candidate_set_input sets the columns of the filtered rows to the given values
where - results_area_contest_candidate_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_area_contest_candidate(
  $_append: results_area_contest_candidate_append_input,
  $_delete_at_path: results_area_contest_candidate_delete_at_path_input,
  $_delete_elem: results_area_contest_candidate_delete_elem_input,
  $_delete_key: results_area_contest_candidate_delete_key_input,
  $_inc: results_area_contest_candidate_inc_input,
  $_prepend: results_area_contest_candidate_prepend_input,
  $_set: results_area_contest_candidate_set_input,
  $where: results_area_contest_candidate_bool_exp!
) {
  update_sequent_backend_results_area_contest_candidate(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...results_area_contest_candidateFragment
    }
  }
}
Variables
{
  "_append": results_area_contest_candidate_append_input,
  "_delete_at_path": results_area_contest_candidate_delete_at_path_input,
  "_delete_elem": results_area_contest_candidate_delete_elem_input,
  "_delete_key": results_area_contest_candidate_delete_key_input,
  "_inc": results_area_contest_candidate_inc_input,
  "_prepend": results_area_contest_candidate_prepend_input,
  "_set": results_area_contest_candidate_set_input,
  "where": results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest_candidate": {
      "affected_rows": 987,
      "returning": [results_area_contest_candidate]
    }
  }
}

update_sequent_backend_results_area_contest_candidate_by_pk

Description

update single row of the table: "sequent_backend.results_area_contest_candidate"

Response

Returns a results_area_contest_candidate

Arguments
Name Description
_append - results_area_contest_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_area_contest_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_area_contest_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_area_contest_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_area_contest_candidate_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_area_contest_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_area_contest_candidate_set_input sets the columns of the filtered rows to the given values
pk_columns - results_area_contest_candidate_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_area_contest_candidate_by_pk(
  $_append: results_area_contest_candidate_append_input,
  $_delete_at_path: results_area_contest_candidate_delete_at_path_input,
  $_delete_elem: results_area_contest_candidate_delete_elem_input,
  $_delete_key: results_area_contest_candidate_delete_key_input,
  $_inc: results_area_contest_candidate_inc_input,
  $_prepend: results_area_contest_candidate_prepend_input,
  $_set: results_area_contest_candidate_set_input,
  $pk_columns: results_area_contest_candidate_pk_columns_input!
) {
  update_sequent_backend_results_area_contest_candidate_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "_append": results_area_contest_candidate_append_input,
  "_delete_at_path": results_area_contest_candidate_delete_at_path_input,
  "_delete_elem": results_area_contest_candidate_delete_elem_input,
  "_delete_key": results_area_contest_candidate_delete_key_input,
  "_inc": results_area_contest_candidate_inc_input,
  "_prepend": results_area_contest_candidate_prepend_input,
  "_set": results_area_contest_candidate_set_input,
  "pk_columns": results_area_contest_candidate_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest_candidate_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 123
    }
  }
}

update_sequent_backend_results_area_contest_candidate_many

Description

update multiples rows of table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
updates - [results_area_contest_candidate_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_area_contest_candidate_many($updates: [results_area_contest_candidate_updates!]!) {
  update_sequent_backend_results_area_contest_candidate_many(updates: $updates) {
    affected_rows
    returning {
      ...results_area_contest_candidateFragment
    }
  }
}
Variables
{"updates": [results_area_contest_candidate_updates]}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest_candidate_many": [
      {
        "affected_rows": 987,
        "returning": [results_area_contest_candidate]
      }
    ]
  }
}

update_sequent_backend_results_area_contest_many

Description

update multiples rows of table: "sequent_backend.results_area_contest"

Arguments
Name Description
updates - [results_area_contest_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_area_contest_many($updates: [results_area_contest_updates!]!) {
  update_sequent_backend_results_area_contest_many(updates: $updates) {
    affected_rows
    returning {
      ...results_area_contestFragment
    }
  }
}
Variables
{"updates": [results_area_contest_updates]}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest_many": [
      {
        "affected_rows": 987,
        "returning": [results_area_contest]
      }
    ]
  }
}

update_sequent_backend_results_contest

Description

update data of the table: "sequent_backend.results_contest"

Arguments
Name Description
_append - results_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_contest_set_input sets the columns of the filtered rows to the given values
where - results_contest_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_contest(
  $_append: results_contest_append_input,
  $_delete_at_path: results_contest_delete_at_path_input,
  $_delete_elem: results_contest_delete_elem_input,
  $_delete_key: results_contest_delete_key_input,
  $_inc: results_contest_inc_input,
  $_prepend: results_contest_prepend_input,
  $_set: results_contest_set_input,
  $where: results_contest_bool_exp!
) {
  update_sequent_backend_results_contest(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...results_contestFragment
    }
  }
}
Variables
{
  "_append": results_contest_append_input,
  "_delete_at_path": results_contest_delete_at_path_input,
  "_delete_elem": results_contest_delete_elem_input,
  "_delete_key": results_contest_delete_key_input,
  "_inc": results_contest_inc_input,
  "_prepend": results_contest_prepend_input,
  "_set": results_contest_set_input,
  "where": results_contest_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_contest": {
      "affected_rows": 987,
      "returning": [results_contest]
    }
  }
}

update_sequent_backend_results_contest_by_pk

Description

update single row of the table: "sequent_backend.results_contest"

Response

Returns a results_contest

Arguments
Name Description
_append - results_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_contest_set_input sets the columns of the filtered rows to the given values
pk_columns - results_contest_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_contest_by_pk(
  $_append: results_contest_append_input,
  $_delete_at_path: results_contest_delete_at_path_input,
  $_delete_elem: results_contest_delete_elem_input,
  $_delete_key: results_contest_delete_key_input,
  $_inc: results_contest_inc_input,
  $_prepend: results_contest_prepend_input,
  $_set: results_contest_set_input,
  $pk_columns: results_contest_pk_columns_input!
) {
  update_sequent_backend_results_contest_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "_append": results_contest_append_input,
  "_delete_at_path": results_contest_delete_at_path_input,
  "_delete_elem": results_contest_delete_elem_input,
  "_delete_key": results_contest_delete_key_input,
  "_inc": results_contest_inc_input,
  "_prepend": results_contest_prepend_input,
  "_set": results_contest_set_input,
  "pk_columns": results_contest_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_contest_by_pk": {
      "annotations": jsonb,
      "contest_id": uuid,
      "counting_algorithm": "xyz789",
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "explicit_blank_votes": 987,
      "explicit_blank_votes_percent": numeric,
      "explicit_invalid_votes": 987,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_blank_votes": 123,
      "implicit_blank_votes_percent": numeric,
      "implicit_invalid_votes": 987,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_auditable_votes": 987,
      "total_auditable_votes_percent": numeric,
      "total_blank_votes": 123,
      "total_blank_votes_percent": numeric,
      "total_invalid_votes": 987,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 123,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric,
      "voting_type": "xyz789"
    }
  }
}

update_sequent_backend_results_contest_candidate

Description

update data of the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
_append - results_contest_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_contest_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_contest_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_contest_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_contest_candidate_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_contest_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_contest_candidate_set_input sets the columns of the filtered rows to the given values
where - results_contest_candidate_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_contest_candidate(
  $_append: results_contest_candidate_append_input,
  $_delete_at_path: results_contest_candidate_delete_at_path_input,
  $_delete_elem: results_contest_candidate_delete_elem_input,
  $_delete_key: results_contest_candidate_delete_key_input,
  $_inc: results_contest_candidate_inc_input,
  $_prepend: results_contest_candidate_prepend_input,
  $_set: results_contest_candidate_set_input,
  $where: results_contest_candidate_bool_exp!
) {
  update_sequent_backend_results_contest_candidate(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...results_contest_candidateFragment
    }
  }
}
Variables
{
  "_append": results_contest_candidate_append_input,
  "_delete_at_path": results_contest_candidate_delete_at_path_input,
  "_delete_elem": results_contest_candidate_delete_elem_input,
  "_delete_key": results_contest_candidate_delete_key_input,
  "_inc": results_contest_candidate_inc_input,
  "_prepend": results_contest_candidate_prepend_input,
  "_set": results_contest_candidate_set_input,
  "where": results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_contest_candidate": {
      "affected_rows": 123,
      "returning": [results_contest_candidate]
    }
  }
}

update_sequent_backend_results_contest_candidate_by_pk

Description

update single row of the table: "sequent_backend.results_contest_candidate"

Response

Returns a results_contest_candidate

Arguments
Name Description
_append - results_contest_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_contest_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_contest_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_contest_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_contest_candidate_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_contest_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_contest_candidate_set_input sets the columns of the filtered rows to the given values
pk_columns - results_contest_candidate_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_contest_candidate_by_pk(
  $_append: results_contest_candidate_append_input,
  $_delete_at_path: results_contest_candidate_delete_at_path_input,
  $_delete_elem: results_contest_candidate_delete_elem_input,
  $_delete_key: results_contest_candidate_delete_key_input,
  $_inc: results_contest_candidate_inc_input,
  $_prepend: results_contest_candidate_prepend_input,
  $_set: results_contest_candidate_set_input,
  $pk_columns: results_contest_candidate_pk_columns_input!
) {
  update_sequent_backend_results_contest_candidate_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "_append": results_contest_candidate_append_input,
  "_delete_at_path": results_contest_candidate_delete_at_path_input,
  "_delete_elem": results_contest_candidate_delete_elem_input,
  "_delete_key": results_contest_candidate_delete_key_input,
  "_inc": results_contest_candidate_inc_input,
  "_prepend": results_contest_candidate_prepend_input,
  "_set": results_contest_candidate_set_input,
  "pk_columns": results_contest_candidate_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_contest_candidate_by_pk": {
      "annotations": jsonb,
      "candidate_id": uuid,
      "cast_votes": 123,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 123
    }
  }
}

update_sequent_backend_results_contest_candidate_many

Description

update multiples rows of table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
updates - [results_contest_candidate_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_contest_candidate_many($updates: [results_contest_candidate_updates!]!) {
  update_sequent_backend_results_contest_candidate_many(updates: $updates) {
    affected_rows
    returning {
      ...results_contest_candidateFragment
    }
  }
}
Variables
{"updates": [results_contest_candidate_updates]}
Response
{
  "data": {
    "update_sequent_backend_results_contest_candidate_many": [
      {
        "affected_rows": 123,
        "returning": [results_contest_candidate]
      }
    ]
  }
}

update_sequent_backend_results_contest_many

Description

update multiples rows of table: "sequent_backend.results_contest"

Arguments
Name Description
updates - [results_contest_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_contest_many($updates: [results_contest_updates!]!) {
  update_sequent_backend_results_contest_many(updates: $updates) {
    affected_rows
    returning {
      ...results_contestFragment
    }
  }
}
Variables
{"updates": [results_contest_updates]}
Response
{
  "data": {
    "update_sequent_backend_results_contest_many": [
      {
        "affected_rows": 123,
        "returning": [results_contest]
      }
    ]
  }
}

update_sequent_backend_results_election

Description

update data of the table: "sequent_backend.results_election"

Arguments
Name Description
_append - results_election_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_election_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_election_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_election_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_election_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_election_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_election_set_input sets the columns of the filtered rows to the given values
where - results_election_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_election(
  $_append: results_election_append_input,
  $_delete_at_path: results_election_delete_at_path_input,
  $_delete_elem: results_election_delete_elem_input,
  $_delete_key: results_election_delete_key_input,
  $_inc: results_election_inc_input,
  $_prepend: results_election_prepend_input,
  $_set: results_election_set_input,
  $where: results_election_bool_exp!
) {
  update_sequent_backend_results_election(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...results_electionFragment
    }
  }
}
Variables
{
  "_append": results_election_append_input,
  "_delete_at_path": results_election_delete_at_path_input,
  "_delete_elem": results_election_delete_elem_input,
  "_delete_key": results_election_delete_key_input,
  "_inc": results_election_inc_input,
  "_prepend": results_election_prepend_input,
  "_set": results_election_set_input,
  "where": results_election_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_election": {
      "affected_rows": 987,
      "returning": [results_election]
    }
  }
}

update_sequent_backend_results_election_area

Description

update data of the table: "sequent_backend.results_election_area"

Arguments
Name Description
_append - results_election_area_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_election_area_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_election_area_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_election_area_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_election_area_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_election_area_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_election_area_set_input sets the columns of the filtered rows to the given values
where - results_election_area_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_election_area(
  $_append: results_election_area_append_input,
  $_delete_at_path: results_election_area_delete_at_path_input,
  $_delete_elem: results_election_area_delete_elem_input,
  $_delete_key: results_election_area_delete_key_input,
  $_inc: results_election_area_inc_input,
  $_prepend: results_election_area_prepend_input,
  $_set: results_election_area_set_input,
  $where: results_election_area_bool_exp!
) {
  update_sequent_backend_results_election_area(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...results_election_areaFragment
    }
  }
}
Variables
{
  "_append": results_election_area_append_input,
  "_delete_at_path": results_election_area_delete_at_path_input,
  "_delete_elem": results_election_area_delete_elem_input,
  "_delete_key": results_election_area_delete_key_input,
  "_inc": results_election_area_inc_input,
  "_prepend": results_election_area_prepend_input,
  "_set": results_election_area_set_input,
  "where": results_election_area_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_election_area": {
      "affected_rows": 987,
      "returning": [results_election_area]
    }
  }
}

update_sequent_backend_results_election_area_by_pk

Description

update single row of the table: "sequent_backend.results_election_area"

Response

Returns a results_election_area

Arguments
Name Description
_append - results_election_area_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_election_area_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_election_area_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_election_area_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_election_area_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_election_area_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_election_area_set_input sets the columns of the filtered rows to the given values
pk_columns - results_election_area_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_election_area_by_pk(
  $_append: results_election_area_append_input,
  $_delete_at_path: results_election_area_delete_at_path_input,
  $_delete_elem: results_election_area_delete_elem_input,
  $_delete_key: results_election_area_delete_key_input,
  $_inc: results_election_area_inc_input,
  $_prepend: results_election_area_prepend_input,
  $_set: results_election_area_set_input,
  $pk_columns: results_election_area_pk_columns_input!
) {
  update_sequent_backend_results_election_area_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    area_id
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    id
    last_updated_at
    name
    results_event_id
    tenant_id
  }
}
Variables
{
  "_append": results_election_area_append_input,
  "_delete_at_path": results_election_area_delete_at_path_input,
  "_delete_elem": results_election_area_delete_elem_input,
  "_delete_key": results_election_area_delete_key_input,
  "_inc": results_election_area_inc_input,
  "_prepend": results_election_area_prepend_input,
  "_set": results_election_area_set_input,
  "pk_columns": results_election_area_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_election_area_by_pk": {
      "area_id": uuid,
      "blank_ballots": 987,
      "blank_ballots_percent": numeric,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_results_election_area_many

Description

update multiples rows of table: "sequent_backend.results_election_area"

Arguments
Name Description
updates - [results_election_area_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_election_area_many($updates: [results_election_area_updates!]!) {
  update_sequent_backend_results_election_area_many(updates: $updates) {
    affected_rows
    returning {
      ...results_election_areaFragment
    }
  }
}
Variables
{"updates": [results_election_area_updates]}
Response
{
  "data": {
    "update_sequent_backend_results_election_area_many": [
      {
        "affected_rows": 123,
        "returning": [results_election_area]
      }
    ]
  }
}

update_sequent_backend_results_election_by_pk

Description

update single row of the table: "sequent_backend.results_election"

Response

Returns a results_election

Arguments
Name Description
_append - results_election_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_election_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_election_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_election_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - results_election_inc_input increments the numeric columns with given value of the filtered values
_prepend - results_election_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_election_set_input sets the columns of the filtered rows to the given values
pk_columns - results_election_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_election_by_pk(
  $_append: results_election_append_input,
  $_delete_at_path: results_election_delete_at_path_input,
  $_delete_elem: results_election_delete_elem_input,
  $_delete_key: results_election_delete_key_input,
  $_inc: results_election_inc_input,
  $_prepend: results_election_prepend_input,
  $_set: results_election_set_input,
  $pk_columns: results_election_pk_columns_input!
) {
  update_sequent_backend_results_election_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "_append": results_election_append_input,
  "_delete_at_path": results_election_delete_at_path_input,
  "_delete_elem": results_election_delete_elem_input,
  "_delete_key": results_election_delete_key_input,
  "_inc": results_election_inc_input,
  "_prepend": results_election_prepend_input,
  "_set": results_election_set_input,
  "pk_columns": results_election_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_election_by_pk": {
      "annotations": jsonb,
      "blank_ballots": 123,
      "blank_ballots_percent": numeric,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_voters": 123,
      "total_voters_percent": numeric
    }
  }
}

update_sequent_backend_results_election_many

Description

update multiples rows of table: "sequent_backend.results_election"

Arguments
Name Description
updates - [results_election_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_election_many($updates: [results_election_updates!]!) {
  update_sequent_backend_results_election_many(updates: $updates) {
    affected_rows
    returning {
      ...results_electionFragment
    }
  }
}
Variables
{"updates": [results_election_updates]}
Response
{
  "data": {
    "update_sequent_backend_results_election_many": [
      {
        "affected_rows": 123,
        "returning": [results_election]
      }
    ]
  }
}

update_sequent_backend_results_event

Description

update data of the table: "sequent_backend.results_event"

Response

Returns a results_event_mutation_response

Arguments
Name Description
_append - results_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - results_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_event_set_input sets the columns of the filtered rows to the given values
where - results_event_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_event(
  $_append: results_event_append_input,
  $_delete_at_path: results_event_delete_at_path_input,
  $_delete_elem: results_event_delete_elem_input,
  $_delete_key: results_event_delete_key_input,
  $_prepend: results_event_prepend_input,
  $_set: results_event_set_input,
  $where: results_event_bool_exp!
) {
  update_sequent_backend_results_event(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...results_eventFragment
    }
  }
}
Variables
{
  "_append": results_event_append_input,
  "_delete_at_path": results_event_delete_at_path_input,
  "_delete_elem": results_event_delete_elem_input,
  "_delete_key": results_event_delete_key_input,
  "_prepend": results_event_prepend_input,
  "_set": results_event_set_input,
  "where": results_event_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_event": {
      "affected_rows": 987,
      "returning": [results_event]
    }
  }
}

update_sequent_backend_results_event_by_pk

Description

update single row of the table: "sequent_backend.results_event"

Response

Returns a results_event

Arguments
Name Description
_append - results_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - results_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - results_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - results_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - results_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - results_event_set_input sets the columns of the filtered rows to the given values
pk_columns - results_event_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_event_by_pk(
  $_append: results_event_append_input,
  $_delete_at_path: results_event_delete_at_path_input,
  $_delete_elem: results_event_delete_elem_input,
  $_delete_key: results_event_delete_key_input,
  $_prepend: results_event_prepend_input,
  $_set: results_event_set_input,
  $pk_columns: results_event_pk_columns_input!
) {
  update_sequent_backend_results_event_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "_append": results_event_append_input,
  "_delete_at_path": results_event_delete_at_path_input,
  "_delete_elem": results_event_delete_elem_input,
  "_delete_key": results_event_delete_key_input,
  "_prepend": results_event_prepend_input,
  "_set": results_event_set_input,
  "pk_columns": results_event_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_results_event_many

Description

update multiples rows of table: "sequent_backend.results_event"

Arguments
Name Description
updates - [results_event_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_event_many($updates: [results_event_updates!]!) {
  update_sequent_backend_results_event_many(updates: $updates) {
    affected_rows
    returning {
      ...results_eventFragment
    }
  }
}
Variables
{"updates": [results_event_updates]}
Response
{
  "data": {
    "update_sequent_backend_results_event_many": [
      {"affected_rows": 987, "returning": [results_event]}
    ]
  }
}

update_sequent_backend_scheduled_event

Description

update data of the table: "sequent_backend.scheduled_event"

Arguments
Name Description
_append - scheduled_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - scheduled_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - scheduled_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - scheduled_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - scheduled_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - scheduled_event_set_input sets the columns of the filtered rows to the given values
where - scheduled_event_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_scheduled_event(
  $_append: scheduled_event_append_input,
  $_delete_at_path: scheduled_event_delete_at_path_input,
  $_delete_elem: scheduled_event_delete_elem_input,
  $_delete_key: scheduled_event_delete_key_input,
  $_prepend: scheduled_event_prepend_input,
  $_set: scheduled_event_set_input,
  $where: scheduled_event_bool_exp!
) {
  update_sequent_backend_scheduled_event(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...scheduled_eventFragment
    }
  }
}
Variables
{
  "_append": scheduled_event_append_input,
  "_delete_at_path": scheduled_event_delete_at_path_input,
  "_delete_elem": scheduled_event_delete_elem_input,
  "_delete_key": scheduled_event_delete_key_input,
  "_prepend": scheduled_event_prepend_input,
  "_set": scheduled_event_set_input,
  "where": scheduled_event_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_scheduled_event": {
      "affected_rows": 987,
      "returning": [scheduled_event]
    }
  }
}

update_sequent_backend_scheduled_event_by_pk

Description

update single row of the table: "sequent_backend.scheduled_event"

Response

Returns a scheduled_event

Arguments
Name Description
_append - scheduled_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - scheduled_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - scheduled_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - scheduled_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - scheduled_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - scheduled_event_set_input sets the columns of the filtered rows to the given values
pk_columns - scheduled_event_pk_columns_input!

Example

Query
mutation update_sequent_backend_scheduled_event_by_pk(
  $_append: scheduled_event_append_input,
  $_delete_at_path: scheduled_event_delete_at_path_input,
  $_delete_elem: scheduled_event_delete_elem_input,
  $_delete_key: scheduled_event_delete_key_input,
  $_prepend: scheduled_event_prepend_input,
  $_set: scheduled_event_set_input,
  $pk_columns: scheduled_event_pk_columns_input!
) {
  update_sequent_backend_scheduled_event_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    archived_at
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{
  "_append": scheduled_event_append_input,
  "_delete_at_path": scheduled_event_delete_at_path_input,
  "_delete_elem": scheduled_event_delete_elem_input,
  "_delete_key": scheduled_event_delete_key_input,
  "_prepend": scheduled_event_prepend_input,
  "_set": scheduled_event_set_input,
  "pk_columns": scheduled_event_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_scheduled_event_by_pk": {
      "annotations": jsonb,
      "archived_at": timestamptz,
      "created_at": timestamptz,
      "created_by": "xyz789",
      "cron_config": jsonb,
      "election_event_id": uuid,
      "event_payload": jsonb,
      "event_processor": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "stopped_at": timestamptz,
      "task_id": "xyz789",
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_scheduled_event_many

Description

update multiples rows of table: "sequent_backend.scheduled_event"

Arguments
Name Description
updates - [scheduled_event_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_scheduled_event_many($updates: [scheduled_event_updates!]!) {
  update_sequent_backend_scheduled_event_many(updates: $updates) {
    affected_rows
    returning {
      ...scheduled_eventFragment
    }
  }
}
Variables
{"updates": [scheduled_event_updates]}
Response
{
  "data": {
    "update_sequent_backend_scheduled_event_many": [
      {
        "affected_rows": 123,
        "returning": [scheduled_event]
      }
    ]
  }
}

update_sequent_backend_secret

Description

update data of the table: "sequent_backend.secret"

Response

Returns a secret_mutation_response

Arguments
Name Description
_append - secret_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - secret_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - secret_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - secret_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - secret_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - secret_set_input sets the columns of the filtered rows to the given values
where - secret_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_secret(
  $_append: secret_append_input,
  $_delete_at_path: secret_delete_at_path_input,
  $_delete_elem: secret_delete_elem_input,
  $_delete_key: secret_delete_key_input,
  $_prepend: secret_prepend_input,
  $_set: secret_set_input,
  $where: secret_bool_exp!
) {
  update_sequent_backend_secret(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...secretFragment
    }
  }
}
Variables
{
  "_append": secret_append_input,
  "_delete_at_path": secret_delete_at_path_input,
  "_delete_elem": secret_delete_elem_input,
  "_delete_key": secret_delete_key_input,
  "_prepend": secret_prepend_input,
  "_set": secret_set_input,
  "where": secret_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_secret": {
      "affected_rows": 987,
      "returning": [secret]
    }
  }
}

update_sequent_backend_secret_by_pk

Description

update single row of the table: "sequent_backend.secret"

Response

Returns a secret

Arguments
Name Description
_append - secret_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - secret_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - secret_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - secret_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - secret_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - secret_set_input sets the columns of the filtered rows to the given values
pk_columns - secret_pk_columns_input!

Example

Query
mutation update_sequent_backend_secret_by_pk(
  $_append: secret_append_input,
  $_delete_at_path: secret_delete_at_path_input,
  $_delete_elem: secret_delete_elem_input,
  $_delete_key: secret_delete_key_input,
  $_prepend: secret_prepend_input,
  $_set: secret_set_input,
  $pk_columns: secret_pk_columns_input!
) {
  update_sequent_backend_secret_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    election_event_id
    id
    key
    labels
    tenant_id
    value
  }
}
Variables
{
  "_append": secret_append_input,
  "_delete_at_path": secret_delete_at_path_input,
  "_delete_elem": secret_delete_elem_input,
  "_delete_key": secret_delete_key_input,
  "_prepend": secret_prepend_input,
  "_set": secret_set_input,
  "pk_columns": secret_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_secret_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "key": "xyz789",
      "labels": jsonb,
      "tenant_id": uuid,
      "value": bytea
    }
  }
}

update_sequent_backend_secret_many

Description

update multiples rows of table: "sequent_backend.secret"

Response

Returns [secret_mutation_response]

Arguments
Name Description
updates - [secret_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_secret_many($updates: [secret_updates!]!) {
  update_sequent_backend_secret_many(updates: $updates) {
    affected_rows
    returning {
      ...secretFragment
    }
  }
}
Variables
{"updates": [secret_updates]}
Response
{
  "data": {
    "update_sequent_backend_secret_many": [
      {"affected_rows": 987, "returning": [secret]}
    ]
  }
}

update_sequent_backend_support_material

Description

update data of the table: "sequent_backend.support_material"

Arguments
Name Description
_append - support_material_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - support_material_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - support_material_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - support_material_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - support_material_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - support_material_set_input sets the columns of the filtered rows to the given values
where - support_material_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_support_material(
  $_append: support_material_append_input,
  $_delete_at_path: support_material_delete_at_path_input,
  $_delete_elem: support_material_delete_elem_input,
  $_delete_key: support_material_delete_key_input,
  $_prepend: support_material_prepend_input,
  $_set: support_material_set_input,
  $where: support_material_bool_exp!
) {
  update_sequent_backend_support_material(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...support_materialFragment
    }
  }
}
Variables
{
  "_append": support_material_append_input,
  "_delete_at_path": support_material_delete_at_path_input,
  "_delete_elem": support_material_delete_elem_input,
  "_delete_key": support_material_delete_key_input,
  "_prepend": support_material_prepend_input,
  "_set": support_material_set_input,
  "where": support_material_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_support_material": {
      "affected_rows": 123,
      "returning": [support_material]
    }
  }
}

update_sequent_backend_support_material_by_pk

Description

update single row of the table: "sequent_backend.support_material"

Response

Returns a support_material

Arguments
Name Description
_append - support_material_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - support_material_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - support_material_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - support_material_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - support_material_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - support_material_set_input sets the columns of the filtered rows to the given values
pk_columns - support_material_pk_columns_input!

Example

Query
mutation update_sequent_backend_support_material_by_pk(
  $_append: support_material_append_input,
  $_delete_at_path: support_material_delete_at_path_input,
  $_delete_elem: support_material_delete_elem_input,
  $_delete_key: support_material_delete_key_input,
  $_prepend: support_material_prepend_input,
  $_set: support_material_set_input,
  $pk_columns: support_material_pk_columns_input!
) {
  update_sequent_backend_support_material_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "_append": support_material_append_input,
  "_delete_at_path": support_material_delete_at_path_input,
  "_delete_elem": support_material_delete_elem_input,
  "_delete_key": support_material_delete_key_input,
  "_prepend": support_material_prepend_input,
  "_set": support_material_set_input,
  "pk_columns": support_material_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_support_material_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "data": jsonb,
      "document_id": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "is_hidden": true,
      "kind": "xyz789",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_support_material_many

Description

update multiples rows of table: "sequent_backend.support_material"

Arguments
Name Description
updates - [support_material_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_support_material_many($updates: [support_material_updates!]!) {
  update_sequent_backend_support_material_many(updates: $updates) {
    affected_rows
    returning {
      ...support_materialFragment
    }
  }
}
Variables
{"updates": [support_material_updates]}
Response
{
  "data": {
    "update_sequent_backend_support_material_many": [
      {
        "affected_rows": 987,
        "returning": [support_material]
      }
    ]
  }
}

update_sequent_backend_tally_results_publication

Description

update data of the table: "sequent_backend.tally_results_publication"

Arguments
Name Description
_append - tally_results_publication_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_results_publication_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_results_publication_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_results_publication_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_results_publication_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_results_publication_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_results_publication_set_input sets the columns of the filtered rows to the given values
where - tally_results_publication_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_results_publication(
  $_append: tally_results_publication_append_input,
  $_delete_at_path: tally_results_publication_delete_at_path_input,
  $_delete_elem: tally_results_publication_delete_elem_input,
  $_delete_key: tally_results_publication_delete_key_input,
  $_inc: tally_results_publication_inc_input,
  $_prepend: tally_results_publication_prepend_input,
  $_set: tally_results_publication_set_input,
  $where: tally_results_publication_bool_exp!
) {
  update_sequent_backend_tally_results_publication(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...tally_results_publicationFragment
    }
  }
}
Variables
{
  "_append": tally_results_publication_append_input,
  "_delete_at_path": tally_results_publication_delete_at_path_input,
  "_delete_elem": tally_results_publication_delete_elem_input,
  "_delete_key": tally_results_publication_delete_key_input,
  "_inc": tally_results_publication_inc_input,
  "_prepend": tally_results_publication_prepend_input,
  "_set": tally_results_publication_set_input,
  "where": tally_results_publication_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_results_publication": {
      "affected_rows": 987,
      "returning": [tally_results_publication]
    }
  }
}

update_sequent_backend_tally_results_publication_by_pk

Description

update single row of the table: "sequent_backend.tally_results_publication"

Response

Returns a tally_results_publication

Arguments
Name Description
_append - tally_results_publication_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_results_publication_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_results_publication_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_results_publication_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_results_publication_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_results_publication_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_results_publication_set_input sets the columns of the filtered rows to the given values
pk_columns - tally_results_publication_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_results_publication_by_pk(
  $_append: tally_results_publication_append_input,
  $_delete_at_path: tally_results_publication_delete_at_path_input,
  $_delete_elem: tally_results_publication_delete_elem_input,
  $_delete_key: tally_results_publication_delete_key_input,
  $_inc: tally_results_publication_inc_input,
  $_prepend: tally_results_publication_prepend_input,
  $_set: tally_results_publication_set_input,
  $pk_columns: tally_results_publication_pk_columns_input!
) {
  update_sequent_backend_tally_results_publication_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    access
    contest_publication_state
    created_at
    documents
    election_event_id
    election_ids
    error_message
    id
    manifest
    publication_status
    published_at
    published_by_user_id
    published_contest_ids
    results_event_id
    revoked_at
    route_election_id
    route_scope
    tally_session_execution_id
    tally_session_id
    task_execution_id
    tenant_id
    updated_at
    version
    visibility_scope
  }
}
Variables
{
  "_append": tally_results_publication_append_input,
  "_delete_at_path": tally_results_publication_delete_at_path_input,
  "_delete_elem": tally_results_publication_delete_elem_input,
  "_delete_key": tally_results_publication_delete_key_input,
  "_inc": tally_results_publication_inc_input,
  "_prepend": tally_results_publication_prepend_input,
  "_set": tally_results_publication_set_input,
  "pk_columns": tally_results_publication_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_results_publication_by_pk": {
      "access": "abc123",
      "contest_publication_state": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "error_message": "abc123",
      "id": uuid,
      "manifest": jsonb,
      "publication_status": "abc123",
      "published_at": timestamptz,
      "published_by_user_id": uuid,
      "published_contest_ids": jsonb,
      "results_event_id": uuid,
      "revoked_at": timestamptz,
      "route_election_id": uuid,
      "route_scope": "abc123",
      "tally_session_execution_id": uuid,
      "tally_session_id": uuid,
      "task_execution_id": uuid,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "version": 987,
      "visibility_scope": "xyz789"
    }
  }
}

update_sequent_backend_tally_results_publication_many

Description

update multiples rows of table: "sequent_backend.tally_results_publication"

Arguments
Name Description
updates - [tally_results_publication_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_results_publication_many($updates: [tally_results_publication_updates!]!) {
  update_sequent_backend_tally_results_publication_many(updates: $updates) {
    affected_rows
    returning {
      ...tally_results_publicationFragment
    }
  }
}
Variables
{"updates": [tally_results_publication_updates]}
Response
{
  "data": {
    "update_sequent_backend_tally_results_publication_many": [
      {
        "affected_rows": 987,
        "returning": [tally_results_publication]
      }
    ]
  }
}

update_sequent_backend_tally_session

Description

update data of the table: "sequent_backend.tally_session"

Response

Returns a tally_session_mutation_response

Arguments
Name Description
_append - tally_session_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_session_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_session_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_session_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_session_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_session_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_session_set_input sets the columns of the filtered rows to the given values
where - tally_session_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_session(
  $_append: tally_session_append_input,
  $_delete_at_path: tally_session_delete_at_path_input,
  $_delete_elem: tally_session_delete_elem_input,
  $_delete_key: tally_session_delete_key_input,
  $_inc: tally_session_inc_input,
  $_prepend: tally_session_prepend_input,
  $_set: tally_session_set_input,
  $where: tally_session_bool_exp!
) {
  update_sequent_backend_tally_session(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...tally_sessionFragment
    }
  }
}
Variables
{
  "_append": tally_session_append_input,
  "_delete_at_path": tally_session_delete_at_path_input,
  "_delete_elem": tally_session_delete_elem_input,
  "_delete_key": tally_session_delete_key_input,
  "_inc": tally_session_inc_input,
  "_prepend": tally_session_prepend_input,
  "_set": tally_session_set_input,
  "where": tally_session_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_session": {
      "affected_rows": 987,
      "returning": [tally_session]
    }
  }
}

update_sequent_backend_tally_session_by_pk

Description

update single row of the table: "sequent_backend.tally_session"

Response

Returns a tally_session

Arguments
Name Description
_append - tally_session_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_session_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_session_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_session_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_session_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_session_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_session_set_input sets the columns of the filtered rows to the given values
pk_columns - tally_session_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_session_by_pk(
  $_append: tally_session_append_input,
  $_delete_at_path: tally_session_delete_at_path_input,
  $_delete_elem: tally_session_delete_elem_input,
  $_delete_key: tally_session_delete_key_input,
  $_inc: tally_session_inc_input,
  $_prepend: tally_session_prepend_input,
  $_set: tally_session_set_input,
  $pk_columns: tally_session_pk_columns_input!
) {
  update_sequent_backend_tally_session_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_ids
    configuration
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    permission_label
    resolutions {
      ...tally_session_resolutionFragment
    }
    resolutions_aggregate {
      ...tally_session_resolution_aggregateFragment
    }
    tally_type
    tenant_id
    threshold
  }
}
Variables
{
  "_append": tally_session_append_input,
  "_delete_at_path": tally_session_delete_at_path_input,
  "_delete_elem": tally_session_delete_elem_input,
  "_delete_key": tally_session_delete_key_input,
  "_inc": tally_session_inc_input,
  "_prepend": tally_session_prepend_input,
  "_set": tally_session_set_input,
  "pk_columns": tally_session_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_by_pk": {
      "annotations": jsonb,
      "area_ids": [uuid],
      "configuration": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "execution_status": "xyz789",
      "id": uuid,
      "is_execution_completed": true,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "permission_label": ["abc123"],
      "resolutions": [tally_session_resolution],
      "resolutions_aggregate": tally_session_resolution_aggregate,
      "tally_type": "abc123",
      "tenant_id": uuid,
      "threshold": 123
    }
  }
}

update_sequent_backend_tally_session_contest

Description

update data of the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
_append - tally_session_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_session_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_session_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_session_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_session_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_session_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_session_contest_set_input sets the columns of the filtered rows to the given values
where - tally_session_contest_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_session_contest(
  $_append: tally_session_contest_append_input,
  $_delete_at_path: tally_session_contest_delete_at_path_input,
  $_delete_elem: tally_session_contest_delete_elem_input,
  $_delete_key: tally_session_contest_delete_key_input,
  $_inc: tally_session_contest_inc_input,
  $_prepend: tally_session_contest_prepend_input,
  $_set: tally_session_contest_set_input,
  $where: tally_session_contest_bool_exp!
) {
  update_sequent_backend_tally_session_contest(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...tally_session_contestFragment
    }
  }
}
Variables
{
  "_append": tally_session_contest_append_input,
  "_delete_at_path": tally_session_contest_delete_at_path_input,
  "_delete_elem": tally_session_contest_delete_elem_input,
  "_delete_key": tally_session_contest_delete_key_input,
  "_inc": tally_session_contest_inc_input,
  "_prepend": tally_session_contest_prepend_input,
  "_set": tally_session_contest_set_input,
  "where": tally_session_contest_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_contest": {
      "affected_rows": 987,
      "returning": [tally_session_contest]
    }
  }
}

update_sequent_backend_tally_session_contest_by_pk

Description

update single row of the table: "sequent_backend.tally_session_contest"

Response

Returns a tally_session_contest

Arguments
Name Description
_append - tally_session_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_session_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_session_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_session_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_session_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_session_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_session_contest_set_input sets the columns of the filtered rows to the given values
pk_columns - tally_session_contest_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_session_contest_by_pk(
  $_append: tally_session_contest_append_input,
  $_delete_at_path: tally_session_contest_delete_at_path_input,
  $_delete_elem: tally_session_contest_delete_elem_input,
  $_delete_key: tally_session_contest_delete_key_input,
  $_inc: tally_session_contest_inc_input,
  $_prepend: tally_session_contest_prepend_input,
  $_set: tally_session_contest_set_input,
  $pk_columns: tally_session_contest_pk_columns_input!
) {
  update_sequent_backend_tally_session_contest_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "_append": tally_session_contest_append_input,
  "_delete_at_path": tally_session_contest_delete_at_path_input,
  "_delete_elem": tally_session_contest_delete_elem_input,
  "_delete_key": tally_session_contest_delete_key_input,
  "_inc": tally_session_contest_inc_input,
  "_prepend": tally_session_contest_prepend_input,
  "_set": tally_session_contest_set_input,
  "pk_columns": tally_session_contest_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "session_id": 987,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_tally_session_contest_many

Description

update multiples rows of table: "sequent_backend.tally_session_contest"

Arguments
Name Description
updates - [tally_session_contest_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_session_contest_many($updates: [tally_session_contest_updates!]!) {
  update_sequent_backend_tally_session_contest_many(updates: $updates) {
    affected_rows
    returning {
      ...tally_session_contestFragment
    }
  }
}
Variables
{"updates": [tally_session_contest_updates]}
Response
{
  "data": {
    "update_sequent_backend_tally_session_contest_many": [
      {
        "affected_rows": 123,
        "returning": [tally_session_contest]
      }
    ]
  }
}

update_sequent_backend_tally_session_execution

Description

update data of the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
_append - tally_session_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_session_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_session_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_session_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_session_execution_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_session_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_session_execution_set_input sets the columns of the filtered rows to the given values
where - tally_session_execution_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_session_execution(
  $_append: tally_session_execution_append_input,
  $_delete_at_path: tally_session_execution_delete_at_path_input,
  $_delete_elem: tally_session_execution_delete_elem_input,
  $_delete_key: tally_session_execution_delete_key_input,
  $_inc: tally_session_execution_inc_input,
  $_prepend: tally_session_execution_prepend_input,
  $_set: tally_session_execution_set_input,
  $where: tally_session_execution_bool_exp!
) {
  update_sequent_backend_tally_session_execution(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...tally_session_executionFragment
    }
  }
}
Variables
{
  "_append": tally_session_execution_append_input,
  "_delete_at_path": tally_session_execution_delete_at_path_input,
  "_delete_elem": tally_session_execution_delete_elem_input,
  "_delete_key": tally_session_execution_delete_key_input,
  "_inc": tally_session_execution_inc_input,
  "_prepend": tally_session_execution_prepend_input,
  "_set": tally_session_execution_set_input,
  "where": tally_session_execution_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_execution": {
      "affected_rows": 123,
      "returning": [tally_session_execution]
    }
  }
}

update_sequent_backend_tally_session_execution_by_pk

Description

update single row of the table: "sequent_backend.tally_session_execution"

Response

Returns a tally_session_execution

Arguments
Name Description
_append - tally_session_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_session_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_session_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_session_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_session_execution_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_session_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_session_execution_set_input sets the columns of the filtered rows to the given values
pk_columns - tally_session_execution_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_session_execution_by_pk(
  $_append: tally_session_execution_append_input,
  $_delete_at_path: tally_session_execution_delete_at_path_input,
  $_delete_elem: tally_session_execution_delete_elem_input,
  $_delete_key: tally_session_execution_delete_key_input,
  $_inc: tally_session_execution_inc_input,
  $_prepend: tally_session_execution_prepend_input,
  $_set: tally_session_execution_set_input,
  $pk_columns: tally_session_execution_pk_columns_input!
) {
  update_sequent_backend_tally_session_execution_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    current_message_id
    documents
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    run_reason
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "_append": tally_session_execution_append_input,
  "_delete_at_path": tally_session_execution_delete_at_path_input,
  "_delete_elem": tally_session_execution_delete_elem_input,
  "_delete_key": tally_session_execution_delete_key_input,
  "_inc": tally_session_execution_inc_input,
  "_prepend": tally_session_execution_prepend_input,
  "_set": tally_session_execution_set_input,
  "pk_columns": tally_session_execution_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_execution_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "current_message_id": 123,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "run_reason": "xyz789",
      "session_ids": [123],
      "status": jsonb,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_tally_session_execution_many

Description

update multiples rows of table: "sequent_backend.tally_session_execution"

Arguments
Name Description
updates - [tally_session_execution_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_session_execution_many($updates: [tally_session_execution_updates!]!) {
  update_sequent_backend_tally_session_execution_many(updates: $updates) {
    affected_rows
    returning {
      ...tally_session_executionFragment
    }
  }
}
Variables
{"updates": [tally_session_execution_updates]}
Response
{
  "data": {
    "update_sequent_backend_tally_session_execution_many": [
      {
        "affected_rows": 123,
        "returning": [tally_session_execution]
      }
    ]
  }
}

update_sequent_backend_tally_session_many

Description

update multiples rows of table: "sequent_backend.tally_session"

Arguments
Name Description
updates - [tally_session_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_session_many($updates: [tally_session_updates!]!) {
  update_sequent_backend_tally_session_many(updates: $updates) {
    affected_rows
    returning {
      ...tally_sessionFragment
    }
  }
}
Variables
{"updates": [tally_session_updates]}
Response
{
  "data": {
    "update_sequent_backend_tally_session_many": [
      {"affected_rows": 123, "returning": [tally_session]}
    ]
  }
}

update_sequent_backend_tally_session_resolution

Description

update data of the table: "sequent_backend.tally_session_resolution"

Arguments
Name Description
_append - tally_session_resolution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_session_resolution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_session_resolution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_session_resolution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - tally_session_resolution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_session_resolution_set_input sets the columns of the filtered rows to the given values
where - tally_session_resolution_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_session_resolution(
  $_append: tally_session_resolution_append_input,
  $_delete_at_path: tally_session_resolution_delete_at_path_input,
  $_delete_elem: tally_session_resolution_delete_elem_input,
  $_delete_key: tally_session_resolution_delete_key_input,
  $_prepend: tally_session_resolution_prepend_input,
  $_set: tally_session_resolution_set_input,
  $where: tally_session_resolution_bool_exp!
) {
  update_sequent_backend_tally_session_resolution(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...tally_session_resolutionFragment
    }
  }
}
Variables
{
  "_append": tally_session_resolution_append_input,
  "_delete_at_path": tally_session_resolution_delete_at_path_input,
  "_delete_elem": tally_session_resolution_delete_elem_input,
  "_delete_key": tally_session_resolution_delete_key_input,
  "_prepend": tally_session_resolution_prepend_input,
  "_set": tally_session_resolution_set_input,
  "where": tally_session_resolution_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_resolution": {
      "affected_rows": 123,
      "returning": [tally_session_resolution]
    }
  }
}

update_sequent_backend_tally_session_resolution_by_pk

Description

update single row of the table: "sequent_backend.tally_session_resolution"

Response

Returns a tally_session_resolution

Arguments
Name Description
_append - tally_session_resolution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_session_resolution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_session_resolution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_session_resolution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - tally_session_resolution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_session_resolution_set_input sets the columns of the filtered rows to the given values
pk_columns - tally_session_resolution_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_session_resolution_by_pk(
  $_append: tally_session_resolution_append_input,
  $_delete_at_path: tally_session_resolution_delete_at_path_input,
  $_delete_elem: tally_session_resolution_delete_elem_input,
  $_delete_key: tally_session_resolution_delete_key_input,
  $_prepend: tally_session_resolution_prepend_input,
  $_set: tally_session_resolution_set_input,
  $pk_columns: tally_session_resolution_pk_columns_input!
) {
  update_sequent_backend_tally_session_resolution_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    resolution_data
    resolution_type
    resolved_at
    resolved_by_user
    status
    tally_session {
      ...tally_sessionFragment
    }
    tally_session_id
    tenant_id
  }
}
Variables
{
  "_append": tally_session_resolution_append_input,
  "_delete_at_path": tally_session_resolution_delete_at_path_input,
  "_delete_elem": tally_session_resolution_delete_elem_input,
  "_delete_key": tally_session_resolution_delete_key_input,
  "_prepend": tally_session_resolution_prepend_input,
  "_set": tally_session_resolution_set_input,
  "pk_columns": tally_session_resolution_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_resolution_by_pk": {
      "annotations": jsonb,
      "contest": contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "resolution_data": jsonb,
      "resolution_type": "abc123",
      "resolved_at": timestamptz,
      "resolved_by_user": uuid,
      "status": "xyz789",
      "tally_session": tally_session,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_tally_session_resolution_many

Description

update multiples rows of table: "sequent_backend.tally_session_resolution"

Arguments
Name Description
updates - [tally_session_resolution_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_session_resolution_many($updates: [tally_session_resolution_updates!]!) {
  update_sequent_backend_tally_session_resolution_many(updates: $updates) {
    affected_rows
    returning {
      ...tally_session_resolutionFragment
    }
  }
}
Variables
{"updates": [tally_session_resolution_updates]}
Response
{
  "data": {
    "update_sequent_backend_tally_session_resolution_many": [
      {
        "affected_rows": 123,
        "returning": [tally_session_resolution]
      }
    ]
  }
}

update_sequent_backend_tally_sheet

Description

update data of the table: "sequent_backend.tally_sheet"

Response

Returns a tally_sheet_mutation_response

Arguments
Name Description
_append - tally_sheet_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_sheet_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_sheet_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_sheet_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_sheet_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_sheet_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_sheet_set_input sets the columns of the filtered rows to the given values
where - tally_sheet_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_sheet(
  $_append: tally_sheet_append_input,
  $_delete_at_path: tally_sheet_delete_at_path_input,
  $_delete_elem: tally_sheet_delete_elem_input,
  $_delete_key: tally_sheet_delete_key_input,
  $_inc: tally_sheet_inc_input,
  $_prepend: tally_sheet_prepend_input,
  $_set: tally_sheet_set_input,
  $where: tally_sheet_bool_exp!
) {
  update_sequent_backend_tally_sheet(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...tally_sheetFragment
    }
  }
}
Variables
{
  "_append": tally_sheet_append_input,
  "_delete_at_path": tally_sheet_delete_at_path_input,
  "_delete_elem": tally_sheet_delete_elem_input,
  "_delete_key": tally_sheet_delete_key_input,
  "_inc": tally_sheet_inc_input,
  "_prepend": tally_sheet_prepend_input,
  "_set": tally_sheet_set_input,
  "where": tally_sheet_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet": {
      "affected_rows": 123,
      "returning": [tally_sheet]
    }
  }
}

update_sequent_backend_tally_sheet_by_pk

Description

update single row of the table: "sequent_backend.tally_sheet"

Response

Returns a tally_sheet

Arguments
Name Description
_append - tally_sheet_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_sheet_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_sheet_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_sheet_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_sheet_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_sheet_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_sheet_set_input sets the columns of the filtered rows to the given values
pk_columns - tally_sheet_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_sheet_by_pk(
  $_append: tally_sheet_append_input,
  $_delete_at_path: tally_sheet_delete_at_path_input,
  $_delete_elem: tally_sheet_delete_elem_input,
  $_delete_key: tally_sheet_delete_key_input,
  $_inc: tally_sheet_inc_input,
  $_prepend: tally_sheet_prepend_input,
  $_set: tally_sheet_set_input,
  $pk_columns: tally_sheet_pk_columns_input!
) {
  update_sequent_backend_tally_sheet_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    import_id
    labels
    last_updated_at
    reviewed_at
    reviewed_by_user_id
    source_import {
      ...tally_sheet_importFragment
    }
    status
    tenant_id
    version
  }
}
Variables
{
  "_append": tally_sheet_append_input,
  "_delete_at_path": tally_sheet_delete_at_path_input,
  "_delete_elem": tally_sheet_delete_elem_input,
  "_delete_key": tally_sheet_delete_key_input,
  "_inc": tally_sheet_inc_input,
  "_prepend": tally_sheet_prepend_input,
  "_set": tally_sheet_set_input,
  "pk_columns": tally_sheet_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "channel": "xyz789",
      "content": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "import_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "reviewed_at": timestamptz,
      "reviewed_by_user_id": "xyz789",
      "source_import": tally_sheet_import,
      "status": "xyz789",
      "tenant_id": uuid,
      "version": 123
    }
  }
}

update_sequent_backend_tally_sheet_import

Description

update data of the table: "sequent_backend.tally_sheet_import"

Arguments
Name Description
_append - tally_sheet_import_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_sheet_import_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_sheet_import_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_sheet_import_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - tally_sheet_import_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_sheet_import_set_input sets the columns of the filtered rows to the given values
where - tally_sheet_import_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_sheet_import(
  $_append: tally_sheet_import_append_input,
  $_delete_at_path: tally_sheet_import_delete_at_path_input,
  $_delete_elem: tally_sheet_import_delete_elem_input,
  $_delete_key: tally_sheet_import_delete_key_input,
  $_prepend: tally_sheet_import_prepend_input,
  $_set: tally_sheet_import_set_input,
  $where: tally_sheet_import_bool_exp!
) {
  update_sequent_backend_tally_sheet_import(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...tally_sheet_importFragment
    }
  }
}
Variables
{
  "_append": tally_sheet_import_append_input,
  "_delete_at_path": tally_sheet_import_delete_at_path_input,
  "_delete_elem": tally_sheet_import_delete_elem_input,
  "_delete_key": tally_sheet_import_delete_key_input,
  "_prepend": tally_sheet_import_prepend_input,
  "_set": tally_sheet_import_set_input,
  "where": tally_sheet_import_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet_import": {
      "affected_rows": 123,
      "returning": [tally_sheet_import]
    }
  }
}

update_sequent_backend_tally_sheet_import_by_pk

Description

update single row of the table: "sequent_backend.tally_sheet_import"

Response

Returns a tally_sheet_import

Arguments
Name Description
_append - tally_sheet_import_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_sheet_import_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_sheet_import_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_sheet_import_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - tally_sheet_import_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_sheet_import_set_input sets the columns of the filtered rows to the given values
pk_columns - tally_sheet_import_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_sheet_import_by_pk(
  $_append: tally_sheet_import_append_input,
  $_delete_at_path: tally_sheet_import_delete_at_path_input,
  $_delete_elem: tally_sheet_import_delete_elem_input,
  $_delete_key: tally_sheet_import_delete_key_input,
  $_prepend: tally_sheet_import_prepend_input,
  $_set: tally_sheet_import_set_input,
  $pk_columns: tally_sheet_import_pk_columns_input!
) {
  update_sequent_backend_tally_sheet_import_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    canonical_csv_sha256
    created_at
    created_by_user_id
    election_event_id
    id
    items {
      ...tally_sheet_import_itemFragment
    }
    items_aggregate {
      ...tally_sheet_import_item_aggregateFragment
    }
    labels
    last_updated_at
    selected_channel
    source_document {
      ...documentFragment
    }
    source_document_id
    source_file_name
    source_format
    source_sha256
    status
    summary
    tenant_id
    validation_report
  }
}
Variables
{
  "_append": tally_sheet_import_append_input,
  "_delete_at_path": tally_sheet_import_delete_at_path_input,
  "_delete_elem": tally_sheet_import_delete_elem_input,
  "_delete_key": tally_sheet_import_delete_key_input,
  "_prepend": tally_sheet_import_prepend_input,
  "_set": tally_sheet_import_set_input,
  "pk_columns": tally_sheet_import_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet_import_by_pk": {
      "annotations": jsonb,
      "canonical_csv_sha256": "xyz789",
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "election_event_id": uuid,
      "id": uuid,
      "items": [tally_sheet_import_item],
      "items_aggregate": tally_sheet_import_item_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "selected_channel": "abc123",
      "source_document": document,
      "source_document_id": uuid,
      "source_file_name": "abc123",
      "source_format": "abc123",
      "source_sha256": "abc123",
      "status": "abc123",
      "summary": jsonb,
      "tenant_id": uuid,
      "validation_report": jsonb
    }
  }
}

update_sequent_backend_tally_sheet_import_item

Description

update data of the table: "sequent_backend.tally_sheet_import_item"

Arguments
Name Description
_append - tally_sheet_import_item_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_sheet_import_item_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_sheet_import_item_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_sheet_import_item_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_sheet_import_item_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_sheet_import_item_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_sheet_import_item_set_input sets the columns of the filtered rows to the given values
where - tally_sheet_import_item_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_sheet_import_item(
  $_append: tally_sheet_import_item_append_input,
  $_delete_at_path: tally_sheet_import_item_delete_at_path_input,
  $_delete_elem: tally_sheet_import_item_delete_elem_input,
  $_delete_key: tally_sheet_import_item_delete_key_input,
  $_inc: tally_sheet_import_item_inc_input,
  $_prepend: tally_sheet_import_item_prepend_input,
  $_set: tally_sheet_import_item_set_input,
  $where: tally_sheet_import_item_bool_exp!
) {
  update_sequent_backend_tally_sheet_import_item(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...tally_sheet_import_itemFragment
    }
  }
}
Variables
{
  "_append": tally_sheet_import_item_append_input,
  "_delete_at_path": tally_sheet_import_item_delete_at_path_input,
  "_delete_elem": tally_sheet_import_item_delete_elem_input,
  "_delete_key": tally_sheet_import_item_delete_key_input,
  "_inc": tally_sheet_import_item_inc_input,
  "_prepend": tally_sheet_import_item_prepend_input,
  "_set": tally_sheet_import_item_set_input,
  "where": tally_sheet_import_item_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet_import_item": {
      "affected_rows": 987,
      "returning": [tally_sheet_import_item]
    }
  }
}

update_sequent_backend_tally_sheet_import_item_by_pk

Description

update single row of the table: "sequent_backend.tally_sheet_import_item"

Response

Returns a tally_sheet_import_item

Arguments
Name Description
_append - tally_sheet_import_item_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tally_sheet_import_item_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tally_sheet_import_item_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tally_sheet_import_item_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tally_sheet_import_item_inc_input increments the numeric columns with given value of the filtered values
_prepend - tally_sheet_import_item_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tally_sheet_import_item_set_input sets the columns of the filtered rows to the given values
pk_columns - tally_sheet_import_item_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_sheet_import_item_by_pk(
  $_append: tally_sheet_import_item_append_input,
  $_delete_at_path: tally_sheet_import_item_delete_at_path_input,
  $_delete_elem: tally_sheet_import_item_delete_elem_input,
  $_delete_key: tally_sheet_import_item_delete_key_input,
  $_inc: tally_sheet_import_item_inc_input,
  $_prepend: tally_sheet_import_item_prepend_input,
  $_set: tally_sheet_import_item_set_input,
  $pk_columns: tally_sheet_import_item_pk_columns_input!
) {
  update_sequent_backend_tally_sheet_import_item_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    baseline_approved_tally_sheet_id
    baseline_approved_version
    baseline_content_hash
    change_type
    channel
    contest_id
    created_at
    election_event_id
    election_id
    generated_tally_sheet {
      ...tally_sheetFragment
    }
    generated_tally_sheet_id
    id
    import {
      ...tally_sheet_importFragment
    }
    import_id
    incoming_content_hash
    incoming_csv
    labels
    last_updated_at
    previous_csv
    source_refs
    status
    tenant_id
    validation_warnings
  }
}
Variables
{
  "_append": tally_sheet_import_item_append_input,
  "_delete_at_path": tally_sheet_import_item_delete_at_path_input,
  "_delete_elem": tally_sheet_import_item_delete_elem_input,
  "_delete_key": tally_sheet_import_item_delete_key_input,
  "_inc": tally_sheet_import_item_inc_input,
  "_prepend": tally_sheet_import_item_prepend_input,
  "_set": tally_sheet_import_item_set_input,
  "pk_columns": tally_sheet_import_item_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet_import_item_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "baseline_approved_tally_sheet_id": uuid,
      "baseline_approved_version": 123,
      "baseline_content_hash": "xyz789",
      "change_type": "abc123",
      "channel": "abc123",
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "generated_tally_sheet": tally_sheet,
      "generated_tally_sheet_id": uuid,
      "id": uuid,
      "import": tally_sheet_import,
      "import_id": uuid,
      "incoming_content_hash": "abc123",
      "incoming_csv": "xyz789",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "previous_csv": "xyz789",
      "source_refs": jsonb,
      "status": "abc123",
      "tenant_id": uuid,
      "validation_warnings": jsonb
    }
  }
}

update_sequent_backend_tally_sheet_import_item_many

Description

update multiples rows of table: "sequent_backend.tally_sheet_import_item"

Arguments
Name Description
updates - [tally_sheet_import_item_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_sheet_import_item_many($updates: [tally_sheet_import_item_updates!]!) {
  update_sequent_backend_tally_sheet_import_item_many(updates: $updates) {
    affected_rows
    returning {
      ...tally_sheet_import_itemFragment
    }
  }
}
Variables
{"updates": [tally_sheet_import_item_updates]}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet_import_item_many": [
      {
        "affected_rows": 987,
        "returning": [tally_sheet_import_item]
      }
    ]
  }
}

update_sequent_backend_tally_sheet_import_many

Description

update multiples rows of table: "sequent_backend.tally_sheet_import"

Arguments
Name Description
updates - [tally_sheet_import_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_sheet_import_many($updates: [tally_sheet_import_updates!]!) {
  update_sequent_backend_tally_sheet_import_many(updates: $updates) {
    affected_rows
    returning {
      ...tally_sheet_importFragment
    }
  }
}
Variables
{"updates": [tally_sheet_import_updates]}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet_import_many": [
      {
        "affected_rows": 987,
        "returning": [tally_sheet_import]
      }
    ]
  }
}

update_sequent_backend_tally_sheet_many

Description

update multiples rows of table: "sequent_backend.tally_sheet"

Arguments
Name Description
updates - [tally_sheet_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_sheet_many($updates: [tally_sheet_updates!]!) {
  update_sequent_backend_tally_sheet_many(updates: $updates) {
    affected_rows
    returning {
      ...tally_sheetFragment
    }
  }
}
Variables
{"updates": [tally_sheet_updates]}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet_many": [
      {"affected_rows": 987, "returning": [tally_sheet]}
    ]
  }
}

update_sequent_backend_tasks_execution

Description

update data of the table: "sequent_backend.tasks_execution"

Arguments
Name Description
_append - tasks_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tasks_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tasks_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tasks_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - tasks_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tasks_execution_set_input sets the columns of the filtered rows to the given values
where - tasks_execution_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tasks_execution(
  $_append: tasks_execution_append_input,
  $_delete_at_path: tasks_execution_delete_at_path_input,
  $_delete_elem: tasks_execution_delete_elem_input,
  $_delete_key: tasks_execution_delete_key_input,
  $_prepend: tasks_execution_prepend_input,
  $_set: tasks_execution_set_input,
  $where: tasks_execution_bool_exp!
) {
  update_sequent_backend_tasks_execution(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...tasks_executionFragment
    }
  }
}
Variables
{
  "_append": tasks_execution_append_input,
  "_delete_at_path": tasks_execution_delete_at_path_input,
  "_delete_elem": tasks_execution_delete_elem_input,
  "_delete_key": tasks_execution_delete_key_input,
  "_prepend": tasks_execution_prepend_input,
  "_set": tasks_execution_set_input,
  "where": tasks_execution_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tasks_execution": {
      "affected_rows": 987,
      "returning": [tasks_execution]
    }
  }
}

update_sequent_backend_tasks_execution_by_pk

Description

update single row of the table: "sequent_backend.tasks_execution"

Response

Returns a tasks_execution

Arguments
Name Description
_append - tasks_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tasks_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tasks_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tasks_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - tasks_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tasks_execution_set_input sets the columns of the filtered rows to the given values
pk_columns - tasks_execution_pk_columns_input!

Example

Query
mutation update_sequent_backend_tasks_execution_by_pk(
  $_append: tasks_execution_append_input,
  $_delete_at_path: tasks_execution_delete_at_path_input,
  $_delete_elem: tasks_execution_delete_elem_input,
  $_delete_key: tasks_execution_delete_key_input,
  $_prepend: tasks_execution_prepend_input,
  $_set: tasks_execution_set_input,
  $pk_columns: tasks_execution_pk_columns_input!
) {
  update_sequent_backend_tasks_execution_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    election_event_id
    end_at
    executed_by_user
    execution_status
    id
    labels
    logs
    name
    start_at
    tenant {
      ...tenantFragment
    }
    tenant_id
    type
  }
}
Variables
{
  "_append": tasks_execution_append_input,
  "_delete_at_path": tasks_execution_delete_at_path_input,
  "_delete_elem": tasks_execution_delete_elem_input,
  "_delete_key": tasks_execution_delete_key_input,
  "_prepend": tasks_execution_prepend_input,
  "_set": tasks_execution_set_input,
  "pk_columns": tasks_execution_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tasks_execution_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "end_at": timestamptz,
      "executed_by_user": "xyz789",
      "execution_status": "abc123",
      "id": uuid,
      "labels": jsonb,
      "logs": json,
      "name": "abc123",
      "start_at": timestamptz,
      "tenant": tenant,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

update_sequent_backend_tasks_execution_many

Description

update multiples rows of table: "sequent_backend.tasks_execution"

Arguments
Name Description
updates - [tasks_execution_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tasks_execution_many($updates: [tasks_execution_updates!]!) {
  update_sequent_backend_tasks_execution_many(updates: $updates) {
    affected_rows
    returning {
      ...tasks_executionFragment
    }
  }
}
Variables
{"updates": [tasks_execution_updates]}
Response
{
  "data": {
    "update_sequent_backend_tasks_execution_many": [
      {
        "affected_rows": 123,
        "returning": [tasks_execution]
      }
    ]
  }
}

update_sequent_backend_template

Description

update data of the table: "sequent_backend.template"

Response

Returns a template_mutation_response

Arguments
Name Description
_append - template_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - template_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - template_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - template_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - template_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - template_set_input sets the columns of the filtered rows to the given values
where - template_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_template(
  $_append: template_append_input,
  $_delete_at_path: template_delete_at_path_input,
  $_delete_elem: template_delete_elem_input,
  $_delete_key: template_delete_key_input,
  $_prepend: template_prepend_input,
  $_set: template_set_input,
  $where: template_bool_exp!
) {
  update_sequent_backend_template(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...templateFragment
    }
  }
}
Variables
{
  "_append": template_append_input,
  "_delete_at_path": template_delete_at_path_input,
  "_delete_elem": template_delete_elem_input,
  "_delete_key": template_delete_key_input,
  "_prepend": template_prepend_input,
  "_set": template_set_input,
  "where": template_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_template": {
      "affected_rows": 123,
      "returning": [template]
    }
  }
}

update_sequent_backend_template_by_pk

Description

update single row of the table: "sequent_backend.template"

Response

Returns a template

Arguments
Name Description
_append - template_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - template_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - template_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - template_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - template_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - template_set_input sets the columns of the filtered rows to the given values
pk_columns - template_pk_columns_input!

Example

Query
mutation update_sequent_backend_template_by_pk(
  $_append: template_append_input,
  $_delete_at_path: template_delete_at_path_input,
  $_delete_elem: template_delete_elem_input,
  $_delete_key: template_delete_key_input,
  $_prepend: template_prepend_input,
  $_set: template_set_input,
  $pk_columns: template_pk_columns_input!
) {
  update_sequent_backend_template_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    alias
    annotations
    communication_method
    created_at
    created_by
    id
    labels
    template
    tenant_id
    type
    updated_at
  }
}
Variables
{
  "_append": template_append_input,
  "_delete_at_path": template_delete_at_path_input,
  "_delete_elem": template_delete_elem_input,
  "_delete_key": template_delete_key_input,
  "_prepend": template_prepend_input,
  "_set": template_set_input,
  "pk_columns": template_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_template_by_pk": {
      "alias": "xyz789",
      "annotations": jsonb,
      "communication_method": "xyz789",
      "created_at": timestamptz,
      "created_by": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "template": jsonb,
      "tenant_id": uuid,
      "type": "xyz789",
      "updated_at": timestamptz
    }
  }
}

update_sequent_backend_template_many

Description

update multiples rows of table: "sequent_backend.template"

Response

Returns [template_mutation_response]

Arguments
Name Description
updates - [template_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_template_many($updates: [template_updates!]!) {
  update_sequent_backend_template_many(updates: $updates) {
    affected_rows
    returning {
      ...templateFragment
    }
  }
}
Variables
{"updates": [template_updates]}
Response
{
  "data": {
    "update_sequent_backend_template_many": [
      {"affected_rows": 987, "returning": [template]}
    ]
  }
}

update_sequent_backend_tenant

Description

update data of the table: "sequent_backend.tenant"

Response

Returns a tenant_mutation_response

Arguments
Name Description
_append - tenant_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tenant_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tenant_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tenant_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tenant_inc_input increments the numeric columns with given value of the filtered values
_prepend - tenant_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tenant_set_input sets the columns of the filtered rows to the given values
where - tenant_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tenant(
  $_append: tenant_append_input,
  $_delete_at_path: tenant_delete_at_path_input,
  $_delete_elem: tenant_delete_elem_input,
  $_delete_key: tenant_delete_key_input,
  $_inc: tenant_inc_input,
  $_prepend: tenant_prepend_input,
  $_set: tenant_set_input,
  $where: tenant_bool_exp!
) {
  update_sequent_backend_tenant(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...tenantFragment
    }
  }
}
Variables
{
  "_append": tenant_append_input,
  "_delete_at_path": tenant_delete_at_path_input,
  "_delete_elem": tenant_delete_elem_input,
  "_delete_key": tenant_delete_key_input,
  "_inc": tenant_inc_input,
  "_prepend": tenant_prepend_input,
  "_set": tenant_set_input,
  "where": tenant_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tenant": {
      "affected_rows": 123,
      "returning": [tenant]
    }
  }
}

update_sequent_backend_tenant_by_pk

Description

update single row of the table: "sequent_backend.tenant"

Response

Returns a tenant

Arguments
Name Description
_append - tenant_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - tenant_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - tenant_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - tenant_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - tenant_inc_input increments the numeric columns with given value of the filtered values
_prepend - tenant_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - tenant_set_input sets the columns of the filtered rows to the given values
pk_columns - tenant_pk_columns_input!

Example

Query
mutation update_sequent_backend_tenant_by_pk(
  $_append: tenant_append_input,
  $_delete_at_path: tenant_delete_at_path_input,
  $_delete_elem: tenant_delete_elem_input,
  $_delete_key: tenant_delete_key_input,
  $_inc: tenant_inc_input,
  $_prepend: tenant_prepend_input,
  $_set: tenant_set_input,
  $pk_columns: tenant_pk_columns_input!
) {
  update_sequent_backend_tenant_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    test
    updated_at
    voting_channels
  }
}
Variables
{
  "_append": tenant_append_input,
  "_delete_at_path": tenant_delete_at_path_input,
  "_delete_elem": tenant_delete_elem_input,
  "_delete_key": tenant_delete_key_input,
  "_inc": tenant_inc_input,
  "_prepend": tenant_prepend_input,
  "_set": tenant_set_input,
  "pk_columns": tenant_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tenant_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "is_active": true,
      "labels": jsonb,
      "settings": jsonb,
      "slug": "abc123",
      "test": 123,
      "updated_at": timestamptz,
      "voting_channels": jsonb
    }
  }
}

update_sequent_backend_tenant_many

Description

update multiples rows of table: "sequent_backend.tenant"

Response

Returns [tenant_mutation_response]

Arguments
Name Description
updates - [tenant_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tenant_many($updates: [tenant_updates!]!) {
  update_sequent_backend_tenant_many(updates: $updates) {
    affected_rows
    returning {
      ...tenantFragment
    }
  }
}
Variables
{"updates": [tenant_updates]}
Response
{
  "data": {
    "update_sequent_backend_tenant_many": [
      {"affected_rows": 123, "returning": [tenant]}
    ]
  }
}

update_sequent_backend_trustee

Description

update data of the table: "sequent_backend.trustee"

Response

Returns a trustee_mutation_response

Arguments
Name Description
_append - trustee_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - trustee_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - trustee_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - trustee_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - trustee_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - trustee_set_input sets the columns of the filtered rows to the given values
where - trustee_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_trustee(
  $_append: trustee_append_input,
  $_delete_at_path: trustee_delete_at_path_input,
  $_delete_elem: trustee_delete_elem_input,
  $_delete_key: trustee_delete_key_input,
  $_prepend: trustee_prepend_input,
  $_set: trustee_set_input,
  $where: trustee_bool_exp!
) {
  update_sequent_backend_trustee(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...trusteeFragment
    }
  }
}
Variables
{
  "_append": trustee_append_input,
  "_delete_at_path": trustee_delete_at_path_input,
  "_delete_elem": trustee_delete_elem_input,
  "_delete_key": trustee_delete_key_input,
  "_prepend": trustee_prepend_input,
  "_set": trustee_set_input,
  "where": trustee_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_trustee": {
      "affected_rows": 123,
      "returning": [trustee]
    }
  }
}

update_sequent_backend_trustee_by_pk

Description

update single row of the table: "sequent_backend.trustee"

Response

Returns a trustee

Arguments
Name Description
_append - trustee_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - trustee_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - trustee_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - trustee_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - trustee_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - trustee_set_input sets the columns of the filtered rows to the given values
pk_columns - trustee_pk_columns_input!

Example

Query
mutation update_sequent_backend_trustee_by_pk(
  $_append: trustee_append_input,
  $_delete_at_path: trustee_delete_at_path_input,
  $_delete_elem: trustee_delete_elem_input,
  $_delete_key: trustee_delete_key_input,
  $_prepend: trustee_prepend_input,
  $_set: trustee_set_input,
  $pk_columns: trustee_pk_columns_input!
) {
  update_sequent_backend_trustee_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{
  "_append": trustee_append_input,
  "_delete_at_path": trustee_delete_at_path_input,
  "_delete_elem": trustee_delete_elem_input,
  "_delete_key": trustee_delete_key_input,
  "_prepend": trustee_prepend_input,
  "_set": trustee_set_input,
  "pk_columns": trustee_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_trustee_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "public_key": "abc123",
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_trustee_many

Description

update multiples rows of table: "sequent_backend.trustee"

Response

Returns [trustee_mutation_response]

Arguments
Name Description
updates - [trustee_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_trustee_many($updates: [trustee_updates!]!) {
  update_sequent_backend_trustee_many(updates: $updates) {
    affected_rows
    returning {
      ...trusteeFragment
    }
  }
}
Variables
{"updates": [trustee_updates]}
Response
{
  "data": {
    "update_sequent_backend_trustee_many": [
      {"affected_rows": 987, "returning": [trustee]}
    ]
  }
}

update_tally_ceremony

Response

Returns a StartTallyOutput

Arguments
Name Description
election_event_id - uuid!
status - String!
tally_session_id - uuid!

Example

Query
mutation update_tally_ceremony(
  $election_event_id: uuid!,
  $status: String!,
  $tally_session_id: uuid!
) {
  update_tally_ceremony(
    election_event_id: $election_event_id,
    status: $status,
    tally_session_id: $tally_session_id
  ) {
    tally_session_id
  }
}
Variables
{
  "election_event_id": uuid,
  "status": "xyz789",
  "tally_session_id": uuid
}
Response
{
  "data": {
    "update_tally_ceremony": {"tally_session_id": uuid}
  }
}

upload_signature

Response

Returns an OptionalId

Arguments
Name Description
area_id - uuid!
document_id - uuid!
election_id - uuid!
password - String!
tally_session_id - uuid!

Example

Query
mutation upload_signature(
  $area_id: uuid!,
  $document_id: uuid!,
  $election_id: uuid!,
  $password: String!,
  $tally_session_id: uuid!
) {
  upload_signature(
    area_id: $area_id,
    document_id: $document_id,
    election_id: $election_id,
    password: $password,
    tally_session_id: $tally_session_id
  ) {
    id
  }
}
Variables
{
  "area_id": uuid,
  "document_id": uuid,
  "election_id": uuid,
  "password": "xyz789",
  "tally_session_id": uuid
}
Response
{
  "data": {
    "upload_signature": {"id": "xyz789"}
  }
}

upsert_area

Response

Returns an UpsertAreaOutput

Arguments
Name Description
allow_early_voting - EarlyVotingPolicy
annotations - jsonb
area_contest_ids - [String]
description - String
election_event_id - String!
id - String
labels - jsonb
name - String!
parent_id - String
tenant_id - String!
type - String

Example

Query
mutation upsert_area(
  $allow_early_voting: EarlyVotingPolicy,
  $annotations: jsonb,
  $area_contest_ids: [String],
  $description: String,
  $election_event_id: String!,
  $id: String,
  $labels: jsonb,
  $name: String!,
  $parent_id: String,
  $tenant_id: String!,
  $type: String
) {
  upsert_area(
    allow_early_voting: $allow_early_voting,
    annotations: $annotations,
    area_contest_ids: $area_contest_ids,
    description: $description,
    election_event_id: $election_event_id,
    id: $id,
    labels: $labels,
    name: $name,
    parent_id: $parent_id,
    tenant_id: $tenant_id,
    type: $type
  ) {
    id
  }
}
Variables
{
  "allow_early_voting": "allow_early_voting",
  "annotations": jsonb,
  "area_contest_ids": ["abc123"],
  "description": "xyz789",
  "election_event_id": "abc123",
  "id": "xyz789",
  "labels": jsonb,
  "name": "xyz789",
  "parent_id": "abc123",
  "tenant_id": "xyz789",
  "type": "abc123"
}
Response
{"data": {"upsert_area": {"id": "abc123"}}}

upsert_areas

Description

upsert_areas

Response

Returns an OptionalId

Arguments
Name Description
document_id - String!
election_event_id - String!

Example

Query
mutation upsert_areas(
  $document_id: String!,
  $election_event_id: String!
) {
  upsert_areas(
    document_id: $document_id,
    election_event_id: $election_event_id
  ) {
    id
  }
}
Variables
{
  "document_id": "abc123",
  "election_event_id": "xyz789"
}
Response
{"data": {"upsert_areas": {"id": "abc123"}}}

Subscriptions

sequent_backend_applications

Description

fetch data from the table: "sequent_backend.applications"

Response

Returns [applications!]!

Arguments
Name Description
distinct_on - [applications_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [applications_order_by!] sort the rows by one or more columns
where - applications_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_applications(
  $distinct_on: [applications_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [applications_order_by!],
  $where: applications_bool_exp
) {
  sequent_backend_applications(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    applicant_data
    applicant_id
    area_id
    created_at
    election_event_id
    id
    labels
    permission_label
    status
    tenant_id
    updated_at
    verification_type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [applications_order_by],
  "where": applications_bool_exp
}
Response
{
  "data": {
    "sequent_backend_applications": [
      {
        "annotations": jsonb,
        "applicant_data": jsonb,
        "applicant_id": "xyz789",
        "area_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "permission_label": "abc123",
        "status": "abc123",
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "verification_type": "abc123"
      }
    ]
  }
}

sequent_backend_applications_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.applications"

Response

Returns an applications_aggregate!

Arguments
Name Description
distinct_on - [applications_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [applications_order_by!] sort the rows by one or more columns
where - applications_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_applications_aggregate(
  $distinct_on: [applications_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [applications_order_by!],
  $where: applications_bool_exp
) {
  sequent_backend_applications_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...applications_aggregate_fieldsFragment
    }
    nodes {
      ...applicationsFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [applications_order_by],
  "where": applications_bool_exp
}
Response
{
  "data": {
    "sequent_backend_applications_aggregate": {
      "aggregate": applications_aggregate_fields,
      "nodes": [applications]
    }
  }
}

sequent_backend_applications_by_pk

Description

fetch data from the table: "sequent_backend.applications" using primary key columns

Response

Returns an applications

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_applications_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_applications_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    applicant_data
    applicant_id
    area_id
    created_at
    election_event_id
    id
    labels
    permission_label
    status
    tenant_id
    updated_at
    verification_type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_applications_by_pk": {
      "annotations": jsonb,
      "applicant_data": jsonb,
      "applicant_id": "abc123",
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "permission_label": "abc123",
      "status": "abc123",
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "verification_type": "abc123"
    }
  }
}

sequent_backend_applications_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.applications"

Response

Returns [applications!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [applications_stream_cursor_input]! cursor to stream the results returned by the query
where - applications_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_applications_stream(
  $batch_size: Int!,
  $cursor: [applications_stream_cursor_input]!,
  $where: applications_bool_exp
) {
  sequent_backend_applications_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    applicant_data
    applicant_id
    area_id
    created_at
    election_event_id
    id
    labels
    permission_label
    status
    tenant_id
    updated_at
    verification_type
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [applications_stream_cursor_input],
  "where": applications_bool_exp
}
Response
{
  "data": {
    "sequent_backend_applications_stream": [
      {
        "annotations": jsonb,
        "applicant_data": jsonb,
        "applicant_id": "xyz789",
        "area_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "permission_label": "xyz789",
        "status": "abc123",
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "verification_type": "abc123"
      }
    ]
  }
}

sequent_backend_area

Description

fetch data from the table: "sequent_backend.area"

Response

Returns [area!]!

Arguments
Name Description
distinct_on - [area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [area_order_by!] sort the rows by one or more columns
where - area_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area(
  $distinct_on: [area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [area_order_by!],
  $where: area_bool_exp
) {
  sequent_backend_area(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    presentation
    tenant_id
    type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [area_order_by],
  "where": area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "description": "abc123",
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "parent_id": uuid,
        "presentation": jsonb,
        "tenant_id": uuid,
        "type": "abc123"
      }
    ]
  }
}

sequent_backend_area_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.area"

Response

Returns an area_aggregate!

Arguments
Name Description
distinct_on - [area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [area_order_by!] sort the rows by one or more columns
where - area_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area_aggregate(
  $distinct_on: [area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [area_order_by!],
  $where: area_bool_exp
) {
  sequent_backend_area_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...area_aggregate_fieldsFragment
    }
    nodes {
      ...areaFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [area_order_by],
  "where": area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_aggregate": {
      "aggregate": area_aggregate_fields,
      "nodes": [area]
    }
  }
}

sequent_backend_area_by_pk

Description

fetch data from the table: "sequent_backend.area" using primary key columns

Response

Returns an area

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_area_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_area_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    presentation
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_area_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "parent_id": uuid,
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

sequent_backend_area_contest

Description

fetch data from the table: "sequent_backend.area_contest"

Response

Returns [area_contest!]!

Arguments
Name Description
distinct_on - [area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [area_contest_order_by!] sort the rows by one or more columns
where - area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area_contest(
  $distinct_on: [area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [area_contest_order_by!],
  $where: area_contest_bool_exp
) {
  sequent_backend_area_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area {
      ...areaFragment
    }
    area_id
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [area_contest_order_by],
  "where": area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_contest": [
      {
        "annotations": jsonb,
        "area": area,
        "area_id": uuid,
        "contest": contest,
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_area_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.area_contest"

Response

Returns an area_contest_aggregate!

Arguments
Name Description
distinct_on - [area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [area_contest_order_by!] sort the rows by one or more columns
where - area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area_contest_aggregate(
  $distinct_on: [area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [area_contest_order_by!],
  $where: area_contest_bool_exp
) {
  sequent_backend_area_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...area_contest_aggregate_fieldsFragment
    }
    nodes {
      ...area_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [area_contest_order_by],
  "where": area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_contest_aggregate": {
      "aggregate": area_contest_aggregate_fields,
      "nodes": [area_contest]
    }
  }
}

sequent_backend_area_contest_by_pk

Description

fetch data from the table: "sequent_backend.area_contest" using primary key columns

Response

Returns an area_contest

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_area_contest_by_pk($id: uuid!) {
  sequent_backend_area_contest_by_pk(id: $id) {
    annotations
    area {
      ...areaFragment
    }
    area_id
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_area_contest_by_pk": {
      "annotations": jsonb,
      "area": area,
      "area_id": uuid,
      "contest": contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_area_contest_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.area_contest"

Response

Returns [area_contest!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [area_contest_stream_cursor_input]! cursor to stream the results returned by the query
where - area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area_contest_stream(
  $batch_size: Int!,
  $cursor: [area_contest_stream_cursor_input]!,
  $where: area_contest_bool_exp
) {
  sequent_backend_area_contest_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area {
      ...areaFragment
    }
    area_id
    contest {
      ...contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [area_contest_stream_cursor_input],
  "where": area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_contest_stream": [
      {
        "annotations": jsonb,
        "area": area,
        "area_id": uuid,
        "contest": contest,
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_area_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.area"

Response

Returns [area!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [area_stream_cursor_input]! cursor to stream the results returned by the query
where - area_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area_stream(
  $batch_size: Int!,
  $cursor: [area_stream_cursor_input]!,
  $where: area_bool_exp
) {
  sequent_backend_area_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    presentation
    tenant_id
    type
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [area_stream_cursor_input],
  "where": area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "parent_id": uuid,
        "presentation": jsonb,
        "tenant_id": uuid,
        "type": "abc123"
      }
    ]
  }
}

sequent_backend_ballot_publication

Description

fetch data from the table: "sequent_backend.ballot_publication"

Response

Returns [ballot_publication!]!

Arguments
Name Description
distinct_on - [ballot_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [ballot_publication_order_by!] sort the rows by one or more columns
where - ballot_publication_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_publication(
  $distinct_on: [ballot_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [ballot_publication_order_by!],
  $where: ballot_publication_bool_exp
) {
  sequent_backend_ballot_publication(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [ballot_publication_order_by],
  "where": ballot_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_publication": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "created_by_user_id": "xyz789",
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "election_ids": [uuid],
        "id": uuid,
        "is_generated": false,
        "labels": jsonb,
        "published_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_ballot_publication_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.ballot_publication"

Response

Returns a ballot_publication_aggregate!

Arguments
Name Description
distinct_on - [ballot_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [ballot_publication_order_by!] sort the rows by one or more columns
where - ballot_publication_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_publication_aggregate(
  $distinct_on: [ballot_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [ballot_publication_order_by!],
  $where: ballot_publication_bool_exp
) {
  sequent_backend_ballot_publication_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...ballot_publication_aggregate_fieldsFragment
    }
    nodes {
      ...ballot_publicationFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [ballot_publication_order_by],
  "where": ballot_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_publication_aggregate": {
      "aggregate": ballot_publication_aggregate_fields,
      "nodes": [ballot_publication]
    }
  }
}

sequent_backend_ballot_publication_by_pk

Description

fetch data from the table: "sequent_backend.ballot_publication" using primary key columns

Response

Returns a ballot_publication

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_ballot_publication_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_ballot_publication_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_ballot_publication_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by_user_id": "xyz789",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "election_ids": [uuid],
      "id": uuid,
      "is_generated": true,
      "labels": jsonb,
      "published_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_ballot_publication_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.ballot_publication"

Response

Returns [ballot_publication!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [ballot_publication_stream_cursor_input]! cursor to stream the results returned by the query
where - ballot_publication_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_publication_stream(
  $batch_size: Int!,
  $cursor: [ballot_publication_stream_cursor_input]!,
  $where: ballot_publication_bool_exp
) {
  sequent_backend_ballot_publication_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [ballot_publication_stream_cursor_input],
  "where": ballot_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_publication_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "created_by_user_id": "abc123",
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "election_ids": [uuid],
        "id": uuid,
        "is_generated": false,
        "labels": jsonb,
        "published_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_ballot_style

Description

fetch data from the table: "sequent_backend.ballot_style"

Response

Returns [ballot_style!]!

Arguments
Name Description
distinct_on - [ballot_style_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [ballot_style_order_by!] sort the rows by one or more columns
where - ballot_style_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_style(
  $distinct_on: [ballot_style_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [ballot_style_order_by!],
  $where: ballot_style_bool_exp
) {
  sequent_backend_ballot_style(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [ballot_style_order_by],
  "where": ballot_style_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_style": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "ballot_eml": "xyz789",
        "ballot_publication_id": uuid,
        "ballot_signature": bytea,
        "created_at": timestamptz,
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "status": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_ballot_style_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.ballot_style"

Response

Returns a ballot_style_aggregate!

Arguments
Name Description
distinct_on - [ballot_style_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [ballot_style_order_by!] sort the rows by one or more columns
where - ballot_style_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_style_aggregate(
  $distinct_on: [ballot_style_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [ballot_style_order_by!],
  $where: ballot_style_bool_exp
) {
  sequent_backend_ballot_style_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...ballot_style_aggregate_fieldsFragment
    }
    nodes {
      ...ballot_styleFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [ballot_style_order_by],
  "where": ballot_style_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_style_aggregate": {
      "aggregate": ballot_style_aggregate_fields,
      "nodes": [ballot_style]
    }
  }
}

sequent_backend_ballot_style_by_pk

Description

fetch data from the table: "sequent_backend.ballot_style" using primary key columns

Response

Returns a ballot_style

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_ballot_style_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_ballot_style_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_ballot_style_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_eml": "xyz789",
      "ballot_publication_id": uuid,
      "ballot_signature": bytea,
      "created_at": timestamptz,
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_ballot_style_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.ballot_style"

Response

Returns [ballot_style!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [ballot_style_stream_cursor_input]! cursor to stream the results returned by the query
where - ballot_style_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_style_stream(
  $batch_size: Int!,
  $cursor: [ballot_style_stream_cursor_input]!,
  $where: ballot_style_bool_exp
) {
  sequent_backend_ballot_style_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [ballot_style_stream_cursor_input],
  "where": ballot_style_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_style_stream": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "ballot_eml": "abc123",
        "ballot_publication_id": uuid,
        "ballot_signature": bytea,
        "created_at": timestamptz,
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "status": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_candidate

Description

fetch data from the table: "sequent_backend.candidate"

Response

Returns [candidate!]!

Arguments
Name Description
distinct_on - [candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [candidate_order_by!] sort the rows by one or more columns
where - candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_candidate(
  $distinct_on: [candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [candidate_order_by!],
  $where: candidate_bool_exp
) {
  sequent_backend_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    contest_id
    created_at
    description
    election_event_id
    external_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    presentation
    tenant_id
    type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [candidate_order_by],
  "where": candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_candidate": [
      {
        "annotations": jsonb,
        "contest_id": uuid,
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "external_id": "xyz789",
        "id": uuid,
        "image_document_id": "xyz789",
        "is_public": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "presentation": jsonb,
        "tenant_id": uuid,
        "type": "xyz789"
      }
    ]
  }
}

sequent_backend_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.candidate"

Response

Returns a candidate_aggregate!

Arguments
Name Description
distinct_on - [candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [candidate_order_by!] sort the rows by one or more columns
where - candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_candidate_aggregate(
  $distinct_on: [candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [candidate_order_by!],
  $where: candidate_bool_exp
) {
  sequent_backend_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...candidate_aggregate_fieldsFragment
    }
    nodes {
      ...candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [candidate_order_by],
  "where": candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_candidate_aggregate": {
      "aggregate": candidate_aggregate_fields,
      "nodes": [candidate]
    }
  }
}

sequent_backend_candidate_by_pk

Description

fetch data from the table: "sequent_backend.candidate" using primary key columns

Response

Returns a candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    contest_id
    created_at
    description
    election_event_id
    external_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    presentation
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_candidate_by_pk": {
      "annotations": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "external_id": "abc123",
      "id": uuid,
      "image_document_id": "xyz789",
      "is_public": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

sequent_backend_candidate_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.candidate"

Response

Returns [candidate!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [candidate_stream_cursor_input]! cursor to stream the results returned by the query
where - candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_candidate_stream(
  $batch_size: Int!,
  $cursor: [candidate_stream_cursor_input]!,
  $where: candidate_bool_exp
) {
  sequent_backend_candidate_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    contest_id
    created_at
    description
    election_event_id
    external_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    presentation
    tenant_id
    type
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [candidate_stream_cursor_input],
  "where": candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_candidate_stream": [
      {
        "annotations": jsonb,
        "contest_id": uuid,
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "external_id": "xyz789",
        "id": uuid,
        "image_document_id": "abc123",
        "is_public": false,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "presentation": jsonb,
        "tenant_id": uuid,
        "type": "xyz789"
      }
    ]
  }
}

sequent_backend_certificate_authority

Description

fetch data from the table: "sequent_backend.certificate_authority"

Response

Returns [certificate_authority!]!

Arguments
Name Description
distinct_on - [certificate_authority_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [certificate_authority_order_by!] sort the rows by one or more columns
where - certificate_authority_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_certificate_authority(
  $distinct_on: [certificate_authority_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [certificate_authority_order_by!],
  $where: certificate_authority_bool_exp
) {
  sequent_backend_certificate_authority(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    common_name
    created_at
    election_event_id
    fingerprint_sha256
    id
    issuer
    issuer_common_name
    not_after
    not_before
    pem
    serial_number
    subject
    tenant_id
  }
}
Variables
{
  "distinct_on": ["common_name"],
  "limit": 987,
  "offset": 123,
  "order_by": [certificate_authority_order_by],
  "where": certificate_authority_bool_exp
}
Response
{
  "data": {
    "sequent_backend_certificate_authority": [
      {
        "common_name": "xyz789",
        "created_at": timestamptz,
        "election_event_id": uuid,
        "fingerprint_sha256": "xyz789",
        "id": uuid,
        "issuer": "xyz789",
        "issuer_common_name": "abc123",
        "not_after": timestamptz,
        "not_before": timestamptz,
        "pem": "abc123",
        "serial_number": "abc123",
        "subject": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_certificate_authority_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.certificate_authority"

Arguments
Name Description
distinct_on - [certificate_authority_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [certificate_authority_order_by!] sort the rows by one or more columns
where - certificate_authority_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_certificate_authority_aggregate(
  $distinct_on: [certificate_authority_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [certificate_authority_order_by!],
  $where: certificate_authority_bool_exp
) {
  sequent_backend_certificate_authority_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...certificate_authority_aggregate_fieldsFragment
    }
    nodes {
      ...certificate_authorityFragment
    }
  }
}
Variables
{
  "distinct_on": ["common_name"],
  "limit": 987,
  "offset": 987,
  "order_by": [certificate_authority_order_by],
  "where": certificate_authority_bool_exp
}
Response
{
  "data": {
    "sequent_backend_certificate_authority_aggregate": {
      "aggregate": certificate_authority_aggregate_fields,
      "nodes": [certificate_authority]
    }
  }
}

sequent_backend_certificate_authority_by_pk

Description

fetch data from the table: "sequent_backend.certificate_authority" using primary key columns

Response

Returns a certificate_authority

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_certificate_authority_by_pk($id: uuid!) {
  sequent_backend_certificate_authority_by_pk(id: $id) {
    common_name
    created_at
    election_event_id
    fingerprint_sha256
    id
    issuer
    issuer_common_name
    not_after
    not_before
    pem
    serial_number
    subject
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_certificate_authority_by_pk": {
      "common_name": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "fingerprint_sha256": "abc123",
      "id": uuid,
      "issuer": "xyz789",
      "issuer_common_name": "xyz789",
      "not_after": timestamptz,
      "not_before": timestamptz,
      "pem": "abc123",
      "serial_number": "xyz789",
      "subject": "abc123",
      "tenant_id": uuid
    }
  }
}

sequent_backend_certificate_authority_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.certificate_authority"

Response

Returns [certificate_authority!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [certificate_authority_stream_cursor_input]! cursor to stream the results returned by the query
where - certificate_authority_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_certificate_authority_stream(
  $batch_size: Int!,
  $cursor: [certificate_authority_stream_cursor_input]!,
  $where: certificate_authority_bool_exp
) {
  sequent_backend_certificate_authority_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    common_name
    created_at
    election_event_id
    fingerprint_sha256
    id
    issuer
    issuer_common_name
    not_after
    not_before
    pem
    serial_number
    subject
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [certificate_authority_stream_cursor_input],
  "where": certificate_authority_bool_exp
}
Response
{
  "data": {
    "sequent_backend_certificate_authority_stream": [
      {
        "common_name": "xyz789",
        "created_at": timestamptz,
        "election_event_id": uuid,
        "fingerprint_sha256": "abc123",
        "id": uuid,
        "issuer": "abc123",
        "issuer_common_name": "xyz789",
        "not_after": timestamptz,
        "not_before": timestamptz,
        "pem": "abc123",
        "serial_number": "abc123",
        "subject": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_contest

Description

fetch data from the table: "sequent_backend.contest"

Response

Returns [contest!]!

Arguments
Name Description
distinct_on - [contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [contest_order_by!] sort the rows by one or more columns
where - contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_contest(
  $distinct_on: [contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [contest_order_by!],
  $where: contest_bool_exp
) {
  sequent_backend_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    candidates {
      ...candidateFragment
    }
    candidates_aggregate {
      ...candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    external_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [contest_order_by],
  "where": contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_contest": [
      {
        "annotations": jsonb,
        "candidates": [candidate],
        "candidates_aggregate": candidate_aggregate,
        "conditions": jsonb,
        "counting_algorithm": "xyz789",
        "created_at": timestamptz,
        "description": "abc123",
        "election_event_id": uuid,
        "election_id": uuid,
        "external_id": "xyz789",
        "id": uuid,
        "image_document_id": "abc123",
        "is_acclaimed": true,
        "is_active": true,
        "is_encrypted": false,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "max_votes": 987,
        "min_votes": 987,
        "presentation": jsonb,
        "tally_configuration": jsonb,
        "tenant_id": uuid,
        "voting_type": "xyz789",
        "winning_candidates_num": 123
      }
    ]
  }
}

sequent_backend_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.contest"

Response

Returns a contest_aggregate!

Arguments
Name Description
distinct_on - [contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [contest_order_by!] sort the rows by one or more columns
where - contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_contest_aggregate(
  $distinct_on: [contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [contest_order_by!],
  $where: contest_bool_exp
) {
  sequent_backend_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...contest_aggregate_fieldsFragment
    }
    nodes {
      ...contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [contest_order_by],
  "where": contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_contest_aggregate": {
      "aggregate": contest_aggregate_fields,
      "nodes": [contest]
    }
  }
}

sequent_backend_contest_by_pk

Description

fetch data from the table: "sequent_backend.contest" using primary key columns

Response

Returns a contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    candidates {
      ...candidateFragment
    }
    candidates_aggregate {
      ...candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    external_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_contest_by_pk": {
      "annotations": jsonb,
      "candidates": [candidate],
      "candidates_aggregate": candidate_aggregate,
      "conditions": jsonb,
      "counting_algorithm": "xyz789",
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "election_id": uuid,
      "external_id": "xyz789",
      "id": uuid,
      "image_document_id": "abc123",
      "is_acclaimed": false,
      "is_active": false,
      "is_encrypted": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "max_votes": 123,
      "min_votes": 123,
      "presentation": jsonb,
      "tally_configuration": jsonb,
      "tenant_id": uuid,
      "voting_type": "abc123",
      "winning_candidates_num": 123
    }
  }
}

sequent_backend_contest_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.contest"

Response

Returns [contest!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [contest_stream_cursor_input]! cursor to stream the results returned by the query
where - contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_contest_stream(
  $batch_size: Int!,
  $cursor: [contest_stream_cursor_input]!,
  $where: contest_bool_exp
) {
  sequent_backend_contest_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    candidates {
      ...candidateFragment
    }
    candidates_aggregate {
      ...candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    external_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [contest_stream_cursor_input],
  "where": contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_contest_stream": [
      {
        "annotations": jsonb,
        "candidates": [candidate],
        "candidates_aggregate": candidate_aggregate,
        "conditions": jsonb,
        "counting_algorithm": "abc123",
        "created_at": timestamptz,
        "description": "abc123",
        "election_event_id": uuid,
        "election_id": uuid,
        "external_id": "xyz789",
        "id": uuid,
        "image_document_id": "abc123",
        "is_acclaimed": true,
        "is_active": true,
        "is_encrypted": false,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "max_votes": 987,
        "min_votes": 987,
        "presentation": jsonb,
        "tally_configuration": jsonb,
        "tenant_id": uuid,
        "voting_type": "xyz789",
        "winning_candidates_num": 123
      }
    ]
  }
}

sequent_backend_document

Description

fetch data from the table: "sequent_backend.document"

Response

Returns [document!]!

Arguments
Name Description
distinct_on - [document_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [document_order_by!] sort the rows by one or more columns
where - document_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_document(
  $distinct_on: [document_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [document_order_by!],
  $where: document_bool_exp
) {
  sequent_backend_document(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [document_order_by],
  "where": document_bool_exp
}
Response
{
  "data": {
    "sequent_backend_document": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "is_public": false,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "media_type": "xyz789",
        "name": "abc123",
        "size": bigint,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_document_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.document"

Response

Returns a document_aggregate!

Arguments
Name Description
distinct_on - [document_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [document_order_by!] sort the rows by one or more columns
where - document_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_document_aggregate(
  $distinct_on: [document_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [document_order_by!],
  $where: document_bool_exp
) {
  sequent_backend_document_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...document_aggregate_fieldsFragment
    }
    nodes {
      ...documentFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [document_order_by],
  "where": document_bool_exp
}
Response
{
  "data": {
    "sequent_backend_document_aggregate": {
      "aggregate": document_aggregate_fields,
      "nodes": [document]
    }
  }
}

sequent_backend_document_by_pk

Description

fetch data from the table: "sequent_backend.document" using primary key columns

Response

Returns a document

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_document_by_pk($id: uuid!) {
  sequent_backend_document_by_pk(id: $id) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_document_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "is_public": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "media_type": "xyz789",
      "name": "abc123",
      "size": bigint,
      "tenant_id": uuid
    }
  }
}

sequent_backend_document_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.document"

Response

Returns [document!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [document_stream_cursor_input]! cursor to stream the results returned by the query
where - document_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_document_stream(
  $batch_size: Int!,
  $cursor: [document_stream_cursor_input]!,
  $where: document_bool_exp
) {
  sequent_backend_document_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [document_stream_cursor_input],
  "where": document_bool_exp
}
Response
{
  "data": {
    "sequent_backend_document_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "is_public": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "media_type": "xyz789",
        "name": "xyz789",
        "size": bigint,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_election

Description

fetch data from the table: "sequent_backend.election"

Response

Returns [election!]!

Arguments
Name Description
distinct_on - [election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_order_by!] sort the rows by one or more columns
where - election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election(
  $distinct_on: [election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_order_by!],
  $where: election_bool_exp
) {
  sequent_backend_election(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    contests {
      ...contestFragment
    }
    contests_aggregate {
      ...contest_aggregateFragment
    }
    created_at
    description
    election_event_id
    eml
    external_id
    id
    image_document_id
    initialization_report_generated
    is_consolidated_ballot_encoding
    is_kiosk
    keys_ceremony_id
    labels
    last_updated_at
    num_allowed_revotes
    permission_label
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [election_order_by],
  "where": election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election": [
      {
        "annotations": jsonb,
        "contests": [contest],
        "contests_aggregate": contest_aggregate,
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "eml": "xyz789",
        "external_id": "xyz789",
        "id": uuid,
        "image_document_id": "xyz789",
        "initialization_report_generated": false,
        "is_consolidated_ballot_encoding": false,
        "is_kiosk": true,
        "keys_ceremony_id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "num_allowed_revotes": 123,
        "permission_label": "xyz789",
        "presentation": jsonb,
        "receipts": jsonb,
        "spoil_ballot_option": true,
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election"

Response

Returns an election_aggregate!

Arguments
Name Description
distinct_on - [election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_order_by!] sort the rows by one or more columns
where - election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_aggregate(
  $distinct_on: [election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_order_by!],
  $where: election_bool_exp
) {
  sequent_backend_election_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...election_aggregate_fieldsFragment
    }
    nodes {
      ...electionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [election_order_by],
  "where": election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_aggregate": {
      "aggregate": election_aggregate_fields,
      "nodes": [election]
    }
  }
}

sequent_backend_election_by_pk

Description

fetch data from the table: "sequent_backend.election" using primary key columns

Response

Returns an election

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    contests {
      ...contestFragment
    }
    contests_aggregate {
      ...contest_aggregateFragment
    }
    created_at
    description
    election_event_id
    eml
    external_id
    id
    image_document_id
    initialization_report_generated
    is_consolidated_ballot_encoding
    is_kiosk
    keys_ceremony_id
    labels
    last_updated_at
    num_allowed_revotes
    permission_label
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_election_by_pk": {
      "annotations": jsonb,
      "contests": [contest],
      "contests_aggregate": contest_aggregate,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "eml": "xyz789",
      "external_id": "xyz789",
      "id": uuid,
      "image_document_id": "xyz789",
      "initialization_report_generated": false,
      "is_consolidated_ballot_encoding": false,
      "is_kiosk": true,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "num_allowed_revotes": 987,
      "permission_label": "abc123",
      "presentation": jsonb,
      "receipts": jsonb,
      "spoil_ballot_option": false,
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "voting_channels": jsonb
    }
  }
}

sequent_backend_election_event

Description

fetch data from the table: "sequent_backend.election_event"

Response

Returns [election_event!]!

Arguments
Name Description
distinct_on - [election_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_event_order_by!] sort the rows by one or more columns
where - election_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_event(
  $distinct_on: [election_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_event_order_by!],
  $where: election_event_bool_exp
) {
  sequent_backend_election_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    description
    elections {
      ...electionFragment
    }
    elections_aggregate {
      ...election_aggregateFragment
    }
    encryption_protocol
    external_id
    id
    is_archived
    is_audit
    labels
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [election_event_order_by],
  "where": election_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_event": [
      {
        "annotations": jsonb,
        "audit_election_event_id": uuid,
        "bulletin_board_reference": jsonb,
        "created_at": timestamptz,
        "description": "xyz789",
        "elections": [election],
        "elections_aggregate": election_aggregate,
        "encryption_protocol": "xyz789",
        "external_id": "xyz789",
        "id": uuid,
        "is_archived": true,
        "is_audit": false,
        "labels": jsonb,
        "presentation": jsonb,
        "public_key": "xyz789",
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "user_boards": "abc123",
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_event"

Response

Returns an election_event_aggregate!

Arguments
Name Description
distinct_on - [election_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_event_order_by!] sort the rows by one or more columns
where - election_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_event_aggregate(
  $distinct_on: [election_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_event_order_by!],
  $where: election_event_bool_exp
) {
  sequent_backend_election_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...election_event_aggregate_fieldsFragment
    }
    nodes {
      ...election_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [election_event_order_by],
  "where": election_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_event_aggregate": {
      "aggregate": election_event_aggregate_fields,
      "nodes": [election_event]
    }
  }
}

sequent_backend_election_event_by_pk

Description

fetch data from the table: "sequent_backend.election_event" using primary key columns

Response

Returns an election_event

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_election_event_by_pk($id: uuid!) {
  sequent_backend_election_event_by_pk(id: $id) {
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    description
    elections {
      ...electionFragment
    }
    elections_aggregate {
      ...election_aggregateFragment
    }
    encryption_protocol
    external_id
    id
    is_archived
    is_audit
    labels
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_election_event_by_pk": {
      "annotations": jsonb,
      "audit_election_event_id": uuid,
      "bulletin_board_reference": jsonb,
      "created_at": timestamptz,
      "description": "xyz789",
      "elections": [election],
      "elections_aggregate": election_aggregate,
      "encryption_protocol": "xyz789",
      "external_id": "abc123",
      "id": uuid,
      "is_archived": true,
      "is_audit": true,
      "labels": jsonb,
      "presentation": jsonb,
      "public_key": "abc123",
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "user_boards": "abc123",
      "voting_channels": jsonb
    }
  }
}

sequent_backend_election_event_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.election_event"

Response

Returns [election_event!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [election_event_stream_cursor_input]! cursor to stream the results returned by the query
where - election_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_event_stream(
  $batch_size: Int!,
  $cursor: [election_event_stream_cursor_input]!,
  $where: election_event_bool_exp
) {
  sequent_backend_election_event_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    description
    elections {
      ...electionFragment
    }
    elections_aggregate {
      ...election_aggregateFragment
    }
    encryption_protocol
    external_id
    id
    is_archived
    is_audit
    labels
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [election_event_stream_cursor_input],
  "where": election_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_event_stream": [
      {
        "annotations": jsonb,
        "audit_election_event_id": uuid,
        "bulletin_board_reference": jsonb,
        "created_at": timestamptz,
        "description": "xyz789",
        "elections": [election],
        "elections_aggregate": election_aggregate,
        "encryption_protocol": "xyz789",
        "external_id": "abc123",
        "id": uuid,
        "is_archived": false,
        "is_audit": false,
        "labels": jsonb,
        "presentation": jsonb,
        "public_key": "abc123",
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "user_boards": "xyz789",
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_result

Description

fetch data from the table: "sequent_backend.election_result"

Response

Returns [election_result!]!

Arguments
Name Description
distinct_on - [election_result_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_result_order_by!] sort the rows by one or more columns
where - election_result_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_result(
  $distinct_on: [election_result_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_result_order_by!],
  $where: election_result_bool_exp
) {
  sequent_backend_election_result(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [election_result_order_by],
  "where": election_result_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_result": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "result_eml": "xyz789",
        "result_eml_signature": bytea,
        "statistics": jsonb,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_election_result_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_result"

Response

Returns an election_result_aggregate!

Arguments
Name Description
distinct_on - [election_result_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_result_order_by!] sort the rows by one or more columns
where - election_result_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_result_aggregate(
  $distinct_on: [election_result_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_result_order_by!],
  $where: election_result_bool_exp
) {
  sequent_backend_election_result_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...election_result_aggregate_fieldsFragment
    }
    nodes {
      ...election_resultFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [election_result_order_by],
  "where": election_result_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_result_aggregate": {
      "aggregate": election_result_aggregate_fields,
      "nodes": [election_result]
    }
  }
}

sequent_backend_election_result_by_pk

Description

fetch data from the table: "sequent_backend.election_result" using primary key columns

Response

Returns an election_result

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_election_result_by_pk($id: uuid!) {
  sequent_backend_election_result_by_pk(id: $id) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_election_result_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "result_eml": "xyz789",
      "result_eml_signature": bytea,
      "statistics": jsonb,
      "tenant_id": uuid
    }
  }
}

sequent_backend_election_result_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.election_result"

Response

Returns [election_result!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [election_result_stream_cursor_input]! cursor to stream the results returned by the query
where - election_result_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_result_stream(
  $batch_size: Int!,
  $cursor: [election_result_stream_cursor_input]!,
  $where: election_result_bool_exp
) {
  sequent_backend_election_result_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [election_result_stream_cursor_input],
  "where": election_result_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_result_stream": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "result_eml": "abc123",
        "result_eml_signature": bytea,
        "statistics": jsonb,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_election_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.election"

Response

Returns [election!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [election_stream_cursor_input]! cursor to stream the results returned by the query
where - election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_stream(
  $batch_size: Int!,
  $cursor: [election_stream_cursor_input]!,
  $where: election_bool_exp
) {
  sequent_backend_election_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    contests {
      ...contestFragment
    }
    contests_aggregate {
      ...contest_aggregateFragment
    }
    created_at
    description
    election_event_id
    eml
    external_id
    id
    image_document_id
    initialization_report_generated
    is_consolidated_ballot_encoding
    is_kiosk
    keys_ceremony_id
    labels
    last_updated_at
    num_allowed_revotes
    permission_label
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [election_stream_cursor_input],
  "where": election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_stream": [
      {
        "annotations": jsonb,
        "contests": [contest],
        "contests_aggregate": contest_aggregate,
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "eml": "abc123",
        "external_id": "xyz789",
        "id": uuid,
        "image_document_id": "xyz789",
        "initialization_report_generated": false,
        "is_consolidated_ballot_encoding": false,
        "is_kiosk": true,
        "keys_ceremony_id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "num_allowed_revotes": 123,
        "permission_label": "abc123",
        "presentation": jsonb,
        "receipts": jsonb,
        "spoil_ballot_option": false,
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_type

Description

fetch data from the table: "sequent_backend.election_type"

Response

Returns [election_type!]!

Arguments
Name Description
distinct_on - [election_type_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_type_order_by!] sort the rows by one or more columns
where - election_type_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_type(
  $distinct_on: [election_type_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_type_order_by!],
  $where: election_type_bool_exp
) {
  sequent_backend_election_type(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [election_type_order_by],
  "where": election_type_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_type": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "labels": jsonb,
        "name": "xyz789",
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_election_type_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_type"

Response

Returns an election_type_aggregate!

Arguments
Name Description
distinct_on - [election_type_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [election_type_order_by!] sort the rows by one or more columns
where - election_type_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_type_aggregate(
  $distinct_on: [election_type_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [election_type_order_by!],
  $where: election_type_bool_exp
) {
  sequent_backend_election_type_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...election_type_aggregate_fieldsFragment
    }
    nodes {
      ...election_typeFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [election_type_order_by],
  "where": election_type_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_type_aggregate": {
      "aggregate": election_type_aggregate_fields,
      "nodes": [election_type]
    }
  }
}

sequent_backend_election_type_by_pk

Description

fetch data from the table: "sequent_backend.election_type" using primary key columns

Response

Returns an election_type

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_election_type_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_election_type_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "sequent_backend_election_type_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "name": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

sequent_backend_election_type_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.election_type"

Response

Returns [election_type!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [election_type_stream_cursor_input]! cursor to stream the results returned by the query
where - election_type_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_type_stream(
  $batch_size: Int!,
  $cursor: [election_type_stream_cursor_input]!,
  $where: election_type_bool_exp
) {
  sequent_backend_election_type_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [election_type_stream_cursor_input],
  "where": election_type_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_type_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "labels": jsonb,
        "name": "abc123",
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_electoral_log_checkpoint

Description

fetch data from the table: "sequent_backend.electoral_log_checkpoint"

Response

Returns [electoral_log_checkpoint!]!

Arguments
Name Description
distinct_on - [electoral_log_checkpoint_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [electoral_log_checkpoint_order_by!] sort the rows by one or more columns
where - electoral_log_checkpoint_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_electoral_log_checkpoint(
  $distinct_on: [electoral_log_checkpoint_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [electoral_log_checkpoint_order_by!],
  $where: electoral_log_checkpoint_bool_exp
) {
  sequent_backend_electoral_log_checkpoint(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    board_name
    created_at
    election_event_id
    id
    log_id
    reason
    root
    signature
    signer_pk
    tenant_id
    tree_size
  }
}
Variables
{
  "distinct_on": ["board_name"],
  "limit": 123,
  "offset": 123,
  "order_by": [electoral_log_checkpoint_order_by],
  "where": electoral_log_checkpoint_bool_exp
}
Response
{
  "data": {
    "sequent_backend_electoral_log_checkpoint": [
      {
        "board_name": "abc123",
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "log_id": bigint,
        "reason": "xyz789",
        "root": "xyz789",
        "signature": "abc123",
        "signer_pk": "xyz789",
        "tenant_id": uuid,
        "tree_size": bigint
      }
    ]
  }
}

sequent_backend_electoral_log_checkpoint_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.electoral_log_checkpoint"

Arguments
Name Description
distinct_on - [electoral_log_checkpoint_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [electoral_log_checkpoint_order_by!] sort the rows by one or more columns
where - electoral_log_checkpoint_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_electoral_log_checkpoint_aggregate(
  $distinct_on: [electoral_log_checkpoint_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [electoral_log_checkpoint_order_by!],
  $where: electoral_log_checkpoint_bool_exp
) {
  sequent_backend_electoral_log_checkpoint_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...electoral_log_checkpoint_aggregate_fieldsFragment
    }
    nodes {
      ...electoral_log_checkpointFragment
    }
  }
}
Variables
{
  "distinct_on": ["board_name"],
  "limit": 123,
  "offset": 987,
  "order_by": [electoral_log_checkpoint_order_by],
  "where": electoral_log_checkpoint_bool_exp
}
Response
{
  "data": {
    "sequent_backend_electoral_log_checkpoint_aggregate": {
      "aggregate": electoral_log_checkpoint_aggregate_fields,
      "nodes": [electoral_log_checkpoint]
    }
  }
}

sequent_backend_electoral_log_checkpoint_by_pk

Description

fetch data from the table: "sequent_backend.electoral_log_checkpoint" using primary key columns

Response

Returns an electoral_log_checkpoint

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_electoral_log_checkpoint_by_pk($id: uuid!) {
  sequent_backend_electoral_log_checkpoint_by_pk(id: $id) {
    board_name
    created_at
    election_event_id
    id
    log_id
    reason
    root
    signature
    signer_pk
    tenant_id
    tree_size
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_electoral_log_checkpoint_by_pk": {
      "board_name": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "log_id": bigint,
      "reason": "abc123",
      "root": "xyz789",
      "signature": "xyz789",
      "signer_pk": "abc123",
      "tenant_id": uuid,
      "tree_size": bigint
    }
  }
}

sequent_backend_electoral_log_checkpoint_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.electoral_log_checkpoint"

Response

Returns [electoral_log_checkpoint!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [electoral_log_checkpoint_stream_cursor_input]! cursor to stream the results returned by the query
where - electoral_log_checkpoint_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_electoral_log_checkpoint_stream(
  $batch_size: Int!,
  $cursor: [electoral_log_checkpoint_stream_cursor_input]!,
  $where: electoral_log_checkpoint_bool_exp
) {
  sequent_backend_electoral_log_checkpoint_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    board_name
    created_at
    election_event_id
    id
    log_id
    reason
    root
    signature
    signer_pk
    tenant_id
    tree_size
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    electoral_log_checkpoint_stream_cursor_input
  ],
  "where": electoral_log_checkpoint_bool_exp
}
Response
{
  "data": {
    "sequent_backend_electoral_log_checkpoint_stream": [
      {
        "board_name": "abc123",
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "log_id": bigint,
        "reason": "abc123",
        "root": "xyz789",
        "signature": "abc123",
        "signer_pk": "xyz789",
        "tenant_id": uuid,
        "tree_size": bigint
      }
    ]
  }
}

sequent_backend_event_execution

Description

fetch data from the table: "sequent_backend.event_execution"

Response

Returns [event_execution!]!

Arguments
Name Description
distinct_on - [event_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [event_execution_order_by!] sort the rows by one or more columns
where - event_execution_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_event_execution(
  $distinct_on: [event_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [event_execution_order_by!],
  $where: event_execution_bool_exp
) {
  sequent_backend_event_execution(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [event_execution_order_by],
  "where": event_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_event_execution": [
      {
        "annotations": jsonb,
        "election_event_id": uuid,
        "ended_at": timestamptz,
        "execution_payload": jsonb,
        "execution_state": "abc123",
        "id": uuid,
        "labels": jsonb,
        "result_payload": jsonb,
        "scheduled_event_id": uuid,
        "started_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_event_execution_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.event_execution"

Response

Returns an event_execution_aggregate!

Arguments
Name Description
distinct_on - [event_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [event_execution_order_by!] sort the rows by one or more columns
where - event_execution_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_event_execution_aggregate(
  $distinct_on: [event_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [event_execution_order_by!],
  $where: event_execution_bool_exp
) {
  sequent_backend_event_execution_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...event_execution_aggregate_fieldsFragment
    }
    nodes {
      ...event_executionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [event_execution_order_by],
  "where": event_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_event_execution_aggregate": {
      "aggregate": event_execution_aggregate_fields,
      "nodes": [event_execution]
    }
  }
}

sequent_backend_event_execution_by_pk

Description

fetch data from the table: "sequent_backend.event_execution" using primary key columns

Response

Returns an event_execution

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_event_execution_by_pk($id: uuid!) {
  sequent_backend_event_execution_by_pk(id: $id) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_event_execution_by_pk": {
      "annotations": jsonb,
      "election_event_id": uuid,
      "ended_at": timestamptz,
      "execution_payload": jsonb,
      "execution_state": "abc123",
      "id": uuid,
      "labels": jsonb,
      "result_payload": jsonb,
      "scheduled_event_id": uuid,
      "started_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_event_execution_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.event_execution"

Response

Returns [event_execution!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [event_execution_stream_cursor_input]! cursor to stream the results returned by the query
where - event_execution_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_event_execution_stream(
  $batch_size: Int!,
  $cursor: [event_execution_stream_cursor_input]!,
  $where: event_execution_bool_exp
) {
  sequent_backend_event_execution_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [event_execution_stream_cursor_input],
  "where": event_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_event_execution_stream": [
      {
        "annotations": jsonb,
        "election_event_id": uuid,
        "ended_at": timestamptz,
        "execution_payload": jsonb,
        "execution_state": "xyz789",
        "id": uuid,
        "labels": jsonb,
        "result_payload": jsonb,
        "scheduled_event_id": uuid,
        "started_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_keys_ceremony

Description

fetch data from the table: "sequent_backend.keys_ceremony"

Response

Returns [keys_ceremony!]!

Arguments
Name Description
distinct_on - [keys_ceremony_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [keys_ceremony_order_by!] sort the rows by one or more columns
where - keys_ceremony_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_keys_ceremony(
  $distinct_on: [keys_ceremony_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [keys_ceremony_order_by!],
  $where: keys_ceremony_bool_exp
) {
  sequent_backend_keys_ceremony(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    is_default
    keys_ceremony_trustee_ids {
      ...trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...trustee_aggregateFragment
    }
    labels
    last_updated_at
    name
    permission_label
    settings
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [keys_ceremony_order_by],
  "where": keys_ceremony_bool_exp
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "execution_status": "xyz789",
        "id": uuid,
        "is_default": true,
        "keys_ceremony_trustee_ids": [trustee],
        "keys_ceremony_trustee_ids_aggregate": trustee_aggregate,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "permission_label": ["abc123"],
        "settings": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "threshold": 987,
        "trustee_ids": [uuid]
      }
    ]
  }
}

sequent_backend_keys_ceremony_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.keys_ceremony"

Response

Returns a keys_ceremony_aggregate!

Arguments
Name Description
distinct_on - [keys_ceremony_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [keys_ceremony_order_by!] sort the rows by one or more columns
where - keys_ceremony_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_keys_ceremony_aggregate(
  $distinct_on: [keys_ceremony_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [keys_ceremony_order_by!],
  $where: keys_ceremony_bool_exp
) {
  sequent_backend_keys_ceremony_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...keys_ceremony_aggregate_fieldsFragment
    }
    nodes {
      ...keys_ceremonyFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [keys_ceremony_order_by],
  "where": keys_ceremony_bool_exp
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony_aggregate": {
      "aggregate": keys_ceremony_aggregate_fields,
      "nodes": [keys_ceremony]
    }
  }
}

sequent_backend_keys_ceremony_by_pk

Description

fetch data from the table: "sequent_backend.keys_ceremony" using primary key columns

Response

Returns a keys_ceremony

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_keys_ceremony_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_keys_ceremony_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    is_default
    keys_ceremony_trustee_ids {
      ...trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...trustee_aggregateFragment
    }
    labels
    last_updated_at
    name
    permission_label
    settings
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "execution_status": "abc123",
      "id": uuid,
      "is_default": false,
      "keys_ceremony_trustee_ids": [trustee],
      "keys_ceremony_trustee_ids_aggregate": trustee_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "permission_label": ["xyz789"],
      "settings": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "threshold": 987,
      "trustee_ids": [uuid]
    }
  }
}

sequent_backend_keys_ceremony_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.keys_ceremony"

Response

Returns [keys_ceremony!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [keys_ceremony_stream_cursor_input]! cursor to stream the results returned by the query
where - keys_ceremony_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_keys_ceremony_stream(
  $batch_size: Int!,
  $cursor: [keys_ceremony_stream_cursor_input]!,
  $where: keys_ceremony_bool_exp
) {
  sequent_backend_keys_ceremony_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    is_default
    keys_ceremony_trustee_ids {
      ...trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...trustee_aggregateFragment
    }
    labels
    last_updated_at
    name
    permission_label
    settings
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [keys_ceremony_stream_cursor_input],
  "where": keys_ceremony_bool_exp
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "execution_status": "abc123",
        "id": uuid,
        "is_default": false,
        "keys_ceremony_trustee_ids": [trustee],
        "keys_ceremony_trustee_ids_aggregate": trustee_aggregate,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "permission_label": ["xyz789"],
        "settings": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "threshold": 987,
        "trustee_ids": [uuid]
      }
    ]
  }
}

sequent_backend_lock

Description

fetch data from the table: "sequent_backend.lock"

Response

Returns [lock!]!

Arguments
Name Description
distinct_on - [lock_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [lock_order_by!] sort the rows by one or more columns
where - lock_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_lock(
  $distinct_on: [lock_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [lock_order_by!],
  $where: lock_bool_exp
) {
  sequent_backend_lock(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 987,
  "order_by": [lock_order_by],
  "where": lock_bool_exp
}
Response
{
  "data": {
    "sequent_backend_lock": [
      {
        "created_at": timestamptz,
        "expiry_date": timestamptz,
        "key": "abc123",
        "last_updated_at": timestamptz,
        "value": "xyz789"
      }
    ]
  }
}

sequent_backend_lock_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.lock"

Response

Returns a lock_aggregate!

Arguments
Name Description
distinct_on - [lock_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [lock_order_by!] sort the rows by one or more columns
where - lock_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_lock_aggregate(
  $distinct_on: [lock_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [lock_order_by!],
  $where: lock_bool_exp
) {
  sequent_backend_lock_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...lock_aggregate_fieldsFragment
    }
    nodes {
      ...lockFragment
    }
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 123,
  "order_by": [lock_order_by],
  "where": lock_bool_exp
}
Response
{
  "data": {
    "sequent_backend_lock_aggregate": {
      "aggregate": lock_aggregate_fields,
      "nodes": [lock]
    }
  }
}

sequent_backend_lock_by_pk

Description

fetch data from the table: "sequent_backend.lock" using primary key columns

Response

Returns a lock

Arguments
Name Description
key - String!

Example

Query
subscription sequent_backend_lock_by_pk($key: String!) {
  sequent_backend_lock_by_pk(key: $key) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{"key": "abc123"}
Response
{
  "data": {
    "sequent_backend_lock_by_pk": {
      "created_at": timestamptz,
      "expiry_date": timestamptz,
      "key": "abc123",
      "last_updated_at": timestamptz,
      "value": "abc123"
    }
  }
}

sequent_backend_lock_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.lock"

Response

Returns [lock!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [lock_stream_cursor_input]! cursor to stream the results returned by the query
where - lock_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_lock_stream(
  $batch_size: Int!,
  $cursor: [lock_stream_cursor_input]!,
  $where: lock_bool_exp
) {
  sequent_backend_lock_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [lock_stream_cursor_input],
  "where": lock_bool_exp
}
Response
{
  "data": {
    "sequent_backend_lock_stream": [
      {
        "created_at": timestamptz,
        "expiry_date": timestamptz,
        "key": "abc123",
        "last_updated_at": timestamptz,
        "value": "xyz789"
      }
    ]
  }
}

sequent_backend_notification

Description

fetch data from the table: "sequent_backend.notification"

Response

Returns [notification!]!

Arguments
Name Description
distinct_on - [notification_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [notification_order_by!] sort the rows by one or more columns
where - notification_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_notification(
  $distinct_on: [notification_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [notification_order_by!],
  $where: notification_bool_exp
) {
  sequent_backend_notification(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    alias
    annotations
    created_at
    election_event_id
    election_id
    id
    labels
    name
    template_id
    tenant_id
    type
    updated_at
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 987,
  "order_by": [notification_order_by],
  "where": notification_bool_exp
}
Response
{
  "data": {
    "sequent_backend_notification": [
      {
        "alias": "xyz789",
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "name": "abc123",
        "template_id": uuid,
        "tenant_id": uuid,
        "type": "abc123",
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_notification_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.notification"

Response

Returns a notification_aggregate!

Arguments
Name Description
distinct_on - [notification_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [notification_order_by!] sort the rows by one or more columns
where - notification_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_notification_aggregate(
  $distinct_on: [notification_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [notification_order_by!],
  $where: notification_bool_exp
) {
  sequent_backend_notification_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...notification_aggregate_fieldsFragment
    }
    nodes {
      ...notificationFragment
    }
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 987,
  "order_by": [notification_order_by],
  "where": notification_bool_exp
}
Response
{
  "data": {
    "sequent_backend_notification_aggregate": {
      "aggregate": notification_aggregate_fields,
      "nodes": [notification]
    }
  }
}

sequent_backend_notification_by_pk

Description

fetch data from the table: "sequent_backend.notification" using primary key columns

Response

Returns a notification

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_notification_by_pk($id: uuid!) {
  sequent_backend_notification_by_pk(id: $id) {
    alias
    annotations
    created_at
    election_event_id
    election_id
    id
    labels
    name
    template_id
    tenant_id
    type
    updated_at
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_notification_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "name": "abc123",
      "template_id": uuid,
      "tenant_id": uuid,
      "type": "abc123",
      "updated_at": timestamptz
    }
  }
}

sequent_backend_notification_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.notification"

Response

Returns [notification!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [notification_stream_cursor_input]! cursor to stream the results returned by the query
where - notification_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_notification_stream(
  $batch_size: Int!,
  $cursor: [notification_stream_cursor_input]!,
  $where: notification_bool_exp
) {
  sequent_backend_notification_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    alias
    annotations
    created_at
    election_event_id
    election_id
    id
    labels
    name
    template_id
    tenant_id
    type
    updated_at
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [notification_stream_cursor_input],
  "where": notification_bool_exp
}
Response
{
  "data": {
    "sequent_backend_notification_stream": [
      {
        "alias": "abc123",
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "name": "xyz789",
        "template_id": uuid,
        "tenant_id": uuid,
        "type": "xyz789",
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_phone_blacklist

Description

fetch data from the table: "sequent_backend.phone_blacklist"

Response

Returns [phone_blacklist!]!

Arguments
Name Description
distinct_on - [phone_blacklist_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [phone_blacklist_order_by!] sort the rows by one or more columns
where - phone_blacklist_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_phone_blacklist(
  $distinct_on: [phone_blacklist_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [phone_blacklist_order_by!],
  $where: phone_blacklist_bool_exp
) {
  sequent_backend_phone_blacklist(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    created_at
    created_by
    election_event_id
    id
    phone_e164
    reason
    tenant_id
    updated_at
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 123,
  "order_by": [phone_blacklist_order_by],
  "where": phone_blacklist_bool_exp
}
Response
{
  "data": {
    "sequent_backend_phone_blacklist": [
      {
        "created_at": timestamptz,
        "created_by": uuid,
        "election_event_id": uuid,
        "id": uuid,
        "phone_e164": "abc123",
        "reason": "abc123",
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_phone_blacklist_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.phone_blacklist"

Response

Returns a phone_blacklist_aggregate!

Arguments
Name Description
distinct_on - [phone_blacklist_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [phone_blacklist_order_by!] sort the rows by one or more columns
where - phone_blacklist_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_phone_blacklist_aggregate(
  $distinct_on: [phone_blacklist_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [phone_blacklist_order_by!],
  $where: phone_blacklist_bool_exp
) {
  sequent_backend_phone_blacklist_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...phone_blacklist_aggregate_fieldsFragment
    }
    nodes {
      ...phone_blacklistFragment
    }
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 987,
  "order_by": [phone_blacklist_order_by],
  "where": phone_blacklist_bool_exp
}
Response
{
  "data": {
    "sequent_backend_phone_blacklist_aggregate": {
      "aggregate": phone_blacklist_aggregate_fields,
      "nodes": [phone_blacklist]
    }
  }
}

sequent_backend_phone_blacklist_by_pk

Description

fetch data from the table: "sequent_backend.phone_blacklist" using primary key columns

Response

Returns a phone_blacklist

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_phone_blacklist_by_pk($id: uuid!) {
  sequent_backend_phone_blacklist_by_pk(id: $id) {
    created_at
    created_by
    election_event_id
    id
    phone_e164
    reason
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_phone_blacklist_by_pk": {
      "created_at": timestamptz,
      "created_by": uuid,
      "election_event_id": uuid,
      "id": uuid,
      "phone_e164": "xyz789",
      "reason": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

sequent_backend_phone_blacklist_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.phone_blacklist"

Response

Returns [phone_blacklist!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [phone_blacklist_stream_cursor_input]! cursor to stream the results returned by the query
where - phone_blacklist_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_phone_blacklist_stream(
  $batch_size: Int!,
  $cursor: [phone_blacklist_stream_cursor_input]!,
  $where: phone_blacklist_bool_exp
) {
  sequent_backend_phone_blacklist_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    created_at
    created_by
    election_event_id
    id
    phone_e164
    reason
    tenant_id
    updated_at
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [phone_blacklist_stream_cursor_input],
  "where": phone_blacklist_bool_exp
}
Response
{
  "data": {
    "sequent_backend_phone_blacklist_stream": [
      {
        "created_at": timestamptz,
        "created_by": uuid,
        "election_event_id": uuid,
        "id": uuid,
        "phone_e164": "xyz789",
        "reason": "xyz789",
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_preview

Description

fetch data from the table: "sequent_backend.preview"

Response

Returns [preview!]!

Arguments
Name Description
distinct_on - [preview_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [preview_order_by!] sort the rows by one or more columns
where - preview_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_preview(
  $distinct_on: [preview_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [preview_order_by!],
  $where: preview_bool_exp
) {
  sequent_backend_preview(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    document_id
    id
    requested_by
    tenant_id
    updated_at
    url
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [preview_order_by],
  "where": preview_bool_exp
}
Response
{
  "data": {
    "sequent_backend_preview": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "document_id": uuid,
        "id": uuid,
        "requested_by": "xyz789",
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "url": "abc123"
      }
    ]
  }
}

sequent_backend_preview_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.preview"

Response

Returns a preview_aggregate!

Arguments
Name Description
distinct_on - [preview_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [preview_order_by!] sort the rows by one or more columns
where - preview_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_preview_aggregate(
  $distinct_on: [preview_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [preview_order_by!],
  $where: preview_bool_exp
) {
  sequent_backend_preview_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...preview_aggregate_fieldsFragment
    }
    nodes {
      ...previewFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [preview_order_by],
  "where": preview_bool_exp
}
Response
{
  "data": {
    "sequent_backend_preview_aggregate": {
      "aggregate": preview_aggregate_fields,
      "nodes": [preview]
    }
  }
}

sequent_backend_preview_by_pk

Description

fetch data from the table: "sequent_backend.preview" using primary key columns

Response

Returns a preview

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_preview_by_pk($id: uuid!) {
  sequent_backend_preview_by_pk(id: $id) {
    annotations
    created_at
    document_id
    id
    requested_by
    tenant_id
    updated_at
    url
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_preview_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "document_id": uuid,
      "id": uuid,
      "requested_by": "abc123",
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "url": "abc123"
    }
  }
}

sequent_backend_preview_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.preview"

Response

Returns [preview!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [preview_stream_cursor_input]! cursor to stream the results returned by the query
where - preview_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_preview_stream(
  $batch_size: Int!,
  $cursor: [preview_stream_cursor_input]!,
  $where: preview_bool_exp
) {
  sequent_backend_preview_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    document_id
    id
    requested_by
    tenant_id
    updated_at
    url
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [preview_stream_cursor_input],
  "where": preview_bool_exp
}
Response
{
  "data": {
    "sequent_backend_preview_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "document_id": uuid,
        "id": uuid,
        "requested_by": "abc123",
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "url": "xyz789"
      }
    ]
  }
}

sequent_backend_report

Description

fetch data from the table: "sequent_backend.report"

Response

Returns [report!]!

Arguments
Name Description
distinct_on - [report_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [report_order_by!] sort the rows by one or more columns
where - report_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_report(
  $distinct_on: [report_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [report_order_by!],
  $where: report_bool_exp
) {
  sequent_backend_report(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    created_at
    cron_config
    election_event_id
    election_id
    encryption_policy
    id
    permission_label
    report_type
    template_alias
    tenant_id
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 987,
  "order_by": [report_order_by],
  "where": report_bool_exp
}
Response
{
  "data": {
    "sequent_backend_report": [
      {
        "created_at": timestamptz,
        "cron_config": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "encryption_policy": "abc123",
        "id": uuid,
        "permission_label": ["xyz789"],
        "report_type": "xyz789",
        "template_alias": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_report_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.report"

Response

Returns a report_aggregate!

Arguments
Name Description
distinct_on - [report_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [report_order_by!] sort the rows by one or more columns
where - report_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_report_aggregate(
  $distinct_on: [report_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [report_order_by!],
  $where: report_bool_exp
) {
  sequent_backend_report_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...report_aggregate_fieldsFragment
    }
    nodes {
      ...reportFragment
    }
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 987,
  "offset": 987,
  "order_by": [report_order_by],
  "where": report_bool_exp
}
Response
{
  "data": {
    "sequent_backend_report_aggregate": {
      "aggregate": report_aggregate_fields,
      "nodes": [report]
    }
  }
}

sequent_backend_report_by_pk

Description

fetch data from the table: "sequent_backend.report" using primary key columns

Response

Returns a report

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_report_by_pk($id: uuid!) {
  sequent_backend_report_by_pk(id: $id) {
    created_at
    cron_config
    election_event_id
    election_id
    encryption_policy
    id
    permission_label
    report_type
    template_alias
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_report_by_pk": {
      "created_at": timestamptz,
      "cron_config": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "encryption_policy": "xyz789",
      "id": uuid,
      "permission_label": ["abc123"],
      "report_type": "xyz789",
      "template_alias": "abc123",
      "tenant_id": uuid
    }
  }
}

sequent_backend_report_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.report"

Response

Returns [report!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [report_stream_cursor_input]! cursor to stream the results returned by the query
where - report_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_report_stream(
  $batch_size: Int!,
  $cursor: [report_stream_cursor_input]!,
  $where: report_bool_exp
) {
  sequent_backend_report_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    created_at
    cron_config
    election_event_id
    election_id
    encryption_policy
    id
    permission_label
    report_type
    template_alias
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [report_stream_cursor_input],
  "where": report_bool_exp
}
Response
{
  "data": {
    "sequent_backend_report_stream": [
      {
        "created_at": timestamptz,
        "cron_config": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "encryption_policy": "xyz789",
        "id": uuid,
        "permission_label": ["xyz789"],
        "report_type": "abc123",
        "template_alias": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_results_area_contest

Description

fetch data from the table: "sequent_backend.results_area_contest"

Response

Returns [results_area_contest!]!

Arguments
Name Description
distinct_on - [results_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_area_contest_order_by!] sort the rows by one or more columns
where - results_area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest(
  $distinct_on: [results_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_area_contest_order_by!],
  $where: results_area_contest_bool_exp
) {
  sequent_backend_results_area_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [results_area_contest_order_by],
  "where": results_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "explicit_blank_votes": 123,
        "explicit_blank_votes_percent": numeric,
        "explicit_invalid_votes": 123,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_blank_votes": 123,
        "implicit_blank_votes_percent": numeric,
        "implicit_invalid_votes": 123,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_auditable_votes": 987,
        "total_auditable_votes_percent": numeric,
        "total_blank_votes": 123,
        "total_blank_votes_percent": numeric,
        "total_invalid_votes": 123,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 123,
        "total_valid_votes_percent": numeric,
        "total_votes": 987,
        "total_votes_percent": numeric
      }
    ]
  }
}

sequent_backend_results_area_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_area_contest"

Response

Returns a results_area_contest_aggregate!

Arguments
Name Description
distinct_on - [results_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_area_contest_order_by!] sort the rows by one or more columns
where - results_area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest_aggregate(
  $distinct_on: [results_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_area_contest_order_by!],
  $where: results_area_contest_bool_exp
) {
  sequent_backend_results_area_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_area_contest_aggregate_fieldsFragment
    }
    nodes {
      ...results_area_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_area_contest_order_by],
  "where": results_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_aggregate": {
      "aggregate": results_area_contest_aggregate_fields,
      "nodes": [results_area_contest]
    }
  }
}

sequent_backend_results_area_contest_by_pk

Description

fetch data from the table: "sequent_backend.results_area_contest" using primary key columns

Response

Returns a results_area_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_area_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_area_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "explicit_blank_votes": 123,
      "explicit_blank_votes_percent": numeric,
      "explicit_invalid_votes": 123,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_blank_votes": 987,
      "implicit_blank_votes_percent": numeric,
      "implicit_invalid_votes": 987,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_auditable_votes": 987,
      "total_auditable_votes_percent": numeric,
      "total_blank_votes": 123,
      "total_blank_votes_percent": numeric,
      "total_invalid_votes": 123,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 987,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric
    }
  }
}

sequent_backend_results_area_contest_candidate

Description

fetch data from the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
distinct_on - [results_area_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_area_contest_candidate_order_by!] sort the rows by one or more columns
where - results_area_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest_candidate(
  $distinct_on: [results_area_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_area_contest_candidate_order_by!],
  $where: results_area_contest_candidate_bool_exp
) {
  sequent_backend_results_area_contest_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [results_area_contest_candidate_order_by],
  "where": results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "candidate_id": uuid,
        "cast_votes": 987,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 987,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 987
      }
    ]
  }
}

sequent_backend_results_area_contest_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
distinct_on - [results_area_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_area_contest_candidate_order_by!] sort the rows by one or more columns
where - results_area_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest_candidate_aggregate(
  $distinct_on: [results_area_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_area_contest_candidate_order_by!],
  $where: results_area_contest_candidate_bool_exp
) {
  sequent_backend_results_area_contest_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_area_contest_candidate_aggregate_fieldsFragment
    }
    nodes {
      ...results_area_contest_candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [results_area_contest_candidate_order_by],
  "where": results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate_aggregate": {
      "aggregate": results_area_contest_candidate_aggregate_fields,
      "nodes": [results_area_contest_candidate]
    }
  }
}

sequent_backend_results_area_contest_candidate_by_pk

Description

fetch data from the table: "sequent_backend.results_area_contest_candidate" using primary key columns

Response

Returns a results_area_contest_candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_area_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_area_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 987,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 123
    }
  }
}

sequent_backend_results_area_contest_candidate_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [results_area_contest_candidate_stream_cursor_input]! cursor to stream the results returned by the query
where - results_area_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest_candidate_stream(
  $batch_size: Int!,
  $cursor: [results_area_contest_candidate_stream_cursor_input]!,
  $where: results_area_contest_candidate_bool_exp
) {
  sequent_backend_results_area_contest_candidate_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    results_area_contest_candidate_stream_cursor_input
  ],
  "where": results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate_stream": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "candidate_id": uuid,
        "cast_votes": 123,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 123,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 987
      }
    ]
  }
}

sequent_backend_results_area_contest_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_area_contest"

Response

Returns [results_area_contest!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [results_area_contest_stream_cursor_input]! cursor to stream the results returned by the query
where - results_area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest_stream(
  $batch_size: Int!,
  $cursor: [results_area_contest_stream_cursor_input]!,
  $where: results_area_contest_bool_exp
) {
  sequent_backend_results_area_contest_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_id
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [results_area_contest_stream_cursor_input],
  "where": results_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_stream": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "explicit_blank_votes": 123,
        "explicit_blank_votes_percent": numeric,
        "explicit_invalid_votes": 987,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_blank_votes": 123,
        "implicit_blank_votes_percent": numeric,
        "implicit_invalid_votes": 987,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_auditable_votes": 123,
        "total_auditable_votes_percent": numeric,
        "total_blank_votes": 987,
        "total_blank_votes_percent": numeric,
        "total_invalid_votes": 123,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 123,
        "total_valid_votes_percent": numeric,
        "total_votes": 123,
        "total_votes_percent": numeric
      }
    ]
  }
}

sequent_backend_results_contest

Description

fetch data from the table: "sequent_backend.results_contest"

Response

Returns [results_contest!]!

Arguments
Name Description
distinct_on - [results_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_contest_order_by!] sort the rows by one or more columns
where - results_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest(
  $distinct_on: [results_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_contest_order_by!],
  $where: results_contest_bool_exp
) {
  sequent_backend_results_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_contest_order_by],
  "where": results_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest": [
      {
        "annotations": jsonb,
        "contest_id": uuid,
        "counting_algorithm": "abc123",
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "explicit_blank_votes": 987,
        "explicit_blank_votes_percent": numeric,
        "explicit_invalid_votes": 123,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_blank_votes": 123,
        "implicit_blank_votes_percent": numeric,
        "implicit_invalid_votes": 987,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_auditable_votes": 123,
        "total_auditable_votes_percent": numeric,
        "total_blank_votes": 987,
        "total_blank_votes_percent": numeric,
        "total_invalid_votes": 987,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 987,
        "total_valid_votes_percent": numeric,
        "total_votes": 987,
        "total_votes_percent": numeric,
        "voting_type": "xyz789"
      }
    ]
  }
}

sequent_backend_results_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_contest"

Response

Returns a results_contest_aggregate!

Arguments
Name Description
distinct_on - [results_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_contest_order_by!] sort the rows by one or more columns
where - results_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest_aggregate(
  $distinct_on: [results_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_contest_order_by!],
  $where: results_contest_bool_exp
) {
  sequent_backend_results_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_contest_aggregate_fieldsFragment
    }
    nodes {
      ...results_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [results_contest_order_by],
  "where": results_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_aggregate": {
      "aggregate": results_contest_aggregate_fields,
      "nodes": [results_contest]
    }
  }
}

sequent_backend_results_contest_by_pk

Description

fetch data from the table: "sequent_backend.results_contest" using primary key columns

Response

Returns a results_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_contest_by_pk": {
      "annotations": jsonb,
      "contest_id": uuid,
      "counting_algorithm": "xyz789",
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "explicit_blank_votes": 987,
      "explicit_blank_votes_percent": numeric,
      "explicit_invalid_votes": 987,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_blank_votes": 987,
      "implicit_blank_votes_percent": numeric,
      "implicit_invalid_votes": 987,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_auditable_votes": 987,
      "total_auditable_votes_percent": numeric,
      "total_blank_votes": 123,
      "total_blank_votes_percent": numeric,
      "total_invalid_votes": 987,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 987,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric,
      "voting_type": "abc123"
    }
  }
}

sequent_backend_results_contest_candidate

Description

fetch data from the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
distinct_on - [results_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_contest_candidate_order_by!] sort the rows by one or more columns
where - results_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest_candidate(
  $distinct_on: [results_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_contest_candidate_order_by!],
  $where: results_contest_candidate_bool_exp
) {
  sequent_backend_results_contest_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [results_contest_candidate_order_by],
  "where": results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate": [
      {
        "annotations": jsonb,
        "candidate_id": uuid,
        "cast_votes": 123,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 123,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 987
      }
    ]
  }
}

sequent_backend_results_contest_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
distinct_on - [results_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_contest_candidate_order_by!] sort the rows by one or more columns
where - results_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest_candidate_aggregate(
  $distinct_on: [results_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_contest_candidate_order_by!],
  $where: results_contest_candidate_bool_exp
) {
  sequent_backend_results_contest_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_contest_candidate_aggregate_fieldsFragment
    }
    nodes {
      ...results_contest_candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_contest_candidate_order_by],
  "where": results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate_aggregate": {
      "aggregate": results_contest_candidate_aggregate_fields,
      "nodes": [results_contest_candidate]
    }
  }
}

sequent_backend_results_contest_candidate_by_pk

Description

fetch data from the table: "sequent_backend.results_contest_candidate" using primary key columns

Response

Returns a results_contest_candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate_by_pk": {
      "annotations": jsonb,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 987
    }
  }
}

sequent_backend_results_contest_candidate_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_contest_candidate"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [results_contest_candidate_stream_cursor_input]! cursor to stream the results returned by the query
where - results_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest_candidate_stream(
  $batch_size: Int!,
  $cursor: [results_contest_candidate_stream_cursor_input]!,
  $where: results_contest_candidate_bool_exp
) {
  sequent_backend_results_contest_candidate_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    results_contest_candidate_stream_cursor_input
  ],
  "where": results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate_stream": [
      {
        "annotations": jsonb,
        "candidate_id": uuid,
        "cast_votes": 987,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 987,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 123
      }
    ]
  }
}

sequent_backend_results_contest_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_contest"

Response

Returns [results_contest!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [results_contest_stream_cursor_input]! cursor to stream the results returned by the query
where - results_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest_stream(
  $batch_size: Int!,
  $cursor: [results_contest_stream_cursor_input]!,
  $where: results_contest_bool_exp
) {
  sequent_backend_results_contest_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_blank_votes
    explicit_blank_votes_percent
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_blank_votes
    implicit_blank_votes_percent
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_auditable_votes
    total_auditable_votes_percent
    total_blank_votes
    total_blank_votes_percent
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [results_contest_stream_cursor_input],
  "where": results_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_stream": [
      {
        "annotations": jsonb,
        "contest_id": uuid,
        "counting_algorithm": "abc123",
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "explicit_blank_votes": 123,
        "explicit_blank_votes_percent": numeric,
        "explicit_invalid_votes": 123,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_blank_votes": 987,
        "implicit_blank_votes_percent": numeric,
        "implicit_invalid_votes": 123,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_auditable_votes": 987,
        "total_auditable_votes_percent": numeric,
        "total_blank_votes": 123,
        "total_blank_votes_percent": numeric,
        "total_invalid_votes": 987,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 987,
        "total_valid_votes_percent": numeric,
        "total_votes": 123,
        "total_votes_percent": numeric,
        "voting_type": "abc123"
      }
    ]
  }
}

sequent_backend_results_election

Description

fetch data from the table: "sequent_backend.results_election"

Response

Returns [results_election!]!

Arguments
Name Description
distinct_on - [results_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_election_order_by!] sort the rows by one or more columns
where - results_election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_election(
  $distinct_on: [results_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_election_order_by!],
  $where: results_election_bool_exp
) {
  sequent_backend_results_election(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_election_order_by],
  "where": results_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election": [
      {
        "annotations": jsonb,
        "blank_ballots": 123,
        "blank_ballots_percent": numeric,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_voters": 987,
        "total_voters_percent": numeric
      }
    ]
  }
}

sequent_backend_results_election_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_election"

Response

Returns a results_election_aggregate!

Arguments
Name Description
distinct_on - [results_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_election_order_by!] sort the rows by one or more columns
where - results_election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_election_aggregate(
  $distinct_on: [results_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_election_order_by!],
  $where: results_election_bool_exp
) {
  sequent_backend_results_election_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_election_aggregate_fieldsFragment
    }
    nodes {
      ...results_electionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [results_election_order_by],
  "where": results_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election_aggregate": {
      "aggregate": results_election_aggregate_fields,
      "nodes": [results_election]
    }
  }
}

sequent_backend_results_election_area

Description

fetch data from the table: "sequent_backend.results_election_area"

Response

Returns [results_election_area!]!

Arguments
Name Description
distinct_on - [results_election_area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_election_area_order_by!] sort the rows by one or more columns
where - results_election_area_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_election_area(
  $distinct_on: [results_election_area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_election_area_order_by!],
  $where: results_election_area_bool_exp
) {
  sequent_backend_results_election_area(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    area_id
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    id
    last_updated_at
    name
    results_event_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["area_id"],
  "limit": 123,
  "offset": 123,
  "order_by": [results_election_area_order_by],
  "where": results_election_area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election_area": [
      {
        "area_id": uuid,
        "blank_ballots": 987,
        "blank_ballots_percent": numeric,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "results_event_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_results_election_area_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_election_area"

Arguments
Name Description
distinct_on - [results_election_area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_election_area_order_by!] sort the rows by one or more columns
where - results_election_area_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_election_area_aggregate(
  $distinct_on: [results_election_area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_election_area_order_by!],
  $where: results_election_area_bool_exp
) {
  sequent_backend_results_election_area_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_election_area_aggregate_fieldsFragment
    }
    nodes {
      ...results_election_areaFragment
    }
  }
}
Variables
{
  "distinct_on": ["area_id"],
  "limit": 987,
  "offset": 123,
  "order_by": [results_election_area_order_by],
  "where": results_election_area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election_area_aggregate": {
      "aggregate": results_election_area_aggregate_fields,
      "nodes": [results_election_area]
    }
  }
}

sequent_backend_results_election_area_by_pk

Description

fetch data from the table: "sequent_backend.results_election_area" using primary key columns

Response

Returns a results_election_area

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_election_area_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_election_area_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    area_id
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    id
    last_updated_at
    name
    results_event_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_election_area_by_pk": {
      "area_id": uuid,
      "blank_ballots": 987,
      "blank_ballots_percent": numeric,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "results_event_id": uuid,
      "tenant_id": uuid
    }
  }
}

sequent_backend_results_election_area_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_election_area"

Response

Returns [results_election_area!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [results_election_area_stream_cursor_input]! cursor to stream the results returned by the query
where - results_election_area_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_election_area_stream(
  $batch_size: Int!,
  $cursor: [results_election_area_stream_cursor_input]!,
  $where: results_election_area_bool_exp
) {
  sequent_backend_results_election_area_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    area_id
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    id
    last_updated_at
    name
    results_event_id
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [results_election_area_stream_cursor_input],
  "where": results_election_area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election_area_stream": [
      {
        "area_id": uuid,
        "blank_ballots": 987,
        "blank_ballots_percent": numeric,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "results_event_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_results_election_by_pk

Description

fetch data from the table: "sequent_backend.results_election" using primary key columns

Response

Returns a results_election

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_election_by_pk": {
      "annotations": jsonb,
      "blank_ballots": 123,
      "blank_ballots_percent": numeric,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_voters": 987,
      "total_voters_percent": numeric
    }
  }
}

sequent_backend_results_election_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_election"

Response

Returns [results_election!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [results_election_stream_cursor_input]! cursor to stream the results returned by the query
where - results_election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_election_stream(
  $batch_size: Int!,
  $cursor: [results_election_stream_cursor_input]!,
  $where: results_election_bool_exp
) {
  sequent_backend_results_election_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    blank_ballots
    blank_ballots_percent
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [results_election_stream_cursor_input],
  "where": results_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election_stream": [
      {
        "annotations": jsonb,
        "blank_ballots": 123,
        "blank_ballots_percent": numeric,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_voters": 123,
        "total_voters_percent": numeric
      }
    ]
  }
}

sequent_backend_results_event

Description

fetch data from the table: "sequent_backend.results_event"

Response

Returns [results_event!]!

Arguments
Name Description
distinct_on - [results_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_event_order_by!] sort the rows by one or more columns
where - results_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_event(
  $distinct_on: [results_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_event_order_by!],
  $where: results_event_bool_exp
) {
  sequent_backend_results_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [results_event_order_by],
  "where": results_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_event": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_results_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_event"

Response

Returns a results_event_aggregate!

Arguments
Name Description
distinct_on - [results_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [results_event_order_by!] sort the rows by one or more columns
where - results_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_event_aggregate(
  $distinct_on: [results_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [results_event_order_by!],
  $where: results_event_bool_exp
) {
  sequent_backend_results_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...results_event_aggregate_fieldsFragment
    }
    nodes {
      ...results_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [results_event_order_by],
  "where": results_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_event_aggregate": {
      "aggregate": results_event_aggregate_fields,
      "nodes": [results_event]
    }
  }
}

sequent_backend_results_event_by_pk

Description

fetch data from the table: "sequent_backend.results_event" using primary key columns

Response

Returns a results_event

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_event_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_event_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_results_event_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_event"

Response

Returns [results_event!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [results_event_stream_cursor_input]! cursor to stream the results returned by the query
where - results_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_event_stream(
  $batch_size: Int!,
  $cursor: [results_event_stream_cursor_input]!,
  $where: results_event_bool_exp
) {
  sequent_backend_results_event_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [results_event_stream_cursor_input],
  "where": results_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_event_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_scheduled_event

Description

fetch data from the table: "sequent_backend.scheduled_event"

Response

Returns [scheduled_event!]!

Arguments
Name Description
distinct_on - [scheduled_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [scheduled_event_order_by!] sort the rows by one or more columns
where - scheduled_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_scheduled_event(
  $distinct_on: [scheduled_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [scheduled_event_order_by!],
  $where: scheduled_event_bool_exp
) {
  sequent_backend_scheduled_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    archived_at
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [scheduled_event_order_by],
  "where": scheduled_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_scheduled_event": [
      {
        "annotations": jsonb,
        "archived_at": timestamptz,
        "created_at": timestamptz,
        "created_by": "xyz789",
        "cron_config": jsonb,
        "election_event_id": uuid,
        "event_payload": jsonb,
        "event_processor": "xyz789",
        "id": uuid,
        "labels": jsonb,
        "stopped_at": timestamptz,
        "task_id": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_scheduled_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.scheduled_event"

Response

Returns a scheduled_event_aggregate!

Arguments
Name Description
distinct_on - [scheduled_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [scheduled_event_order_by!] sort the rows by one or more columns
where - scheduled_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_scheduled_event_aggregate(
  $distinct_on: [scheduled_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [scheduled_event_order_by!],
  $where: scheduled_event_bool_exp
) {
  sequent_backend_scheduled_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...scheduled_event_aggregate_fieldsFragment
    }
    nodes {
      ...scheduled_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [scheduled_event_order_by],
  "where": scheduled_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_scheduled_event_aggregate": {
      "aggregate": scheduled_event_aggregate_fields,
      "nodes": [scheduled_event]
    }
  }
}

sequent_backend_scheduled_event_by_pk

Description

fetch data from the table: "sequent_backend.scheduled_event" using primary key columns

Response

Returns a scheduled_event

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_scheduled_event_by_pk($id: uuid!) {
  sequent_backend_scheduled_event_by_pk(id: $id) {
    annotations
    archived_at
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_scheduled_event_by_pk": {
      "annotations": jsonb,
      "archived_at": timestamptz,
      "created_at": timestamptz,
      "created_by": "xyz789",
      "cron_config": jsonb,
      "election_event_id": uuid,
      "event_payload": jsonb,
      "event_processor": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "stopped_at": timestamptz,
      "task_id": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_scheduled_event_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.scheduled_event"

Response

Returns [scheduled_event!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [scheduled_event_stream_cursor_input]! cursor to stream the results returned by the query
where - scheduled_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_scheduled_event_stream(
  $batch_size: Int!,
  $cursor: [scheduled_event_stream_cursor_input]!,
  $where: scheduled_event_bool_exp
) {
  sequent_backend_scheduled_event_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    archived_at
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [scheduled_event_stream_cursor_input],
  "where": scheduled_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_scheduled_event_stream": [
      {
        "annotations": jsonb,
        "archived_at": timestamptz,
        "created_at": timestamptz,
        "created_by": "xyz789",
        "cron_config": jsonb,
        "election_event_id": uuid,
        "event_payload": jsonb,
        "event_processor": "abc123",
        "id": uuid,
        "labels": jsonb,
        "stopped_at": timestamptz,
        "task_id": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_secret

Description

fetch data from the table: "sequent_backend.secret"

Response

Returns [secret!]!

Arguments
Name Description
distinct_on - [secret_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [secret_order_by!] sort the rows by one or more columns
where - secret_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_secret(
  $distinct_on: [secret_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [secret_order_by!],
  $where: secret_bool_exp
) {
  sequent_backend_secret(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    id
    key
    labels
    tenant_id
    value
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [secret_order_by],
  "where": secret_bool_exp
}
Response
{
  "data": {
    "sequent_backend_secret": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "key": "xyz789",
        "labels": jsonb,
        "tenant_id": uuid,
        "value": bytea
      }
    ]
  }
}

sequent_backend_secret_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.secret"

Response

Returns a secret_aggregate!

Arguments
Name Description
distinct_on - [secret_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [secret_order_by!] sort the rows by one or more columns
where - secret_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_secret_aggregate(
  $distinct_on: [secret_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [secret_order_by!],
  $where: secret_bool_exp
) {
  sequent_backend_secret_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...secret_aggregate_fieldsFragment
    }
    nodes {
      ...secretFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [secret_order_by],
  "where": secret_bool_exp
}
Response
{
  "data": {
    "sequent_backend_secret_aggregate": {
      "aggregate": secret_aggregate_fields,
      "nodes": [secret]
    }
  }
}

sequent_backend_secret_by_pk

Description

fetch data from the table: "sequent_backend.secret" using primary key columns

Response

Returns a secret

Arguments
Name Description
id - uuid!
key - String!
tenant_id - uuid!

Example

Query
subscription sequent_backend_secret_by_pk(
  $id: uuid!,
  $key: String!,
  $tenant_id: uuid!
) {
  sequent_backend_secret_by_pk(
    id: $id,
    key: $key,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    election_event_id
    id
    key
    labels
    tenant_id
    value
  }
}
Variables
{
  "id": uuid,
  "key": "xyz789",
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_secret_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "key": "xyz789",
      "labels": jsonb,
      "tenant_id": uuid,
      "value": bytea
    }
  }
}

sequent_backend_secret_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.secret"

Response

Returns [secret!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [secret_stream_cursor_input]! cursor to stream the results returned by the query
where - secret_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_secret_stream(
  $batch_size: Int!,
  $cursor: [secret_stream_cursor_input]!,
  $where: secret_bool_exp
) {
  sequent_backend_secret_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    id
    key
    labels
    tenant_id
    value
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [secret_stream_cursor_input],
  "where": secret_bool_exp
}
Response
{
  "data": {
    "sequent_backend_secret_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "key": "xyz789",
        "labels": jsonb,
        "tenant_id": uuid,
        "value": bytea
      }
    ]
  }
}

sequent_backend_support_material

Description

fetch data from the table: "sequent_backend.support_material"

Response

Returns [support_material!]!

Arguments
Name Description
distinct_on - [support_material_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [support_material_order_by!] sort the rows by one or more columns
where - support_material_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_support_material(
  $distinct_on: [support_material_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [support_material_order_by!],
  $where: support_material_bool_exp
) {
  sequent_backend_support_material(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [support_material_order_by],
  "where": support_material_bool_exp
}
Response
{
  "data": {
    "sequent_backend_support_material": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "data": jsonb,
        "document_id": "xyz789",
        "election_event_id": uuid,
        "id": uuid,
        "is_hidden": false,
        "kind": "xyz789",
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_support_material_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.support_material"

Response

Returns a support_material_aggregate!

Arguments
Name Description
distinct_on - [support_material_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [support_material_order_by!] sort the rows by one or more columns
where - support_material_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_support_material_aggregate(
  $distinct_on: [support_material_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [support_material_order_by!],
  $where: support_material_bool_exp
) {
  sequent_backend_support_material_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...support_material_aggregate_fieldsFragment
    }
    nodes {
      ...support_materialFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [support_material_order_by],
  "where": support_material_bool_exp
}
Response
{
  "data": {
    "sequent_backend_support_material_aggregate": {
      "aggregate": support_material_aggregate_fields,
      "nodes": [support_material]
    }
  }
}

sequent_backend_support_material_by_pk

Description

fetch data from the table: "sequent_backend.support_material" using primary key columns

Response

Returns a support_material

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_support_material_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_support_material_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_support_material_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "data": jsonb,
      "document_id": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "is_hidden": false,
      "kind": "xyz789",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_support_material_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.support_material"

Response

Returns [support_material!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [support_material_stream_cursor_input]! cursor to stream the results returned by the query
where - support_material_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_support_material_stream(
  $batch_size: Int!,
  $cursor: [support_material_stream_cursor_input]!,
  $where: support_material_bool_exp
) {
  sequent_backend_support_material_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [support_material_stream_cursor_input],
  "where": support_material_bool_exp
}
Response
{
  "data": {
    "sequent_backend_support_material_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "data": jsonb,
        "document_id": "abc123",
        "election_event_id": uuid,
        "id": uuid,
        "is_hidden": true,
        "kind": "abc123",
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_results_publication

Description

fetch data from the table: "sequent_backend.tally_results_publication"

Arguments
Name Description
distinct_on - [tally_results_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_results_publication_order_by!] sort the rows by one or more columns
where - tally_results_publication_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_results_publication(
  $distinct_on: [tally_results_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_results_publication_order_by!],
  $where: tally_results_publication_bool_exp
) {
  sequent_backend_tally_results_publication(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    access
    contest_publication_state
    created_at
    documents
    election_event_id
    election_ids
    error_message
    id
    manifest
    publication_status
    published_at
    published_by_user_id
    published_contest_ids
    results_event_id
    revoked_at
    route_election_id
    route_scope
    tally_session_execution_id
    tally_session_id
    task_execution_id
    tenant_id
    updated_at
    version
    visibility_scope
  }
}
Variables
{
  "distinct_on": ["access"],
  "limit": 987,
  "offset": 123,
  "order_by": [tally_results_publication_order_by],
  "where": tally_results_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_results_publication": [
      {
        "access": "xyz789",
        "contest_publication_state": jsonb,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_ids": [uuid],
        "error_message": "abc123",
        "id": uuid,
        "manifest": jsonb,
        "publication_status": "xyz789",
        "published_at": timestamptz,
        "published_by_user_id": uuid,
        "published_contest_ids": jsonb,
        "results_event_id": uuid,
        "revoked_at": timestamptz,
        "route_election_id": uuid,
        "route_scope": "xyz789",
        "tally_session_execution_id": uuid,
        "tally_session_id": uuid,
        "task_execution_id": uuid,
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "version": 123,
        "visibility_scope": "xyz789"
      }
    ]
  }
}

sequent_backend_tally_results_publication_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_results_publication"

Arguments
Name Description
distinct_on - [tally_results_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tally_results_publication_order_by!] sort the rows by one or more columns
where - tally_results_publication_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_results_publication_aggregate(
  $distinct_on: [tally_results_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [tally_results_publication_order_by!],
  $where: tally_results_publication_bool_exp
) {
  sequent_backend_tally_results_publication_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...tally_results_publication_aggregate_fieldsFragment
    }
    nodes {
      ...tally_results_publicationFragment
    }
  }
}
Variables
{
  "distinct_on": ["access"],
  "limit": 987,
  "offset": 987,
  "order_by": [tally_results_publication_order_by],
  "where": tally_results_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_results_publication_aggregate": {
      "aggregate": tally_results_publication_aggregate_fields,
      "nodes": [tally_results_publication]
    }
  }
}

sequent_backend_tally_results_publication_by_pk

Description

fetch data from the table: "sequent_backend.tally_results_publication" using primary key columns

Response

Returns a tally_results_publication

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_tally_results_publication_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_results_publication_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    access
    contest_publication_state
    created_at
    documents
    election_event_id
    election_ids
    error_message
    id
    manifest
    publication_status
    published_at
    published_by_user_id
    published_contest_ids
    results_event_id
    revoked_at
    route_election_id
    route_scope
    tally_session_execution_id
    tally_session_id
    task_execution_id
    tenant_id
    updated_at
    version
    visibility_scope
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}