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
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"}
}
}
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
votes_per_day {
...CastVotesPerDayFragment
}
}
}
Variables
{"object": ElectionEventStatsInput}
Response
{
"data": {
"getElectionEventStats": {
"total_areas": 123,
"total_distinct_voters": 987,
"total_elections": 123,
"total_eligible_voters": 987,
"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
votes_per_day {
...CastVotesPerDayFragment
}
}
}
Variables
{"object": ElectionStatsInput}
Response
{
"data": {
"getElectionStats": {
"total_areas": 123,
"total_distinct_voters": 123,
"votes_per_day": [CastVotesPerDay]
}
}
}
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_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_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!]!
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": "xyz789",
"tenant_id": "xyz789"
}
Response
{
"data": {
"get_user_profile_attributes": [
{
"annotations": jsonb,
"display_name": "abc123",
"group": "xyz789",
"multivalued": false,
"name": "xyz789",
"permissions": jsonb,
"read_only": true,
"required": jsonb,
"selector": jsonb,
"validations": jsonb
}
]
}
}
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": 123,
"offset": 123,
"order_by": ElectoralLogOrderBy
}
Response
{
"data": {
"listElectoralLog": {
"items": [ElectoralLogRow],
"total": TotalAggregate
}
}
}
listPgaudit
Description
List PostgreSQL audit logs
Response
Returns a DataListPgAudit
Arguments
| Name | Description |
|---|---|
audit_table - PgAuditTable
|
|
filter - PgAuditFilter
|
|
limit - Int
|
|
offset - Int
|
|
order_by - PgAuditOrderBy
|
Example
Query
query listPgaudit(
$audit_table: PgAuditTable,
$filter: PgAuditFilter,
$limit: Int,
$offset: Int,
$order_by: PgAuditOrderBy
) {
listPgaudit(
audit_table: $audit_table,
filter: $filter,
limit: $limit,
offset: $offset,
order_by: $order_by
) {
items {
...PgAuditRowFragment
}
total {
...TotalAggregateFragment
}
}
}
Variables
{
"audit_table": "pgaudit_hasura",
"filter": PgAuditFilter,
"limit": 123,
"offset": 987,
"order_by": PgAuditOrderBy
}
Response
{
"data": {
"listPgaudit": {
"items": [PgAuditRow],
"total": TotalAggregate
}
}
}
list_cast_vote_messages
Description
List electoral log entries of statement_kind CastVote
Response
Returns a ListCastVoteMessagesOutput
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": "abc123",
"limit": 987,
"offset": 987,
"order_by": ElectoralLogOrderBy,
"tenant_id": "abc123"
}
Response
{
"data": {
"list_cast_vote_messages": {
"list": [CastVoteEntry],
"total": 987
}
}
}
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!]!
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": "xyz789"
}
Response
{
"data": {
"list_user_roles": [
{
"access": jsonb,
"attributes": jsonb,
"client_roles": jsonb,
"id": "abc123",
"name": "abc123",
"permissions": jsonb
}
]
}
}
logEvent
Description
log an event in immudb
Response
Returns a LogEventOutput
Example
Query
query logEvent(
$body: String!,
$election_event_id: String!,
$message_type: String!,
$user_id: String
) {
logEvent(
body: $body,
election_event_id: $election_event_id,
message_type: $message_type,
user_id: $user_id
) {
electionEventId
}
}
Variables
{
"body": "xyz789",
"election_event_id": "xyz789",
"message_type": "abc123",
"user_id": "xyz789"
}
Response
{
"data": {
"logEvent": {
"electionEventId": "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": 123,
"offset": 123,
"order_by": [applications_order_by],
"where": applications_bool_exp
}
Response
{
"data": {
"sequent_backend_applications": [
{
"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": "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": 123,
"offset": 987,
"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
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": "xyz789",
"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": 987,
"offset": 987,
"order_by": [area_order_by],
"where": area_bool_exp
}
Response
{
"data": {
"sequent_backend_area": [
{
"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": "xyz789"
}
]
}
}
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": 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
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": "abc123"
}
}
}
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": 123,
"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": 123,
"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": true,
"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": 987,
"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
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": "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_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": 123,
"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
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": "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
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
) {
alias
annotations
contest_id
created_at
description
election_event_id
id
image_document_id
is_public
labels
last_updated_at
name
presentation
tenant_id
type
}
}
Variables
{
"distinct_on": ["alias"],
"limit": 987,
"offset": 123,
"order_by": [candidate_order_by],
"where": candidate_bool_exp
}
Response
{
"data": {
"sequent_backend_candidate": [
{
"alias": "xyz789",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "xyz789",
"is_public": true,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"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": ["alias"],
"limit": 123,
"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
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
) {
alias
annotations
contest_id
created_at
description
election_event_id
id
image_document_id
is_public
labels
last_updated_at
name
presentation
tenant_id
type
}
}
Variables
{
"election_event_id": uuid,
"id": uuid,
"tenant_id": uuid
}
Response
{
"data": {
"sequent_backend_candidate_by_pk": {
"alias": "abc123",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "abc123",
"is_public": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"presentation": jsonb,
"tenant_id": uuid,
"type": "xyz789"
}
}
}
sequent_backend_cast_vote
Description
fetch data from the table: "sequent_backend.cast_vote"
Response
Returns [cast_vote!]!
Arguments
| Name | Description |
|---|---|
distinct_on - [cast_vote_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 - [cast_vote_order_by!]
|
sort the rows by one or more columns |
where - cast_vote_bool_exp
|
filter the rows returned |
Example
Query
query sequent_backend_cast_vote(
$distinct_on: [cast_vote_select_column!],
$limit: Int,
$offset: Int,
$order_by: [cast_vote_order_by!],
$where: cast_vote_bool_exp
) {
sequent_backend_cast_vote(
distinct_on: $distinct_on,
limit: $limit,
offset: $offset,
order_by: $order_by,
where: $where
) {
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
{
"distinct_on": ["annotations"],
"limit": 987,
"offset": 123,
"order_by": [cast_vote_order_by],
"where": cast_vote_bool_exp
}
Response
{
"data": {
"sequent_backend_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"
}
]
}
}
sequent_backend_cast_vote_aggregate
Description
fetch aggregated fields from the table: "sequent_backend.cast_vote"
Response
Returns a cast_vote_aggregate!
Arguments
| Name | Description |
|---|---|
distinct_on - [cast_vote_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 - [cast_vote_order_by!]
|
sort the rows by one or more columns |
where - cast_vote_bool_exp
|
filter the rows returned |
Example
Query
query sequent_backend_cast_vote_aggregate(
$distinct_on: [cast_vote_select_column!],
$limit: Int,
$offset: Int,
$order_by: [cast_vote_order_by!],
$where: cast_vote_bool_exp
) {
sequent_backend_cast_vote_aggregate(
distinct_on: $distinct_on,
limit: $limit,
offset: $offset,
order_by: $order_by,
where: $where
) {
aggregate {
...cast_vote_aggregate_fieldsFragment
}
nodes {
...cast_voteFragment
}
}
}
Variables
{
"distinct_on": ["annotations"],
"limit": 987,
"offset": 123,
"order_by": [cast_vote_order_by],
"where": cast_vote_bool_exp
}
Response
{
"data": {
"sequent_backend_cast_vote_aggregate": {
"aggregate": cast_vote_aggregate_fields,
"nodes": [cast_vote]
}
}
}
sequent_backend_cast_vote_by_pk
Description
fetch data from the table: "sequent_backend.cast_vote" using primary key columns
Response
Returns a cast_vote
Example
Query
query sequent_backend_cast_vote_by_pk(
$election_event_id: uuid!,
$id: uuid!,
$tenant_id: uuid!
) {
sequent_backend_cast_vote_by_pk(
election_event_id: $election_event_id,
id: $id,
tenant_id: $tenant_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
{
"election_event_id": uuid,
"id": uuid,
"tenant_id": uuid
}
Response
{
"data": {
"sequent_backend_cast_vote_by_pk": {
"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": "xyz789"
}
}
}
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
) {
alias
annotations
candidates {
...candidateFragment
}
candidates_aggregate {
...candidate_aggregateFragment
}
conditions
counting_algorithm
created_at
description
election_event_id
election_id
id
image_document_id
is_acclaimed
is_active
is_encrypted
labels
last_updated_at
max_votes
min_votes
name
presentation
tally_configuration
tenant_id
voting_type
winning_candidates_num
}
}
Variables
{
"distinct_on": ["alias"],
"limit": 987,
"offset": 987,
"order_by": [contest_order_by],
"where": contest_bool_exp
}
Response
{
"data": {
"sequent_backend_contest": [
{
"alias": "abc123",
"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,
"id": uuid,
"image_document_id": "xyz789",
"is_acclaimed": true,
"is_active": false,
"is_encrypted": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"max_votes": 123,
"min_votes": 987,
"name": "abc123",
"presentation": jsonb,
"tally_configuration": jsonb,
"tenant_id": uuid,
"voting_type": "abc123",
"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": ["alias"],
"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
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
) {
alias
annotations
candidates {
...candidateFragment
}
candidates_aggregate {
...candidate_aggregateFragment
}
conditions
counting_algorithm
created_at
description
election_event_id
election_id
id
image_document_id
is_acclaimed
is_active
is_encrypted
labels
last_updated_at
max_votes
min_votes
name
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": {
"alias": "xyz789",
"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,
"id": uuid,
"image_document_id": "xyz789",
"is_acclaimed": false,
"is_active": false,
"is_encrypted": true,
"labels": jsonb,
"last_updated_at": timestamptz,
"max_votes": 987,
"min_votes": 123,
"name": "abc123",
"presentation": jsonb,
"tally_configuration": jsonb,
"tenant_id": uuid,
"voting_type": "xyz789",
"winning_candidates_num": 987
}
}
}
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": false,
"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": 123,
"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
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": "abc123",
"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
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
) {
alias
annotations
contests {
...contestFragment
}
contests_aggregate {
...contest_aggregateFragment
}
created_at
description
election_event_id
eml
id
image_document_id
initialization_report_generated
is_consolidated_ballot_encoding
is_kiosk
keys_ceremony_id
labels
last_updated_at
name
num_allowed_revotes
permission_label
presentation
receipts
spoil_ballot_option
statistics
status
tenant_id
voting_channels
}
}
Variables
{
"distinct_on": ["alias"],
"limit": 987,
"offset": 987,
"order_by": [election_order_by],
"where": election_bool_exp
}
Response
{
"data": {
"sequent_backend_election": [
{
"alias": "abc123",
"annotations": jsonb,
"contests": [contest],
"contests_aggregate": contest_aggregate,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"eml": "xyz789",
"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,
"name": "abc123",
"num_allowed_revotes": 987,
"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": ["alias"],
"limit": 123,
"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
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
) {
alias
annotations
contests {
...contestFragment
}
contests_aggregate {
...contest_aggregateFragment
}
created_at
description
election_event_id
eml
id
image_document_id
initialization_report_generated
is_consolidated_ballot_encoding
is_kiosk
keys_ceremony_id
labels
last_updated_at
name
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": {
"alias": "xyz789",
"annotations": jsonb,
"contests": [contest],
"contests_aggregate": contest_aggregate,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"eml": "abc123",
"id": uuid,
"image_document_id": "xyz789",
"initialization_report_generated": true,
"is_consolidated_ballot_encoding": true,
"is_kiosk": false,
"keys_ceremony_id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"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
) {
alias
annotations
audit_election_event_id
bulletin_board_reference
created_at
description
elections {
...electionFragment
}
elections_aggregate {
...election_aggregateFragment
}
encryption_protocol
id
is_archived
is_audit
labels
name
presentation
public_key
statistics
status
tenant_id
updated_at
user_boards
voting_channels
}
}
Variables
{
"distinct_on": ["alias"],
"limit": 123,
"offset": 987,
"order_by": [election_event_order_by],
"where": election_event_bool_exp
}
Response
{
"data": {
"sequent_backend_election_event": [
{
"alias": "xyz789",
"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",
"id": uuid,
"is_archived": false,
"is_audit": true,
"labels": jsonb,
"name": "abc123",
"presentation": jsonb,
"public_key": "xyz789",
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "xyz789",
"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": ["alias"],
"limit": 123,
"offset": 987,
"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) {
alias
annotations
audit_election_event_id
bulletin_board_reference
created_at
description
elections {
...electionFragment
}
elections_aggregate {
...election_aggregateFragment
}
encryption_protocol
id
is_archived
is_audit
labels
name
presentation
public_key
statistics
status
tenant_id
updated_at
user_boards
voting_channels
}
}
Variables
{"id": uuid}
Response
{
"data": {
"sequent_backend_election_event_by_pk": {
"alias": "abc123",
"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",
"id": uuid,
"is_archived": true,
"is_audit": false,
"labels": jsonb,
"name": "abc123",
"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": 987,
"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": 987,
"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
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": "abc123",
"tenant_id": uuid,
"updated_at": timestamptz
}
}
}
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": "xyz789",
"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": 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
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": 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": 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
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": 987,
"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
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": "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": "xyz789",
"permission_label": ["abc123"],
"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
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": 987,
"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
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": 987,
"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
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": "xyz789"}
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": 123,
"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": "xyz789",
"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
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": "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_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": 987,
"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": "abc123",
"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
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": 123,
"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
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": "abc123",
"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
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
blank_votes
blank_votes_percent
contest_id
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
implicit_invalid_votes
implicit_invalid_votes_percent
labels
last_updated_at
results_event_id
tenant_id
total_auditable_votes
total_auditable_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": 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,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_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": 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
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
blank_votes
blank_votes_percent
contest_id
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
implicit_invalid_votes
implicit_invalid_votes_percent
labels
last_updated_at
results_event_id
tenant_id
total_auditable_votes
total_auditable_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,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 987,
"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_candidate
Description
fetch data from the table: "sequent_backend.results_area_contest_candidate"
Response
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": 123,
"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"
Response
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
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": 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
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
blank_votes
blank_votes_percent
contest_id
counting_algorithm
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
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_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": 123,
"offset": 123,
"order_by": [results_contest_order_by],
"where": results_contest_bool_exp
}
Response
{
"data": {
"sequent_backend_results_contest": [
{
"annotations": jsonb,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "xyz789",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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": 987,
"total_auditable_votes_percent": numeric,
"total_invalid_votes": 987,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"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": 987,
"offset": 123,
"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
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
blank_votes
blank_votes_percent
contest_id
counting_algorithm
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
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_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,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "abc123",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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": 987,
"total_auditable_votes_percent": numeric,
"total_invalid_votes": 987,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"total_votes_percent": numeric,
"voting_type": "abc123"
}
}
}
sequent_backend_results_contest_candidate
Description
fetch data from the table: "sequent_backend.results_contest_candidate"
Response
Returns [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": 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
}
]
}
}
sequent_backend_results_contest_candidate_aggregate
Description
fetch aggregated fields from the table: "sequent_backend.results_contest_candidate"
Response
Returns a results_contest_candidate_aggregate!
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": 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
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": 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
}
}
}
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
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": 123,
"order_by": [results_election_order_by],
"where": results_election_bool_exp
}
Response
{
"data": {
"sequent_backend_results_election": [
{
"annotations": jsonb,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"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_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
created_at
documents
election_event_id
election_id
id
last_updated_at
name
results_event_id
tenant_id
}
}
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": [
{
"area_id": uuid,
"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"
Response
Returns a results_election_area_aggregate!
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": 123,
"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
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
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,
"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
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
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,
"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_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": "abc123",
"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": 123,
"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
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": "abc123",
"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": 123,
"offset": 123,
"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": "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_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": "xyz789",
"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
}
}
}
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
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": "abc123",
"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": 123,
"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
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": false,
"kind": "abc123",
"labels": jsonb,
"last_updated_at": timestamptz,
"tenant_id": uuid
}
}
}
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
tally_type
tenant_id
threshold
}
}
Variables
{
"distinct_on": ["annotations"],
"limit": 123,
"offset": 987,
"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"],
"tally_type": "abc123",
"tenant_id": uuid,
"threshold": 123
}
]
}
}
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": 987,
"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
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
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": "xyz789",
"id": uuid,
"is_execution_completed": false,
"keys_ceremony_id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"permission_label": ["abc123"],
"tally_type": "abc123",
"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": 123,
"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": 123,
"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"
Response
Returns a tally_session_contest_aggregate!
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": 123,
"offset": 987,
"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
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
session_ids
status
tally_session_id
tenant_id
}
}
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": [
{
"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,
"session_ids": [987],
"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"
Response
Returns a tally_session_execution_aggregate!
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
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
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": 123,
"documents": jsonb,
"election_event_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"results_event_id": uuid,
"session_ids": [123],
"status": jsonb,
"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
labels
last_updated_at
published_at
published_by_user_id
tenant_id
}
}
Variables
{
"distinct_on": ["annotations"],
"limit": 987,
"offset": 123,
"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": "abc123",
"deleted_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "abc123",
"tenant_id": uuid
}
]
}
}
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": 987,
"offset": 123,
"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
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
labels
last_updated_at
published_at
published_by_user_id
tenant_id
}
}
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": "xyz789",
"deleted_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "xyz789",
"tenant_id": uuid
}
}
}
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": "xyz789",
"execution_status": "abc123",
"id": uuid,
"labels": jsonb,
"logs": json,
"name": "xyz789",
"start_at": timestamptz,
"tenant": tenant,
"tenant_id": uuid,
"type": "abc123"
}
]
}
}
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": 123,
"offset": 987,
"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
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": "xyz789",
"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": 123,
"offset": 987,
"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": "abc123",
"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": 987,
"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
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": "xyz789",
"annotations": jsonb,
"communication_method": "abc123",
"created_at": timestamptz,
"created_by": "xyz789",
"id": uuid,
"labels": jsonb,
"template": jsonb,
"tenant_id": uuid,
"type": "abc123",
"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
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": true,
"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": 123,
"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": "xyz789",
"public_key": "abc123",
"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": 987,
"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
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": "abc123"}}
call_plugin_route
Response
Returns a PluginsRouteOutput!
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": true}}}
createScheduledEvent
Description
create scheduled event
Response
Returns a ScheduledEventOutput3
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": "xyz789",
"cron_config": "xyz789",
"election_event_id": uuid,
"event_payload": jsonb,
"event_processor": "abc123",
"tenant_id": "abc123"
}
Response
{
"data": {
"createScheduledEvent": {"id": "abc123"}
}
}
create_ballot_receipt
Description
create_ballot_receipt
Response
Returns a createBallotReceiptOutput
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
Example
Query
mutation create_election(
$description: String,
$election_event_id: String!,
$name: String!,
$presentation: jsonb
) {
create_election(
description: $description,
election_event_id: $election_event_id,
name: $name,
presentation: $presentation
) {
id
}
}
Variables
{
"description": "abc123",
"election_event_id": "abc123",
"name": "xyz789",
"presentation": jsonb
}
Response
{
"data": {
"create_election": {"id": "xyz789"}
}
}
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_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": "abc123",
"id": "abc123",
"name": "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": "abc123",
"name": "abc123",
"permissions": jsonb
}
}
}
create_tally_ceremony
Response
Returns a CreateTallyOutput
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": "xyz789"
}
Response
{
"data": {
"create_tally_ceremony": {"tally_session_id": uuid}
}
}
create_transmission_package
Response
Returns a createTransmissionPackageOutput
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
|
|
tenant_id - String!
|
|
user - KeycloakUser2!
|
|
user_roles_ids - [String!]
|
Example
Query
mutation create_user(
$election_event_id: String,
$tenant_id: String!,
$user: KeycloakUser2!,
$user_roles_ids: [String!]
) {
create_user(
election_event_id: $election_event_id,
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": "xyz789",
"tenant_id": "xyz789",
"user": KeycloakUser2,
"user_roles_ids": ["abc123"]
}
Response
{
"data": {
"create_user": {
"area": KeycloakUserArea,
"attributes": jsonb,
"email": "abc123",
"email_verified": true,
"enabled": false,
"first_name": "xyz789",
"groups": ["abc123"],
"id": "xyz789",
"last_name": "xyz789",
"username": "abc123",
"votes_info": [VotesInfo]
}
}
}
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": "xyz789",
"id": "abc123",
"task_execution": tasks_execution_type
}
}
}
delete_permission
Response
Returns a SetRolePermissionOutput
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": "abc123",
"tenant_id": "abc123"
}
Response
{
"data": {
"delete_permission": {"id": "abc123"}
}
}
delete_role
Response
Returns a SetUserRoleOutput
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": "abc123",
"tenant_id": "abc123"
}
Response
{"data": {"delete_role": {"id": "abc123"}}}
delete_role_permission
Response
Returns a SetRolePermissionOutput
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": "abc123",
"role_id": "abc123",
"tenant_id": "abc123"
}
Response
{
"data": {
"delete_role_permission": {
"id": "xyz789"
}
}
}
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
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": "abc123",
"status": "abc123",
"tenant_id": uuid,
"updated_at": timestamptz,
"verification_type": "abc123"
}
}
}
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": 987,
"returning": [area]
}
}
}
delete_sequent_backend_area_by_pk
Description
delete single row from the table: "sequent_backend.area"
Response
Returns an area
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": 987,
"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"
Response
Returns a ballot_publication_mutation_response
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
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": "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
}
}
}
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": 987,
"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
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": 123,
"returning": [candidate]
}
}
}
delete_sequent_backend_candidate_by_pk
Description
delete single row from the table: "sequent_backend.candidate"
Response
Returns a candidate
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
) {
alias
annotations
contest_id
created_at
description
election_event_id
id
image_document_id
is_public
labels
last_updated_at
name
presentation
tenant_id
type
}
}
Variables
{
"election_event_id": uuid,
"id": uuid,
"tenant_id": uuid
}
Response
{
"data": {
"delete_sequent_backend_candidate_by_pk": {
"alias": "abc123",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "abc123",
"is_public": true,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"presentation": jsonb,
"tenant_id": uuid,
"type": "xyz789"
}
}
}
delete_sequent_backend_cast_vote
Description
delete data from the table: "sequent_backend.cast_vote"
Response
Returns a cast_vote_mutation_response
Arguments
| Name | Description |
|---|---|
where - cast_vote_bool_exp!
|
filter the rows which have to be deleted |
Example
Query
mutation delete_sequent_backend_cast_vote($where: cast_vote_bool_exp!) {
delete_sequent_backend_cast_vote(where: $where) {
affected_rows
returning {
...cast_voteFragment
}
}
}
Variables
{"where": cast_vote_bool_exp}
Response
{
"data": {
"delete_sequent_backend_cast_vote": {
"affected_rows": 123,
"returning": [cast_vote]
}
}
}
delete_sequent_backend_cast_vote_by_pk
Description
delete single row from the table: "sequent_backend.cast_vote"
Response
Returns a cast_vote
Example
Query
mutation delete_sequent_backend_cast_vote_by_pk(
$election_event_id: uuid!,
$id: uuid!,
$tenant_id: uuid!
) {
delete_sequent_backend_cast_vote_by_pk(
election_event_id: $election_event_id,
id: $id,
tenant_id: $tenant_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
{
"election_event_id": uuid,
"id": uuid,
"tenant_id": uuid
}
Response
{
"data": {
"delete_sequent_backend_cast_vote_by_pk": {
"annotations": jsonb,
"area_id": uuid,
"ballot_id": "abc123",
"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": "xyz789"
}
}
}
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": 123,
"returning": [contest]
}
}
}
delete_sequent_backend_contest_by_pk
Description
delete single row from the table: "sequent_backend.contest"
Response
Returns a contest
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
) {
alias
annotations
candidates {
...candidateFragment
}
candidates_aggregate {
...candidate_aggregateFragment
}
conditions
counting_algorithm
created_at
description
election_event_id
election_id
id
image_document_id
is_acclaimed
is_active
is_encrypted
labels
last_updated_at
max_votes
min_votes
name
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": {
"alias": "abc123",
"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,
"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,
"name": "abc123",
"presentation": jsonb,
"tally_configuration": jsonb,
"tenant_id": uuid,
"voting_type": "xyz789",
"winning_candidates_num": 987
}
}
}
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"
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": "abc123",
"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
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
) {
alias
annotations
contests {
...contestFragment
}
contests_aggregate {
...contest_aggregateFragment
}
created_at
description
election_event_id
eml
id
image_document_id
initialization_report_generated
is_consolidated_ballot_encoding
is_kiosk
keys_ceremony_id
labels
last_updated_at
name
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": {
"alias": "xyz789",
"annotations": jsonb,
"contests": [contest],
"contests_aggregate": contest_aggregate,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"eml": "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,
"name": "xyz789",
"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
}
}
}
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) {
alias
annotations
audit_election_event_id
bulletin_board_reference
created_at
description
elections {
...electionFragment
}
elections_aggregate {
...election_aggregateFragment
}
encryption_protocol
id
is_archived
is_audit
labels
name
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": {
"alias": "abc123",
"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",
"id": uuid,
"is_archived": false,
"is_audit": false,
"labels": jsonb,
"name": "abc123",
"presentation": jsonb,
"public_key": "abc123",
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "xyz789",
"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": "abc123",
"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
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_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": 987,
"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
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": true,
"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": 987,
"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": 123,
"returning": [lock]
}
}
}
delete_sequent_backend_lock_by_pk
Description
delete single row from the table: "sequent_backend.lock"
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": "xyz789"}
Response
{
"data": {
"delete_sequent_backend_lock_by_pk": {
"created_at": timestamptz,
"expiry_date": timestamptz,
"key": "abc123",
"last_updated_at": timestamptz,
"value": "abc123"
}
}
}
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": "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": "abc123",
"updated_at": timestamptz
}
}
}
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": 123,
"returning": [report]
}
}
}
delete_sequent_backend_report_by_pk
Description
delete single row from the table: "sequent_backend.report"
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": "abc123",
"id": uuid,
"permission_label": ["xyz789"],
"report_type": "abc123",
"template_alias": "abc123",
"tenant_id": uuid
}
}
}
delete_sequent_backend_results_area_contest
Description
delete data from the table: "sequent_backend.results_area_contest"
Response
Returns a results_area_contest_mutation_response
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
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
blank_votes
blank_votes_percent
contest_id
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
implicit_invalid_votes
implicit_invalid_votes_percent
labels
last_updated_at
results_event_id
tenant_id
total_auditable_votes
total_auditable_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,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 987,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"total_votes_percent": numeric
}
}
}
delete_sequent_backend_results_area_contest_candidate
Description
delete data from the table: "sequent_backend.results_area_contest_candidate"
Response
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": 123,
"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
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": 123,
"results_event_id": uuid,
"tenant_id": uuid,
"winning_position": 987
}
}
}
delete_sequent_backend_results_contest
Description
delete data from the table: "sequent_backend.results_contest"
Response
Returns a results_contest_mutation_response
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": 123,
"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
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
blank_votes
blank_votes_percent
contest_id
counting_algorithm
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
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_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,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "abc123",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 123,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"total_votes_percent": numeric,
"voting_type": "abc123"
}
}
}
delete_sequent_backend_results_contest_candidate
Description
delete data from the table: "sequent_backend.results_contest_candidate"
Response
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": 123,
"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
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"
Response
Returns a results_election_mutation_response
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": 123,
"returning": [results_election]
}
}
}
delete_sequent_backend_results_election_area
Description
delete data from the table: "sequent_backend.results_election_area"
Response
Returns a results_election_area_mutation_response
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
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
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,
"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
}
}
}
delete_sequent_backend_results_election_by_pk
Description
delete single row from the table: "sequent_backend.results_election"
Response
Returns a results_election
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
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,
"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
}
}
}
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": 987,
"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
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": "xyz789",
"tenant_id": uuid
}
}
}
delete_sequent_backend_scheduled_event
Description
delete data from the table: "sequent_backend.scheduled_event"
Response
Returns a scheduled_event_mutation_response
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": "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
}
}
}
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": 987,
"returning": [secret]
}
}
}
delete_sequent_backend_secret_by_pk
Description
delete single row from the table: "sequent_backend.secret"
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": "xyz789",
"tenant_id": uuid
}
Response
{
"data": {
"delete_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
}
}
}
delete_sequent_backend_support_material
Description
delete data from the table: "sequent_backend.support_material"
Response
Returns a support_material_mutation_response
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
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": "abc123",
"election_event_id": uuid,
"id": uuid,
"is_hidden": false,
"kind": "abc123",
"labels": jsonb,
"last_updated_at": timestamptz,
"tenant_id": uuid
}
}
}
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": 987,
"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
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
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"],
"tally_type": "abc123",
"tenant_id": uuid,
"threshold": 123
}
}
}
delete_sequent_backend_tally_session_contest
Description
delete data from the table: "sequent_backend.tally_session_contest"
Response
Returns a tally_session_contest_mutation_response
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": 987,
"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
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"
Response
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": 987,
"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
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
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": 987,
"documents": jsonb,
"election_event_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"results_event_id": uuid,
"session_ids": [123],
"status": jsonb,
"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": 123,
"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
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
labels
last_updated_at
published_at
published_by_user_id
tenant_id
}
}
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": "abc123",
"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,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "xyz789",
"tenant_id": uuid
}
}
}
delete_sequent_backend_tasks_execution
Description
delete data from the table: "sequent_backend.tasks_execution"
Response
Returns a tasks_execution_mutation_response
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
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": "abc123",
"execution_status": "abc123",
"id": uuid,
"labels": jsonb,
"logs": json,
"name": "abc123",
"start_at": timestamptz,
"tenant": tenant,
"tenant_id": uuid,
"type": "abc123"
}
}
}
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"
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": "abc123",
"created_at": timestamptz,
"created_by": "xyz789",
"id": uuid,
"labels": jsonb,
"template": jsonb,
"tenant_id": uuid,
"type": "abc123",
"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": 123,
"returning": [tenant]
}
}
}
delete_sequent_backend_tenant_by_pk
Description
delete single row from the table: "sequent_backend.tenant"
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": false,
"labels": jsonb,
"settings": jsonb,
"slug": "xyz789",
"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"
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": "xyz789",
"public_key": "abc123",
"tenant_id": uuid
}
}
}
delete_user
Response
Returns a DeleteUserOutput
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": "abc123",
"tenant_id": "xyz789",
"user_id": "abc123"
}
Response
{"data": {"delete_user": {"id": "xyz789"}}}
delete_user_role
Response
Returns a SetUserRoleOutput
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": "abc123",
"tenant_id": "xyz789",
"user_id": "abc123"
}
Response
{
"data": {
"delete_user_role": {"id": "xyz789"}
}
}
delete_users
Description
delete users
Response
Returns a DeleteUsersOutput
Arguments
| Name | Description |
|---|---|
election_event_id - String
|
|
tenant_id - String!
|
|
users_id - [String!]!
|
Example
Query
mutation delete_users(
$election_event_id: String,
$tenant_id: String!,
$users_id: [String!]!
) {
delete_users(
election_event_id: $election_event_id,
tenant_id: $tenant_id,
users_id: $users_id
) {
ids
}
}
Variables
{
"election_event_id": "xyz789",
"tenant_id": "xyz789",
"users_id": ["xyz789"]
}
Response
{
"data": {
"delete_users": {"ids": "abc123"}
}
}
edit_user
Response
Returns a KeycloakUser!
Arguments
| Name | Description |
|---|---|
body - EditUsersInput!
|
Example
Query
mutation edit_user($body: EditUsersInput!) {
edit_user(body: $body) {
area {
...KeycloakUserAreaFragment
}
attributes
email
email_verified
enabled
first_name
groups
id
last_name
username
votes_info {
...VotesInfoFragment
}
}
}
Variables
{"body": EditUsersInput}
Response
{
"data": {
"edit_user": {
"area": KeycloakUserArea,
"attributes": jsonb,
"email": "abc123",
"email_verified": false,
"enabled": false,
"first_name": "xyz789",
"groups": ["xyz789"],
"id": "abc123",
"last_name": "xyz789",
"username": "abc123",
"votes_info": [VotesInfo]
}
}
}
encrypt_report
Response
Returns an EncryptReportOutput
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": "abc123",
"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": "abc123",
"error_msg": "abc123",
"task_execution": tasks_execution_type
}
}
}
export_application
Response
Returns an ExportApplicationOutput
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": "xyz789"
}
Response
{
"data": {
"export_application": {
"document_id": "abc123",
"error_msg": "abc123",
"task_execution": tasks_execution_type
}
}
}
export_ballot_publication
Response
Returns an ExportBallotPublicationOutput
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": "xyz789",
"election_event_id": "xyz789",
"election_id": "xyz789",
"tenant_id": "abc123"
}
Response
{
"data": {
"export_ballot_publication": {
"document_id": "xyz789",
"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": "abc123",
"password": "xyz789",
"task_execution": tasks_execution_type
}
}
}
export_election_event_logs
Response
Returns an ExportLogsOutput
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": "xyz789",
"format": "xyz789"
}
Response
{
"data": {
"export_election_event_logs": {
"document_id": "xyz789",
"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": "xyz789"
}
}
}
export_tally_results
Response
Returns an ExportTallyResultsOutput
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": "abc123"
}
Response
{
"data": {
"export_tally_results": {
"document_id": "abc123",
"error_msg": "xyz789",
"task_execution": tasks_execution_type
}
}
}
export_tasks_execution
Response
Returns an ExportTasksExecutionOutput
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": "abc123",
"tenant_id": "abc123"
}
Response
{
"data": {
"export_tasks_execution": {
"document_id": "xyz789",
"error_msg": "xyz789"
}
}
}
export_template
Response
Returns an ExportTemplateOutput
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": "xyz789"
}
Response
{
"data": {
"export_template": {
"document_id": "abc123",
"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": "xyz789"}
Response
{
"data": {
"export_tenant_config": {
"document_id": "xyz789",
"error_msg": "abc123",
"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": "xyz789"}
Response
{
"data": {
"export_tenant_users": {
"document_id": "xyz789",
"error_msg": "xyz789",
"task_execution": tasks_execution_type
}
}
}
export_users
Response
Returns an ExportUsersOutput
Example
Query
mutation export_users(
$election_event_id: String,
$election_id: String,
$tenant_id: String!
) {
export_users(
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": "xyz789",
"election_id": "abc123",
"tenant_id": "xyz789"
}
Response
{
"data": {
"export_users": {
"document_id": "abc123",
"error_msg": "abc123",
"task_execution": tasks_execution_type
}
}
}
generate_ballot_publication
Response
Returns a PublishBallotOutput
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
}
}
Variables
{
"election_event_id": uuid,
"election_id": uuid
}
Response
{
"data": {
"generate_ballot_publication": {
"ballot_publication_id": uuid
}
}
}
generate_google_meet
Description
generate Google Meet link for election events
Response
Returns a GenerateGoogleMeetOutput
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": "xyz789"
}
Response
{
"data": {
"generate_google_meet": {
"meet_link": "xyz789"
}
}
}
generate_report
Response
Returns a generateReportOutput
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": "abc123",
"report_id": "xyz789",
"report_mode": "xyz789",
"tenant_id": "abc123"
}
Response
{
"data": {
"generate_report": {
"document_id": "abc123",
"encryption_policy": "configured_password",
"task_execution": tasks_execution_type
}
}
}
generate_template
Response
Returns a GenerateTemplateOutput
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": "abc123",
"type": "xyz789"
}
Response
{
"data": {
"generate_template": {
"document_id": "xyz789",
"task_execution": tasks_execution_type
}
}
}
generate_transmission_report
Response
Returns a generateReportOutput
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": "abc123"
}
Response
{
"data": {
"generate_transmission_report": {
"document_id": "abc123",
"encryption_policy": "configured_password",
"task_execution": tasks_execution_type
}
}
}
get_ballot_publication_changes
Response
Returns a GetBallotPublicationChangesOutput
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": 123
}
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": "xyz789"
}
}
}
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
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": true,
"media_type": "abc123",
"name": "xyz789",
"size": 987
}
Response
{
"data": {
"get_upload_url": {
"document_id": "xyz789",
"url": "xyz789"
}
}
}
get_user
Response
Returns a KeycloakUser!
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": "xyz789"
}
Response
{
"data": {
"get_user": {
"area": KeycloakUserArea,
"attributes": jsonb,
"email": "abc123",
"email_verified": false,
"enabled": false,
"first_name": "abc123",
"groups": ["xyz789"],
"id": "abc123",
"last_name": "xyz789",
"username": "abc123",
"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": "abc123"}
Response
{
"data": {
"get_user_template": {
"extra_config": "xyz789",
"template_hbs": "abc123"
}
}
}
import_application
Response
Returns an applicationOutput
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": "abc123",
"election_event_id": "xyz789",
"election_id": "abc123",
"sha256": "xyz789",
"tenant_id": "xyz789"
}
Response
{
"data": {
"import_application": {
"document_id": "abc123",
"error_msg": "abc123",
"task_execution": tasks_execution_type
}
}
}
import_areas
Response
Returns an OptionalId
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": "abc123",
"election_event_id": "xyz789",
"sha256": "xyz789"
}
Response
{"data": {"import_areas": {"id": "xyz789"}}}
import_candidates
Response
Returns a documentTaskOutput
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": "xyz789",
"sha256": "xyz789"
}
Response
{
"data": {
"import_candidates": {
"document_id": "xyz789",
"error_msg": "xyz789",
"task_execution": tasks_execution_type
}
}
}
import_election_event
Description
import_election_event
Response
Returns an OptionalImportEvent
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": "abc123"
}
Response
{
"data": {
"import_election_event": {
"error": "abc123",
"id": "abc123",
"message": "abc123",
"task_execution": tasks_execution_type
}
}
}
import_templates
Response
Returns a templateOutput
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": "abc123",
"import_configurations": ImportOptions,
"sha256": "abc123",
"tenant_id": "abc123"
}
Response
{
"data": {
"import_tenant_config": {
"error": "xyz789",
"message": "xyz789",
"task_execution": tasks_execution_type
}
}
}
import_users
Response
Returns a taskOutput
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": "abc123",
"sha256": "xyz789",
"tenant_id": "abc123"
}
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": "xyz789",
"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
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": "xyz789",
"content": "abc123",
"election_id": uuid
}
Response
{
"data": {
"insert_cast_vote": {
"annotations": jsonb,
"area_id": uuid,
"ballot_id": "abc123",
"cast_ballot_signature": bytea,
"content": "abc123",
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"tenant_id": uuid,
"voter_id_string": "xyz789"
}
}
}
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": "xyz789"
}
}
}
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": 987,
"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": 123,
"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": "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"
}
}
}
insert_sequent_backend_ballot_publication
Description
insert data into the table: "sequent_backend.ballot_publication"
Response
Returns a ballot_publication_mutation_response
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": 123,
"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": "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
}
}
}
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": 123,
"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": "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
}
}
}
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": 987,
"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
) {
alias
annotations
contest_id
created_at
description
election_event_id
id
image_document_id
is_public
labels
last_updated_at
name
presentation
tenant_id
type
}
}
Variables
{
"object": candidate_insert_input,
"on_conflict": candidate_on_conflict
}
Response
{
"data": {
"insert_sequent_backend_candidate_one": {
"alias": "abc123",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "xyz789",
"is_public": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"presentation": jsonb,
"tenant_id": uuid,
"type": "xyz789"
}
}
}
insert_sequent_backend_cast_vote
Description
insert data into the table: "sequent_backend.cast_vote"
Response
Returns a cast_vote_mutation_response
Arguments
| Name | Description |
|---|---|
objects - [cast_vote_insert_input!]!
|
the rows to be inserted |
on_conflict - cast_vote_on_conflict
|
upsert condition |
Example
Query
mutation insert_sequent_backend_cast_vote(
$objects: [cast_vote_insert_input!]!,
$on_conflict: cast_vote_on_conflict
) {
insert_sequent_backend_cast_vote(
objects: $objects,
on_conflict: $on_conflict
) {
affected_rows
returning {
...cast_voteFragment
}
}
}
Variables
{
"objects": [cast_vote_insert_input],
"on_conflict": cast_vote_on_conflict
}
Response
{
"data": {
"insert_sequent_backend_cast_vote": {
"affected_rows": 987,
"returning": [cast_vote]
}
}
}
insert_sequent_backend_cast_vote_one
Description
insert a single row into the table: "sequent_backend.cast_vote"
Response
Returns a cast_vote
Arguments
| Name | Description |
|---|---|
object - cast_vote_insert_input!
|
the row to be inserted |
on_conflict - cast_vote_on_conflict
|
upsert condition |
Example
Query
mutation insert_sequent_backend_cast_vote_one(
$object: cast_vote_insert_input!,
$on_conflict: cast_vote_on_conflict
) {
insert_sequent_backend_cast_vote_one(
object: $object,
on_conflict: $on_conflict
) {
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
{
"object": cast_vote_insert_input,
"on_conflict": cast_vote_on_conflict
}
Response
{
"data": {
"insert_sequent_backend_cast_vote_one": {
"annotations": jsonb,
"area_id": uuid,
"ballot_id": "abc123",
"cast_ballot_signature": bytea,
"content": "abc123",
"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_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
) {
alias
annotations
candidates {
...candidateFragment
}
candidates_aggregate {
...candidate_aggregateFragment
}
conditions
counting_algorithm
created_at
description
election_event_id
election_id
id
image_document_id
is_acclaimed
is_active
is_encrypted
labels
last_updated_at
max_votes
min_votes
name
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": {
"alias": "abc123",
"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,
"id": uuid,
"image_document_id": "xyz789",
"is_acclaimed": true,
"is_active": true,
"is_encrypted": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"max_votes": 987,
"min_votes": 123,
"name": "xyz789",
"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
) {
alias
annotations
audit_election_event_id
bulletin_board_reference
created_at
description
elections {
...electionFragment
}
elections_aggregate {
...election_aggregateFragment
}
encryption_protocol
id
is_archived
is_audit
labels
name
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": {
"alias": "abc123",
"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",
"id": uuid,
"is_archived": false,
"is_audit": false,
"labels": jsonb,
"name": "abc123",
"presentation": jsonb,
"public_key": "xyz789",
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "xyz789",
"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
) {
alias
annotations
contests {
...contestFragment
}
contests_aggregate {
...contest_aggregateFragment
}
created_at
description
election_event_id
eml
id
image_document_id
initialization_report_generated
is_consolidated_ballot_encoding
is_kiosk
keys_ceremony_id
labels
last_updated_at
name
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": {
"alias": "abc123",
"annotations": jsonb,
"contests": [contest],
"contests_aggregate": contest_aggregate,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"eml": "abc123",
"id": uuid,
"image_document_id": "xyz789",
"initialization_report_generated": false,
"is_consolidated_ballot_encoding": true,
"is_kiosk": false,
"keys_ceremony_id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"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": "abc123",
"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": "abc123",
"tenant_id": uuid,
"updated_at": timestamptz
}
}
}
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": "abc123",
"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": 123,
"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": 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": 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": "xyz789",
"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_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": "xyz789",
"template_alias": "xyz789",
"tenant_id": uuid
}
}
}
insert_sequent_backend_results_area_contest
Description
insert data into the table: "sequent_backend.results_area_contest"
Response
Returns a results_area_contest_mutation_response
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": 987,
"returning": [results_area_contest]
}
}
}
insert_sequent_backend_results_area_contest_candidate
Description
insert data into the table: "sequent_backend.results_area_contest_candidate"
Response
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": 123,
"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": 123
}
}
}
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
blank_votes
blank_votes_percent
contest_id
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
implicit_invalid_votes
implicit_invalid_votes_percent
labels
last_updated_at
results_event_id
tenant_id
total_auditable_votes
total_auditable_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,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 987,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 987,
"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"
Response
Returns a results_contest_mutation_response
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"
Response
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": 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
}
}
}
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
blank_votes
blank_votes_percent
contest_id
counting_algorithm
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
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_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,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "abc123",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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": 987,
"total_auditable_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"
Response
Returns a results_election_mutation_response
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": 987,
"returning": [results_election]
}
}
}
insert_sequent_backend_results_election_area
Description
insert data into the table: "sequent_backend.results_election_area"
Response
Returns a results_election_area_mutation_response
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
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,
"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
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,
"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
}
}
}
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": 987,
"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"
Response
Returns a scheduled_event_mutation_response
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": "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
}
}
}
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": "abc123",
"labels": jsonb,
"tenant_id": uuid,
"value": bytea
}
}
}
insert_sequent_backend_support_material
Description
insert data into the table: "sequent_backend.support_material"
Response
Returns a support_material_mutation_response
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": "xyz789",
"election_event_id": uuid,
"id": uuid,
"is_hidden": true,
"kind": "xyz789",
"labels": jsonb,
"last_updated_at": timestamptz,
"tenant_id": uuid
}
}
}
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": 123,
"returning": [tally_session]
}
}
}
insert_sequent_backend_tally_session_contest
Description
insert data into the table: "sequent_backend.tally_session_contest"
Response
Returns a tally_session_contest_mutation_response
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": 123,
"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"
Response
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": 987,
"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
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,
"session_ids": [987],
"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
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"],
"tally_type": "abc123",
"tenant_id": uuid,
"threshold": 987
}
}
}
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": 987,
"returning": [tally_sheet]
}
}
}
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
labels
last_updated_at
published_at
published_by_user_id
tenant_id
}
}
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": "abc123",
"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,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "xyz789",
"tenant_id": uuid
}
}
}
insert_sequent_backend_tasks_execution
Description
insert data into the table: "sequent_backend.tasks_execution"
Response
Returns a tasks_execution_mutation_response
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": "xyz789",
"start_at": timestamptz,
"tenant": tenant,
"tenant_id": uuid,
"type": "xyz789"
}
}
}
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": 123,
"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": 123,
"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": false,
"labels": jsonb,
"settings": jsonb,
"slug": "abc123",
"test": 987,
"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": "xyz789",
"public_key": "xyz789",
"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": ["abc123"],
"voting_countries": ["xyz789"]
}
Response
{"data": {"limit_access_by_countries": {"success": true}}}
manage_election_dates
Response
Returns a ManageElectionDatesOutput
Example
Query
mutation manage_election_dates(
$election_event_id: String!,
$election_id: String,
$event_processor: String!,
$scheduled_date: String
) {
manage_election_dates(
election_event_id: $election_event_id,
election_id: $election_id,
event_processor: $event_processor,
scheduled_date: $scheduled_date
) {
error_msg
}
}
Variables
{
"election_event_id": "abc123",
"election_id": "xyz789",
"event_processor": "xyz789",
"scheduled_date": "abc123"
}
Response
{
"data": {
"manage_election_dates": {
"error_msg": "xyz789"
}
}
}
prepare_ballot_publication_preview
Response
Returns a PrepareBallotPublicationPreviewOutput
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": "abc123",
"election_event_id": "xyz789"
}
Response
{
"data": {
"prepare_ballot_publication_preview": {
"document_id": "abc123",
"error_msg": "xyz789",
"task_execution": tasks_execution_type
}
}
}
publish_ballot
Response
Returns a PublishBallotOutput
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}
}
}
publish_tally_sheet
Description
publish_tally_sheet
Response
Returns a PublishTallyOutput
Example
Query
mutation publish_tally_sheet(
$election_event_id: uuid!,
$publish: Boolean,
$tally_sheet_id: uuid!
) {
publish_tally_sheet(
election_event_id: $election_event_id,
publish: $publish,
tally_sheet_id: $tally_sheet_id
) {
tally_sheet_id
}
}
Variables
{
"election_event_id": uuid,
"publish": true,
"tally_sheet_id": uuid
}
Response
{
"data": {
"publish_tally_sheet": {"tally_sheet_id": uuid}
}
}
render_document_pdf
Response
Returns a RenderDocumentPDFOutput
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}}}
send_transmission_package
Response
Returns an OptionalId
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": "xyz789"
}
}
}
set_custom_urls
Response
Returns a SetCustomUrlsOutput
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": "abc123",
"election_id": "abc123",
"key": "xyz789",
"origin": "xyz789",
"redirect_to": "xyz789"
}
Response
{
"data": {
"set_custom_urls": {
"message": "abc123",
"success": false
}
}
}
set_role_permission
Response
Returns a SetRolePermissionOutput
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": "xyz789",
"tenant_id": "xyz789"
}
Response
{
"data": {
"set_role_permission": {"id": "xyz789"}
}
}
set_user_role
Response
Returns a SetUserRoleOutput
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": "xyz789",
"user_id": "abc123"
}
Response
{
"data": {
"set_user_role": {"id": "abc123"}
}
}
set_voter_authentication
Response
Returns a SetVoterAuthenticationOutput
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
}
}
}
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_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": "xyz789",
"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"
Response
Returns [applications_mutation_response]
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": 987, "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": "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"
}
}
}
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": 987,
"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"
Response
Returns [area_contest_mutation_response]
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"
Response
Returns a ballot_publication_mutation_response
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": 123,
"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": "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
}
}
}
update_sequent_backend_ballot_publication_many
Description
update multiples rows of table: "sequent_backend.ballot_publication"
Response
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"
Response
Returns [ballot_style_mutation_response]
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
) {
alias
annotations
contest_id
created_at
description
election_event_id
id
image_document_id
is_public
labels
last_updated_at
name
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": {
"alias": "xyz789",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "xyz789",
"is_public": true,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"presentation": jsonb,
"tenant_id": uuid,
"type": "abc123"
}
}
}
update_sequent_backend_candidate_many
Description
update multiples rows of table: "sequent_backend.candidate"
Response
Returns [candidate_mutation_response]
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": 123, "returning": [candidate]}
]
}
}
update_sequent_backend_cast_vote
Description
update data of the table: "sequent_backend.cast_vote"
Response
Returns a cast_vote_mutation_response
Arguments
| Name | Description |
|---|---|
_append - cast_vote_append_input
|
append existing jsonb value of filtered columns with new jsonb value |
_delete_at_path - cast_vote_delete_at_path_input
|
delete the field or element with specified path (for JSON arrays, negative integers count from the end) |
_delete_elem - cast_vote_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 - cast_vote_delete_key_input
|
delete key/value pair or string element. key/value pairs are matched based on their key value |
_prepend - cast_vote_prepend_input
|
prepend existing jsonb value of filtered columns with new jsonb value |
_set - cast_vote_set_input
|
sets the columns of the filtered rows to the given values |
where - cast_vote_bool_exp!
|
filter the rows which have to be updated |
Example
Query
mutation update_sequent_backend_cast_vote(
$_append: cast_vote_append_input,
$_delete_at_path: cast_vote_delete_at_path_input,
$_delete_elem: cast_vote_delete_elem_input,
$_delete_key: cast_vote_delete_key_input,
$_prepend: cast_vote_prepend_input,
$_set: cast_vote_set_input,
$where: cast_vote_bool_exp!
) {
update_sequent_backend_cast_vote(
_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 {
...cast_voteFragment
}
}
}
Variables
{
"_append": cast_vote_append_input,
"_delete_at_path": cast_vote_delete_at_path_input,
"_delete_elem": cast_vote_delete_elem_input,
"_delete_key": cast_vote_delete_key_input,
"_prepend": cast_vote_prepend_input,
"_set": cast_vote_set_input,
"where": cast_vote_bool_exp
}
Response
{
"data": {
"update_sequent_backend_cast_vote": {
"affected_rows": 987,
"returning": [cast_vote]
}
}
}
update_sequent_backend_cast_vote_by_pk
Description
update single row of the table: "sequent_backend.cast_vote"
Response
Returns a cast_vote
Arguments
| Name | Description |
|---|---|
_append - cast_vote_append_input
|
append existing jsonb value of filtered columns with new jsonb value |
_delete_at_path - cast_vote_delete_at_path_input
|
delete the field or element with specified path (for JSON arrays, negative integers count from the end) |
_delete_elem - cast_vote_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 - cast_vote_delete_key_input
|
delete key/value pair or string element. key/value pairs are matched based on their key value |
_prepend - cast_vote_prepend_input
|
prepend existing jsonb value of filtered columns with new jsonb value |
_set - cast_vote_set_input
|
sets the columns of the filtered rows to the given values |
pk_columns - cast_vote_pk_columns_input!
|
Example
Query
mutation update_sequent_backend_cast_vote_by_pk(
$_append: cast_vote_append_input,
$_delete_at_path: cast_vote_delete_at_path_input,
$_delete_elem: cast_vote_delete_elem_input,
$_delete_key: cast_vote_delete_key_input,
$_prepend: cast_vote_prepend_input,
$_set: cast_vote_set_input,
$pk_columns: cast_vote_pk_columns_input!
) {
update_sequent_backend_cast_vote_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_id
cast_ballot_signature
content
created_at
election_event_id
election_id
id
labels
last_updated_at
tenant_id
voter_id_string
}
}
Variables
{
"_append": cast_vote_append_input,
"_delete_at_path": cast_vote_delete_at_path_input,
"_delete_elem": cast_vote_delete_elem_input,
"_delete_key": cast_vote_delete_key_input,
"_prepend": cast_vote_prepend_input,
"_set": cast_vote_set_input,
"pk_columns": cast_vote_pk_columns_input
}
Response
{
"data": {
"update_sequent_backend_cast_vote_by_pk": {
"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"
}
}
}
update_sequent_backend_cast_vote_many
Description
update multiples rows of table: "sequent_backend.cast_vote"
Response
Returns [cast_vote_mutation_response]
Arguments
| Name | Description |
|---|---|
updates - [cast_vote_updates!]!
|
updates to execute, in order |
Example
Query
mutation update_sequent_backend_cast_vote_many($updates: [cast_vote_updates!]!) {
update_sequent_backend_cast_vote_many(updates: $updates) {
affected_rows
returning {
...cast_voteFragment
}
}
}
Variables
{"updates": [cast_vote_updates]}
Response
{
"data": {
"update_sequent_backend_cast_vote_many": [
{"affected_rows": 123, "returning": [cast_vote]}
]
}
}
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": 123,
"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
) {
alias
annotations
candidates {
...candidateFragment
}
candidates_aggregate {
...candidate_aggregateFragment
}
conditions
counting_algorithm
created_at
description
election_event_id
election_id
id
image_document_id
is_acclaimed
is_active
is_encrypted
labels
last_updated_at
max_votes
min_votes
name
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": {
"alias": "xyz789",
"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,
"id": uuid,
"image_document_id": "abc123",
"is_acclaimed": false,
"is_active": true,
"is_encrypted": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"max_votes": 987,
"min_votes": 123,
"name": "xyz789",
"presentation": jsonb,
"tally_configuration": jsonb,
"tenant_id": uuid,
"voting_type": "xyz789",
"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": 987,
"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": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"media_type": "abc123",
"name": "abc123",
"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": 987,
"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
) {
alias
annotations
contests {
...contestFragment
}
contests_aggregate {
...contest_aggregateFragment
}
created_at
description
election_event_id
eml
id
image_document_id
initialization_report_generated
is_consolidated_ballot_encoding
is_kiosk
keys_ceremony_id
labels
last_updated_at
name
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": {
"alias": "xyz789",
"annotations": jsonb,
"contests": [contest],
"contests_aggregate": contest_aggregate,
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"eml": "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,
"name": "xyz789",
"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
}
}
}
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": 987,
"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
) {
alias
annotations
audit_election_event_id
bulletin_board_reference
created_at
description
elections {
...electionFragment
}
elections_aggregate {
...election_aggregateFragment
}
encryption_protocol
id
is_archived
is_audit
labels
name
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": {
"alias": "abc123",
"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",
"id": uuid,
"is_archived": true,
"is_audit": false,
"labels": jsonb,
"name": "xyz789",
"presentation": jsonb,
"public_key": "xyz789",
"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"
Response
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": 123, "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": "abc123",
"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"
Response
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": 123,
"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"
Response
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": 987, "returning": [election_type]}
]
}
}
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": 123,
"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"
Response
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": 987,
"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": "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]
}
}
}
update_sequent_backend_keys_ceremony_many
Description
update multiples rows of table: "sequent_backend.keys_ceremony"
Response
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": 123, "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": 987,
"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": "xyz789",
"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": 987, "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": 123,
"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": "abc123",
"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"
Response
Returns [notification_mutation_response]
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": 987, "returning": [notification]}
]
}
}
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": "abc123",
"id": uuid,
"permission_label": ["xyz789"],
"report_type": "xyz789",
"template_alias": "xyz789",
"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"
Response
Returns a results_area_contest_mutation_response
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
blank_votes
blank_votes_percent
contest_id
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
implicit_invalid_votes
implicit_invalid_votes_percent
labels
last_updated_at
results_event_id
tenant_id
total_auditable_votes
total_auditable_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,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 987,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 987,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"total_votes_percent": numeric
}
}
}
update_sequent_backend_results_area_contest_candidate
Description
update data of the table: "sequent_backend.results_area_contest_candidate"
Response
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": 123,
"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": 987
}
}
}
update_sequent_backend_results_area_contest_candidate_many
Description
update multiples rows of table: "sequent_backend.results_area_contest_candidate"
Response
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": 123,
"returning": [results_area_contest_candidate]
}
]
}
}
update_sequent_backend_results_area_contest_many
Description
update multiples rows of table: "sequent_backend.results_area_contest"
Response
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"
Response
Returns a results_contest_mutation_response
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
blank_votes
blank_votes_percent
contest_id
counting_algorithm
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
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_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,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "abc123",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 123,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"total_votes_percent": numeric,
"voting_type": "xyz789"
}
}
}
update_sequent_backend_results_contest_candidate
Description
update data of the table: "sequent_backend.results_contest_candidate"
Response
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": 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
}
}
}
update_sequent_backend_results_contest_candidate_many
Description
update multiples rows of table: "sequent_backend.results_contest_candidate"
Response
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"
Response
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": 987,
"returning": [results_contest]
}
]
}
}
update_sequent_backend_results_election
Description
update data of the table: "sequent_backend.results_election"
Response
Returns a results_election_mutation_response
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"
Response
Returns a results_election_area_mutation_response
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 |
_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,
$_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,
_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,
"_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 |
_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,
$_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,
_prepend: $_prepend,
_set: $_set,
pk_columns: $pk_columns
) {
area_id
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,
"_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,
"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
}
}
}
update_sequent_backend_results_election_area_many
Description
update multiples rows of table: "sequent_backend.results_election_area"
Response
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
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,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"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"
Response
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": "xyz789",
"tenant_id": uuid
}
}
}
update_sequent_backend_results_event_many
Description
update multiples rows of table: "sequent_backend.results_event"
Response
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"
Response
Returns a scheduled_event_mutation_response
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": 123,
"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"
Response
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": "abc123",
"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": 123, "returning": [secret]}
]
}
}
update_sequent_backend_support_material
Description
update data of the table: "sequent_backend.support_material"
Response
Returns a support_material_mutation_response
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": "abc123",
"election_event_id": uuid,
"id": uuid,
"is_hidden": false,
"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"
Response
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_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": 123,
"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
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": "abc123",
"id": uuid,
"is_execution_completed": true,
"keys_ceremony_id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"permission_label": ["xyz789"],
"tally_type": "xyz789",
"tenant_id": uuid,
"threshold": 123
}
}
}
update_sequent_backend_tally_session_contest
Description
update data of the table: "sequent_backend.tally_session_contest"
Response
Returns a tally_session_contest_mutation_response
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"
Response
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"
Response
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
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,
"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"
Response
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"
Response
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_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 |
_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,
$_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,
_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,
"_prepend": tally_sheet_prepend_input,
"_set": tally_sheet_set_input,
"where": tally_sheet_bool_exp
}
Response
{
"data": {
"update_sequent_backend_tally_sheet": {
"affected_rows": 987,
"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 |
_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,
$_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,
_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
labels
last_updated_at
published_at
published_by_user_id
tenant_id
}
}
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,
"_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": "abc123",
"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,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "xyz789",
"tenant_id": uuid
}
}
}
update_sequent_backend_tally_sheet_many
Description
update multiples rows of table: "sequent_backend.tally_sheet"
Response
Returns [tally_sheet_mutation_response]
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": 123, "returning": [tally_sheet]}
]
}
}
update_sequent_backend_tasks_execution
Description
update data of the table: "sequent_backend.tasks_execution"
Response
Returns a tasks_execution_mutation_response
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": "xyz789",
"id": uuid,
"labels": jsonb,
"logs": json,
"name": "xyz789",
"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"
Response
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": 987,
"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": 987,
"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": "abc123",
"annotations": jsonb,
"communication_method": "xyz789",
"created_at": timestamptz,
"created_by": "xyz789",
"id": uuid,
"labels": jsonb,
"template": jsonb,
"tenant_id": uuid,
"type": "abc123",
"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": 987,
"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": false,
"labels": jsonb,
"settings": jsonb,
"slug": "xyz789",
"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": 987, "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": "xyz789",
"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": 123, "returning": [trustee]}
]
}
}
update_tally_ceremony
Response
Returns a StartTallyOutput
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
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": "abc123",
"tally_session_id": uuid
}
Response
{
"data": {
"upload_signature": {"id": "xyz789"}
}
}
upsert_area
Response
Returns an UpsertAreaOutput
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": ["xyz789"],
"description": "xyz789",
"election_event_id": "xyz789",
"id": "abc123",
"labels": jsonb,
"name": "xyz789",
"parent_id": "abc123",
"tenant_id": "abc123",
"type": "xyz789"
}
Response
{"data": {"upsert_area": {"id": "xyz789"}}}
upsert_areas
Description
upsert_areas
Response
Returns an OptionalId
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": "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_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": 987,
"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
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": "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_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": 123,
"cursor": [applications_stream_cursor_input],
"where": applications_bool_exp
}
Response
{
"data": {
"sequent_backend_applications_stream": [
{
"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"
}
]
}
}
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": 987,
"offset": 987,
"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": 987,
"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
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": "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
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": 987,
"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": 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
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": 123,
"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": "xyz789",
"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": 123,
"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": true,
"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
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": "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_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": 987,
"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": 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": "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": 123,
"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
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": "abc123",
"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": 987,
"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": "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
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
) {
alias
annotations
contest_id
created_at
description
election_event_id
id
image_document_id
is_public
labels
last_updated_at
name
presentation
tenant_id
type
}
}
Variables
{
"distinct_on": ["alias"],
"limit": 987,
"offset": 123,
"order_by": [candidate_order_by],
"where": candidate_bool_exp
}
Response
{
"data": {
"sequent_backend_candidate": [
{
"alias": "abc123",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "xyz789",
"is_public": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"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": ["alias"],
"limit": 123,
"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
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
) {
alias
annotations
contest_id
created_at
description
election_event_id
id
image_document_id
is_public
labels
last_updated_at
name
presentation
tenant_id
type
}
}
Variables
{
"election_event_id": uuid,
"id": uuid,
"tenant_id": uuid
}
Response
{
"data": {
"sequent_backend_candidate_by_pk": {
"alias": "xyz789",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "abc123",
"is_public": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"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
) {
alias
annotations
contest_id
created_at
description
election_event_id
id
image_document_id
is_public
labels
last_updated_at
name
presentation
tenant_id
type
}
}
Variables
{
"batch_size": 123,
"cursor": [candidate_stream_cursor_input],
"where": candidate_bool_exp
}
Response
{
"data": {
"sequent_backend_candidate_stream": [
{
"alias": "xyz789",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "xyz789",
"is_public": true,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"presentation": jsonb,
"tenant_id": uuid,
"type": "abc123"
}
]
}
}
sequent_backend_cast_vote
Description
fetch data from the table: "sequent_backend.cast_vote"
Response
Returns [cast_vote!]!
Arguments
| Name | Description |
|---|---|
distinct_on - [cast_vote_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 - [cast_vote_order_by!]
|
sort the rows by one or more columns |
where - cast_vote_bool_exp
|
filter the rows returned |
Example
Query
subscription sequent_backend_cast_vote(
$distinct_on: [cast_vote_select_column!],
$limit: Int,
$offset: Int,
$order_by: [cast_vote_order_by!],
$where: cast_vote_bool_exp
) {
sequent_backend_cast_vote(
distinct_on: $distinct_on,
limit: $limit,
offset: $offset,
order_by: $order_by,
where: $where
) {
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
{
"distinct_on": ["annotations"],
"limit": 123,
"offset": 987,
"order_by": [cast_vote_order_by],
"where": cast_vote_bool_exp
}
Response
{
"data": {
"sequent_backend_cast_vote": [
{
"annotations": jsonb,
"area_id": uuid,
"ballot_id": "xyz789",
"cast_ballot_signature": bytea,
"content": "abc123",
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"tenant_id": uuid,
"voter_id_string": "xyz789"
}
]
}
}
sequent_backend_cast_vote_aggregate
Description
fetch aggregated fields from the table: "sequent_backend.cast_vote"
Response
Returns a cast_vote_aggregate!
Arguments
| Name | Description |
|---|---|
distinct_on - [cast_vote_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 - [cast_vote_order_by!]
|
sort the rows by one or more columns |
where - cast_vote_bool_exp
|
filter the rows returned |
Example
Query
subscription sequent_backend_cast_vote_aggregate(
$distinct_on: [cast_vote_select_column!],
$limit: Int,
$offset: Int,
$order_by: [cast_vote_order_by!],
$where: cast_vote_bool_exp
) {
sequent_backend_cast_vote_aggregate(
distinct_on: $distinct_on,
limit: $limit,
offset: $offset,
order_by: $order_by,
where: $where
) {
aggregate {
...cast_vote_aggregate_fieldsFragment
}
nodes {
...cast_voteFragment
}
}
}
Variables
{
"distinct_on": ["annotations"],
"limit": 123,
"offset": 123,
"order_by": [cast_vote_order_by],
"where": cast_vote_bool_exp
}
Response
{
"data": {
"sequent_backend_cast_vote_aggregate": {
"aggregate": cast_vote_aggregate_fields,
"nodes": [cast_vote]
}
}
}
sequent_backend_cast_vote_by_pk
Description
fetch data from the table: "sequent_backend.cast_vote" using primary key columns
Response
Returns a cast_vote
Example
Query
subscription sequent_backend_cast_vote_by_pk(
$election_event_id: uuid!,
$id: uuid!,
$tenant_id: uuid!
) {
sequent_backend_cast_vote_by_pk(
election_event_id: $election_event_id,
id: $id,
tenant_id: $tenant_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
{
"election_event_id": uuid,
"id": uuid,
"tenant_id": uuid
}
Response
{
"data": {
"sequent_backend_cast_vote_by_pk": {
"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": "xyz789"
}
}
}
sequent_backend_cast_vote_stream
Description
fetch data from the table in a streaming manner: "sequent_backend.cast_vote"
Response
Returns [cast_vote!]!
Arguments
| Name | Description |
|---|---|
batch_size - Int!
|
maximum number of rows returned in a single batch |
cursor - [cast_vote_stream_cursor_input]!
|
cursor to stream the results returned by the query |
where - cast_vote_bool_exp
|
filter the rows returned |
Example
Query
subscription sequent_backend_cast_vote_stream(
$batch_size: Int!,
$cursor: [cast_vote_stream_cursor_input]!,
$where: cast_vote_bool_exp
) {
sequent_backend_cast_vote_stream(
batch_size: $batch_size,
cursor: $cursor,
where: $where
) {
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
{
"batch_size": 987,
"cursor": [cast_vote_stream_cursor_input],
"where": cast_vote_bool_exp
}
Response
{
"data": {
"sequent_backend_cast_vote_stream": [
{
"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": "xyz789"
}
]
}
}
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
) {
alias
annotations
candidates {
...candidateFragment
}
candidates_aggregate {
...candidate_aggregateFragment
}
conditions
counting_algorithm
created_at
description
election_event_id
election_id
id
image_document_id
is_acclaimed
is_active
is_encrypted
labels
last_updated_at
max_votes
min_votes
name
presentation
tally_configuration
tenant_id
voting_type
winning_candidates_num
}
}
Variables
{
"distinct_on": ["alias"],
"limit": 123,
"offset": 987,
"order_by": [contest_order_by],
"where": contest_bool_exp
}
Response
{
"data": {
"sequent_backend_contest": [
{
"alias": "abc123",
"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,
"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": 987,
"name": "abc123",
"presentation": jsonb,
"tally_configuration": jsonb,
"tenant_id": uuid,
"voting_type": "abc123",
"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": ["alias"],
"limit": 123,
"offset": 987,
"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
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
) {
alias
annotations
candidates {
...candidateFragment
}
candidates_aggregate {
...candidate_aggregateFragment
}
conditions
counting_algorithm
created_at
description
election_event_id
election_id
id
image_document_id
is_acclaimed
is_active
is_encrypted
labels
last_updated_at
max_votes
min_votes
name
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": {
"alias": "xyz789",
"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,
"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,
"name": "abc123",
"presentation": jsonb,
"tally_configuration": jsonb,
"tenant_id": uuid,
"voting_type": "xyz789",
"winning_candidates_num": 987
}
}
}
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
) {
alias
annotations
candidates {
...candidateFragment
}
candidates_aggregate {
...candidate_aggregateFragment
}
conditions
counting_algorithm
created_at
description
election_event_id
election_id
id
image_document_id
is_acclaimed
is_active
is_encrypted
labels
last_updated_at
max_votes
min_votes
name
presentation
tally_configuration
tenant_id
voting_type
winning_candidates_num
}
}
Variables
{
"batch_size": 123,
"cursor": [contest_stream_cursor_input],
"where": contest_bool_exp
}
Response
{
"data": {
"sequent_backend_contest_stream": [
{
"alias": "abc123",
"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,
"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": 987,
"name": "xyz789",
"presentation": jsonb,
"tally_configuration": jsonb,
"tenant_id": uuid,
"voting_type": "xyz789",
"winning_candidates_num": 987
}
]
}
}
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": 987,
"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": "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
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": 123,
"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
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": 123,
"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
) {
alias
annotations
contests {
...contestFragment
}
contests_aggregate {
...contest_aggregateFragment
}
created_at
description
election_event_id
eml
id
image_document_id
initialization_report_generated
is_consolidated_ballot_encoding
is_kiosk
keys_ceremony_id
labels
last_updated_at
name
num_allowed_revotes
permission_label
presentation
receipts
spoil_ballot_option
statistics
status
tenant_id
voting_channels
}
}
Variables
{
"distinct_on": ["alias"],
"limit": 123,
"offset": 123,
"order_by": [election_order_by],
"where": election_bool_exp
}
Response
{
"data": {
"sequent_backend_election": [
{
"alias": "abc123",
"annotations": jsonb,
"contests": [contest],
"contests_aggregate": contest_aggregate,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"eml": "xyz789",
"id": uuid,
"image_document_id": "abc123",
"initialization_report_generated": true,
"is_consolidated_ballot_encoding": true,
"is_kiosk": true,
"keys_ceremony_id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"num_allowed_revotes": 123,
"permission_label": "abc123",
"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": ["alias"],
"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
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
) {
alias
annotations
contests {
...contestFragment
}
contests_aggregate {
...contest_aggregateFragment
}
created_at
description
election_event_id
eml
id
image_document_id
initialization_report_generated
is_consolidated_ballot_encoding
is_kiosk
keys_ceremony_id
labels
last_updated_at
name
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": {
"alias": "abc123",
"annotations": jsonb,
"contests": [contest],
"contests_aggregate": contest_aggregate,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"eml": "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,
"name": "abc123",
"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_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
) {
alias
annotations
audit_election_event_id
bulletin_board_reference
created_at
description
elections {
...electionFragment
}
elections_aggregate {
...election_aggregateFragment
}
encryption_protocol
id
is_archived
is_audit
labels
name
presentation
public_key
statistics
status
tenant_id
updated_at
user_boards
voting_channels
}
}
Variables
{
"distinct_on": ["alias"],
"limit": 987,
"offset": 987,
"order_by": [election_event_order_by],
"where": election_event_bool_exp
}
Response
{
"data": {
"sequent_backend_election_event": [
{
"alias": "abc123",
"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",
"id": uuid,
"is_archived": true,
"is_audit": false,
"labels": jsonb,
"name": "xyz789",
"presentation": jsonb,
"public_key": "abc123",
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "xyz789",
"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": ["alias"],
"limit": 123,
"offset": 987,
"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) {
alias
annotations
audit_election_event_id
bulletin_board_reference
created_at
description
elections {
...electionFragment
}
elections_aggregate {
...election_aggregateFragment
}
encryption_protocol
id
is_archived
is_audit
labels
name
presentation
public_key
statistics
status
tenant_id
updated_at
user_boards
voting_channels
}
}
Variables
{"id": uuid}
Response
{
"data": {
"sequent_backend_election_event_by_pk": {
"alias": "xyz789",
"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",
"id": uuid,
"is_archived": false,
"is_audit": false,
"labels": jsonb,
"name": "xyz789",
"presentation": jsonb,
"public_key": "abc123",
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "xyz789",
"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
) {
alias
annotations
audit_election_event_id
bulletin_board_reference
created_at
description
elections {
...electionFragment
}
elections_aggregate {
...election_aggregateFragment
}
encryption_protocol
id
is_archived
is_audit
labels
name
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": [
{
"alias": "xyz789",
"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",
"id": uuid,
"is_archived": false,
"is_audit": false,
"labels": jsonb,
"name": "xyz789",
"presentation": jsonb,
"public_key": "abc123",
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "abc123",
"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": 987,
"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": "xyz789",
"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
) {
alias
annotations
contests {
...contestFragment
}
contests_aggregate {
...contest_aggregateFragment
}
created_at
description
election_event_id
eml
id
image_document_id
initialization_report_generated
is_consolidated_ballot_encoding
is_kiosk
keys_ceremony_id
labels
last_updated_at
name
num_allowed_revotes
permission_label
presentation
receipts
spoil_ballot_option
statistics
status
tenant_id
voting_channels
}
}
Variables
{
"batch_size": 123,
"cursor": [election_stream_cursor_input],
"where": election_bool_exp
}
Response
{
"data": {
"sequent_backend_election_stream": [
{
"alias": "abc123",
"annotations": jsonb,
"contests": [contest],
"contests_aggregate": contest_aggregate,
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"eml": "xyz789",
"id": uuid,
"image_document_id": "abc123",
"initialization_report_generated": true,
"is_consolidated_ballot_encoding": false,
"is_kiosk": false,
"keys_ceremony_id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"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_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": 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": "abc123",
"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
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": 987,
"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_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": 987,
"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": 123,
"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
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": "xyz789",
"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": "xyz789",
"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
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
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": 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_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": 987,
"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": "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]
}
]
}
}
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": 987,
"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": "abc123"
}
]
}
}
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": 987,
"offset": 987,
"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
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": 987,
"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": 123,
"offset": 123,
"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": "abc123",
"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
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": 123,
"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": "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_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": 987,
"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": "abc123",
"updated_at": timestamptz
}
]
}
}
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": 987,
"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": ["abc123"],
"report_type": "xyz789",
"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
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": 123,
"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
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": "abc123",
"id": uuid,
"permission_label": ["abc123"],
"report_type": "abc123",
"template_alias": "xyz789",
"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": "abc123",
"id": uuid,
"permission_label": ["xyz789"],
"report_type": "xyz789",
"template_alias": "abc123",
"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
blank_votes
blank_votes_percent
contest_id
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
implicit_invalid_votes
implicit_invalid_votes_percent
labels
last_updated_at
results_event_id
tenant_id
total_auditable_votes
total_auditable_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": 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,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 987,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"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": 123,
"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
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
blank_votes
blank_votes_percent
contest_id
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
implicit_invalid_votes
implicit_invalid_votes_percent
labels
last_updated_at
results_event_id
tenant_id
total_auditable_votes
total_auditable_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,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 987,
"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"
Response
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": 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": [
{
"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
}
]
}
}
sequent_backend_results_area_contest_candidate_aggregate
Description
fetch aggregated fields from the table: "sequent_backend.results_area_contest_candidate"
Response
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": 123,
"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
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"
Response
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": 987,
"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": 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_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
blank_votes
blank_votes_percent
contest_id
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
implicit_invalid_votes
implicit_invalid_votes_percent
labels
last_updated_at
results_event_id
tenant_id
total_auditable_votes
total_auditable_votes_percent
total_invalid_votes
total_invalid_votes_percent
total_valid_votes
total_valid_votes_percent
total_votes
total_votes_percent
}
}
Variables
{
"batch_size": 123,
"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,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_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_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
blank_votes
blank_votes_percent
contest_id
counting_algorithm
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
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_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": 123,
"offset": 123,
"order_by": [results_contest_order_by],
"where": results_contest_bool_exp
}
Response
{
"data": {
"sequent_backend_results_contest": [
{
"annotations": jsonb,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "xyz789",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 987,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"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
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": 987,
"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
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
blank_votes
blank_votes_percent
contest_id
counting_algorithm
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
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_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,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "abc123",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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": 987,
"total_auditable_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": "abc123"
}
}
}
sequent_backend_results_contest_candidate
Description
fetch data from the table: "sequent_backend.results_contest_candidate"
Response
Returns [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": 987,
"results_event_id": uuid,
"tenant_id": uuid,
"winning_position": 123
}
]
}
}
sequent_backend_results_contest_candidate_aggregate
Description
fetch aggregated fields from the table: "sequent_backend.results_contest_candidate"
Response
Returns a results_contest_candidate_aggregate!
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": 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
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": 123
}
}
}
sequent_backend_results_contest_candidate_stream
Description
fetch data from the table in a streaming manner: "sequent_backend.results_contest_candidate"
Response
Returns [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": 987,
"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": 123,
"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
blank_votes
blank_votes_percent
contest_id
counting_algorithm
created_at
documents
election_event_id
election_id
elegible_census
explicit_invalid_votes
explicit_invalid_votes_percent
id
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_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,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "abc123",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_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": "xyz789"
}
]
}
}
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
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": 123,
"offset": 123,
"order_by": [results_election_order_by],
"where": results_election_bool_exp
}
Response
{
"data": {
"sequent_backend_results_election": [
{
"annotations": jsonb,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"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_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
created_at
documents
election_event_id
election_id
id
last_updated_at
name
results_event_id
tenant_id
}
}
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": [
{
"area_id": uuid,
"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"
Response
Returns a results_election_area_aggregate!
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": 123,
"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
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
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,
"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
created_at
documents
election_event_id
election_id
id
last_updated_at
name
results_event_id
tenant_id
}
}
Variables
{
"batch_size": 123,
"cursor": [results_election_area_stream_cursor_input],
"where": results_election_area_bool_exp
}
Response
{
"data": {
"sequent_backend_results_election_area_stream": [
{
"area_id": uuid,
"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
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
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,
"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
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,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"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_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": 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": "abc123",
"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": 123,
"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
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": "abc123",
"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": "abc123",
"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": 123,
"offset": 123,
"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": "abc123",
"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": "abc123",
"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_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": 123,
"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
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": 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
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": "abc123",
"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": 123,
"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": "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
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": 123,
"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": false,
"kind": "abc123",
"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
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": true,
"kind": "abc123",
"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": "xyz789",
"election_event_id": uuid,
"id": uuid,
"is_hidden": false,
"kind": "xyz789",
"labels": jsonb,
"last_updated_at": timestamptz,
"tenant_id": uuid
}
]
}
}
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
subscription 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
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": true,
"keys_ceremony_id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"permission_label": ["xyz789"],
"tally_type": "xyz789",
"tenant_id": uuid,
"threshold": 123
}
]
}
}
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
subscription 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": 987,
"offset": 987,
"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
Example
Query
subscription 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
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"],
"tally_type": "abc123",
"tenant_id": uuid,
"threshold": 987
}
}
}
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
subscription 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"
Response
Returns a tally_session_contest_aggregate!
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
subscription 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": 123,
"offset": 987,
"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
Example
Query
subscription 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": 987,
"tally_session_id": uuid,
"tenant_id": uuid
}
}
}
sequent_backend_tally_session_contest_stream
Description
fetch data from the table in a streaming manner: "sequent_backend.tally_session_contest"
Response
Returns [tally_session_contest!]!
Arguments
| Name | Description |
|---|---|
batch_size - Int!
|
maximum number of rows returned in a single batch |
cursor - [tally_session_contest_stream_cursor_input]!
|
cursor to stream the results returned by the query |
where - tally_session_contest_bool_exp
|
filter the rows returned |
Example
Query
subscription sequent_backend_tally_session_contest_stream(
$batch_size: Int!,
$cursor: [tally_session_contest_stream_cursor_input]!,
$where: tally_session_contest_bool_exp
) {
sequent_backend_tally_session_contest_stream(
batch_size: $batch_size,
cursor: $cursor,
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
{
"batch_size": 987,
"cursor": [tally_session_contest_stream_cursor_input],
"where": tally_session_contest_bool_exp
}
Response
{
"data": {
"sequent_backend_tally_session_contest_stream": [
{
"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
subscription 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
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": 987,
"documents": jsonb,
"election_event_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"results_event_id": uuid,
"session_ids": [987],
"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"
Response
Returns a tally_session_execution_aggregate!
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
subscription 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": 123,
"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
Example
Query
subscription 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
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,
"session_ids": [987],
"status": jsonb,
"tally_session_id": uuid,
"tenant_id": uuid
}
}
}
sequent_backend_tally_session_execution_stream
Description
fetch data from the table in a streaming manner: "sequent_backend.tally_session_execution"
Response
Returns [tally_session_execution!]!
Arguments
| Name | Description |
|---|---|
batch_size - Int!
|
maximum number of rows returned in a single batch |
cursor - [tally_session_execution_stream_cursor_input]!
|
cursor to stream the results returned by the query |
where - tally_session_execution_bool_exp
|
filter the rows returned |
Example
Query
subscription sequent_backend_tally_session_execution_stream(
$batch_size: Int!,
$cursor: [tally_session_execution_stream_cursor_input]!,
$where: tally_session_execution_bool_exp
) {
sequent_backend_tally_session_execution_stream(
batch_size: $batch_size,
cursor: $cursor,
where: $where
) {
annotations
created_at
current_message_id
documents
election_event_id
id
labels
last_updated_at
results_event_id
session_ids
status
tally_session_id
tenant_id
}
}
Variables
{
"batch_size": 123,
"cursor": [tally_session_execution_stream_cursor_input],
"where": tally_session_execution_bool_exp
}
Response
{
"data": {
"sequent_backend_tally_session_execution_stream": [
{
"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,
"session_ids": [987],
"status": jsonb,
"tally_session_id": uuid,
"tenant_id": uuid
}
]
}
}
sequent_backend_tally_session_stream
Description
fetch data from the table in a streaming manner: "sequent_backend.tally_session"
Response
Returns [tally_session!]!
Arguments
| Name | Description |
|---|---|
batch_size - Int!
|
maximum number of rows returned in a single batch |
cursor - [tally_session_stream_cursor_input]!
|
cursor to stream the results returned by the query |
where - tally_session_bool_exp
|
filter the rows returned |
Example
Query
subscription sequent_backend_tally_session_stream(
$batch_size: Int!,
$cursor: [tally_session_stream_cursor_input]!,
$where: tally_session_bool_exp
) {
sequent_backend_tally_session_stream(
batch_size: $batch_size,
cursor: $cursor,
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
tally_type
tenant_id
threshold
}
}
Variables
{
"batch_size": 123,
"cursor": [tally_session_stream_cursor_input],
"where": tally_session_bool_exp
}
Response
{
"data": {
"sequent_backend_tally_session_stream": [
{
"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": ["xyz789"],
"tally_type": "xyz789",
"tenant_id": uuid,
"threshold": 987
}
]
}
}
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
subscription 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
labels
last_updated_at
published_at
published_by_user_id
tenant_id
}
}
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": [
{
"annotations": jsonb,
"area_id": uuid,
"channel": "abc123",
"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,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "abc123",
"tenant_id": uuid
}
]
}
}
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
subscription 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": 987,
"offset": 123,
"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
Example
Query
subscription 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
labels
last_updated_at
published_at
published_by_user_id
tenant_id
}
}
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": "xyz789",
"deleted_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "xyz789",
"tenant_id": uuid
}
}
}
sequent_backend_tally_sheet_stream
Description
fetch data from the table in a streaming manner: "sequent_backend.tally_sheet"
Response
Returns [tally_sheet!]!
Arguments
| Name | Description |
|---|---|
batch_size - Int!
|
maximum number of rows returned in a single batch |
cursor - [tally_sheet_stream_cursor_input]!
|
cursor to stream the results returned by the query |
where - tally_sheet_bool_exp
|
filter the rows returned |
Example
Query
subscription sequent_backend_tally_sheet_stream(
$batch_size: Int!,
$cursor: [tally_sheet_stream_cursor_input]!,
$where: tally_sheet_bool_exp
) {
sequent_backend_tally_sheet_stream(
batch_size: $batch_size,
cursor: $cursor,
where: $where
) {
annotations
area_id
channel
content
contest_id
created_at
created_by_user_id
deleted_at
election_event_id
election_id
id
labels
last_updated_at
published_at
published_by_user_id
tenant_id
}
}
Variables
{
"batch_size": 123,
"cursor": [tally_sheet_stream_cursor_input],
"where": tally_sheet_bool_exp
}
Response
{
"data": {
"sequent_backend_tally_sheet_stream": [
{
"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,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "abc123",
"tenant_id": uuid
}
]
}
}
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
subscription 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": 123,
"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": "abc123",
"id": uuid,
"labels": jsonb,
"logs": json,
"name": "xyz789",
"start_at": timestamptz,
"tenant": tenant,
"tenant_id": uuid,
"type": "abc123"
}
]
}
}
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
subscription 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": 987,
"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
Example
Query
subscription 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": "abc123",
"execution_status": "abc123",
"id": uuid,
"labels": jsonb,
"logs": json,
"name": "xyz789",
"start_at": timestamptz,
"tenant": tenant,
"tenant_id": uuid,
"type": "abc123"
}
}
}
sequent_backend_tasks_execution_stream
Description
fetch data from the table in a streaming manner: "sequent_backend.tasks_execution"
Response
Returns [tasks_execution!]!
Arguments
| Name | Description |
|---|---|
batch_size - Int!
|
maximum number of rows returned in a single batch |
cursor - [tasks_execution_stream_cursor_input]!
|
cursor to stream the results returned by the query |
where - tasks_execution_bool_exp
|
filter the rows returned |
Example
Query
subscription sequent_backend_tasks_execution_stream(
$batch_size: Int!,
$cursor: [tasks_execution_stream_cursor_input]!,
$where: tasks_execution_bool_exp
) {
sequent_backend_tasks_execution_stream(
batch_size: $batch_size,
cursor: $cursor,
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
{
"batch_size": 123,
"cursor": [tasks_execution_stream_cursor_input],
"where": tasks_execution_bool_exp
}
Response
{
"data": {
"sequent_backend_tasks_execution_stream": [
{
"annotations": jsonb,
"created_at": timestamptz,
"election_event_id": uuid,
"end_at": timestamptz,
"executed_by_user": "abc123",
"execution_status": "abc123",
"id": uuid,
"labels": jsonb,
"logs": json,
"name": "xyz789",
"start_at": timestamptz,
"tenant": tenant,
"tenant_id": uuid,
"type": "xyz789"
}
]
}
}
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
subscription 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": 123,
"offset": 123,
"order_by": [template_order_by],
"where": template_bool_exp
}
Response
{
"data": {
"sequent_backend_template": [
{
"alias": "xyz789",
"annotations": jsonb,
"communication_method": "xyz789",
"created_at": timestamptz,
"created_by": "xyz789",
"id": uuid,
"labels": jsonb,
"template": jsonb,
"tenant_id": uuid,
"type": "abc123",
"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
subscription 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": 987,
"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
Example
Query
subscription 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": "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
}
}
}
sequent_backend_template_stream
Description
fetch data from the table in a streaming manner: "sequent_backend.template"
Response
Returns [template!]!
Arguments
| Name | Description |
|---|---|
batch_size - Int!
|
maximum number of rows returned in a single batch |
cursor - [template_stream_cursor_input]!
|
cursor to stream the results returned by the query |
where - template_bool_exp
|
filter the rows returned |
Example
Query
subscription sequent_backend_template_stream(
$batch_size: Int!,
$cursor: [template_stream_cursor_input]!,
$where: template_bool_exp
) {
sequent_backend_template_stream(
batch_size: $batch_size,
cursor: $cursor,
where: $where
) {
alias
annotations
communication_method
created_at
created_by
id
labels
template
tenant_id
type
updated_at
}
}
Variables
{
"batch_size": 123,
"cursor": [template_stream_cursor_input],
"where": template_bool_exp
}
Response
{
"data": {
"sequent_backend_template_stream": [
{
"alias": "xyz789",
"annotations": jsonb,
"communication_method": "abc123",
"created_at": timestamptz,
"created_by": "abc123",
"id": uuid,
"labels": jsonb,
"template": jsonb,
"tenant_id": uuid,
"type": "abc123",
"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
subscription 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": 987,
"order_by": [tenant_order_by],
"where": tenant_bool_exp
}
Response
{
"data": {
"sequent_backend_tenant": [
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"is_active": false,
"labels": jsonb,
"settings": jsonb,
"slug": "abc123",
"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
subscription 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
Example
Query
subscription 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": true,
"labels": jsonb,
"settings": jsonb,
"slug": "xyz789",
"test": 123,
"updated_at": timestamptz,
"voting_channels": jsonb
}
}
}
sequent_backend_tenant_stream
Description
fetch data from the table in a streaming manner: "sequent_backend.tenant"
Response
Returns [tenant!]!
Arguments
| Name | Description |
|---|---|
batch_size - Int!
|
maximum number of rows returned in a single batch |
cursor - [tenant_stream_cursor_input]!
|
cursor to stream the results returned by the query |
where - tenant_bool_exp
|
filter the rows returned |
Example
Query
subscription sequent_backend_tenant_stream(
$batch_size: Int!,
$cursor: [tenant_stream_cursor_input]!,
$where: tenant_bool_exp
) {
sequent_backend_tenant_stream(
batch_size: $batch_size,
cursor: $cursor,
where: $where
) {
annotations
created_at
id
is_active
labels
settings
slug
test
updated_at
voting_channels
}
}
Variables
{
"batch_size": 987,
"cursor": [tenant_stream_cursor_input],
"where": tenant_bool_exp
}
Response
{
"data": {
"sequent_backend_tenant_stream": [
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"is_active": true,
"labels": jsonb,
"settings": jsonb,
"slug": "abc123",
"test": 123,
"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
subscription 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": 123,
"offset": 987,
"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
subscription 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": 987,
"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
Example
Query
subscription 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": "abc123",
"public_key": "xyz789",
"tenant_id": uuid
}
}
}
sequent_backend_trustee_stream
Description
fetch data from the table in a streaming manner: "sequent_backend.trustee"
Response
Returns [trustee!]!
Arguments
| Name | Description |
|---|---|
batch_size - Int!
|
maximum number of rows returned in a single batch |
cursor - [trustee_stream_cursor_input]!
|
cursor to stream the results returned by the query |
where - trustee_bool_exp
|
filter the rows returned |
Example
Query
subscription sequent_backend_trustee_stream(
$batch_size: Int!,
$cursor: [trustee_stream_cursor_input]!,
$where: trustee_bool_exp
) {
sequent_backend_trustee_stream(
batch_size: $batch_size,
cursor: $cursor,
where: $where
) {
annotations
created_at
id
labels
last_updated_at
name
public_key
tenant_id
}
}
Variables
{
"batch_size": 123,
"cursor": [trustee_stream_cursor_input],
"where": trustee_bool_exp
}
Response
{
"data": {
"sequent_backend_trustee_stream": [
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"public_key": "abc123",
"tenant_id": uuid
}
]
}
}
Types
Aggregate
Fields
| Field Name | Description |
|---|---|
count - Int!
|
Example
{"count": 123}
ApplicationChangeStatusBody
Example
{
"area_id": "abc123",
"election_event_id": "abc123",
"id": "xyz789",
"rejection_message": "xyz789",
"rejection_reason": "xyz789",
"tenant_id": "abc123",
"user_id": "xyz789"
}
ApplicationChangeStatusOutput
ApplicationVerifyBody
Example
{
"annotations": jsonb,
"applicant_data": jsonb,
"applicant_id": "abc123",
"area_id": "xyz789",
"election_event_id": "xyz789",
"labels": jsonb,
"tenant_id": "xyz789"
}
BallotPublicationStyles
Boolean
Description
The Boolean scalar type represents true or false.
Boolean_comparison_exp
Description
Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_eq - Boolean
|
|
_gt - Boolean
|
|
_gte - Boolean
|
|
_in - [Boolean!]
|
|
_is_null - Boolean
|
|
_lt - Boolean
|
|
_lte - Boolean
|
|
_neq - Boolean
|
|
_nin - [Boolean!]
|
Example
{
"_eq": true,
"_gt": true,
"_gte": true,
"_in": [true],
"_is_null": false,
"_lt": true,
"_lte": true,
"_neq": true,
"_nin": [false]
}
CastVoteEntry
CastVotesByIp
Example
{
"country": "abc123",
"election_id": "abc123",
"election_name": "xyz789",
"id": "xyz789",
"ip": "xyz789",
"vote_count": 123,
"voters_id": ["abc123"]
}
CastVotesPerDay
CheckPrivateKeyInput
CheckPrivateKeyOutput
Fields
| Field Name | Description |
|---|---|
is_valid - Boolean!
|
Example
{"is_valid": false}
CountUsersInput
Fields
| Input Field | Description |
|---|---|
attributes - jsonb
|
|
authorized_to_election_alias - String
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
email - jsonb
|
|
email_verified - Boolean
|
|
enabled - Boolean
|
|
first_name - jsonb
|
|
has_voted - Boolean
|
|
last_name - jsonb
|
|
limit - Int
|
|
offset - Int
|
|
search - String
|
|
show_votes_info - Boolean
|
|
sort - jsonb
|
|
tenant_id - uuid!
|
|
username - jsonb
|
Example
{
"attributes": jsonb,
"authorized_to_election_alias": "xyz789",
"election_event_id": uuid,
"election_id": uuid,
"email": jsonb,
"email_verified": true,
"enabled": true,
"first_name": jsonb,
"has_voted": false,
"last_name": jsonb,
"limit": 987,
"offset": 987,
"search": "xyz789",
"show_votes_info": true,
"sort": jsonb,
"tenant_id": uuid,
"username": jsonb
}
CountUsersOutput
Fields
| Field Name | Description |
|---|---|
count - Int!
|
Example
{"count": 987}
CreateElectionEventInput
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
audit_election_event_id - String
|
|
bulletin_board_reference - jsonb
|
|
created_at - String
|
|
dates - jsonb
|
|
description - String
|
|
encryption_protocol - String
|
|
id - String
|
|
is_archived - Boolean
|
|
is_audit - Boolean
|
|
labels - jsonb
|
|
name - String!
|
|
presentation - jsonb
|
|
public_key - String
|
|
status - jsonb
|
|
tenant_id - String!
|
|
updated_at - String
|
|
user_boards - String
|
|
voting_channels - jsonb
|
Example
{
"annotations": jsonb,
"audit_election_event_id": "xyz789",
"bulletin_board_reference": jsonb,
"created_at": "abc123",
"dates": jsonb,
"description": "xyz789",
"encryption_protocol": "xyz789",
"id": "xyz789",
"is_archived": false,
"is_audit": true,
"labels": jsonb,
"name": "abc123",
"presentation": jsonb,
"public_key": "xyz789",
"status": jsonb,
"tenant_id": "xyz789",
"updated_at": "abc123",
"user_boards": "xyz789",
"voting_channels": jsonb
}
CreateElectionEventOutput
Fields
| Field Name | Description |
|---|---|
error - String
|
|
id - String
|
|
message - String
|
|
task_execution - tasks_execution_type
|
Example
{
"error": "abc123",
"id": "abc123",
"message": "abc123",
"task_execution": tasks_execution_type
}
CreateElectionOutput
Fields
| Field Name | Description |
|---|---|
id - String!
|
Example
{"id": "xyz789"}
CreateKeysCeremonyInput
Example
{
"election_event_id": "abc123",
"election_id": "xyz789",
"is_automatic_ceremony": false,
"name": "xyz789",
"threshold": 987,
"trustee_names": ["abc123"]
}
CreateKeysCeremonyOutput
CreatePermissionInput
Fields
| Input Field | Description |
|---|---|
permission - KeycloakPermission2!
|
|
tenant_id - String!
|
Example
{
"permission": KeycloakPermission2,
"tenant_id": "xyz789"
}
CreateTallyOutput
Fields
| Field Name | Description |
|---|---|
tally_session_id - uuid!
|
Example
{"tally_session_id": uuid}
DataListElectoralLog
Fields
| Field Name | Description |
|---|---|
items - [ElectoralLogRow]!
|
|
total - TotalAggregate!
|
Example
{
"items": [ElectoralLogRow],
"total": TotalAggregate
}
DataListPgAudit
Fields
| Field Name | Description |
|---|---|
items - [PgAuditRow]!
|
|
total - TotalAggregate!
|
Example
{
"items": [PgAuditRow],
"total": TotalAggregate
}
DeleteElectionEvent
Fields
| Field Name | Description |
|---|---|
error_msg - String
|
|
id - String
|
|
task_execution - tasks_execution_type
|
Example
{
"error_msg": "xyz789",
"id": "xyz789",
"task_execution": tasks_execution_type
}
DeleteUserOutput
Fields
| Field Name | Description |
|---|---|
id - String
|
Example
{"id": "abc123"}
DeleteUsersOutput
Fields
| Field Name | Description |
|---|---|
ids - String
|
Example
{"ids": "xyz789"}
EarlyVotingPolicy
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"allow_early_voting"
EditUsersInput
Example
{
"attributes": jsonb,
"election_event_id": "xyz789",
"email": "abc123",
"enabled": false,
"first_name": "xyz789",
"groups": ["xyz789"],
"last_name": "abc123",
"password": "xyz789",
"temporary": true,
"tenant_id": "abc123",
"user_id": "abc123",
"username": "abc123"
}
ElectionEventStatsInput
ElectionEventStatsOutput
Fields
| Field Name | Description |
|---|---|
total_areas - Int!
|
|
total_distinct_voters - Int!
|
|
total_elections - Int!
|
|
total_eligible_voters - Int!
|
|
votes_per_day - [CastVotesPerDay]!
|
Example
{
"total_areas": 123,
"total_distinct_voters": 123,
"total_elections": 987,
"total_eligible_voters": 123,
"votes_per_day": [CastVotesPerDay]
}
ElectionStatsInput
ElectionStatsOutput
Fields
| Field Name | Description |
|---|---|
total_areas - Int!
|
|
total_distinct_voters - Int!
|
|
votes_per_day - [CastVotesPerDay]!
|
Example
{
"total_areas": 123,
"total_distinct_voters": 123,
"votes_per_day": [CastVotesPerDay]
}
ElectoralLogFilter
ElectoralLogOrderBy
Fields
| Input Field | Description |
|---|---|
ballot_id - OrderDirection
|
|
created - OrderDirection
|
|
id - OrderDirection
|
|
statement_kind - OrderDirection
|
|
statement_timestamp - OrderDirection
|
|
user_id - OrderDirection
|
|
username - OrderDirection
|
Example
{
"ballot_id": "asc",
"created": "asc",
"id": "asc",
"statement_kind": "asc",
"statement_timestamp": "asc",
"user_id": "asc",
"username": "asc"
}
ElectoralLogRow
EncryptReportOutput
ExportApplicationOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
error_msg - String
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "xyz789",
"error_msg": "abc123",
"task_execution": tasks_execution_type
}
ExportBallotPublicationOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "xyz789",
"task_execution": tasks_execution_type
}
ExportElectionEventOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
password - String
|
|
task_execution - tasks_execution_type!
|
Example
{
"document_id": "abc123",
"password": "abc123",
"task_execution": tasks_execution_type
}
ExportLogsOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "abc123",
"task_execution": tasks_execution_type
}
ExportOptions
Example
{
"activity_logs": true,
"applications": false,
"bulletin_board": false,
"include_voters": true,
"is_encrypted": true,
"password": "abc123",
"publications": false,
"reports": false,
"s3_files": false,
"scheduled_events": true,
"tally": true
}
ExportTallyResultsOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
error_msg - String
|
|
task_execution - tasks_execution_type!
|
Example
{
"document_id": "abc123",
"error_msg": "abc123",
"task_execution": tasks_execution_type
}
ExportTasksExecutionOutput
ExportTasksOutput
ExportTemplateOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
error_msg - String
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "xyz789",
"error_msg": "xyz789",
"task_execution": tasks_execution_type
}
ExportTenantUsersOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
error_msg - String
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "abc123",
"error_msg": "abc123",
"task_execution": tasks_execution_type
}
ExportTrusteesOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
error_msg - String
|
|
task_execution - tasks_execution_type!
|
Example
{
"document_id": "abc123",
"error_msg": "xyz789",
"task_execution": tasks_execution_type
}
ExportUsersOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
error_msg - String
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "xyz789",
"error_msg": "abc123",
"task_execution": tasks_execution_type
}
FetchDocumentOutput
Fields
| Field Name | Description |
|---|---|
url - String!
|
Example
{"url": "xyz789"}
Float
Description
The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
987.65
GenerateGoogleMeetOutput
Fields
| Field Name | Description |
|---|---|
meet_link - String
|
Example
{"meet_link": "xyz789"}
GenerateTemplateOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "xyz789",
"task_execution": tasks_execution_type
}
GetBallotPublicationChangesOutput
Fields
| Field Name | Description |
|---|---|
current - BallotPublicationStyles!
|
|
previous - BallotPublicationStyles
|
Example
{
"current": BallotPublicationStyles,
"previous": BallotPublicationStyles
}
GetManualVerificationInput
GetManualVerificationOutput
GetPermissionsInput
GetPermissionsOutput
Fields
| Field Name | Description |
|---|---|
items - [KeycloakPermission!]!
|
|
total - TotalAggregate!
|
Example
{
"items": [KeycloakPermission],
"total": TotalAggregate
}
GetPrivateKeyInput
GetPrivateKeyOutput
Fields
| Field Name | Description |
|---|---|
private_key_base64 - String!
|
Example
{"private_key_base64": "abc123"}
GetRolesInput
GetRolesOutput
Fields
| Field Name | Description |
|---|---|
items - [KeycloakRole!]!
|
|
total - TotalAggregate!
|
Example
{
"items": [KeycloakRole],
"total": TotalAggregate
}
GetTopCastVotesByIpInput
GetTopCastVotesByIpOutput
Fields
| Field Name | Description |
|---|---|
items - [CastVotesByIp!]!
|
|
total - TotalAggregate!
|
Example
{
"items": [CastVotesByIp],
"total": TotalAggregate
}
GetUploadUrlOutput
GetUserTemplateOutput
GetUsersInput
Fields
| Input Field | Description |
|---|---|
attributes - jsonb
|
|
authorized_to_election_alias - String
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
email - jsonb
|
|
email_verified - Boolean
|
|
enabled - Boolean
|
|
first_name - jsonb
|
|
has_voted - Boolean
|
|
last_name - jsonb
|
|
limit - Int
|
|
offset - Int
|
|
search - String
|
|
show_votes_info - Boolean
|
|
sort - jsonb
|
|
tenant_id - uuid!
|
|
username - jsonb
|
Example
{
"attributes": jsonb,
"authorized_to_election_alias": "abc123",
"election_event_id": uuid,
"election_id": uuid,
"email": jsonb,
"email_verified": true,
"enabled": false,
"first_name": jsonb,
"has_voted": false,
"last_name": jsonb,
"limit": 987,
"offset": 987,
"search": "abc123",
"show_votes_info": true,
"sort": jsonb,
"tenant_id": uuid,
"username": jsonb
}
GetUsersOutput
Fields
| Field Name | Description |
|---|---|
items - [KeycloakUser!]!
|
|
total - TotalAggregate!
|
Example
{
"items": [KeycloakUser],
"total": TotalAggregate
}
ImportOptions
ImportTenantOutput
Fields
| Field Name | Description |
|---|---|
error - String
|
|
message - String
|
|
task_execution - tasks_execution_type
|
Example
{
"error": "xyz789",
"message": "abc123",
"task_execution": tasks_execution_type
}
InsertCastVoteOutput
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid!
|
|
ballot_id - String
|
|
cast_ballot_signature - bytea!
|
|
content - String
|
|
created_at - timestamptz
|
|
election_event_id - uuid!
|
|
election_id - uuid!
|
|
id - uuid!
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid!
|
|
voter_id_string - String
|
Example
{
"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": "xyz789"
}
InsertTenantOutput
Fields
| Field Name | Description |
|---|---|
error_msg - String
|
|
id - uuid!
|
|
slug - String!
|
|
task_execution - tasks_execution_type
|
Example
{
"error_msg": "abc123",
"id": uuid,
"slug": "abc123",
"task_execution": tasks_execution_type
}
Int
Description
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
123
Int_array_comparison_exp
Description
Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'.
Example
{
"_contained_in": [123],
"_contains": [123],
"_eq": [987],
"_gt": [987],
"_gte": [987],
"_in": [987],
"_is_null": true,
"_lt": [987],
"_lte": [987],
"_neq": [987],
"_nin": [123]
}
Int_comparison_exp
Description
Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'.
Example
{
"_eq": 123,
"_gt": 987,
"_gte": 123,
"_in": [987],
"_is_null": false,
"_lt": 987,
"_lte": 123,
"_neq": 987,
"_nin": [987]
}
KeycloakPermission
KeycloakPermission2
KeycloakRole
KeycloakRole2
KeycloakUser
Example
{
"area": KeycloakUserArea,
"attributes": jsonb,
"email": "xyz789",
"email_verified": true,
"enabled": false,
"first_name": "abc123",
"groups": ["abc123"],
"id": "abc123",
"last_name": "abc123",
"username": "abc123",
"votes_info": [VotesInfo]
}
KeycloakUser2
Example
{
"attributes": jsonb,
"email": "xyz789",
"email_verified": true,
"enabled": true,
"first_name": "xyz789",
"groups": ["xyz789"],
"id": "abc123",
"last_name": "xyz789",
"username": "xyz789"
}
KeycloakUserArea
KeysCeremony
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
created_at - String
|
|
election_event_id - String!
|
|
execution_status - String
|
|
id - String!
|
|
is_default - Boolean
|
|
labels - jsonb
|
|
last_updated_at - String
|
|
name - String
|
|
permission_label - [String]
|
|
settings - jsonb
|
|
status - jsonb
|
|
tenant_id - String!
|
|
threshold - Int!
|
|
trustee_ids - [String!]!
|
Example
{
"annotations": jsonb,
"created_at": "xyz789",
"election_event_id": "xyz789",
"execution_status": "xyz789",
"id": "abc123",
"is_default": true,
"labels": jsonb,
"last_updated_at": "abc123",
"name": "abc123",
"permission_label": ["abc123"],
"settings": jsonb,
"status": jsonb,
"tenant_id": "xyz789",
"threshold": 987,
"trustee_ids": ["xyz789"]
}
LimitAccessByCountriesOutput
Fields
| Field Name | Description |
|---|---|
success - Boolean
|
Example
{"success": false}
ListCastVoteMessagesOutput
Fields
| Field Name | Description |
|---|---|
list - [CastVoteEntry]!
|
|
total - Int!
|
Example
{"list": [CastVoteEntry], "total": 123}
ListKeysCeremonyOutput
Fields
| Field Name | Description |
|---|---|
items - [KeysCeremony!]!
|
|
total - TotalAggregate!
|
Example
{
"items": [KeysCeremony],
"total": TotalAggregate
}
LogEventOutput
Fields
| Field Name | Description |
|---|---|
electionEventId - String
|
Example
{"electionEventId": "xyz789"}
ManageElectionDatesOutput
Fields
| Field Name | Description |
|---|---|
error_msg - String
|
Example
{"error_msg": "abc123"}
OptionalId
Fields
| Field Name | Description |
|---|---|
id - String
|
Example
{"id": "xyz789"}
OptionalImportEvent
Fields
| Field Name | Description |
|---|---|
error - String
|
|
id - String
|
|
message - String
|
|
task_execution - tasks_execution_type
|
Example
{
"error": "abc123",
"id": "abc123",
"message": "xyz789",
"task_execution": tasks_execution_type
}
OrderDirection
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"asc"
PgAuditFilter
Example
{
"audit_type": "xyz789",
"class": "xyz789",
"command": "abc123",
"dbname": "xyz789",
"id": "xyz789",
"session_id": "xyz789",
"statement": "xyz789",
"user": "abc123"
}
PgAuditOrderBy
Fields
| Input Field | Description |
|---|---|
audit_type - OrderDirection
|
|
class - OrderDirection
|
|
command - OrderDirection
|
|
dbname - OrderDirection
|
|
id - OrderDirection
|
|
server_timestamp - OrderDirection
|
|
session_id - OrderDirection
|
|
statement - OrderDirection
|
|
user - OrderDirection
|
Example
{
"audit_type": "asc",
"class": "asc",
"command": "asc",
"dbname": "asc",
"id": "asc",
"server_timestamp": "asc",
"session_id": "asc",
"statement": "asc",
"user": "asc"
}
PgAuditRow
Example
{
"audit_type": "xyz789",
"class": "abc123",
"command": "xyz789",
"dbname": "abc123",
"id": 123,
"server_timestamp": 123,
"session_id": "xyz789",
"statement": "xyz789",
"user": "xyz789"
}
PgAuditTable
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"pgaudit_hasura"
PluginsRouteOutput
Fields
| Field Name | Description |
|---|---|
data - jsonb
|
Example
{"data": jsonb}
PrepareBallotPublicationPreviewOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
error_msg - String
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "xyz789",
"error_msg": "abc123",
"task_execution": tasks_execution_type
}
PublishBallotOutput
Fields
| Field Name | Description |
|---|---|
ballot_publication_id - uuid!
|
Example
{"ballot_publication_id": uuid}
PublishTallyOutput
Fields
| Field Name | Description |
|---|---|
tally_sheet_id - uuid
|
Example
{"tally_sheet_id": uuid}
RenderDocumentPDFOutput
Fields
| Field Name | Description |
|---|---|
document_id - String
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "abc123",
"task_execution": tasks_execution_type
}
ReportEncryptionPolicy
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"configured_password"
RestorePrivateKeyInput
RestorePrivateKeyOutput
Fields
| Field Name | Description |
|---|---|
is_valid - Boolean!
|
Example
{"is_valid": true}
ScheduledEventOutput3
Fields
| Field Name | Description |
|---|---|
id - String
|
Example
{"id": "xyz789"}
SetCustomUrlsOutput
SetRolePermissionOutput
Fields
| Field Name | Description |
|---|---|
id - String
|
Example
{"id": "abc123"}
SetUserRoleOutput
Fields
| Field Name | Description |
|---|---|
id - String
|
Example
{"id": "xyz789"}
SetVoterAuthenticationOutput
StartTallyOutput
Fields
| Field Name | Description |
|---|---|
tally_session_id - uuid!
|
Example
{"tally_session_id": uuid}
String
Description
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
"xyz789"
String_array_comparison_exp
Description
Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_contained_in - [String!]
|
is the array contained in the given array value |
_contains - [String!]
|
does the array contain the given value |
_eq - [String!]
|
|
_gt - [String!]
|
|
_gte - [String!]
|
|
_in - [String!]
|
|
_is_null - Boolean
|
|
_lt - [String!]
|
|
_lte - [String!]
|
|
_neq - [String!]
|
|
_nin - [String!]
|
Example
{
"_contained_in": ["xyz789"],
"_contains": ["abc123"],
"_eq": ["abc123"],
"_gt": ["abc123"],
"_gte": ["xyz789"],
"_in": ["abc123"],
"_is_null": false,
"_lt": ["abc123"],
"_lte": ["xyz789"],
"_neq": ["abc123"],
"_nin": ["abc123"]
}
String_comparison_exp
Description
Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_eq - String
|
|
_gt - String
|
|
_gte - String
|
|
_ilike - String
|
does the column match the given case-insensitive pattern |
_in - [String!]
|
|
_iregex - String
|
does the column match the given POSIX regular expression, case insensitive |
_is_null - Boolean
|
|
_like - String
|
does the column match the given pattern |
_lt - String
|
|
_lte - String
|
|
_neq - String
|
|
_nilike - String
|
does the column NOT match the given case-insensitive pattern |
_nin - [String!]
|
|
_niregex - String
|
does the column NOT match the given POSIX regular expression, case insensitive |
_nlike - String
|
does the column NOT match the given pattern |
_nregex - String
|
does the column NOT match the given POSIX regular expression, case sensitive |
_nsimilar - String
|
does the column NOT match the given SQL regular expression |
_regex - String
|
does the column match the given POSIX regular expression, case sensitive |
_similar - String
|
does the column match the given SQL regular expression |
Example
{
"_eq": "xyz789",
"_gt": "abc123",
"_gte": "xyz789",
"_ilike": "xyz789",
"_in": ["xyz789"],
"_iregex": "abc123",
"_is_null": false,
"_like": "abc123",
"_lt": "xyz789",
"_lte": "xyz789",
"_neq": "xyz789",
"_nilike": "xyz789",
"_nin": ["abc123"],
"_niregex": "abc123",
"_nlike": "abc123",
"_nregex": "xyz789",
"_nsimilar": "xyz789",
"_regex": "abc123",
"_similar": "xyz789"
}
TotalAggregate
Fields
| Field Name | Description |
|---|---|
aggregate - Aggregate!
|
Example
{"aggregate": Aggregate}
UpdateElectionVotingStatusOutput
Fields
| Field Name | Description |
|---|---|
election_id - uuid
|
Example
{"election_id": uuid}
UpdateEventVotingStatusOutput
Fields
| Field Name | Description |
|---|---|
election_event_id - uuid
|
Example
{"election_event_id": uuid}
UpsertAreaOutput
Fields
| Field Name | Description |
|---|---|
id - String!
|
Example
{"id": "xyz789"}
UserProfileAttribute
Example
{
"annotations": jsonb,
"display_name": "abc123",
"group": "xyz789",
"multivalued": false,
"name": "abc123",
"permissions": jsonb,
"read_only": false,
"required": jsonb,
"selector": jsonb,
"validations": jsonb
}
VotesInfo
VotingStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"CLOSED"
VotingStatusChannel
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"EARLY_VOTING"
applicationOutput
Fields
| Field Name | Description |
|---|---|
document_id - String
|
|
error_msg - String
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "xyz789",
"error_msg": "xyz789",
"task_execution": tasks_execution_type
}
applications
Description
columns and relationships of "sequent_backend.applications"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
applicant_data - jsonb!
|
|
Arguments
|
|
applicant_id - String!
|
|
area_id - uuid
|
|
created_at - timestamptz!
|
|
election_event_id - uuid!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
permission_label - String
|
|
status - String!
|
|
tenant_id - uuid!
|
|
updated_at - timestamptz!
|
|
verification_type - String!
|
|
Example
{
"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"
}
applications_aggregate
Description
aggregated selection of "sequent_backend.applications"
Fields
| Field Name | Description |
|---|---|
aggregate - applications_aggregate_fields
|
|
nodes - [applications!]!
|
Example
{
"aggregate": applications_aggregate_fields,
"nodes": [applications]
}
applications_aggregate_fields
Description
aggregate fields of "sequent_backend.applications"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - applications_max_fields
|
|
min - applications_min_fields
|
|
Example
{
"count": 123,
"max": applications_max_fields,
"min": applications_min_fields
}
applications_append_input
applications_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.applications". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [applications_bool_exp!]
|
|
_not - applications_bool_exp
|
|
_or - [applications_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
applicant_data - jsonb_comparison_exp
|
|
applicant_id - String_comparison_exp
|
|
area_id - uuid_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
permission_label - String_comparison_exp
|
|
status - String_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
updated_at - timestamptz_comparison_exp
|
|
verification_type - String_comparison_exp
|
Example
{
"_and": [applications_bool_exp],
"_not": applications_bool_exp,
"_or": [applications_bool_exp],
"annotations": jsonb_comparison_exp,
"applicant_data": jsonb_comparison_exp,
"applicant_id": String_comparison_exp,
"area_id": uuid_comparison_exp,
"created_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"permission_label": String_comparison_exp,
"status": String_comparison_exp,
"tenant_id": uuid_comparison_exp,
"updated_at": timestamptz_comparison_exp,
"verification_type": String_comparison_exp
}
applications_constraint
Description
unique or primary key constraints on table "sequent_backend.applications"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"applications_pkey"
applications_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["abc123"],
"applicant_data": ["abc123"],
"labels": ["abc123"]
}
applications_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Example
{"annotations": 123, "applicant_data": 987, "labels": 987}
applications_delete_key_input
applications_insert_input
Description
input type for inserting data into table "sequent_backend.applications"
Example
{
"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": "xyz789",
"tenant_id": uuid,
"updated_at": timestamptz,
"verification_type": "xyz789"
}
applications_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
applicant_id - String
|
|
area_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
permission_label - String
|
|
status - String
|
|
tenant_id - uuid
|
|
updated_at - timestamptz
|
|
verification_type - String
|
Example
{
"applicant_id": "abc123",
"area_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"permission_label": "abc123",
"status": "xyz789",
"tenant_id": uuid,
"updated_at": timestamptz,
"verification_type": "xyz789"
}
applications_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
applicant_id - String
|
|
area_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
permission_label - String
|
|
status - String
|
|
tenant_id - uuid
|
|
updated_at - timestamptz
|
|
verification_type - String
|
Example
{
"applicant_id": "abc123",
"area_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"permission_label": "abc123",
"status": "abc123",
"tenant_id": uuid,
"updated_at": timestamptz,
"verification_type": "xyz789"
}
applications_mutation_response
Description
response of any mutation on the table "sequent_backend.applications"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [applications!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [applications]}
applications_on_conflict
Description
on_conflict condition type for table "sequent_backend.applications"
Fields
| Input Field | Description |
|---|---|
constraint - applications_constraint!
|
|
update_columns - [applications_update_column!]!
|
|
where - applications_bool_exp
|
Example
{
"constraint": "applications_pkey",
"update_columns": ["annotations"],
"where": applications_bool_exp
}
applications_order_by
Description
Ordering options when selecting data from "sequent_backend.applications".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
applicant_data - order_by
|
|
applicant_id - order_by
|
|
area_id - order_by
|
|
created_at - order_by
|
|
election_event_id - order_by
|
|
id - order_by
|
|
labels - order_by
|
|
permission_label - order_by
|
|
status - order_by
|
|
tenant_id - order_by
|
|
updated_at - order_by
|
|
verification_type - order_by
|
Example
{
"annotations": "asc",
"applicant_data": "asc",
"applicant_id": "asc",
"area_id": "asc",
"created_at": "asc",
"election_event_id": "asc",
"id": "asc",
"labels": "asc",
"permission_label": "asc",
"status": "asc",
"tenant_id": "asc",
"updated_at": "asc",
"verification_type": "asc"
}
applications_pk_columns_input
applications_prepend_input
applications_select_column
Description
select columns of table "sequent_backend.applications"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
applications_set_input
Description
input type for updating data in table "sequent_backend.applications"
Example
{
"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": "xyz789",
"tenant_id": uuid,
"updated_at": timestamptz,
"verification_type": "xyz789"
}
applications_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_applications"
Fields
| Input Field | Description |
|---|---|
initial_value - applications_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": applications_stream_cursor_value_input,
"ordering": "ASC"
}
applications_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"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"
}
applications_update_column
Description
update columns of table "sequent_backend.applications"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
applications_updates
Fields
| Input Field | 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
{
"_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
}
area
Description
columns and relationships of "sequent_backend.area"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
parent_id - uuid
|
|
presentation - jsonb
|
|
Arguments
|
|
tenant_id - uuid!
|
|
type - String
|
|
Example
{
"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"
}
area_aggregate
Description
aggregated selection of "sequent_backend.area"
Fields
| Field Name | Description |
|---|---|
aggregate - area_aggregate_fields
|
|
nodes - [area!]!
|
Example
{
"aggregate": area_aggregate_fields,
"nodes": [area]
}
area_aggregate_fields
Description
aggregate fields of "sequent_backend.area"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - area_max_fields
|
|
min - area_min_fields
|
|
Example
{
"count": 123,
"max": area_max_fields,
"min": area_min_fields
}
area_append_input
area_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.area". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [area_bool_exp!]
|
|
_not - area_bool_exp
|
|
_or - [area_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
description - String_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
name - String_comparison_exp
|
|
parent_id - uuid_comparison_exp
|
|
presentation - jsonb_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
type - String_comparison_exp
|
Example
{
"_and": [area_bool_exp],
"_not": area_bool_exp,
"_or": [area_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"description": String_comparison_exp,
"election_event_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"name": String_comparison_exp,
"parent_id": uuid_comparison_exp,
"presentation": jsonb_comparison_exp,
"tenant_id": uuid_comparison_exp,
"type": String_comparison_exp
}
area_constraint
Description
unique or primary key constraints on table "sequent_backend.area"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"area_pkey"
area_contest
Description
columns and relationships of "sequent_backend.area_contest"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
area - area
|
An object relationship |
area_id - uuid
|
|
contest - contest
|
An object relationship |
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid
|
|
Example
{
"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
}
area_contest_aggregate
Description
aggregated selection of "sequent_backend.area_contest"
Fields
| Field Name | Description |
|---|---|
aggregate - area_contest_aggregate_fields
|
|
nodes - [area_contest!]!
|
Example
{
"aggregate": area_contest_aggregate_fields,
"nodes": [area_contest]
}
area_contest_aggregate_fields
Description
aggregate fields of "sequent_backend.area_contest"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - area_contest_max_fields
|
|
min - area_contest_min_fields
|
|
Example
{
"count": 987,
"max": area_contest_max_fields,
"min": area_contest_min_fields
}
area_contest_append_input
area_contest_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.area_contest". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [area_contest_bool_exp!]
|
|
_not - area_contest_bool_exp
|
|
_or - [area_contest_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
area - area_bool_exp
|
|
area_id - uuid_comparison_exp
|
|
contest - contest_bool_exp
|
|
contest_id - uuid_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [area_contest_bool_exp],
"_not": area_contest_bool_exp,
"_or": [area_contest_bool_exp],
"annotations": jsonb_comparison_exp,
"area": area_bool_exp,
"area_id": uuid_comparison_exp,
"contest": contest_bool_exp,
"contest_id": uuid_comparison_exp,
"created_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"tenant_id": uuid_comparison_exp
}
area_contest_constraint
Description
unique or primary key constraints on table "sequent_backend.area_contest"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id" |
Example
"area_context_pkey"
area_contest_delete_at_path_input
area_contest_delete_elem_input
area_contest_delete_key_input
area_contest_insert_input
Description
input type for inserting data into table "sequent_backend.area_contest"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area - area_obj_rel_insert_input
|
|
area_id - uuid
|
|
contest - contest_obj_rel_insert_input
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"annotations": jsonb,
"area": area_obj_rel_insert_input,
"area_id": uuid,
"contest": contest_obj_rel_insert_input,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"tenant_id": uuid
}
area_contest_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"tenant_id": uuid
}
area_contest_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"tenant_id": uuid
}
area_contest_mutation_response
Description
response of any mutation on the table "sequent_backend.area_contest"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [area_contest!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [area_contest]}
area_contest_on_conflict
Description
on_conflict condition type for table "sequent_backend.area_contest"
Fields
| Input Field | Description |
|---|---|
constraint - area_contest_constraint!
|
|
update_columns - [area_contest_update_column!]!
|
|
where - area_contest_bool_exp
|
Example
{
"constraint": "area_context_pkey",
"update_columns": ["annotations"],
"where": area_contest_bool_exp
}
area_contest_order_by
Description
Ordering options when selecting data from "sequent_backend.area_contest".
Example
{
"annotations": "asc",
"area": area_order_by,
"area_id": "asc",
"contest": contest_order_by,
"contest_id": "asc",
"created_at": "asc",
"election_event_id": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"tenant_id": "asc"
}
area_contest_pk_columns_input
Description
primary key columns input for table: sequent_backend.area_contest
Fields
| Input Field | Description |
|---|---|
id - uuid!
|
Example
{"id": uuid}
area_contest_prepend_input
area_contest_select_column
Description
select columns of table "sequent_backend.area_contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
area_contest_set_input
Description
input type for updating data in table "sequent_backend.area_contest"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"annotations": jsonb,
"area_id": uuid,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"tenant_id": uuid
}
area_contest_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_area_contest"
Fields
| Input Field | Description |
|---|---|
initial_value - area_contest_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": area_contest_stream_cursor_value_input,
"ordering": "ASC"
}
area_contest_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"annotations": jsonb,
"area_id": uuid,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"tenant_id": uuid
}
area_contest_update_column
Description
update columns of table "sequent_backend.area_contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
area_contest_updates
Fields
| Input Field | 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
{
"_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
}
area_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["xyz789"],
"labels": ["xyz789"],
"presentation": ["xyz789"]
}
area_delete_elem_input
area_delete_key_input
area_insert_input
Description
input type for inserting data into table "sequent_backend.area"
Example
{
"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"
}
area_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
parent_id - uuid
|
|
tenant_id - uuid
|
|
type - String
|
Example
{
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"name": "xyz789",
"parent_id": uuid,
"tenant_id": uuid,
"type": "xyz789"
}
area_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
parent_id - uuid
|
|
tenant_id - uuid
|
|
type - String
|
Example
{
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"name": "xyz789",
"parent_id": uuid,
"tenant_id": uuid,
"type": "abc123"
}
area_mutation_response
area_obj_rel_insert_input
Description
input type for inserting object relation for remote table "sequent_backend.area"
Fields
| Input Field | Description |
|---|---|
data - area_insert_input!
|
|
on_conflict - area_on_conflict
|
upsert condition |
Example
{
"data": area_insert_input,
"on_conflict": area_on_conflict
}
area_on_conflict
Description
on_conflict condition type for table "sequent_backend.area"
Fields
| Input Field | Description |
|---|---|
constraint - area_constraint!
|
|
update_columns - [area_update_column!]!
|
|
where - area_bool_exp
|
Example
{
"constraint": "area_pkey",
"update_columns": ["annotations"],
"where": area_bool_exp
}
area_order_by
Description
Ordering options when selecting data from "sequent_backend.area".
Example
{
"annotations": "asc",
"created_at": "asc",
"description": "asc",
"election_event_id": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"name": "asc",
"parent_id": "asc",
"presentation": "asc",
"tenant_id": "asc",
"type": "asc"
}
area_pk_columns_input
area_prepend_input
area_select_column
Description
select columns of table "sequent_backend.area"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
area_set_input
Description
input type for updating data in table "sequent_backend.area"
Example
{
"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"
}
area_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_area"
Fields
| Input Field | Description |
|---|---|
initial_value - area_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": area_stream_cursor_value_input,
"ordering": "ASC"
}
area_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"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"
}
area_update_column
Description
update columns of table "sequent_backend.area"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
area_updates
Fields
| Input Field | 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
{
"_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
}
ballot_publication
Description
columns and relationships of "sequent_backend.ballot_publication"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz!
|
|
created_by_user_id - String
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid!
|
|
election_id - uuid
|
|
election_ids - [uuid!]
|
|
id - uuid!
|
|
is_generated - Boolean!
|
|
labels - jsonb
|
|
Arguments
|
|
published_at - timestamptz
|
|
tenant_id - uuid!
|
|
Example
{
"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
}
ballot_publication_aggregate
Description
aggregated selection of "sequent_backend.ballot_publication"
Fields
| Field Name | Description |
|---|---|
aggregate - ballot_publication_aggregate_fields
|
|
nodes - [ballot_publication!]!
|
Example
{
"aggregate": ballot_publication_aggregate_fields,
"nodes": [ballot_publication]
}
ballot_publication_aggregate_fields
Description
aggregate fields of "sequent_backend.ballot_publication"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - ballot_publication_max_fields
|
|
min - ballot_publication_min_fields
|
|
Example
{
"count": 123,
"max": ballot_publication_max_fields,
"min": ballot_publication_min_fields
}
ballot_publication_append_input
ballot_publication_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.ballot_publication". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [ballot_publication_bool_exp!]
|
|
_not - ballot_publication_bool_exp
|
|
_or - [ballot_publication_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
created_by_user_id - String_comparison_exp
|
|
deleted_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
election_ids - uuid_array_comparison_exp
|
|
id - uuid_comparison_exp
|
|
is_generated - Boolean_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
published_at - timestamptz_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [ballot_publication_bool_exp],
"_not": ballot_publication_bool_exp,
"_or": [ballot_publication_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"created_by_user_id": String_comparison_exp,
"deleted_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"election_ids": uuid_array_comparison_exp,
"id": uuid_comparison_exp,
"is_generated": Boolean_comparison_exp,
"labels": jsonb_comparison_exp,
"published_at": timestamptz_comparison_exp,
"tenant_id": uuid_comparison_exp
}
ballot_publication_constraint
Description
unique or primary key constraints on table "sequent_backend.ballot_publication"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"ballot_publication_pkey"
ballot_publication_delete_at_path_input
ballot_publication_delete_elem_input
ballot_publication_delete_key_input
ballot_publication_insert_input
Description
input type for inserting data into table "sequent_backend.ballot_publication"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
created_by_user_id - String
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
election_ids - [uuid!]
|
|
id - uuid
|
|
is_generated - Boolean
|
|
labels - jsonb
|
|
published_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"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
}
ballot_publication_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
created_by_user_id - String
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
election_ids - [uuid!]
|
|
id - uuid
|
|
published_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"created_by_user_id": "xyz789",
"deleted_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"election_ids": [uuid],
"id": uuid,
"published_at": timestamptz,
"tenant_id": uuid
}
ballot_publication_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
created_by_user_id - String
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
election_ids - [uuid!]
|
|
id - uuid
|
|
published_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"created_by_user_id": "xyz789",
"deleted_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"election_ids": [uuid],
"id": uuid,
"published_at": timestamptz,
"tenant_id": uuid
}
ballot_publication_mutation_response
Description
response of any mutation on the table "sequent_backend.ballot_publication"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [ballot_publication!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [ballot_publication]}
ballot_publication_on_conflict
Description
on_conflict condition type for table "sequent_backend.ballot_publication"
Fields
| Input Field | Description |
|---|---|
constraint - ballot_publication_constraint!
|
|
update_columns - [ballot_publication_update_column!]!
|
|
where - ballot_publication_bool_exp
|
Example
{
"constraint": "ballot_publication_pkey",
"update_columns": ["annotations"],
"where": ballot_publication_bool_exp
}
ballot_publication_order_by
Description
Ordering options when selecting data from "sequent_backend.ballot_publication".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
created_at - order_by
|
|
created_by_user_id - order_by
|
|
deleted_at - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
election_ids - order_by
|
|
id - order_by
|
|
is_generated - order_by
|
|
labels - order_by
|
|
published_at - order_by
|
|
tenant_id - order_by
|
Example
{
"annotations": "asc",
"created_at": "asc",
"created_by_user_id": "asc",
"deleted_at": "asc",
"election_event_id": "asc",
"election_id": "asc",
"election_ids": "asc",
"id": "asc",
"is_generated": "asc",
"labels": "asc",
"published_at": "asc",
"tenant_id": "asc"
}
ballot_publication_pk_columns_input
ballot_publication_prepend_input
ballot_publication_select_column
Description
select columns of table "sequent_backend.ballot_publication"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
ballot_publication_set_input
Description
input type for updating data in table "sequent_backend.ballot_publication"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
created_by_user_id - String
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
election_ids - [uuid!]
|
|
id - uuid
|
|
is_generated - Boolean
|
|
labels - jsonb
|
|
published_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"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
}
ballot_publication_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_ballot_publication"
Fields
| Input Field | Description |
|---|---|
initial_value - ballot_publication_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": ballot_publication_stream_cursor_value_input,
"ordering": "ASC"
}
ballot_publication_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
created_by_user_id - String
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
election_ids - [uuid!]
|
|
id - uuid
|
|
is_generated - Boolean
|
|
labels - jsonb
|
|
published_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"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
}
ballot_publication_update_column
Description
update columns of table "sequent_backend.ballot_publication"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
ballot_publication_updates
Fields
| Input Field | 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
{
"_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
}
ballot_style
Description
columns and relationships of "sequent_backend.ballot_style"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
area_id - uuid
|
|
ballot_eml - String
|
|
ballot_publication_id - uuid!
|
|
ballot_signature - bytea
|
|
created_at - timestamptz
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid!
|
|
election_id - uuid!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
status - String
|
|
tenant_id - uuid!
|
|
Example
{
"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
}
ballot_style_aggregate
Description
aggregated selection of "sequent_backend.ballot_style"
Fields
| Field Name | Description |
|---|---|
aggregate - ballot_style_aggregate_fields
|
|
nodes - [ballot_style!]!
|
Example
{
"aggregate": ballot_style_aggregate_fields,
"nodes": [ballot_style]
}
ballot_style_aggregate_fields
Description
aggregate fields of "sequent_backend.ballot_style"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - ballot_style_max_fields
|
|
min - ballot_style_min_fields
|
|
Example
{
"count": 987,
"max": ballot_style_max_fields,
"min": ballot_style_min_fields
}
ballot_style_append_input
ballot_style_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.ballot_style". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [ballot_style_bool_exp!]
|
|
_not - ballot_style_bool_exp
|
|
_or - [ballot_style_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
area_id - uuid_comparison_exp
|
|
ballot_eml - String_comparison_exp
|
|
ballot_publication_id - uuid_comparison_exp
|
|
ballot_signature - bytea_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
deleted_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
status - String_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [ballot_style_bool_exp],
"_not": ballot_style_bool_exp,
"_or": [ballot_style_bool_exp],
"annotations": jsonb_comparison_exp,
"area_id": uuid_comparison_exp,
"ballot_eml": String_comparison_exp,
"ballot_publication_id": uuid_comparison_exp,
"ballot_signature": bytea_comparison_exp,
"created_at": timestamptz_comparison_exp,
"deleted_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"status": String_comparison_exp,
"tenant_id": uuid_comparison_exp
}
ballot_style_constraint
Description
unique or primary key constraints on table "sequent_backend.ballot_style"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"ballot_style_pkey"
ballot_style_delete_at_path_input
ballot_style_delete_elem_input
ballot_style_delete_key_input
ballot_style_insert_input
Description
input type for inserting data into table "sequent_backend.ballot_style"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
ballot_eml - String
|
|
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 - String
|
|
tenant_id - uuid
|
Example
{
"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
}
ballot_style_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
ballot_eml - String
|
|
ballot_publication_id - uuid
|
|
created_at - timestamptz
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
status - String
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"ballot_eml": "xyz789",
"ballot_publication_id": uuid,
"created_at": timestamptz,
"deleted_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"status": "xyz789",
"tenant_id": uuid
}
ballot_style_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
ballot_eml - String
|
|
ballot_publication_id - uuid
|
|
created_at - timestamptz
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
status - String
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"ballot_eml": "abc123",
"ballot_publication_id": uuid,
"created_at": timestamptz,
"deleted_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"status": "xyz789",
"tenant_id": uuid
}
ballot_style_mutation_response
Description
response of any mutation on the table "sequent_backend.ballot_style"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [ballot_style!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [ballot_style]}
ballot_style_on_conflict
Description
on_conflict condition type for table "sequent_backend.ballot_style"
Fields
| Input Field | Description |
|---|---|
constraint - ballot_style_constraint!
|
|
update_columns - [ballot_style_update_column!]!
|
|
where - ballot_style_bool_exp
|
Example
{
"constraint": "ballot_style_pkey",
"update_columns": ["annotations"],
"where": ballot_style_bool_exp
}
ballot_style_order_by
Description
Ordering options when selecting data from "sequent_backend.ballot_style".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
area_id - order_by
|
|
ballot_eml - order_by
|
|
ballot_publication_id - order_by
|
|
ballot_signature - order_by
|
|
created_at - order_by
|
|
deleted_at - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
id - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
status - order_by
|
|
tenant_id - order_by
|
Example
{
"annotations": "asc",
"area_id": "asc",
"ballot_eml": "asc",
"ballot_publication_id": "asc",
"ballot_signature": "asc",
"created_at": "asc",
"deleted_at": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"status": "asc",
"tenant_id": "asc"
}
ballot_style_pk_columns_input
ballot_style_prepend_input
ballot_style_select_column
Description
select columns of table "sequent_backend.ballot_style"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
ballot_style_set_input
Description
input type for updating data in table "sequent_backend.ballot_style"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
ballot_eml - String
|
|
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 - String
|
|
tenant_id - uuid
|
Example
{
"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
}
ballot_style_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_ballot_style"
Fields
| Input Field | Description |
|---|---|
initial_value - ballot_style_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": ballot_style_stream_cursor_value_input,
"ordering": "ASC"
}
ballot_style_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
ballot_eml - String
|
|
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 - String
|
|
tenant_id - uuid
|
Example
{
"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
}
ballot_style_update_column
Description
update columns of table "sequent_backend.ballot_style"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
ballot_style_updates
Fields
| Input Field | 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
{
"_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
}
bigint
Example
bigint
bigint_comparison_exp
Description
Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'.
Example
{
"_eq": bigint,
"_gt": bigint,
"_gte": bigint,
"_in": [bigint],
"_is_null": false,
"_lt": bigint,
"_lte": bigint,
"_neq": bigint,
"_nin": [bigint]
}
bytea
Example
bytea
bytea_comparison_exp
Description
Boolean expression to compare columns of type "bytea". All fields are combined with logical 'AND'.
Example
{
"_eq": bytea,
"_gt": bytea,
"_gte": bytea,
"_in": [bytea],
"_is_null": true,
"_lt": bytea,
"_lte": bytea,
"_neq": bytea,
"_nin": [bytea]
}
candidate
Description
columns and relationships of "sequent_backend.candidate"
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
Arguments
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid!
|
|
id - uuid!
|
|
image_document_id - String
|
|
is_public - Boolean
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
presentation - jsonb
|
|
Arguments
|
|
tenant_id - uuid!
|
|
type - String
|
|
Example
{
"alias": "xyz789",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "abc123",
"is_public": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"presentation": jsonb,
"tenant_id": uuid,
"type": "xyz789"
}
candidate_aggregate
Description
aggregated selection of "sequent_backend.candidate"
Fields
| Field Name | Description |
|---|---|
aggregate - candidate_aggregate_fields
|
|
nodes - [candidate!]!
|
Example
{
"aggregate": candidate_aggregate_fields,
"nodes": [candidate]
}
candidate_aggregate_bool_exp
Fields
| Input Field | Description |
|---|---|
bool_and - candidate_aggregate_bool_exp_bool_and
|
|
bool_or - candidate_aggregate_bool_exp_bool_or
|
|
count - candidate_aggregate_bool_exp_count
|
Example
{
"bool_and": candidate_aggregate_bool_exp_bool_and,
"bool_or": candidate_aggregate_bool_exp_bool_or,
"count": candidate_aggregate_bool_exp_count
}
candidate_aggregate_bool_exp_bool_and
Fields
| Input Field | Description |
|---|---|
arguments - candidate_select_column_sequent_backend_candidate_aggregate_bool_exp_bool_and_arguments_columns!
|
|
distinct - Boolean
|
|
filter - candidate_bool_exp
|
|
predicate - Boolean_comparison_exp!
|
Example
{
"arguments": "is_public",
"distinct": false,
"filter": candidate_bool_exp,
"predicate": Boolean_comparison_exp
}
candidate_aggregate_bool_exp_bool_or
Fields
| Input Field | Description |
|---|---|
arguments - candidate_select_column_sequent_backend_candidate_aggregate_bool_exp_bool_or_arguments_columns!
|
|
distinct - Boolean
|
|
filter - candidate_bool_exp
|
|
predicate - Boolean_comparison_exp!
|
Example
{
"arguments": "is_public",
"distinct": true,
"filter": candidate_bool_exp,
"predicate": Boolean_comparison_exp
}
candidate_aggregate_bool_exp_count
Fields
| Input Field | Description |
|---|---|
arguments - [candidate_select_column!]
|
|
distinct - Boolean
|
|
filter - candidate_bool_exp
|
|
predicate - Int_comparison_exp!
|
Example
{
"arguments": ["alias"],
"distinct": true,
"filter": candidate_bool_exp,
"predicate": Int_comparison_exp
}
candidate_aggregate_fields
Description
aggregate fields of "sequent_backend.candidate"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - candidate_max_fields
|
|
min - candidate_min_fields
|
|
Example
{
"count": 123,
"max": candidate_max_fields,
"min": candidate_min_fields
}
candidate_aggregate_order_by
Description
order by aggregate values of table "sequent_backend.candidate"
Fields
| Input Field | Description |
|---|---|
count - order_by
|
|
max - candidate_max_order_by
|
|
min - candidate_min_order_by
|
Example
{
"count": "asc",
"max": candidate_max_order_by,
"min": candidate_min_order_by
}
candidate_append_input
candidate_arr_rel_insert_input
Description
input type for inserting array relation for remote table "sequent_backend.candidate"
Fields
| Input Field | Description |
|---|---|
data - [candidate_insert_input!]!
|
|
on_conflict - candidate_on_conflict
|
upsert condition |
Example
{
"data": [candidate_insert_input],
"on_conflict": candidate_on_conflict
}
candidate_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.candidate". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [candidate_bool_exp!]
|
|
_not - candidate_bool_exp
|
|
_or - [candidate_bool_exp!]
|
|
alias - String_comparison_exp
|
|
annotations - jsonb_comparison_exp
|
|
contest_id - uuid_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
description - String_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
image_document_id - String_comparison_exp
|
|
is_public - Boolean_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
name - String_comparison_exp
|
|
presentation - jsonb_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
type - String_comparison_exp
|
Example
{
"_and": [candidate_bool_exp],
"_not": candidate_bool_exp,
"_or": [candidate_bool_exp],
"alias": String_comparison_exp,
"annotations": jsonb_comparison_exp,
"contest_id": uuid_comparison_exp,
"created_at": timestamptz_comparison_exp,
"description": String_comparison_exp,
"election_event_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"image_document_id": String_comparison_exp,
"is_public": Boolean_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"name": String_comparison_exp,
"presentation": jsonb_comparison_exp,
"tenant_id": uuid_comparison_exp,
"type": String_comparison_exp
}
candidate_constraint
Description
unique or primary key constraints on table "sequent_backend.candidate"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"candidate_pkey"
candidate_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["abc123"],
"labels": ["abc123"],
"presentation": ["abc123"]
}
candidate_delete_elem_input
candidate_delete_key_input
candidate_insert_input
Description
input type for inserting data into table "sequent_backend.candidate"
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
id - uuid
|
|
image_document_id - String
|
|
is_public - Boolean
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
presentation - jsonb
|
|
tenant_id - uuid
|
|
type - String
|
Example
{
"alias": "xyz789",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "xyz789",
"is_public": true,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"presentation": jsonb,
"tenant_id": uuid,
"type": "abc123"
}
candidate_max_fields
Description
aggregate max on columns
Example
{
"alias": "xyz789",
"contest_id": uuid,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "xyz789",
"last_updated_at": timestamptz,
"name": "abc123",
"tenant_id": uuid,
"type": "xyz789"
}
candidate_max_order_by
Description
order by max() on columns of table "sequent_backend.candidate"
Example
{
"alias": "asc",
"contest_id": "asc",
"created_at": "asc",
"description": "asc",
"election_event_id": "asc",
"id": "asc",
"image_document_id": "asc",
"last_updated_at": "asc",
"name": "asc",
"tenant_id": "asc",
"type": "asc"
}
candidate_min_fields
Description
aggregate min on columns
Example
{
"alias": "abc123",
"contest_id": uuid,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "xyz789",
"last_updated_at": timestamptz,
"name": "xyz789",
"tenant_id": uuid,
"type": "abc123"
}
candidate_min_order_by
Description
order by min() on columns of table "sequent_backend.candidate"
Example
{
"alias": "asc",
"contest_id": "asc",
"created_at": "asc",
"description": "asc",
"election_event_id": "asc",
"id": "asc",
"image_document_id": "asc",
"last_updated_at": "asc",
"name": "asc",
"tenant_id": "asc",
"type": "asc"
}
candidate_mutation_response
Description
response of any mutation on the table "sequent_backend.candidate"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [candidate!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [candidate]}
candidate_on_conflict
Description
on_conflict condition type for table "sequent_backend.candidate"
Fields
| Input Field | Description |
|---|---|
constraint - candidate_constraint!
|
|
update_columns - [candidate_update_column!]!
|
|
where - candidate_bool_exp
|
Example
{
"constraint": "candidate_pkey",
"update_columns": ["alias"],
"where": candidate_bool_exp
}
candidate_order_by
Description
Ordering options when selecting data from "sequent_backend.candidate".
Fields
| Input Field | Description |
|---|---|
alias - order_by
|
|
annotations - order_by
|
|
contest_id - order_by
|
|
created_at - order_by
|
|
description - order_by
|
|
election_event_id - order_by
|
|
id - order_by
|
|
image_document_id - order_by
|
|
is_public - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
name - order_by
|
|
presentation - order_by
|
|
tenant_id - order_by
|
|
type - order_by
|
Example
{
"alias": "asc",
"annotations": "asc",
"contest_id": "asc",
"created_at": "asc",
"description": "asc",
"election_event_id": "asc",
"id": "asc",
"image_document_id": "asc",
"is_public": "asc",
"labels": "asc",
"last_updated_at": "asc",
"name": "asc",
"presentation": "asc",
"tenant_id": "asc",
"type": "asc"
}
candidate_pk_columns_input
candidate_prepend_input
candidate_select_column
Description
select columns of table "sequent_backend.candidate"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
candidate_select_column_sequent_backend_candidate_aggregate_bool_exp_bool_and_arguments_columns
Description
select "sequent_backend_candidate_aggregate_bool_exp_bool_and_arguments_columns" columns of table "sequent_backend.candidate"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
Example
"is_public"
candidate_select_column_sequent_backend_candidate_aggregate_bool_exp_bool_or_arguments_columns
Description
select "sequent_backend_candidate_aggregate_bool_exp_bool_or_arguments_columns" columns of table "sequent_backend.candidate"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
Example
"is_public"
candidate_set_input
Description
input type for updating data in table "sequent_backend.candidate"
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
id - uuid
|
|
image_document_id - String
|
|
is_public - Boolean
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
presentation - jsonb
|
|
tenant_id - uuid
|
|
type - String
|
Example
{
"alias": "abc123",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "abc123",
"is_public": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"presentation": jsonb,
"tenant_id": uuid,
"type": "xyz789"
}
candidate_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_candidate"
Fields
| Input Field | Description |
|---|---|
initial_value - candidate_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": candidate_stream_cursor_value_input,
"ordering": "ASC"
}
candidate_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
id - uuid
|
|
image_document_id - String
|
|
is_public - Boolean
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
presentation - jsonb
|
|
tenant_id - uuid
|
|
type - String
|
Example
{
"alias": "xyz789",
"annotations": jsonb,
"contest_id": uuid,
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"id": uuid,
"image_document_id": "abc123",
"is_public": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"presentation": jsonb,
"tenant_id": uuid,
"type": "abc123"
}
candidate_update_column
Description
update columns of table "sequent_backend.candidate"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
candidate_updates
Fields
| Input Field | 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
{
"_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
}
cast_vote
Description
columns and relationships of "sequent_backend.cast_vote"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
area_id - uuid
|
|
ballot_id - String
|
|
cast_ballot_signature - bytea
|
|
content - String
|
|
created_at - timestamptz
|
|
election_event_id - uuid!
|
|
election_id - uuid
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid!
|
|
voter_id_string - String
|
|
Example
{
"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"
}
cast_vote_aggregate
Description
aggregated selection of "sequent_backend.cast_vote"
Fields
| Field Name | Description |
|---|---|
aggregate - cast_vote_aggregate_fields
|
|
nodes - [cast_vote!]!
|
Example
{
"aggregate": cast_vote_aggregate_fields,
"nodes": [cast_vote]
}
cast_vote_aggregate_fields
Description
aggregate fields of "sequent_backend.cast_vote"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - cast_vote_max_fields
|
|
min - cast_vote_min_fields
|
|
Example
{
"count": 987,
"max": cast_vote_max_fields,
"min": cast_vote_min_fields
}
cast_vote_append_input
cast_vote_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.cast_vote". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [cast_vote_bool_exp!]
|
|
_not - cast_vote_bool_exp
|
|
_or - [cast_vote_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
area_id - uuid_comparison_exp
|
|
ballot_id - String_comparison_exp
|
|
cast_ballot_signature - bytea_comparison_exp
|
|
content - String_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
voter_id_string - String_comparison_exp
|
Example
{
"_and": [cast_vote_bool_exp],
"_not": cast_vote_bool_exp,
"_or": [cast_vote_bool_exp],
"annotations": jsonb_comparison_exp,
"area_id": uuid_comparison_exp,
"ballot_id": String_comparison_exp,
"cast_ballot_signature": bytea_comparison_exp,
"content": String_comparison_exp,
"created_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"tenant_id": uuid_comparison_exp,
"voter_id_string": String_comparison_exp
}
cast_vote_constraint
Description
unique or primary key constraints on table "sequent_backend.cast_vote"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"cast_vote_pkey"
cast_vote_delete_at_path_input
cast_vote_delete_elem_input
cast_vote_delete_key_input
cast_vote_insert_input
Description
input type for inserting data into table "sequent_backend.cast_vote"
Example
{
"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"
}
cast_vote_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
ballot_id - String
|
|
content - String
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid
|
|
voter_id_string - String
|
Example
{
"area_id": uuid,
"ballot_id": "xyz789",
"content": "xyz789",
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"tenant_id": uuid,
"voter_id_string": "abc123"
}
cast_vote_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
ballot_id - String
|
|
content - String
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid
|
|
voter_id_string - String
|
Example
{
"area_id": uuid,
"ballot_id": "abc123",
"content": "xyz789",
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"tenant_id": uuid,
"voter_id_string": "xyz789"
}
cast_vote_mutation_response
Description
response of any mutation on the table "sequent_backend.cast_vote"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [cast_vote!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [cast_vote]}
cast_vote_on_conflict
Description
on_conflict condition type for table "sequent_backend.cast_vote"
Fields
| Input Field | Description |
|---|---|
constraint - cast_vote_constraint!
|
|
update_columns - [cast_vote_update_column!]!
|
|
where - cast_vote_bool_exp
|
Example
{
"constraint": "cast_vote_pkey",
"update_columns": ["annotations"],
"where": cast_vote_bool_exp
}
cast_vote_order_by
Description
Ordering options when selecting data from "sequent_backend.cast_vote".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
area_id - order_by
|
|
ballot_id - order_by
|
|
cast_ballot_signature - order_by
|
|
content - order_by
|
|
created_at - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
id - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
tenant_id - order_by
|
|
voter_id_string - order_by
|
Example
{
"annotations": "asc",
"area_id": "asc",
"ballot_id": "asc",
"cast_ballot_signature": "asc",
"content": "asc",
"created_at": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"tenant_id": "asc",
"voter_id_string": "asc"
}
cast_vote_pk_columns_input
cast_vote_prepend_input
cast_vote_select_column
Description
select columns of table "sequent_backend.cast_vote"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
cast_vote_set_input
Description
input type for updating data in table "sequent_backend.cast_vote"
Example
{
"annotations": jsonb,
"area_id": uuid,
"ballot_id": "abc123",
"cast_ballot_signature": bytea,
"content": "abc123",
"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"
}
cast_vote_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_cast_vote"
Fields
| Input Field | Description |
|---|---|
initial_value - cast_vote_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": cast_vote_stream_cursor_value_input,
"ordering": "ASC"
}
cast_vote_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"annotations": jsonb,
"area_id": uuid,
"ballot_id": "xyz789",
"cast_ballot_signature": bytea,
"content": "abc123",
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"tenant_id": uuid,
"voter_id_string": "xyz789"
}
cast_vote_update_column
Description
update columns of table "sequent_backend.cast_vote"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
cast_vote_updates
Fields
| Input Field | Description |
|---|---|
_append - cast_vote_append_input
|
append existing jsonb value of filtered columns with new jsonb value |
_delete_at_path - cast_vote_delete_at_path_input
|
delete the field or element with specified path (for JSON arrays, negative integers count from the end) |
_delete_elem - cast_vote_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 - cast_vote_delete_key_input
|
delete key/value pair or string element. key/value pairs are matched based on their key value |
_prepend - cast_vote_prepend_input
|
prepend existing jsonb value of filtered columns with new jsonb value |
_set - cast_vote_set_input
|
sets the columns of the filtered rows to the given values |
where - cast_vote_bool_exp!
|
filter the rows which have to be updated |
Example
{
"_append": cast_vote_append_input,
"_delete_at_path": cast_vote_delete_at_path_input,
"_delete_elem": cast_vote_delete_elem_input,
"_delete_key": cast_vote_delete_key_input,
"_prepend": cast_vote_prepend_input,
"_set": cast_vote_set_input,
"where": cast_vote_bool_exp
}
contest
Description
columns and relationships of "sequent_backend.contest"
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
Arguments
|
|
candidates - [candidate!]!
|
An array relationship |
Arguments
|
|
candidates_aggregate - candidate_aggregate!
|
An aggregate relationship |
Arguments
|
|
conditions - jsonb
|
|
Arguments
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid!
|
|
election_id - uuid!
|
|
id - uuid!
|
|
image_document_id - String
|
|
is_acclaimed - Boolean
|
|
is_active - Boolean
|
|
is_encrypted - Boolean
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
max_votes - Int
|
|
min_votes - Int
|
|
name - String
|
|
presentation - jsonb
|
|
Arguments
|
|
tally_configuration - jsonb
|
|
Arguments
|
|
tenant_id - uuid!
|
|
voting_type - String
|
|
winning_candidates_num - Int
|
|
Example
{
"alias": "xyz789",
"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,
"id": uuid,
"image_document_id": "xyz789",
"is_acclaimed": false,
"is_active": false,
"is_encrypted": true,
"labels": jsonb,
"last_updated_at": timestamptz,
"max_votes": 987,
"min_votes": 123,
"name": "abc123",
"presentation": jsonb,
"tally_configuration": jsonb,
"tenant_id": uuid,
"voting_type": "xyz789",
"winning_candidates_num": 123
}
contest_aggregate
Description
aggregated selection of "sequent_backend.contest"
Fields
| Field Name | Description |
|---|---|
aggregate - contest_aggregate_fields
|
|
nodes - [contest!]!
|
Example
{
"aggregate": contest_aggregate_fields,
"nodes": [contest]
}
contest_aggregate_bool_exp
Fields
| Input Field | Description |
|---|---|
bool_and - contest_aggregate_bool_exp_bool_and
|
|
bool_or - contest_aggregate_bool_exp_bool_or
|
|
count - contest_aggregate_bool_exp_count
|
Example
{
"bool_and": contest_aggregate_bool_exp_bool_and,
"bool_or": contest_aggregate_bool_exp_bool_or,
"count": contest_aggregate_bool_exp_count
}
contest_aggregate_bool_exp_bool_and
Fields
| Input Field | Description |
|---|---|
arguments - contest_select_column_sequent_backend_contest_aggregate_bool_exp_bool_and_arguments_columns!
|
|
distinct - Boolean
|
|
filter - contest_bool_exp
|
|
predicate - Boolean_comparison_exp!
|
Example
{
"arguments": "is_acclaimed",
"distinct": true,
"filter": contest_bool_exp,
"predicate": Boolean_comparison_exp
}
contest_aggregate_bool_exp_bool_or
Fields
| Input Field | Description |
|---|---|
arguments - contest_select_column_sequent_backend_contest_aggregate_bool_exp_bool_or_arguments_columns!
|
|
distinct - Boolean
|
|
filter - contest_bool_exp
|
|
predicate - Boolean_comparison_exp!
|
Example
{
"arguments": "is_acclaimed",
"distinct": true,
"filter": contest_bool_exp,
"predicate": Boolean_comparison_exp
}
contest_aggregate_bool_exp_count
Fields
| Input Field | Description |
|---|---|
arguments - [contest_select_column!]
|
|
distinct - Boolean
|
|
filter - contest_bool_exp
|
|
predicate - Int_comparison_exp!
|
Example
{
"arguments": ["alias"],
"distinct": false,
"filter": contest_bool_exp,
"predicate": Int_comparison_exp
}
contest_aggregate_fields
Description
aggregate fields of "sequent_backend.contest"
Fields
| Field Name | Description |
|---|---|
avg - contest_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - contest_max_fields
|
|
min - contest_min_fields
|
|
stddev - contest_stddev_fields
|
|
stddev_pop - contest_stddev_pop_fields
|
|
stddev_samp - contest_stddev_samp_fields
|
|
sum - contest_sum_fields
|
|
var_pop - contest_var_pop_fields
|
|
var_samp - contest_var_samp_fields
|
|
variance - contest_variance_fields
|
|
Example
{
"avg": contest_avg_fields,
"count": 987,
"max": contest_max_fields,
"min": contest_min_fields,
"stddev": contest_stddev_fields,
"stddev_pop": contest_stddev_pop_fields,
"stddev_samp": contest_stddev_samp_fields,
"sum": contest_sum_fields,
"var_pop": contest_var_pop_fields,
"var_samp": contest_var_samp_fields,
"variance": contest_variance_fields
}
contest_aggregate_order_by
Description
order by aggregate values of table "sequent_backend.contest"
Fields
| Input Field | Description |
|---|---|
avg - contest_avg_order_by
|
|
count - order_by
|
|
max - contest_max_order_by
|
|
min - contest_min_order_by
|
|
stddev - contest_stddev_order_by
|
|
stddev_pop - contest_stddev_pop_order_by
|
|
stddev_samp - contest_stddev_samp_order_by
|
|
sum - contest_sum_order_by
|
|
var_pop - contest_var_pop_order_by
|
|
var_samp - contest_var_samp_order_by
|
|
variance - contest_variance_order_by
|
Example
{
"avg": contest_avg_order_by,
"count": "asc",
"max": contest_max_order_by,
"min": contest_min_order_by,
"stddev": contest_stddev_order_by,
"stddev_pop": contest_stddev_pop_order_by,
"stddev_samp": contest_stddev_samp_order_by,
"sum": contest_sum_order_by,
"var_pop": contest_var_pop_order_by,
"var_samp": contest_var_samp_order_by,
"variance": contest_variance_order_by
}
contest_append_input
Description
append existing jsonb value of filtered columns with new jsonb value
Example
{
"annotations": jsonb,
"conditions": jsonb,
"labels": jsonb,
"presentation": jsonb,
"tally_configuration": jsonb
}
contest_arr_rel_insert_input
Description
input type for inserting array relation for remote table "sequent_backend.contest"
Fields
| Input Field | Description |
|---|---|
data - [contest_insert_input!]!
|
|
on_conflict - contest_on_conflict
|
upsert condition |
Example
{
"data": [contest_insert_input],
"on_conflict": contest_on_conflict
}
contest_avg_fields
contest_avg_order_by
contest_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.contest". All fields are combined with a logical 'AND'.
Fields
Example
{
"_and": [contest_bool_exp],
"_not": contest_bool_exp,
"_or": [contest_bool_exp],
"alias": String_comparison_exp,
"annotations": jsonb_comparison_exp,
"candidates": candidate_bool_exp,
"candidates_aggregate": candidate_aggregate_bool_exp,
"conditions": jsonb_comparison_exp,
"counting_algorithm": String_comparison_exp,
"created_at": timestamptz_comparison_exp,
"description": String_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"image_document_id": String_comparison_exp,
"is_acclaimed": Boolean_comparison_exp,
"is_active": Boolean_comparison_exp,
"is_encrypted": Boolean_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"max_votes": Int_comparison_exp,
"min_votes": Int_comparison_exp,
"name": String_comparison_exp,
"presentation": jsonb_comparison_exp,
"tally_configuration": jsonb_comparison_exp,
"tenant_id": uuid_comparison_exp,
"voting_type": String_comparison_exp,
"winning_candidates_num": Int_comparison_exp
}
contest_constraint
Description
unique or primary key constraints on table "sequent_backend.contest"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"contest_pkey"
contest_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["abc123"],
"conditions": ["xyz789"],
"labels": ["abc123"],
"presentation": ["xyz789"],
"tally_configuration": ["xyz789"]
}
contest_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Example
{
"annotations": 123,
"conditions": 123,
"labels": 987,
"presentation": 123,
"tally_configuration": 987
}
contest_delete_key_input
Description
delete key/value pair or string element. key/value pairs are matched based on their key value
Example
{
"annotations": "abc123",
"conditions": "xyz789",
"labels": "xyz789",
"presentation": "xyz789",
"tally_configuration": "abc123"
}
contest_inc_input
contest_insert_input
Description
input type for inserting data into table "sequent_backend.contest"
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
candidates - candidate_arr_rel_insert_input
|
|
conditions - jsonb
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
image_document_id - String
|
|
is_acclaimed - Boolean
|
|
is_active - Boolean
|
|
is_encrypted - Boolean
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
max_votes - Int
|
|
min_votes - Int
|
|
name - String
|
|
presentation - jsonb
|
|
tally_configuration - jsonb
|
|
tenant_id - uuid
|
|
voting_type - String
|
|
winning_candidates_num - Int
|
Example
{
"alias": "xyz789",
"annotations": jsonb,
"candidates": candidate_arr_rel_insert_input,
"conditions": jsonb,
"counting_algorithm": "xyz789",
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"image_document_id": "abc123",
"is_acclaimed": true,
"is_active": true,
"is_encrypted": true,
"labels": jsonb,
"last_updated_at": timestamptz,
"max_votes": 123,
"min_votes": 987,
"name": "xyz789",
"presentation": jsonb,
"tally_configuration": jsonb,
"tenant_id": uuid,
"voting_type": "abc123",
"winning_candidates_num": 987
}
contest_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
image_document_id - String
|
|
last_updated_at - timestamptz
|
|
max_votes - Int
|
|
min_votes - Int
|
|
name - String
|
|
tenant_id - uuid
|
|
voting_type - String
|
|
winning_candidates_num - Int
|
Example
{
"alias": "abc123",
"counting_algorithm": "abc123",
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"image_document_id": "abc123",
"last_updated_at": timestamptz,
"max_votes": 123,
"min_votes": 987,
"name": "abc123",
"tenant_id": uuid,
"voting_type": "abc123",
"winning_candidates_num": 987
}
contest_max_order_by
Description
order by max() on columns of table "sequent_backend.contest"
Fields
| Input Field | Description |
|---|---|
alias - order_by
|
|
counting_algorithm - order_by
|
|
created_at - order_by
|
|
description - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
id - order_by
|
|
image_document_id - order_by
|
|
last_updated_at - order_by
|
|
max_votes - order_by
|
|
min_votes - order_by
|
|
name - order_by
|
|
tenant_id - order_by
|
|
voting_type - order_by
|
|
winning_candidates_num - order_by
|
Example
{
"alias": "asc",
"counting_algorithm": "asc",
"created_at": "asc",
"description": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"image_document_id": "asc",
"last_updated_at": "asc",
"max_votes": "asc",
"min_votes": "asc",
"name": "asc",
"tenant_id": "asc",
"voting_type": "asc",
"winning_candidates_num": "asc"
}
contest_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
image_document_id - String
|
|
last_updated_at - timestamptz
|
|
max_votes - Int
|
|
min_votes - Int
|
|
name - String
|
|
tenant_id - uuid
|
|
voting_type - String
|
|
winning_candidates_num - Int
|
Example
{
"alias": "xyz789",
"counting_algorithm": "xyz789",
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"image_document_id": "abc123",
"last_updated_at": timestamptz,
"max_votes": 987,
"min_votes": 123,
"name": "xyz789",
"tenant_id": uuid,
"voting_type": "abc123",
"winning_candidates_num": 987
}
contest_min_order_by
Description
order by min() on columns of table "sequent_backend.contest"
Fields
| Input Field | Description |
|---|---|
alias - order_by
|
|
counting_algorithm - order_by
|
|
created_at - order_by
|
|
description - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
id - order_by
|
|
image_document_id - order_by
|
|
last_updated_at - order_by
|
|
max_votes - order_by
|
|
min_votes - order_by
|
|
name - order_by
|
|
tenant_id - order_by
|
|
voting_type - order_by
|
|
winning_candidates_num - order_by
|
Example
{
"alias": "asc",
"counting_algorithm": "asc",
"created_at": "asc",
"description": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"image_document_id": "asc",
"last_updated_at": "asc",
"max_votes": "asc",
"min_votes": "asc",
"name": "asc",
"tenant_id": "asc",
"voting_type": "asc",
"winning_candidates_num": "asc"
}
contest_mutation_response
Description
response of any mutation on the table "sequent_backend.contest"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [contest!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [contest]}
contest_obj_rel_insert_input
Description
input type for inserting object relation for remote table "sequent_backend.contest"
Fields
| Input Field | Description |
|---|---|
data - contest_insert_input!
|
|
on_conflict - contest_on_conflict
|
upsert condition |
Example
{
"data": contest_insert_input,
"on_conflict": contest_on_conflict
}
contest_on_conflict
Description
on_conflict condition type for table "sequent_backend.contest"
Fields
| Input Field | Description |
|---|---|
constraint - contest_constraint!
|
|
update_columns - [contest_update_column!]!
|
|
where - contest_bool_exp
|
Example
{
"constraint": "contest_pkey",
"update_columns": ["alias"],
"where": contest_bool_exp
}
contest_order_by
Description
Ordering options when selecting data from "sequent_backend.contest".
Fields
| Input Field | Description |
|---|---|
alias - order_by
|
|
annotations - order_by
|
|
candidates_aggregate - candidate_aggregate_order_by
|
|
conditions - order_by
|
|
counting_algorithm - order_by
|
|
created_at - order_by
|
|
description - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
id - order_by
|
|
image_document_id - order_by
|
|
is_acclaimed - order_by
|
|
is_active - order_by
|
|
is_encrypted - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
max_votes - order_by
|
|
min_votes - order_by
|
|
name - order_by
|
|
presentation - order_by
|
|
tally_configuration - order_by
|
|
tenant_id - order_by
|
|
voting_type - order_by
|
|
winning_candidates_num - order_by
|
Example
{
"alias": "asc",
"annotations": "asc",
"candidates_aggregate": candidate_aggregate_order_by,
"conditions": "asc",
"counting_algorithm": "asc",
"created_at": "asc",
"description": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"image_document_id": "asc",
"is_acclaimed": "asc",
"is_active": "asc",
"is_encrypted": "asc",
"labels": "asc",
"last_updated_at": "asc",
"max_votes": "asc",
"min_votes": "asc",
"name": "asc",
"presentation": "asc",
"tally_configuration": "asc",
"tenant_id": "asc",
"voting_type": "asc",
"winning_candidates_num": "asc"
}
contest_pk_columns_input
contest_prepend_input
Description
prepend existing jsonb value of filtered columns with new jsonb value
Example
{
"annotations": jsonb,
"conditions": jsonb,
"labels": jsonb,
"presentation": jsonb,
"tally_configuration": jsonb
}
contest_select_column
Description
select columns of table "sequent_backend.contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
contest_select_column_sequent_backend_contest_aggregate_bool_exp_bool_and_arguments_columns
Description
select "sequent_backend_contest_aggregate_bool_exp_bool_and_arguments_columns" columns of table "sequent_backend.contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
Example
"is_acclaimed"
contest_select_column_sequent_backend_contest_aggregate_bool_exp_bool_or_arguments_columns
Description
select "sequent_backend_contest_aggregate_bool_exp_bool_or_arguments_columns" columns of table "sequent_backend.contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
Example
"is_acclaimed"
contest_set_input
Description
input type for updating data in table "sequent_backend.contest"
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
conditions - jsonb
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
image_document_id - String
|
|
is_acclaimed - Boolean
|
|
is_active - Boolean
|
|
is_encrypted - Boolean
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
max_votes - Int
|
|
min_votes - Int
|
|
name - String
|
|
presentation - jsonb
|
|
tally_configuration - jsonb
|
|
tenant_id - uuid
|
|
voting_type - String
|
|
winning_candidates_num - Int
|
Example
{
"alias": "xyz789",
"annotations": jsonb,
"conditions": jsonb,
"counting_algorithm": "xyz789",
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"image_document_id": "abc123",
"is_acclaimed": true,
"is_active": false,
"is_encrypted": true,
"labels": jsonb,
"last_updated_at": timestamptz,
"max_votes": 123,
"min_votes": 123,
"name": "abc123",
"presentation": jsonb,
"tally_configuration": jsonb,
"tenant_id": uuid,
"voting_type": "abc123",
"winning_candidates_num": 987
}
contest_stddev_fields
contest_stddev_order_by
contest_stddev_pop_fields
contest_stddev_pop_order_by
contest_stddev_samp_fields
contest_stddev_samp_order_by
contest_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_contest"
Fields
| Input Field | Description |
|---|---|
initial_value - contest_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": contest_stream_cursor_value_input,
"ordering": "ASC"
}
contest_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
conditions - jsonb
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
image_document_id - String
|
|
is_acclaimed - Boolean
|
|
is_active - Boolean
|
|
is_encrypted - Boolean
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
max_votes - Int
|
|
min_votes - Int
|
|
name - String
|
|
presentation - jsonb
|
|
tally_configuration - jsonb
|
|
tenant_id - uuid
|
|
voting_type - String
|
|
winning_candidates_num - Int
|
Example
{
"alias": "abc123",
"annotations": jsonb,
"conditions": jsonb,
"counting_algorithm": "xyz789",
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"image_document_id": "xyz789",
"is_acclaimed": true,
"is_active": true,
"is_encrypted": true,
"labels": jsonb,
"last_updated_at": timestamptz,
"max_votes": 987,
"min_votes": 987,
"name": "abc123",
"presentation": jsonb,
"tally_configuration": jsonb,
"tenant_id": uuid,
"voting_type": "xyz789",
"winning_candidates_num": 123
}
contest_sum_fields
contest_sum_order_by
contest_update_column
Description
update columns of table "sequent_backend.contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
contest_updates
Fields
| Input Field | 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
{
"_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
}
contest_var_pop_fields
contest_var_pop_order_by
contest_var_samp_fields
contest_var_samp_order_by
contest_variance_fields
contest_variance_order_by
createBallotReceiptOutput
createTransmissionPackageOutput
Fields
| Field Name | Description |
|---|---|
error_msg - String
|
|
task_execution - tasks_execution_type
|
Example
{
"error_msg": "abc123",
"task_execution": tasks_execution_type
}
cursor_ordering
Description
ordering argument of a cursor
Values
| Enum Value | Description |
|---|---|
|
|
ascending ordering of the cursor |
|
|
descending ordering of the cursor |
Example
"ASC"
date
Example
date
document
Description
columns and relationships of "sequent_backend.document"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid!
|
|
is_public - Boolean
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
media_type - String
|
|
name - String
|
|
size - bigint
|
|
tenant_id - uuid
|
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"is_public": true,
"labels": jsonb,
"last_updated_at": timestamptz,
"media_type": "abc123",
"name": "abc123",
"size": bigint,
"tenant_id": uuid
}
documentTaskOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
error_msg - String
|
|
task_execution - tasks_execution_type!
|
Example
{
"document_id": "xyz789",
"error_msg": "xyz789",
"task_execution": tasks_execution_type
}
document_aggregate
Description
aggregated selection of "sequent_backend.document"
Fields
| Field Name | Description |
|---|---|
aggregate - document_aggregate_fields
|
|
nodes - [document!]!
|
Example
{
"aggregate": document_aggregate_fields,
"nodes": [document]
}
document_aggregate_fields
Description
aggregate fields of "sequent_backend.document"
Fields
| Field Name | Description |
|---|---|
avg - document_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - document_max_fields
|
|
min - document_min_fields
|
|
stddev - document_stddev_fields
|
|
stddev_pop - document_stddev_pop_fields
|
|
stddev_samp - document_stddev_samp_fields
|
|
sum - document_sum_fields
|
|
var_pop - document_var_pop_fields
|
|
var_samp - document_var_samp_fields
|
|
variance - document_variance_fields
|
|
Example
{
"avg": document_avg_fields,
"count": 123,
"max": document_max_fields,
"min": document_min_fields,
"stddev": document_stddev_fields,
"stddev_pop": document_stddev_pop_fields,
"stddev_samp": document_stddev_samp_fields,
"sum": document_sum_fields,
"var_pop": document_var_pop_fields,
"var_samp": document_var_samp_fields,
"variance": document_variance_fields
}
document_append_input
document_avg_fields
Description
aggregate avg on columns
Fields
| Field Name | Description |
|---|---|
size - Float
|
Example
{"size": 987.65}
document_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.document". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [document_bool_exp!]
|
|
_not - document_bool_exp
|
|
_or - [document_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
is_public - Boolean_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
media_type - String_comparison_exp
|
|
name - String_comparison_exp
|
|
size - bigint_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [document_bool_exp],
"_not": document_bool_exp,
"_or": [document_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"is_public": Boolean_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"media_type": String_comparison_exp,
"name": String_comparison_exp,
"size": bigint_comparison_exp,
"tenant_id": uuid_comparison_exp
}
document_constraint
Description
unique or primary key constraints on table "sequent_backend.document"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id" |
Example
"election_document_pkey"
document_delete_at_path_input
document_delete_elem_input
document_delete_key_input
document_inc_input
Description
input type for incrementing numeric columns in table "sequent_backend.document"
Fields
| Input Field | Description |
|---|---|
size - bigint
|
Example
{"size": bigint}
document_insert_input
Description
input type for inserting data into table "sequent_backend.document"
Example
{
"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
}
document_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
media_type - String
|
|
name - String
|
|
size - bigint
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"media_type": "xyz789",
"name": "xyz789",
"size": bigint,
"tenant_id": uuid
}
document_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
media_type - String
|
|
name - String
|
|
size - bigint
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"media_type": "xyz789",
"name": "abc123",
"size": bigint,
"tenant_id": uuid
}
document_mutation_response
Description
response of any mutation on the table "sequent_backend.document"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [document!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [document]}
document_on_conflict
Description
on_conflict condition type for table "sequent_backend.document"
Fields
| Input Field | Description |
|---|---|
constraint - document_constraint!
|
|
update_columns - [document_update_column!]!
|
|
where - document_bool_exp
|
Example
{
"constraint": "election_document_pkey",
"update_columns": ["annotations"],
"where": document_bool_exp
}
document_order_by
Description
Ordering options when selecting data from "sequent_backend.document".
Example
{
"annotations": "asc",
"created_at": "asc",
"election_event_id": "asc",
"id": "asc",
"is_public": "asc",
"labels": "asc",
"last_updated_at": "asc",
"media_type": "asc",
"name": "asc",
"size": "asc",
"tenant_id": "asc"
}
document_pk_columns_input
Description
primary key columns input for table: sequent_backend.document
Fields
| Input Field | Description |
|---|---|
id - uuid!
|
Example
{"id": uuid}
document_prepend_input
document_select_column
Description
select columns of table "sequent_backend.document"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
document_set_input
Description
input type for updating data in table "sequent_backend.document"
Example
{
"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
}
document_stddev_fields
Description
aggregate stddev on columns
Fields
| Field Name | Description |
|---|---|
size - Float
|
Example
{"size": 123.45}
document_stddev_pop_fields
Description
aggregate stddev_pop on columns
Fields
| Field Name | Description |
|---|---|
size - Float
|
Example
{"size": 123.45}
document_stddev_samp_fields
Description
aggregate stddev_samp on columns
Fields
| Field Name | Description |
|---|---|
size - Float
|
Example
{"size": 123.45}
document_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_document"
Fields
| Input Field | Description |
|---|---|
initial_value - document_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": document_stream_cursor_value_input,
"ordering": "ASC"
}
document_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"is_public": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"media_type": "abc123",
"name": "xyz789",
"size": bigint,
"tenant_id": uuid
}
document_sum_fields
Description
aggregate sum on columns
Fields
| Field Name | Description |
|---|---|
size - bigint
|
Example
{"size": bigint}
document_update_column
Description
update columns of table "sequent_backend.document"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
document_updates
Fields
| Input Field | 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
{
"_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
}
document_var_pop_fields
Description
aggregate var_pop on columns
Fields
| Field Name | Description |
|---|---|
size - Float
|
Example
{"size": 123.45}
document_var_samp_fields
Description
aggregate var_samp on columns
Fields
| Field Name | Description |
|---|---|
size - Float
|
Example
{"size": 123.45}
document_variance_fields
Description
aggregate variance on columns
Fields
| Field Name | Description |
|---|---|
size - Float
|
Example
{"size": 123.45}
election
Description
columns and relationships of "sequent_backend.election"
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
Arguments
|
|
contests - [contest!]!
|
An array relationship |
Arguments
|
|
contests_aggregate - contest_aggregate!
|
An aggregate relationship |
Arguments
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid!
|
|
eml - String
|
|
id - uuid!
|
|
image_document_id - String
|
|
initialization_report_generated - Boolean
|
|
is_consolidated_ballot_encoding - Boolean
|
|
is_kiosk - Boolean
|
|
keys_ceremony_id - uuid
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
name - String!
|
|
num_allowed_revotes - Int
|
|
permission_label - String
|
|
presentation - jsonb
|
|
Arguments
|
|
receipts - jsonb
|
|
Arguments
|
|
spoil_ballot_option - Boolean
|
|
statistics - jsonb
|
|
Arguments
|
|
status - jsonb
|
|
Arguments
|
|
tenant_id - uuid!
|
|
voting_channels - jsonb
|
|
Arguments
|
|
Example
{
"alias": "xyz789",
"annotations": jsonb,
"contests": [contest],
"contests_aggregate": contest_aggregate,
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"eml": "xyz789",
"id": uuid,
"image_document_id": "abc123",
"initialization_report_generated": true,
"is_consolidated_ballot_encoding": false,
"is_kiosk": true,
"keys_ceremony_id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"num_allowed_revotes": 987,
"permission_label": "xyz789",
"presentation": jsonb,
"receipts": jsonb,
"spoil_ballot_option": false,
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"voting_channels": jsonb
}
election_aggregate
Description
aggregated selection of "sequent_backend.election"
Fields
| Field Name | Description |
|---|---|
aggregate - election_aggregate_fields
|
|
nodes - [election!]!
|
Example
{
"aggregate": election_aggregate_fields,
"nodes": [election]
}
election_aggregate_bool_exp
Fields
| Input Field | Description |
|---|---|
bool_and - election_aggregate_bool_exp_bool_and
|
|
bool_or - election_aggregate_bool_exp_bool_or
|
|
count - election_aggregate_bool_exp_count
|
Example
{
"bool_and": election_aggregate_bool_exp_bool_and,
"bool_or": election_aggregate_bool_exp_bool_or,
"count": election_aggregate_bool_exp_count
}
election_aggregate_bool_exp_bool_and
Fields
| Input Field | Description |
|---|---|
arguments - election_select_column_sequent_backend_election_aggregate_bool_exp_bool_and_arguments_columns!
|
|
distinct - Boolean
|
|
filter - election_bool_exp
|
|
predicate - Boolean_comparison_exp!
|
Example
{
"arguments": "initialization_report_generated",
"distinct": true,
"filter": election_bool_exp,
"predicate": Boolean_comparison_exp
}
election_aggregate_bool_exp_bool_or
Fields
| Input Field | Description |
|---|---|
arguments - election_select_column_sequent_backend_election_aggregate_bool_exp_bool_or_arguments_columns!
|
|
distinct - Boolean
|
|
filter - election_bool_exp
|
|
predicate - Boolean_comparison_exp!
|
Example
{
"arguments": "initialization_report_generated",
"distinct": true,
"filter": election_bool_exp,
"predicate": Boolean_comparison_exp
}
election_aggregate_bool_exp_count
Fields
| Input Field | Description |
|---|---|
arguments - [election_select_column!]
|
|
distinct - Boolean
|
|
filter - election_bool_exp
|
|
predicate - Int_comparison_exp!
|
Example
{
"arguments": ["alias"],
"distinct": false,
"filter": election_bool_exp,
"predicate": Int_comparison_exp
}
election_aggregate_fields
Description
aggregate fields of "sequent_backend.election"
Fields
| Field Name | Description |
|---|---|
avg - election_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - election_max_fields
|
|
min - election_min_fields
|
|
stddev - election_stddev_fields
|
|
stddev_pop - election_stddev_pop_fields
|
|
stddev_samp - election_stddev_samp_fields
|
|
sum - election_sum_fields
|
|
var_pop - election_var_pop_fields
|
|
var_samp - election_var_samp_fields
|
|
variance - election_variance_fields
|
|
Example
{
"avg": election_avg_fields,
"count": 123,
"max": election_max_fields,
"min": election_min_fields,
"stddev": election_stddev_fields,
"stddev_pop": election_stddev_pop_fields,
"stddev_samp": election_stddev_samp_fields,
"sum": election_sum_fields,
"var_pop": election_var_pop_fields,
"var_samp": election_var_samp_fields,
"variance": election_variance_fields
}
election_aggregate_order_by
Description
order by aggregate values of table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
avg - election_avg_order_by
|
|
count - order_by
|
|
max - election_max_order_by
|
|
min - election_min_order_by
|
|
stddev - election_stddev_order_by
|
|
stddev_pop - election_stddev_pop_order_by
|
|
stddev_samp - election_stddev_samp_order_by
|
|
sum - election_sum_order_by
|
|
var_pop - election_var_pop_order_by
|
|
var_samp - election_var_samp_order_by
|
|
variance - election_variance_order_by
|
Example
{
"avg": election_avg_order_by,
"count": "asc",
"max": election_max_order_by,
"min": election_min_order_by,
"stddev": election_stddev_order_by,
"stddev_pop": election_stddev_pop_order_by,
"stddev_samp": election_stddev_samp_order_by,
"sum": election_sum_order_by,
"var_pop": election_var_pop_order_by,
"var_samp": election_var_samp_order_by,
"variance": election_variance_order_by
}
election_append_input
Description
append existing jsonb value of filtered columns with new jsonb value
Example
{
"annotations": jsonb,
"labels": jsonb,
"presentation": jsonb,
"receipts": jsonb,
"statistics": jsonb,
"status": jsonb,
"voting_channels": jsonb
}
election_arr_rel_insert_input
Description
input type for inserting array relation for remote table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
data - [election_insert_input!]!
|
|
on_conflict - election_on_conflict
|
upsert condition |
Example
{
"data": [election_insert_input],
"on_conflict": election_on_conflict
}
election_avg_fields
Description
aggregate avg on columns
Fields
| Field Name | Description |
|---|---|
num_allowed_revotes - Float
|
Example
{"num_allowed_revotes": 123.45}
election_avg_order_by
Description
order by avg() on columns of table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
num_allowed_revotes - order_by
|
Example
{"num_allowed_revotes": "asc"}
election_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.election". All fields are combined with a logical 'AND'.
Fields
Example
{
"_and": [election_bool_exp],
"_not": election_bool_exp,
"_or": [election_bool_exp],
"alias": String_comparison_exp,
"annotations": jsonb_comparison_exp,
"contests": contest_bool_exp,
"contests_aggregate": contest_aggregate_bool_exp,
"created_at": timestamptz_comparison_exp,
"description": String_comparison_exp,
"election_event_id": uuid_comparison_exp,
"eml": String_comparison_exp,
"id": uuid_comparison_exp,
"image_document_id": String_comparison_exp,
"initialization_report_generated": Boolean_comparison_exp,
"is_consolidated_ballot_encoding": Boolean_comparison_exp,
"is_kiosk": Boolean_comparison_exp,
"keys_ceremony_id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"name": String_comparison_exp,
"num_allowed_revotes": Int_comparison_exp,
"permission_label": String_comparison_exp,
"presentation": jsonb_comparison_exp,
"receipts": jsonb_comparison_exp,
"spoil_ballot_option": Boolean_comparison_exp,
"statistics": jsonb_comparison_exp,
"status": jsonb_comparison_exp,
"tenant_id": uuid_comparison_exp,
"voting_channels": jsonb_comparison_exp
}
election_constraint
Description
unique or primary key constraints on table "sequent_backend.election"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"election_pkey"
election_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["abc123"],
"labels": ["xyz789"],
"presentation": ["xyz789"],
"receipts": ["xyz789"],
"statistics": ["xyz789"],
"status": ["abc123"],
"voting_channels": ["abc123"]
}
election_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Example
{
"annotations": 123,
"labels": 987,
"presentation": 123,
"receipts": 987,
"statistics": 987,
"status": 123,
"voting_channels": 987
}
election_delete_key_input
Description
delete key/value pair or string element. key/value pairs are matched based on their key value
Example
{
"annotations": "xyz789",
"labels": "xyz789",
"presentation": "xyz789",
"receipts": "xyz789",
"statistics": "xyz789",
"status": "abc123",
"voting_channels": "abc123"
}
election_event
Description
columns and relationships of "sequent_backend.election_event"
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
Arguments
|
|
audit_election_event_id - uuid
|
|
bulletin_board_reference - jsonb
|
|
Arguments
|
|
created_at - timestamptz
|
|
description - String
|
|
elections - [election!]!
|
An array relationship |
Arguments
|
|
elections_aggregate - election_aggregate!
|
An aggregate relationship |
Arguments
|
|
encryption_protocol - String!
|
|
id - uuid!
|
|
is_archived - Boolean!
|
|
is_audit - Boolean
|
|
labels - jsonb
|
|
Arguments
|
|
name - String!
|
|
presentation - jsonb
|
|
Arguments
|
|
public_key - String
|
|
statistics - jsonb
|
|
Arguments
|
|
status - jsonb
|
|
Arguments
|
|
tenant_id - uuid!
|
|
updated_at - timestamptz
|
|
user_boards - String
|
|
voting_channels - jsonb
|
|
Arguments
|
|
Example
{
"alias": "xyz789",
"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",
"id": uuid,
"is_archived": true,
"is_audit": true,
"labels": jsonb,
"name": "xyz789",
"presentation": jsonb,
"public_key": "abc123",
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "abc123",
"voting_channels": jsonb
}
election_event_aggregate
Description
aggregated selection of "sequent_backend.election_event"
Fields
| Field Name | Description |
|---|---|
aggregate - election_event_aggregate_fields
|
|
nodes - [election_event!]!
|
Example
{
"aggregate": election_event_aggregate_fields,
"nodes": [election_event]
}
election_event_aggregate_fields
Description
aggregate fields of "sequent_backend.election_event"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - election_event_max_fields
|
|
min - election_event_min_fields
|
|
Example
{
"count": 123,
"max": election_event_max_fields,
"min": election_event_min_fields
}
election_event_append_input
Description
append existing jsonb value of filtered columns with new jsonb value
Example
{
"annotations": jsonb,
"bulletin_board_reference": jsonb,
"labels": jsonb,
"presentation": jsonb,
"statistics": jsonb,
"status": jsonb,
"voting_channels": jsonb
}
election_event_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.election_event". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [election_event_bool_exp!]
|
|
_not - election_event_bool_exp
|
|
_or - [election_event_bool_exp!]
|
|
alias - String_comparison_exp
|
|
annotations - jsonb_comparison_exp
|
|
audit_election_event_id - uuid_comparison_exp
|
|
bulletin_board_reference - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
description - String_comparison_exp
|
|
elections - election_bool_exp
|
|
elections_aggregate - election_aggregate_bool_exp
|
|
encryption_protocol - String_comparison_exp
|
|
id - uuid_comparison_exp
|
|
is_archived - Boolean_comparison_exp
|
|
is_audit - Boolean_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
name - String_comparison_exp
|
|
presentation - jsonb_comparison_exp
|
|
public_key - String_comparison_exp
|
|
statistics - jsonb_comparison_exp
|
|
status - jsonb_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
updated_at - timestamptz_comparison_exp
|
|
user_boards - String_comparison_exp
|
|
voting_channels - jsonb_comparison_exp
|
Example
{
"_and": [election_event_bool_exp],
"_not": election_event_bool_exp,
"_or": [election_event_bool_exp],
"alias": String_comparison_exp,
"annotations": jsonb_comparison_exp,
"audit_election_event_id": uuid_comparison_exp,
"bulletin_board_reference": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"description": String_comparison_exp,
"elections": election_bool_exp,
"elections_aggregate": election_aggregate_bool_exp,
"encryption_protocol": String_comparison_exp,
"id": uuid_comparison_exp,
"is_archived": Boolean_comparison_exp,
"is_audit": Boolean_comparison_exp,
"labels": jsonb_comparison_exp,
"name": String_comparison_exp,
"presentation": jsonb_comparison_exp,
"public_key": String_comparison_exp,
"statistics": jsonb_comparison_exp,
"status": jsonb_comparison_exp,
"tenant_id": uuid_comparison_exp,
"updated_at": timestamptz_comparison_exp,
"user_boards": String_comparison_exp,
"voting_channels": jsonb_comparison_exp
}
election_event_constraint
Description
unique or primary key constraints on table "sequent_backend.election_event"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id" |
Example
"event_pkey"
election_event_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["xyz789"],
"bulletin_board_reference": ["xyz789"],
"labels": ["xyz789"],
"presentation": ["xyz789"],
"statistics": ["xyz789"],
"status": ["abc123"],
"voting_channels": ["abc123"]
}
election_event_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Example
{
"annotations": 987,
"bulletin_board_reference": 123,
"labels": 987,
"presentation": 987,
"statistics": 987,
"status": 987,
"voting_channels": 123
}
election_event_delete_key_input
Description
delete key/value pair or string element. key/value pairs are matched based on their key value
Example
{
"annotations": "xyz789",
"bulletin_board_reference": "abc123",
"labels": "abc123",
"presentation": "xyz789",
"statistics": "xyz789",
"status": "abc123",
"voting_channels": "xyz789"
}
election_event_insert_input
Description
input type for inserting data into table "sequent_backend.election_event"
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
audit_election_event_id - uuid
|
|
bulletin_board_reference - jsonb
|
|
created_at - timestamptz
|
|
description - String
|
|
elections - election_arr_rel_insert_input
|
|
encryption_protocol - String
|
|
id - uuid
|
|
is_archived - Boolean
|
|
is_audit - Boolean
|
|
labels - jsonb
|
|
name - String
|
|
presentation - jsonb
|
|
public_key - String
|
|
statistics - jsonb
|
|
status - jsonb
|
|
tenant_id - uuid
|
|
updated_at - timestamptz
|
|
user_boards - String
|
|
voting_channels - jsonb
|
Example
{
"alias": "xyz789",
"annotations": jsonb,
"audit_election_event_id": uuid,
"bulletin_board_reference": jsonb,
"created_at": timestamptz,
"description": "abc123",
"elections": election_arr_rel_insert_input,
"encryption_protocol": "abc123",
"id": uuid,
"is_archived": false,
"is_audit": true,
"labels": jsonb,
"name": "abc123",
"presentation": jsonb,
"public_key": "abc123",
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "xyz789",
"voting_channels": jsonb
}
election_event_max_fields
Description
aggregate max on columns
Example
{
"alias": "abc123",
"audit_election_event_id": uuid,
"created_at": timestamptz,
"description": "abc123",
"encryption_protocol": "abc123",
"id": uuid,
"name": "abc123",
"public_key": "abc123",
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "xyz789"
}
election_event_min_fields
Description
aggregate min on columns
Example
{
"alias": "xyz789",
"audit_election_event_id": uuid,
"created_at": timestamptz,
"description": "abc123",
"encryption_protocol": "abc123",
"id": uuid,
"name": "abc123",
"public_key": "xyz789",
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "xyz789"
}
election_event_mutation_response
Description
response of any mutation on the table "sequent_backend.election_event"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [election_event!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [election_event]}
election_event_on_conflict
Description
on_conflict condition type for table "sequent_backend.election_event"
Fields
| Input Field | Description |
|---|---|
constraint - election_event_constraint!
|
|
update_columns - [election_event_update_column!]!
|
|
where - election_event_bool_exp
|
Example
{
"constraint": "event_pkey",
"update_columns": ["alias"],
"where": election_event_bool_exp
}
election_event_order_by
Description
Ordering options when selecting data from "sequent_backend.election_event".
Fields
| Input Field | Description |
|---|---|
alias - order_by
|
|
annotations - order_by
|
|
audit_election_event_id - order_by
|
|
bulletin_board_reference - order_by
|
|
created_at - order_by
|
|
description - order_by
|
|
elections_aggregate - election_aggregate_order_by
|
|
encryption_protocol - order_by
|
|
id - order_by
|
|
is_archived - order_by
|
|
is_audit - order_by
|
|
labels - order_by
|
|
name - order_by
|
|
presentation - order_by
|
|
public_key - order_by
|
|
statistics - order_by
|
|
status - order_by
|
|
tenant_id - order_by
|
|
updated_at - order_by
|
|
user_boards - order_by
|
|
voting_channels - order_by
|
Example
{
"alias": "asc",
"annotations": "asc",
"audit_election_event_id": "asc",
"bulletin_board_reference": "asc",
"created_at": "asc",
"description": "asc",
"elections_aggregate": election_aggregate_order_by,
"encryption_protocol": "asc",
"id": "asc",
"is_archived": "asc",
"is_audit": "asc",
"labels": "asc",
"name": "asc",
"presentation": "asc",
"public_key": "asc",
"statistics": "asc",
"status": "asc",
"tenant_id": "asc",
"updated_at": "asc",
"user_boards": "asc",
"voting_channels": "asc"
}
election_event_pk_columns_input
Description
primary key columns input for table: sequent_backend.election_event
Fields
| Input Field | Description |
|---|---|
id - uuid!
|
Example
{"id": uuid}
election_event_prepend_input
Description
prepend existing jsonb value of filtered columns with new jsonb value
Example
{
"annotations": jsonb,
"bulletin_board_reference": jsonb,
"labels": jsonb,
"presentation": jsonb,
"statistics": jsonb,
"status": jsonb,
"voting_channels": jsonb
}
election_event_select_column
Description
select columns of table "sequent_backend.election_event"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
election_event_set_input
Description
input type for updating data in table "sequent_backend.election_event"
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
audit_election_event_id - uuid
|
|
bulletin_board_reference - jsonb
|
|
created_at - timestamptz
|
|
description - String
|
|
encryption_protocol - String
|
|
id - uuid
|
|
is_archived - Boolean
|
|
is_audit - Boolean
|
|
labels - jsonb
|
|
name - String
|
|
presentation - jsonb
|
|
public_key - String
|
|
statistics - jsonb
|
|
status - jsonb
|
|
tenant_id - uuid
|
|
updated_at - timestamptz
|
|
user_boards - String
|
|
voting_channels - jsonb
|
Example
{
"alias": "xyz789",
"annotations": jsonb,
"audit_election_event_id": uuid,
"bulletin_board_reference": jsonb,
"created_at": timestamptz,
"description": "xyz789",
"encryption_protocol": "xyz789",
"id": uuid,
"is_archived": true,
"is_audit": false,
"labels": jsonb,
"name": "xyz789",
"presentation": jsonb,
"public_key": "xyz789",
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "abc123",
"voting_channels": jsonb
}
election_event_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_election_event"
Fields
| Input Field | Description |
|---|---|
initial_value - election_event_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": election_event_stream_cursor_value_input,
"ordering": "ASC"
}
election_event_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
audit_election_event_id - uuid
|
|
bulletin_board_reference - jsonb
|
|
created_at - timestamptz
|
|
description - String
|
|
encryption_protocol - String
|
|
id - uuid
|
|
is_archived - Boolean
|
|
is_audit - Boolean
|
|
labels - jsonb
|
|
name - String
|
|
presentation - jsonb
|
|
public_key - String
|
|
statistics - jsonb
|
|
status - jsonb
|
|
tenant_id - uuid
|
|
updated_at - timestamptz
|
|
user_boards - String
|
|
voting_channels - jsonb
|
Example
{
"alias": "xyz789",
"annotations": jsonb,
"audit_election_event_id": uuid,
"bulletin_board_reference": jsonb,
"created_at": timestamptz,
"description": "xyz789",
"encryption_protocol": "abc123",
"id": uuid,
"is_archived": false,
"is_audit": true,
"labels": jsonb,
"name": "xyz789",
"presentation": jsonb,
"public_key": "abc123",
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"updated_at": timestamptz,
"user_boards": "xyz789",
"voting_channels": jsonb
}
election_event_update_column
Description
update columns of table "sequent_backend.election_event"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
election_event_updates
Fields
| Input Field | 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
{
"_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
}
election_inc_input
Description
input type for incrementing numeric columns in table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
num_allowed_revotes - Int
|
Example
{"num_allowed_revotes": 987}
election_insert_input
Description
input type for inserting data into table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
contests - contest_arr_rel_insert_input
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
eml - String
|
|
id - uuid
|
|
image_document_id - String
|
|
initialization_report_generated - Boolean
|
|
is_consolidated_ballot_encoding - Boolean
|
|
is_kiosk - Boolean
|
|
keys_ceremony_id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
num_allowed_revotes - Int
|
|
permission_label - String
|
|
presentation - jsonb
|
|
receipts - jsonb
|
|
spoil_ballot_option - Boolean
|
|
statistics - jsonb
|
|
status - jsonb
|
|
tenant_id - uuid
|
|
voting_channels - jsonb
|
Example
{
"alias": "abc123",
"annotations": jsonb,
"contests": contest_arr_rel_insert_input,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"eml": "abc123",
"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,
"name": "abc123",
"num_allowed_revotes": 123,
"permission_label": "abc123",
"presentation": jsonb,
"receipts": jsonb,
"spoil_ballot_option": true,
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"voting_channels": jsonb
}
election_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
eml - String
|
|
id - uuid
|
|
image_document_id - String
|
|
keys_ceremony_id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
num_allowed_revotes - Int
|
|
permission_label - String
|
|
tenant_id - uuid
|
Example
{
"alias": "xyz789",
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"eml": "abc123",
"id": uuid,
"image_document_id": "xyz789",
"keys_ceremony_id": uuid,
"last_updated_at": timestamptz,
"name": "abc123",
"num_allowed_revotes": 987,
"permission_label": "abc123",
"tenant_id": uuid
}
election_max_order_by
Description
order by max() on columns of table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
alias - order_by
|
|
created_at - order_by
|
|
description - order_by
|
|
election_event_id - order_by
|
|
eml - order_by
|
|
id - order_by
|
|
image_document_id - order_by
|
|
keys_ceremony_id - order_by
|
|
last_updated_at - order_by
|
|
name - order_by
|
|
num_allowed_revotes - order_by
|
|
permission_label - order_by
|
|
tenant_id - order_by
|
Example
{
"alias": "asc",
"created_at": "asc",
"description": "asc",
"election_event_id": "asc",
"eml": "asc",
"id": "asc",
"image_document_id": "asc",
"keys_ceremony_id": "asc",
"last_updated_at": "asc",
"name": "asc",
"num_allowed_revotes": "asc",
"permission_label": "asc",
"tenant_id": "asc"
}
election_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
eml - String
|
|
id - uuid
|
|
image_document_id - String
|
|
keys_ceremony_id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
num_allowed_revotes - Int
|
|
permission_label - String
|
|
tenant_id - uuid
|
Example
{
"alias": "abc123",
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"eml": "xyz789",
"id": uuid,
"image_document_id": "xyz789",
"keys_ceremony_id": uuid,
"last_updated_at": timestamptz,
"name": "xyz789",
"num_allowed_revotes": 987,
"permission_label": "abc123",
"tenant_id": uuid
}
election_min_order_by
Description
order by min() on columns of table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
alias - order_by
|
|
created_at - order_by
|
|
description - order_by
|
|
election_event_id - order_by
|
|
eml - order_by
|
|
id - order_by
|
|
image_document_id - order_by
|
|
keys_ceremony_id - order_by
|
|
last_updated_at - order_by
|
|
name - order_by
|
|
num_allowed_revotes - order_by
|
|
permission_label - order_by
|
|
tenant_id - order_by
|
Example
{
"alias": "asc",
"created_at": "asc",
"description": "asc",
"election_event_id": "asc",
"eml": "asc",
"id": "asc",
"image_document_id": "asc",
"keys_ceremony_id": "asc",
"last_updated_at": "asc",
"name": "asc",
"num_allowed_revotes": "asc",
"permission_label": "asc",
"tenant_id": "asc"
}
election_mutation_response
Description
response of any mutation on the table "sequent_backend.election"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [election!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [election]}
election_on_conflict
Description
on_conflict condition type for table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
constraint - election_constraint!
|
|
update_columns - [election_update_column!]!
|
|
where - election_bool_exp
|
Example
{
"constraint": "election_pkey",
"update_columns": ["alias"],
"where": election_bool_exp
}
election_order_by
Description
Ordering options when selecting data from "sequent_backend.election".
Fields
| Input Field | Description |
|---|---|
alias - order_by
|
|
annotations - order_by
|
|
contests_aggregate - contest_aggregate_order_by
|
|
created_at - order_by
|
|
description - order_by
|
|
election_event_id - order_by
|
|
eml - order_by
|
|
id - order_by
|
|
image_document_id - order_by
|
|
initialization_report_generated - order_by
|
|
is_consolidated_ballot_encoding - order_by
|
|
is_kiosk - order_by
|
|
keys_ceremony_id - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
name - order_by
|
|
num_allowed_revotes - order_by
|
|
permission_label - order_by
|
|
presentation - order_by
|
|
receipts - order_by
|
|
spoil_ballot_option - order_by
|
|
statistics - order_by
|
|
status - order_by
|
|
tenant_id - order_by
|
|
voting_channels - order_by
|
Example
{
"alias": "asc",
"annotations": "asc",
"contests_aggregate": contest_aggregate_order_by,
"created_at": "asc",
"description": "asc",
"election_event_id": "asc",
"eml": "asc",
"id": "asc",
"image_document_id": "asc",
"initialization_report_generated": "asc",
"is_consolidated_ballot_encoding": "asc",
"is_kiosk": "asc",
"keys_ceremony_id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"name": "asc",
"num_allowed_revotes": "asc",
"permission_label": "asc",
"presentation": "asc",
"receipts": "asc",
"spoil_ballot_option": "asc",
"statistics": "asc",
"status": "asc",
"tenant_id": "asc",
"voting_channels": "asc"
}
election_pk_columns_input
election_prepend_input
Description
prepend existing jsonb value of filtered columns with new jsonb value
Example
{
"annotations": jsonb,
"labels": jsonb,
"presentation": jsonb,
"receipts": jsonb,
"statistics": jsonb,
"status": jsonb,
"voting_channels": jsonb
}
election_result
Description
columns and relationships of "sequent_backend.election_result"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
area_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
result_eml - String
|
|
result_eml_signature - bytea
|
|
statistics - jsonb
|
|
Arguments
|
|
tenant_id - uuid
|
|
Example
{
"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
}
election_result_aggregate
Description
aggregated selection of "sequent_backend.election_result"
Fields
| Field Name | Description |
|---|---|
aggregate - election_result_aggregate_fields
|
|
nodes - [election_result!]!
|
Example
{
"aggregate": election_result_aggregate_fields,
"nodes": [election_result]
}
election_result_aggregate_fields
Description
aggregate fields of "sequent_backend.election_result"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - election_result_max_fields
|
|
min - election_result_min_fields
|
|
Example
{
"count": 123,
"max": election_result_max_fields,
"min": election_result_min_fields
}
election_result_append_input
election_result_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.election_result". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [election_result_bool_exp!]
|
|
_not - election_result_bool_exp
|
|
_or - [election_result_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
area_id - uuid_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
result_eml - String_comparison_exp
|
|
result_eml_signature - bytea_comparison_exp
|
|
statistics - jsonb_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [election_result_bool_exp],
"_not": election_result_bool_exp,
"_or": [election_result_bool_exp],
"annotations": jsonb_comparison_exp,
"area_id": uuid_comparison_exp,
"created_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"result_eml": String_comparison_exp,
"result_eml_signature": bytea_comparison_exp,
"statistics": jsonb_comparison_exp,
"tenant_id": uuid_comparison_exp
}
election_result_constraint
Description
unique or primary key constraints on table "sequent_backend.election_result"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id" |
Example
"election_result_pkey"
election_result_delete_at_path_input
election_result_delete_elem_input
election_result_delete_key_input
election_result_insert_input
Description
input type for inserting data into table "sequent_backend.election_result"
Example
{
"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
}
election_result_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
result_eml - String
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"result_eml": "xyz789",
"tenant_id": uuid
}
election_result_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
result_eml - String
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"result_eml": "xyz789",
"tenant_id": uuid
}
election_result_mutation_response
Description
response of any mutation on the table "sequent_backend.election_result"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [election_result!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [election_result]}
election_result_on_conflict
Description
on_conflict condition type for table "sequent_backend.election_result"
Fields
| Input Field | Description |
|---|---|
constraint - election_result_constraint!
|
|
update_columns - [election_result_update_column!]!
|
|
where - election_result_bool_exp
|
Example
{
"constraint": "election_result_pkey",
"update_columns": ["annotations"],
"where": election_result_bool_exp
}
election_result_order_by
Description
Ordering options when selecting data from "sequent_backend.election_result".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
area_id - order_by
|
|
created_at - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
id - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
result_eml - order_by
|
|
result_eml_signature - order_by
|
|
statistics - order_by
|
|
tenant_id - order_by
|
Example
{
"annotations": "asc",
"area_id": "asc",
"created_at": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"result_eml": "asc",
"result_eml_signature": "asc",
"statistics": "asc",
"tenant_id": "asc"
}
election_result_pk_columns_input
Description
primary key columns input for table: sequent_backend.election_result
Fields
| Input Field | Description |
|---|---|
id - uuid!
|
Example
{"id": uuid}
election_result_prepend_input
election_result_select_column
Description
select columns of table "sequent_backend.election_result"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
election_result_set_input
Description
input type for updating data in table "sequent_backend.election_result"
Example
{
"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
}
election_result_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_election_result"
Fields
| Input Field | Description |
|---|---|
initial_value - election_result_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": election_result_stream_cursor_value_input,
"ordering": "ASC"
}
election_result_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"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
}
election_result_update_column
Description
update columns of table "sequent_backend.election_result"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
election_result_updates
Fields
| Input Field | 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
{
"_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
}
election_select_column
Description
select columns of table "sequent_backend.election"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
election_select_column_sequent_backend_election_aggregate_bool_exp_bool_and_arguments_columns
Description
select "sequent_backend_election_aggregate_bool_exp_bool_and_arguments_columns" columns of table "sequent_backend.election"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"initialization_report_generated"
election_select_column_sequent_backend_election_aggregate_bool_exp_bool_or_arguments_columns
Description
select "sequent_backend_election_aggregate_bool_exp_bool_or_arguments_columns" columns of table "sequent_backend.election"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"initialization_report_generated"
election_set_input
Description
input type for updating data in table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
eml - String
|
|
id - uuid
|
|
image_document_id - String
|
|
initialization_report_generated - Boolean
|
|
is_consolidated_ballot_encoding - Boolean
|
|
is_kiosk - Boolean
|
|
keys_ceremony_id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
num_allowed_revotes - Int
|
|
permission_label - String
|
|
presentation - jsonb
|
|
receipts - jsonb
|
|
spoil_ballot_option - Boolean
|
|
statistics - jsonb
|
|
status - jsonb
|
|
tenant_id - uuid
|
|
voting_channels - jsonb
|
Example
{
"alias": "abc123",
"annotations": jsonb,
"created_at": timestamptz,
"description": "xyz789",
"election_event_id": uuid,
"eml": "abc123",
"id": uuid,
"image_document_id": "abc123",
"initialization_report_generated": true,
"is_consolidated_ballot_encoding": true,
"is_kiosk": true,
"keys_ceremony_id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"num_allowed_revotes": 123,
"permission_label": "abc123",
"presentation": jsonb,
"receipts": jsonb,
"spoil_ballot_option": true,
"statistics": jsonb,
"status": jsonb,
"tenant_id": uuid,
"voting_channels": jsonb
}
election_stddev_fields
Description
aggregate stddev on columns
Fields
| Field Name | Description |
|---|---|
num_allowed_revotes - Float
|
Example
{"num_allowed_revotes": 123.45}
election_stddev_order_by
Description
order by stddev() on columns of table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
num_allowed_revotes - order_by
|
Example
{"num_allowed_revotes": "asc"}
election_stddev_pop_fields
Description
aggregate stddev_pop on columns
Fields
| Field Name | Description |
|---|---|
num_allowed_revotes - Float
|
Example
{"num_allowed_revotes": 123.45}
election_stddev_pop_order_by
Description
order by stddev_pop() on columns of table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
num_allowed_revotes - order_by
|
Example
{"num_allowed_revotes": "asc"}
election_stddev_samp_fields
Description
aggregate stddev_samp on columns
Fields
| Field Name | Description |
|---|---|
num_allowed_revotes - Float
|
Example
{"num_allowed_revotes": 987.65}
election_stddev_samp_order_by
Description
order by stddev_samp() on columns of table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
num_allowed_revotes - order_by
|
Example
{"num_allowed_revotes": "asc"}
election_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_election"
Fields
| Input Field | Description |
|---|---|
initial_value - election_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": election_stream_cursor_value_input,
"ordering": "ASC"
}
election_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
created_at - timestamptz
|
|
description - String
|
|
election_event_id - uuid
|
|
eml - String
|
|
id - uuid
|
|
image_document_id - String
|
|
initialization_report_generated - Boolean
|
|
is_consolidated_ballot_encoding - Boolean
|
|
is_kiosk - Boolean
|
|
keys_ceremony_id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
num_allowed_revotes - Int
|
|
permission_label - String
|
|
presentation - jsonb
|
|
receipts - jsonb
|
|
spoil_ballot_option - Boolean
|
|
statistics - jsonb
|
|
status - jsonb
|
|
tenant_id - uuid
|
|
voting_channels - jsonb
|
Example
{
"alias": "xyz789",
"annotations": jsonb,
"created_at": timestamptz,
"description": "abc123",
"election_event_id": uuid,
"eml": "xyz789",
"id": uuid,
"image_document_id": "abc123",
"initialization_report_generated": true,
"is_consolidated_ballot_encoding": false,
"is_kiosk": false,
"keys_ceremony_id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"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
}
election_sum_fields
Description
aggregate sum on columns
Fields
| Field Name | Description |
|---|---|
num_allowed_revotes - Int
|
Example
{"num_allowed_revotes": 123}
election_sum_order_by
Description
order by sum() on columns of table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
num_allowed_revotes - order_by
|
Example
{"num_allowed_revotes": "asc"}
election_type
Description
columns and relationships of "sequent_backend.election_type"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
name - String!
|
|
tenant_id - uuid!
|
|
updated_at - timestamptz!
|
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"labels": jsonb,
"name": "abc123",
"tenant_id": uuid,
"updated_at": timestamptz
}
election_type_aggregate
Description
aggregated selection of "sequent_backend.election_type"
Fields
| Field Name | Description |
|---|---|
aggregate - election_type_aggregate_fields
|
|
nodes - [election_type!]!
|
Example
{
"aggregate": election_type_aggregate_fields,
"nodes": [election_type]
}
election_type_aggregate_fields
Description
aggregate fields of "sequent_backend.election_type"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - election_type_max_fields
|
|
min - election_type_min_fields
|
|
Example
{
"count": 123,
"max": election_type_max_fields,
"min": election_type_min_fields
}
election_type_append_input
election_type_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.election_type". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [election_type_bool_exp!]
|
|
_not - election_type_bool_exp
|
|
_or - [election_type_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
name - String_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
updated_at - timestamptz_comparison_exp
|
Example
{
"_and": [election_type_bool_exp],
"_not": election_type_bool_exp,
"_or": [election_type_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"name": String_comparison_exp,
"tenant_id": uuid_comparison_exp,
"updated_at": timestamptz_comparison_exp
}
election_type_constraint
Description
unique or primary key constraints on table "sequent_backend.election_type"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id" |
Example
"election_type_pkey"
election_type_delete_at_path_input
election_type_delete_elem_input
election_type_delete_key_input
election_type_insert_input
Description
input type for inserting data into table "sequent_backend.election_type"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
id - uuid
|
|
labels - jsonb
|
|
name - String
|
|
tenant_id - uuid
|
|
updated_at - timestamptz
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"labels": jsonb,
"name": "abc123",
"tenant_id": uuid,
"updated_at": timestamptz
}
election_type_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
id - uuid
|
|
name - String
|
|
tenant_id - uuid
|
|
updated_at - timestamptz
|
Example
{
"created_at": timestamptz,
"id": uuid,
"name": "xyz789",
"tenant_id": uuid,
"updated_at": timestamptz
}
election_type_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
id - uuid
|
|
name - String
|
|
tenant_id - uuid
|
|
updated_at - timestamptz
|
Example
{
"created_at": timestamptz,
"id": uuid,
"name": "abc123",
"tenant_id": uuid,
"updated_at": timestamptz
}
election_type_mutation_response
Description
response of any mutation on the table "sequent_backend.election_type"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [election_type!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [election_type]}
election_type_on_conflict
Description
on_conflict condition type for table "sequent_backend.election_type"
Fields
| Input Field | Description |
|---|---|
constraint - election_type_constraint!
|
|
update_columns - [election_type_update_column!]!
|
|
where - election_type_bool_exp
|
Example
{
"constraint": "election_type_pkey",
"update_columns": ["annotations"],
"where": election_type_bool_exp
}
election_type_order_by
Description
Ordering options when selecting data from "sequent_backend.election_type".
Example
{
"annotations": "asc",
"created_at": "asc",
"id": "asc",
"labels": "asc",
"name": "asc",
"tenant_id": "asc",
"updated_at": "asc"
}
election_type_pk_columns_input
election_type_prepend_input
election_type_select_column
Description
select columns of table "sequent_backend.election_type"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
election_type_set_input
Description
input type for updating data in table "sequent_backend.election_type"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
id - uuid
|
|
labels - jsonb
|
|
name - String
|
|
tenant_id - uuid
|
|
updated_at - timestamptz
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"labels": jsonb,
"name": "abc123",
"tenant_id": uuid,
"updated_at": timestamptz
}
election_type_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_election_type"
Fields
| Input Field | Description |
|---|---|
initial_value - election_type_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": election_type_stream_cursor_value_input,
"ordering": "ASC"
}
election_type_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
id - uuid
|
|
labels - jsonb
|
|
name - String
|
|
tenant_id - uuid
|
|
updated_at - timestamptz
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"labels": jsonb,
"name": "xyz789",
"tenant_id": uuid,
"updated_at": timestamptz
}
election_type_update_column
Description
update columns of table "sequent_backend.election_type"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
election_type_updates
Fields
| Input Field | 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
{
"_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
}
election_update_column
Description
update columns of table "sequent_backend.election"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
election_updates
Fields
| Input Field | 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
{
"_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
}
election_var_pop_fields
Description
aggregate var_pop on columns
Fields
| Field Name | Description |
|---|---|
num_allowed_revotes - Float
|
Example
{"num_allowed_revotes": 987.65}
election_var_pop_order_by
Description
order by var_pop() on columns of table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
num_allowed_revotes - order_by
|
Example
{"num_allowed_revotes": "asc"}
election_var_samp_fields
Description
aggregate var_samp on columns
Fields
| Field Name | Description |
|---|---|
num_allowed_revotes - Float
|
Example
{"num_allowed_revotes": 123.45}
election_var_samp_order_by
Description
order by var_samp() on columns of table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
num_allowed_revotes - order_by
|
Example
{"num_allowed_revotes": "asc"}
election_variance_fields
Description
aggregate variance on columns
Fields
| Field Name | Description |
|---|---|
num_allowed_revotes - Float
|
Example
{"num_allowed_revotes": 987.65}
election_variance_order_by
Description
order by variance() on columns of table "sequent_backend.election"
Fields
| Input Field | Description |
|---|---|
num_allowed_revotes - order_by
|
Example
{"num_allowed_revotes": "asc"}
event_execution
Description
columns and relationships of "sequent_backend.event_execution"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
election_event_id - uuid
|
|
ended_at - timestamptz
|
|
execution_payload - jsonb
|
|
Arguments
|
|
execution_state - String
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
result_payload - jsonb
|
|
Arguments
|
|
scheduled_event_id - uuid!
|
|
started_at - timestamptz
|
|
tenant_id - uuid
|
|
Example
{
"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
}
event_execution_aggregate
Description
aggregated selection of "sequent_backend.event_execution"
Fields
| Field Name | Description |
|---|---|
aggregate - event_execution_aggregate_fields
|
|
nodes - [event_execution!]!
|
Example
{
"aggregate": event_execution_aggregate_fields,
"nodes": [event_execution]
}
event_execution_aggregate_fields
Description
aggregate fields of "sequent_backend.event_execution"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - event_execution_max_fields
|
|
min - event_execution_min_fields
|
|
Example
{
"count": 123,
"max": event_execution_max_fields,
"min": event_execution_min_fields
}
event_execution_append_input
event_execution_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.event_execution". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [event_execution_bool_exp!]
|
|
_not - event_execution_bool_exp
|
|
_or - [event_execution_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
ended_at - timestamptz_comparison_exp
|
|
execution_payload - jsonb_comparison_exp
|
|
execution_state - String_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
result_payload - jsonb_comparison_exp
|
|
scheduled_event_id - uuid_comparison_exp
|
|
started_at - timestamptz_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [event_execution_bool_exp],
"_not": event_execution_bool_exp,
"_or": [event_execution_bool_exp],
"annotations": jsonb_comparison_exp,
"election_event_id": uuid_comparison_exp,
"ended_at": timestamptz_comparison_exp,
"execution_payload": jsonb_comparison_exp,
"execution_state": String_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"result_payload": jsonb_comparison_exp,
"scheduled_event_id": uuid_comparison_exp,
"started_at": timestamptz_comparison_exp,
"tenant_id": uuid_comparison_exp
}
event_execution_constraint
Description
unique or primary key constraints on table "sequent_backend.event_execution"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id" |
Example
"event_execution_pkey"
event_execution_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["xyz789"],
"execution_payload": ["abc123"],
"labels": ["abc123"],
"result_payload": ["abc123"]
}
event_execution_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Example
{
"annotations": 123,
"execution_payload": 987,
"labels": 987,
"result_payload": 123
}
event_execution_delete_key_input
Description
delete key/value pair or string element. key/value pairs are matched based on their key value
Example
{
"annotations": "xyz789",
"execution_payload": "xyz789",
"labels": "abc123",
"result_payload": "abc123"
}
event_execution_insert_input
Description
input type for inserting data into table "sequent_backend.event_execution"
Example
{
"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
}
event_execution_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
election_event_id - uuid
|
|
ended_at - timestamptz
|
|
execution_state - String
|
|
id - uuid
|
|
scheduled_event_id - uuid
|
|
started_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"election_event_id": uuid,
"ended_at": timestamptz,
"execution_state": "xyz789",
"id": uuid,
"scheduled_event_id": uuid,
"started_at": timestamptz,
"tenant_id": uuid
}
event_execution_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
election_event_id - uuid
|
|
ended_at - timestamptz
|
|
execution_state - String
|
|
id - uuid
|
|
scheduled_event_id - uuid
|
|
started_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"election_event_id": uuid,
"ended_at": timestamptz,
"execution_state": "abc123",
"id": uuid,
"scheduled_event_id": uuid,
"started_at": timestamptz,
"tenant_id": uuid
}
event_execution_mutation_response
Description
response of any mutation on the table "sequent_backend.event_execution"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [event_execution!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [event_execution]}
event_execution_on_conflict
Description
on_conflict condition type for table "sequent_backend.event_execution"
Fields
| Input Field | Description |
|---|---|
constraint - event_execution_constraint!
|
|
update_columns - [event_execution_update_column!]!
|
|
where - event_execution_bool_exp
|
Example
{
"constraint": "event_execution_pkey",
"update_columns": ["annotations"],
"where": event_execution_bool_exp
}
event_execution_order_by
Description
Ordering options when selecting data from "sequent_backend.event_execution".
Example
{
"annotations": "asc",
"election_event_id": "asc",
"ended_at": "asc",
"execution_payload": "asc",
"execution_state": "asc",
"id": "asc",
"labels": "asc",
"result_payload": "asc",
"scheduled_event_id": "asc",
"started_at": "asc",
"tenant_id": "asc"
}
event_execution_pk_columns_input
Description
primary key columns input for table: sequent_backend.event_execution
Fields
| Input Field | Description |
|---|---|
id - uuid!
|
Example
{"id": uuid}
event_execution_prepend_input
event_execution_select_column
Description
select columns of table "sequent_backend.event_execution"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
event_execution_set_input
Description
input type for updating data in table "sequent_backend.event_execution"
Example
{
"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
}
event_execution_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_event_execution"
Fields
| Input Field | Description |
|---|---|
initial_value - event_execution_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": event_execution_stream_cursor_value_input,
"ordering": "ASC"
}
event_execution_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"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
}
event_execution_update_column
Description
update columns of table "sequent_backend.event_execution"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
event_execution_updates
Fields
| Input Field | 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
{
"_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
}
generateReportOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
encryption_policy - ReportEncryptionPolicy!
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "xyz789",
"encryption_policy": "configured_password",
"task_execution": tasks_execution_type
}
json
Example
json
json_comparison_exp
Description
Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'.
Example
{
"_eq": json,
"_gt": json,
"_gte": json,
"_in": [json],
"_is_null": false,
"_lt": json,
"_lte": json,
"_neq": json,
"_nin": [json]
}
jsonb
Example
jsonb
jsonb_cast_exp
Fields
| Input Field | Description |
|---|---|
String - String_comparison_exp
|
Example
{"String": String_comparison_exp}
jsonb_comparison_exp
Description
Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_cast - jsonb_cast_exp
|
|
_contained_in - jsonb
|
is the column contained in the given json value |
_contains - jsonb
|
does the column contain the given json value at the top level |
_eq - jsonb
|
|
_gt - jsonb
|
|
_gte - jsonb
|
|
_has_key - String
|
does the string exist as a top-level key in the column |
_has_keys_all - [String!]
|
do all of these strings exist as top-level keys in the column |
_has_keys_any - [String!]
|
do any of these strings exist as top-level keys in the column |
_in - [jsonb!]
|
|
_is_null - Boolean
|
|
_lt - jsonb
|
|
_lte - jsonb
|
|
_neq - jsonb
|
|
_nin - [jsonb!]
|
Example
{
"_cast": jsonb_cast_exp,
"_contained_in": jsonb,
"_contains": jsonb,
"_eq": jsonb,
"_gt": jsonb,
"_gte": jsonb,
"_has_key": "xyz789",
"_has_keys_all": ["abc123"],
"_has_keys_any": ["xyz789"],
"_in": [jsonb],
"_is_null": true,
"_lt": jsonb,
"_lte": jsonb,
"_neq": jsonb,
"_nin": [jsonb]
}
keys_ceremony
Description
columns and relationships of "sequent_backend.keys_ceremony"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz!
|
|
election_event_id - uuid!
|
|
execution_status - String
|
|
id - uuid!
|
|
is_default - Boolean
|
|
keys_ceremony_trustee_ids - [trustee!]!
|
An array relationship |
Arguments
|
|
keys_ceremony_trustee_ids_aggregate - trustee_aggregate!
|
An aggregate relationship |
Arguments
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz!
|
|
name - String
|
|
permission_label - [String!]
|
|
settings - jsonb
|
|
Arguments
|
|
status - jsonb
|
|
Arguments
|
|
tenant_id - uuid!
|
|
threshold - Int!
|
|
trustee_ids - [uuid!]!
|
|
Example
{
"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]
}
keys_ceremony_aggregate
Description
aggregated selection of "sequent_backend.keys_ceremony"
Fields
| Field Name | Description |
|---|---|
aggregate - keys_ceremony_aggregate_fields
|
|
nodes - [keys_ceremony!]!
|
Example
{
"aggregate": keys_ceremony_aggregate_fields,
"nodes": [keys_ceremony]
}
keys_ceremony_aggregate_fields
Description
aggregate fields of "sequent_backend.keys_ceremony"
Fields
| Field Name | Description |
|---|---|
avg - keys_ceremony_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - keys_ceremony_max_fields
|
|
min - keys_ceremony_min_fields
|
|
stddev - keys_ceremony_stddev_fields
|
|
stddev_pop - keys_ceremony_stddev_pop_fields
|
|
stddev_samp - keys_ceremony_stddev_samp_fields
|
|
sum - keys_ceremony_sum_fields
|
|
var_pop - keys_ceremony_var_pop_fields
|
|
var_samp - keys_ceremony_var_samp_fields
|
|
variance - keys_ceremony_variance_fields
|
|
Example
{
"avg": keys_ceremony_avg_fields,
"count": 123,
"max": keys_ceremony_max_fields,
"min": keys_ceremony_min_fields,
"stddev": keys_ceremony_stddev_fields,
"stddev_pop": keys_ceremony_stddev_pop_fields,
"stddev_samp": keys_ceremony_stddev_samp_fields,
"sum": keys_ceremony_sum_fields,
"var_pop": keys_ceremony_var_pop_fields,
"var_samp": keys_ceremony_var_samp_fields,
"variance": keys_ceremony_variance_fields
}
keys_ceremony_append_input
keys_ceremony_avg_fields
Description
aggregate avg on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 987.65}
keys_ceremony_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.keys_ceremony". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [keys_ceremony_bool_exp!]
|
|
_not - keys_ceremony_bool_exp
|
|
_or - [keys_ceremony_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
execution_status - String_comparison_exp
|
|
id - uuid_comparison_exp
|
|
is_default - Boolean_comparison_exp
|
|
keys_ceremony_trustee_ids - trustee_bool_exp
|
|
keys_ceremony_trustee_ids_aggregate - trustee_aggregate_bool_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
name - String_comparison_exp
|
|
permission_label - String_array_comparison_exp
|
|
settings - jsonb_comparison_exp
|
|
status - jsonb_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
threshold - Int_comparison_exp
|
|
trustee_ids - uuid_array_comparison_exp
|
Example
{
"_and": [keys_ceremony_bool_exp],
"_not": keys_ceremony_bool_exp,
"_or": [keys_ceremony_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"execution_status": String_comparison_exp,
"id": uuid_comparison_exp,
"is_default": Boolean_comparison_exp,
"keys_ceremony_trustee_ids": trustee_bool_exp,
"keys_ceremony_trustee_ids_aggregate": trustee_aggregate_bool_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"name": String_comparison_exp,
"permission_label": String_array_comparison_exp,
"settings": jsonb_comparison_exp,
"status": jsonb_comparison_exp,
"tenant_id": uuid_comparison_exp,
"threshold": Int_comparison_exp,
"trustee_ids": uuid_array_comparison_exp
}
keys_ceremony_constraint
Description
unique or primary key constraints on table "sequent_backend.keys_ceremony"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"keys_ceremony_pkey"
keys_ceremony_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["abc123"],
"labels": ["abc123"],
"settings": ["abc123"],
"status": ["xyz789"]
}
keys_ceremony_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Example
{"annotations": 987, "labels": 987, "settings": 123, "status": 123}
keys_ceremony_delete_key_input
Description
delete key/value pair or string element. key/value pairs are matched based on their key value
Example
{
"annotations": "abc123",
"labels": "abc123",
"settings": "xyz789",
"status": "xyz789"
}
keys_ceremony_inc_input
Description
input type for incrementing numeric columns in table "sequent_backend.keys_ceremony"
Fields
| Input Field | Description |
|---|---|
threshold - Int
|
Example
{"threshold": 987}
keys_ceremony_insert_input
Description
input type for inserting data into table "sequent_backend.keys_ceremony"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
execution_status - String
|
|
id - uuid
|
|
is_default - Boolean
|
|
keys_ceremony_trustee_ids - trustee_arr_rel_insert_input
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
permission_label - [String!]
|
|
settings - jsonb
|
|
status - jsonb
|
|
tenant_id - uuid
|
|
threshold - Int
|
|
trustee_ids - [uuid!]
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"election_event_id": uuid,
"execution_status": "abc123",
"id": uuid,
"is_default": false,
"keys_ceremony_trustee_ids": trustee_arr_rel_insert_input,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"permission_label": ["xyz789"],
"settings": jsonb,
"status": jsonb,
"tenant_id": uuid,
"threshold": 123,
"trustee_ids": [uuid]
}
keys_ceremony_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
execution_status - String
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
permission_label - [String!]
|
|
tenant_id - uuid
|
|
threshold - Int
|
|
trustee_ids - [uuid!]
|
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"execution_status": "abc123",
"id": uuid,
"last_updated_at": timestamptz,
"name": "abc123",
"permission_label": ["abc123"],
"tenant_id": uuid,
"threshold": 123,
"trustee_ids": [uuid]
}
keys_ceremony_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
execution_status - String
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
permission_label - [String!]
|
|
tenant_id - uuid
|
|
threshold - Int
|
|
trustee_ids - [uuid!]
|
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"execution_status": "xyz789",
"id": uuid,
"last_updated_at": timestamptz,
"name": "abc123",
"permission_label": ["xyz789"],
"tenant_id": uuid,
"threshold": 987,
"trustee_ids": [uuid]
}
keys_ceremony_mutation_response
Description
response of any mutation on the table "sequent_backend.keys_ceremony"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [keys_ceremony!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [keys_ceremony]}
keys_ceremony_on_conflict
Description
on_conflict condition type for table "sequent_backend.keys_ceremony"
Fields
| Input Field | Description |
|---|---|
constraint - keys_ceremony_constraint!
|
|
update_columns - [keys_ceremony_update_column!]!
|
|
where - keys_ceremony_bool_exp
|
Example
{
"constraint": "keys_ceremony_pkey",
"update_columns": ["annotations"],
"where": keys_ceremony_bool_exp
}
keys_ceremony_order_by
Description
Ordering options when selecting data from "sequent_backend.keys_ceremony".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
created_at - order_by
|
|
election_event_id - order_by
|
|
execution_status - order_by
|
|
id - order_by
|
|
is_default - order_by
|
|
keys_ceremony_trustee_ids_aggregate - trustee_aggregate_order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
name - order_by
|
|
permission_label - order_by
|
|
settings - order_by
|
|
status - order_by
|
|
tenant_id - order_by
|
|
threshold - order_by
|
|
trustee_ids - order_by
|
Example
{
"annotations": "asc",
"created_at": "asc",
"election_event_id": "asc",
"execution_status": "asc",
"id": "asc",
"is_default": "asc",
"keys_ceremony_trustee_ids_aggregate": trustee_aggregate_order_by,
"labels": "asc",
"last_updated_at": "asc",
"name": "asc",
"permission_label": "asc",
"settings": "asc",
"status": "asc",
"tenant_id": "asc",
"threshold": "asc",
"trustee_ids": "asc"
}
keys_ceremony_pk_columns_input
keys_ceremony_prepend_input
keys_ceremony_select_column
Description
select columns of table "sequent_backend.keys_ceremony"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
keys_ceremony_set_input
Description
input type for updating data in table "sequent_backend.keys_ceremony"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
execution_status - String
|
|
id - uuid
|
|
is_default - Boolean
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
permission_label - [String!]
|
|
settings - jsonb
|
|
status - jsonb
|
|
tenant_id - uuid
|
|
threshold - Int
|
|
trustee_ids - [uuid!]
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"election_event_id": uuid,
"execution_status": "abc123",
"id": uuid,
"is_default": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"permission_label": ["xyz789"],
"settings": jsonb,
"status": jsonb,
"tenant_id": uuid,
"threshold": 123,
"trustee_ids": [uuid]
}
keys_ceremony_stddev_fields
Description
aggregate stddev on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 123.45}
keys_ceremony_stddev_pop_fields
Description
aggregate stddev_pop on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 123.45}
keys_ceremony_stddev_samp_fields
Description
aggregate stddev_samp on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 123.45}
keys_ceremony_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_keys_ceremony"
Fields
| Input Field | Description |
|---|---|
initial_value - keys_ceremony_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": keys_ceremony_stream_cursor_value_input,
"ordering": "ASC"
}
keys_ceremony_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
execution_status - String
|
|
id - uuid
|
|
is_default - Boolean
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
permission_label - [String!]
|
|
settings - jsonb
|
|
status - jsonb
|
|
tenant_id - uuid
|
|
threshold - Int
|
|
trustee_ids - [uuid!]
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"election_event_id": uuid,
"execution_status": "xyz789",
"id": uuid,
"is_default": false,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"permission_label": ["abc123"],
"settings": jsonb,
"status": jsonb,
"tenant_id": uuid,
"threshold": 987,
"trustee_ids": [uuid]
}
keys_ceremony_sum_fields
Description
aggregate sum on columns
Fields
| Field Name | Description |
|---|---|
threshold - Int
|
Example
{"threshold": 987}
keys_ceremony_update_column
Description
update columns of table "sequent_backend.keys_ceremony"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
keys_ceremony_updates
Fields
| Input Field | 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
{
"_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
}
keys_ceremony_var_pop_fields
Description
aggregate var_pop on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 987.65}
keys_ceremony_var_samp_fields
Description
aggregate var_samp on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 123.45}
keys_ceremony_variance_fields
Description
aggregate variance on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 123.45}
lock
Description
columns and relationships of "sequent_backend.lock"
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz!
|
|
expiry_date - timestamptz
|
|
key - String!
|
|
last_updated_at - timestamptz
|
|
value - String!
|
Example
{
"created_at": timestamptz,
"expiry_date": timestamptz,
"key": "abc123",
"last_updated_at": timestamptz,
"value": "xyz789"
}
lock_aggregate
Description
aggregated selection of "sequent_backend.lock"
Fields
| Field Name | Description |
|---|---|
aggregate - lock_aggregate_fields
|
|
nodes - [lock!]!
|
Example
{
"aggregate": lock_aggregate_fields,
"nodes": [lock]
}
lock_aggregate_fields
Description
aggregate fields of "sequent_backend.lock"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - lock_max_fields
|
|
min - lock_min_fields
|
|
Example
{
"count": 987,
"max": lock_max_fields,
"min": lock_min_fields
}
lock_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.lock". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [lock_bool_exp!]
|
|
_not - lock_bool_exp
|
|
_or - [lock_bool_exp!]
|
|
created_at - timestamptz_comparison_exp
|
|
expiry_date - timestamptz_comparison_exp
|
|
key - String_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
value - String_comparison_exp
|
Example
{
"_and": [lock_bool_exp],
"_not": lock_bool_exp,
"_or": [lock_bool_exp],
"created_at": timestamptz_comparison_exp,
"expiry_date": timestamptz_comparison_exp,
"key": String_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"value": String_comparison_exp
}
lock_constraint
Description
unique or primary key constraints on table "sequent_backend.lock"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "key" |
Example
"lock_pkey"
lock_insert_input
Description
input type for inserting data into table "sequent_backend.lock"
Fields
| Input Field | Description |
|---|---|
created_at - timestamptz
|
|
expiry_date - timestamptz
|
|
key - String
|
|
last_updated_at - timestamptz
|
|
value - String
|
Example
{
"created_at": timestamptz,
"expiry_date": timestamptz,
"key": "abc123",
"last_updated_at": timestamptz,
"value": "abc123"
}
lock_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
expiry_date - timestamptz
|
|
key - String
|
|
last_updated_at - timestamptz
|
|
value - String
|
Example
{
"created_at": timestamptz,
"expiry_date": timestamptz,
"key": "abc123",
"last_updated_at": timestamptz,
"value": "abc123"
}
lock_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
expiry_date - timestamptz
|
|
key - String
|
|
last_updated_at - timestamptz
|
|
value - String
|
Example
{
"created_at": timestamptz,
"expiry_date": timestamptz,
"key": "xyz789",
"last_updated_at": timestamptz,
"value": "xyz789"
}
lock_mutation_response
lock_on_conflict
Description
on_conflict condition type for table "sequent_backend.lock"
Fields
| Input Field | Description |
|---|---|
constraint - lock_constraint!
|
|
update_columns - [lock_update_column!]!
|
|
where - lock_bool_exp
|
Example
{
"constraint": "lock_pkey",
"update_columns": ["created_at"],
"where": lock_bool_exp
}
lock_order_by
Description
Ordering options when selecting data from "sequent_backend.lock".
Example
{
"created_at": "asc",
"expiry_date": "asc",
"key": "asc",
"last_updated_at": "asc",
"value": "asc"
}
lock_pk_columns_input
Description
primary key columns input for table: sequent_backend.lock
Fields
| Input Field | Description |
|---|---|
key - String!
|
Example
{"key": "xyz789"}
lock_select_column
Description
select columns of table "sequent_backend.lock"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"created_at"
lock_set_input
Description
input type for updating data in table "sequent_backend.lock"
Fields
| Input Field | Description |
|---|---|
created_at - timestamptz
|
|
expiry_date - timestamptz
|
|
key - String
|
|
last_updated_at - timestamptz
|
|
value - String
|
Example
{
"created_at": timestamptz,
"expiry_date": timestamptz,
"key": "abc123",
"last_updated_at": timestamptz,
"value": "abc123"
}
lock_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_lock"
Fields
| Input Field | Description |
|---|---|
initial_value - lock_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": lock_stream_cursor_value_input,
"ordering": "ASC"
}
lock_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
created_at - timestamptz
|
|
expiry_date - timestamptz
|
|
key - String
|
|
last_updated_at - timestamptz
|
|
value - String
|
Example
{
"created_at": timestamptz,
"expiry_date": timestamptz,
"key": "abc123",
"last_updated_at": timestamptz,
"value": "xyz789"
}
lock_update_column
Description
update columns of table "sequent_backend.lock"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"created_at"
lock_updates
Fields
| Input Field | 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
{
"_set": lock_set_input,
"where": lock_bool_exp
}
notification
Description
columns and relationships of "sequent_backend.notification"
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz!
|
|
election_event_id - uuid!
|
|
election_id - uuid
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
name - String
|
|
template_id - uuid
|
|
tenant_id - uuid!
|
|
type - String
|
|
updated_at - timestamptz!
|
|
Example
{
"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
}
notification_aggregate
Description
aggregated selection of "sequent_backend.notification"
Fields
| Field Name | Description |
|---|---|
aggregate - notification_aggregate_fields
|
|
nodes - [notification!]!
|
Example
{
"aggregate": notification_aggregate_fields,
"nodes": [notification]
}
notification_aggregate_fields
Description
aggregate fields of "sequent_backend.notification"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - notification_max_fields
|
|
min - notification_min_fields
|
|
Example
{
"count": 987,
"max": notification_max_fields,
"min": notification_min_fields
}
notification_append_input
notification_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.notification". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [notification_bool_exp!]
|
|
_not - notification_bool_exp
|
|
_or - [notification_bool_exp!]
|
|
alias - String_comparison_exp
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
name - String_comparison_exp
|
|
template_id - uuid_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
type - String_comparison_exp
|
|
updated_at - timestamptz_comparison_exp
|
Example
{
"_and": [notification_bool_exp],
"_not": notification_bool_exp,
"_or": [notification_bool_exp],
"alias": String_comparison_exp,
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"name": String_comparison_exp,
"template_id": uuid_comparison_exp,
"tenant_id": uuid_comparison_exp,
"type": String_comparison_exp,
"updated_at": timestamptz_comparison_exp
}
notification_constraint
Description
unique or primary key constraints on table "sequent_backend.notification"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id" |
Example
"notification_pkey"
notification_delete_at_path_input
notification_delete_elem_input
notification_delete_key_input
notification_insert_input
Description
input type for inserting data into table "sequent_backend.notification"
Example
{
"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
}
notification_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
name - String
|
|
template_id - uuid
|
|
tenant_id - uuid
|
|
type - String
|
|
updated_at - timestamptz
|
Example
{
"alias": "xyz789",
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"name": "xyz789",
"template_id": uuid,
"tenant_id": uuid,
"type": "xyz789",
"updated_at": timestamptz
}
notification_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
name - String
|
|
template_id - uuid
|
|
tenant_id - uuid
|
|
type - String
|
|
updated_at - timestamptz
|
Example
{
"alias": "xyz789",
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"name": "xyz789",
"template_id": uuid,
"tenant_id": uuid,
"type": "abc123",
"updated_at": timestamptz
}
notification_mutation_response
Description
response of any mutation on the table "sequent_backend.notification"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [notification!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [notification]}
notification_on_conflict
Description
on_conflict condition type for table "sequent_backend.notification"
Fields
| Input Field | Description |
|---|---|
constraint - notification_constraint!
|
|
update_columns - [notification_update_column!]!
|
|
where - notification_bool_exp
|
Example
{
"constraint": "notification_pkey",
"update_columns": ["alias"],
"where": notification_bool_exp
}
notification_order_by
Description
Ordering options when selecting data from "sequent_backend.notification".
Example
{
"alias": "asc",
"annotations": "asc",
"created_at": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"labels": "asc",
"name": "asc",
"template_id": "asc",
"tenant_id": "asc",
"type": "asc",
"updated_at": "asc"
}
notification_pk_columns_input
Description
primary key columns input for table: sequent_backend.notification
Fields
| Input Field | Description |
|---|---|
id - uuid!
|
Example
{"id": uuid}
notification_prepend_input
notification_select_column
Description
select columns of table "sequent_backend.notification"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
notification_set_input
Description
input type for updating data in table "sequent_backend.notification"
Example
{
"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": "abc123",
"updated_at": timestamptz
}
notification_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_notification"
Fields
| Input Field | Description |
|---|---|
initial_value - notification_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": notification_stream_cursor_value_input,
"ordering": "ASC"
}
notification_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"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": "abc123",
"updated_at": timestamptz
}
notification_update_column
Description
update columns of table "sequent_backend.notification"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
notification_updates
Fields
| Input Field | 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
{
"_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
}
numeric
Example
numeric
numeric_comparison_exp
Description
Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_eq - numeric
|
|
_gt - numeric
|
|
_gte - numeric
|
|
_in - [numeric!]
|
|
_is_null - Boolean
|
|
_lt - numeric
|
|
_lte - numeric
|
|
_neq - numeric
|
|
_nin - [numeric!]
|
Example
{
"_eq": numeric,
"_gt": numeric,
"_gte": numeric,
"_in": [numeric],
"_is_null": false,
"_lt": numeric,
"_lte": numeric,
"_neq": numeric,
"_nin": [numeric]
}
order_by
Description
column ordering options
Values
| Enum Value | Description |
|---|---|
|
|
in ascending order, nulls last |
|
|
in ascending order, nulls first |
|
|
in ascending order, nulls last |
|
|
in descending order, nulls first |
|
|
in descending order, nulls first |
|
|
in descending order, nulls last |
Example
"asc"
report
Description
columns and relationships of "sequent_backend.report"
Example
{
"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": "xyz789",
"tenant_id": uuid
}
report_aggregate
Description
aggregated selection of "sequent_backend.report"
Fields
| Field Name | Description |
|---|---|
aggregate - report_aggregate_fields
|
|
nodes - [report!]!
|
Example
{
"aggregate": report_aggregate_fields,
"nodes": [report]
}
report_aggregate_fields
Description
aggregate fields of "sequent_backend.report"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - report_max_fields
|
|
min - report_min_fields
|
|
Example
{
"count": 123,
"max": report_max_fields,
"min": report_min_fields
}
report_append_input
Description
append existing jsonb value of filtered columns with new jsonb value
Fields
| Input Field | Description |
|---|---|
cron_config - jsonb
|
Example
{"cron_config": jsonb}
report_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.report". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [report_bool_exp!]
|
|
_not - report_bool_exp
|
|
_or - [report_bool_exp!]
|
|
created_at - timestamptz_comparison_exp
|
|
cron_config - jsonb_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
encryption_policy - String_comparison_exp
|
|
id - uuid_comparison_exp
|
|
permission_label - String_array_comparison_exp
|
|
report_type - String_comparison_exp
|
|
template_alias - String_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [report_bool_exp],
"_not": report_bool_exp,
"_or": [report_bool_exp],
"created_at": timestamptz_comparison_exp,
"cron_config": jsonb_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"encryption_policy": String_comparison_exp,
"id": uuid_comparison_exp,
"permission_label": String_array_comparison_exp,
"report_type": String_comparison_exp,
"template_alias": String_comparison_exp,
"tenant_id": uuid_comparison_exp
}
report_constraint
Description
unique or primary key constraints on table "sequent_backend.report"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id" |
Example
"report_pkey"
report_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Fields
| Input Field | Description |
|---|---|
cron_config - [String!]
|
Example
{"cron_config": ["xyz789"]}
report_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Fields
| Input Field | Description |
|---|---|
cron_config - Int
|
Example
{"cron_config": 987}
report_delete_key_input
Description
delete key/value pair or string element. key/value pairs are matched based on their key value
Fields
| Input Field | Description |
|---|---|
cron_config - String
|
Example
{"cron_config": "abc123"}
report_insert_input
Description
input type for inserting data into table "sequent_backend.report"
Example
{
"created_at": timestamptz,
"cron_config": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"encryption_policy": "abc123",
"id": uuid,
"permission_label": ["abc123"],
"report_type": "xyz789",
"template_alias": "xyz789",
"tenant_id": uuid
}
report_max_fields
Description
aggregate max on columns
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"encryption_policy": "abc123",
"id": uuid,
"permission_label": ["abc123"],
"report_type": "xyz789",
"template_alias": "xyz789",
"tenant_id": uuid
}
report_min_fields
Description
aggregate min on columns
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"encryption_policy": "abc123",
"id": uuid,
"permission_label": ["abc123"],
"report_type": "xyz789",
"template_alias": "abc123",
"tenant_id": uuid
}
report_mutation_response
Description
response of any mutation on the table "sequent_backend.report"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [report!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [report]}
report_on_conflict
Description
on_conflict condition type for table "sequent_backend.report"
Fields
| Input Field | Description |
|---|---|
constraint - report_constraint!
|
|
update_columns - [report_update_column!]!
|
|
where - report_bool_exp
|
Example
{
"constraint": "report_pkey",
"update_columns": ["created_at"],
"where": report_bool_exp
}
report_order_by
Description
Ordering options when selecting data from "sequent_backend.report".
Example
{
"created_at": "asc",
"cron_config": "asc",
"election_event_id": "asc",
"election_id": "asc",
"encryption_policy": "asc",
"id": "asc",
"permission_label": "asc",
"report_type": "asc",
"template_alias": "asc",
"tenant_id": "asc"
}
report_pk_columns_input
Description
primary key columns input for table: sequent_backend.report
Fields
| Input Field | Description |
|---|---|
id - uuid!
|
Example
{"id": uuid}
report_prepend_input
Description
prepend existing jsonb value of filtered columns with new jsonb value
Fields
| Input Field | Description |
|---|---|
cron_config - jsonb
|
Example
{"cron_config": jsonb}
report_select_column
Description
select columns of table "sequent_backend.report"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"created_at"
report_set_input
Description
input type for updating data in table "sequent_backend.report"
Example
{
"created_at": timestamptz,
"cron_config": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"encryption_policy": "abc123",
"id": uuid,
"permission_label": ["abc123"],
"report_type": "xyz789",
"template_alias": "abc123",
"tenant_id": uuid
}
report_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_report"
Fields
| Input Field | Description |
|---|---|
initial_value - report_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": report_stream_cursor_value_input,
"ordering": "ASC"
}
report_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"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
}
report_update_column
Description
update columns of table "sequent_backend.report"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"created_at"
report_updates
Fields
| Input Field | 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
{
"_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
}
results_area_contest
Description
columns and relationships of "sequent_backend.results_area_contest"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
area_id - uuid!
|
|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid!
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
Arguments
|
|
election_event_id - uuid!
|
|
election_id - uuid!
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid!
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
results_event_id - uuid!
|
|
tenant_id - uuid!
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
|
Example
{
"annotations": jsonb,
"area_id": uuid,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 987,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 987,
"total_votes_percent": numeric
}
results_area_contest_aggregate
Description
aggregated selection of "sequent_backend.results_area_contest"
Fields
| Field Name | Description |
|---|---|
aggregate - results_area_contest_aggregate_fields
|
|
nodes - [results_area_contest!]!
|
Example
{
"aggregate": results_area_contest_aggregate_fields,
"nodes": [results_area_contest]
}
results_area_contest_aggregate_fields
Description
aggregate fields of "sequent_backend.results_area_contest"
Fields
| Field Name | Description |
|---|---|
avg - results_area_contest_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - results_area_contest_max_fields
|
|
min - results_area_contest_min_fields
|
|
stddev - results_area_contest_stddev_fields
|
|
stddev_pop - results_area_contest_stddev_pop_fields
|
|
stddev_samp - results_area_contest_stddev_samp_fields
|
|
sum - results_area_contest_sum_fields
|
|
var_pop - results_area_contest_var_pop_fields
|
|
var_samp - results_area_contest_var_samp_fields
|
|
variance - results_area_contest_variance_fields
|
|
Example
{
"avg": results_area_contest_avg_fields,
"count": 123,
"max": results_area_contest_max_fields,
"min": results_area_contest_min_fields,
"stddev": results_area_contest_stddev_fields,
"stddev_pop": results_area_contest_stddev_pop_fields,
"stddev_samp": results_area_contest_stddev_samp_fields,
"sum": results_area_contest_sum_fields,
"var_pop": results_area_contest_var_pop_fields,
"var_samp": results_area_contest_var_samp_fields,
"variance": results_area_contest_variance_fields
}
results_area_contest_append_input
results_area_contest_avg_fields
Description
aggregate avg on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 987.65,
"blank_votes_percent": 123.45,
"elegible_census": 987.65,
"explicit_invalid_votes": 987.65,
"explicit_invalid_votes_percent": 987.65,
"implicit_invalid_votes": 987.65,
"implicit_invalid_votes_percent": 123.45,
"total_auditable_votes": 123.45,
"total_auditable_votes_percent": 987.65,
"total_invalid_votes": 123.45,
"total_invalid_votes_percent": 987.65,
"total_valid_votes": 123.45,
"total_valid_votes_percent": 987.65,
"total_votes": 123.45,
"total_votes_percent": 987.65
}
results_area_contest_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.results_area_contest". All fields are combined with a logical 'AND'.
Fields
Example
{
"_and": [results_area_contest_bool_exp],
"_not": results_area_contest_bool_exp,
"_or": [results_area_contest_bool_exp],
"annotations": jsonb_comparison_exp,
"area_id": uuid_comparison_exp,
"blank_votes": Int_comparison_exp,
"blank_votes_percent": numeric_comparison_exp,
"contest_id": uuid_comparison_exp,
"created_at": timestamptz_comparison_exp,
"documents": jsonb_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"elegible_census": Int_comparison_exp,
"explicit_invalid_votes": Int_comparison_exp,
"explicit_invalid_votes_percent": numeric_comparison_exp,
"id": uuid_comparison_exp,
"implicit_invalid_votes": Int_comparison_exp,
"implicit_invalid_votes_percent": numeric_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"results_event_id": uuid_comparison_exp,
"tenant_id": uuid_comparison_exp,
"total_auditable_votes": Int_comparison_exp,
"total_auditable_votes_percent": numeric_comparison_exp,
"total_invalid_votes": Int_comparison_exp,
"total_invalid_votes_percent": numeric_comparison_exp,
"total_valid_votes": Int_comparison_exp,
"total_valid_votes_percent": numeric_comparison_exp,
"total_votes": Int_comparison_exp,
"total_votes_percent": numeric_comparison_exp
}
results_area_contest_candidate
Description
columns and relationships of "sequent_backend.results_area_contest_candidate"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
area_id - uuid!
|
|
candidate_id - uuid!
|
|
cast_votes - Int
|
|
cast_votes_percent - numeric
|
|
contest_id - uuid!
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
Arguments
|
|
election_event_id - uuid!
|
|
election_id - uuid!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
points - Int
|
|
results_event_id - uuid!
|
|
tenant_id - uuid!
|
|
winning_position - Int
|
|
Example
{
"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": 987
}
results_area_contest_candidate_aggregate
Description
aggregated selection of "sequent_backend.results_area_contest_candidate"
Fields
| Field Name | Description |
|---|---|
aggregate - results_area_contest_candidate_aggregate_fields
|
|
nodes - [results_area_contest_candidate!]!
|
Example
{
"aggregate": results_area_contest_candidate_aggregate_fields,
"nodes": [results_area_contest_candidate]
}
results_area_contest_candidate_aggregate_fields
Description
aggregate fields of "sequent_backend.results_area_contest_candidate"
Fields
| Field Name | Description |
|---|---|
avg - results_area_contest_candidate_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - results_area_contest_candidate_max_fields
|
|
min - results_area_contest_candidate_min_fields
|
|
stddev - results_area_contest_candidate_stddev_fields
|
|
stddev_pop - results_area_contest_candidate_stddev_pop_fields
|
|
stddev_samp - results_area_contest_candidate_stddev_samp_fields
|
|
sum - results_area_contest_candidate_sum_fields
|
|
var_pop - results_area_contest_candidate_var_pop_fields
|
|
var_samp - results_area_contest_candidate_var_samp_fields
|
|
variance - results_area_contest_candidate_variance_fields
|
|
Example
{
"avg": results_area_contest_candidate_avg_fields,
"count": 123,
"max": results_area_contest_candidate_max_fields,
"min": results_area_contest_candidate_min_fields,
"stddev": results_area_contest_candidate_stddev_fields,
"stddev_pop": results_area_contest_candidate_stddev_pop_fields,
"stddev_samp": results_area_contest_candidate_stddev_samp_fields,
"sum": results_area_contest_candidate_sum_fields,
"var_pop": results_area_contest_candidate_var_pop_fields,
"var_samp": results_area_contest_candidate_var_samp_fields,
"variance": results_area_contest_candidate_variance_fields
}
results_area_contest_candidate_append_input
results_area_contest_candidate_avg_fields
results_area_contest_candidate_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.results_area_contest_candidate". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [results_area_contest_candidate_bool_exp!]
|
|
_not - results_area_contest_candidate_bool_exp
|
|
_or - [results_area_contest_candidate_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
area_id - uuid_comparison_exp
|
|
candidate_id - uuid_comparison_exp
|
|
cast_votes - Int_comparison_exp
|
|
cast_votes_percent - numeric_comparison_exp
|
|
contest_id - uuid_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
documents - jsonb_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
points - Int_comparison_exp
|
|
results_event_id - uuid_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
winning_position - Int_comparison_exp
|
Example
{
"_and": [results_area_contest_candidate_bool_exp],
"_not": results_area_contest_candidate_bool_exp,
"_or": [results_area_contest_candidate_bool_exp],
"annotations": jsonb_comparison_exp,
"area_id": uuid_comparison_exp,
"candidate_id": uuid_comparison_exp,
"cast_votes": Int_comparison_exp,
"cast_votes_percent": numeric_comparison_exp,
"contest_id": uuid_comparison_exp,
"created_at": timestamptz_comparison_exp,
"documents": jsonb_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"points": Int_comparison_exp,
"results_event_id": uuid_comparison_exp,
"tenant_id": uuid_comparison_exp,
"winning_position": Int_comparison_exp
}
results_area_contest_candidate_constraint
Description
unique or primary key constraints on table "sequent_backend.results_area_contest_candidate"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "results_event_id", "tenant_id", "election_event_id" |
Example
"results_area_contest_candidate_pkey"
results_area_contest_candidate_delete_at_path_input
results_area_contest_candidate_delete_elem_input
results_area_contest_candidate_delete_key_input
results_area_contest_candidate_inc_input
Description
input type for incrementing numeric columns in table "sequent_backend.results_area_contest_candidate"
Example
{
"cast_votes": 987,
"cast_votes_percent": numeric,
"points": 987,
"winning_position": 987
}
results_area_contest_candidate_insert_input
Description
input type for inserting data into table "sequent_backend.results_area_contest_candidate"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
candidate_id - uuid
|
|
cast_votes - Int
|
|
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 - Int
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
winning_position - Int
|
Example
{
"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": 987
}
results_area_contest_candidate_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
candidate_id - uuid
|
|
cast_votes - Int
|
|
cast_votes_percent - numeric
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
points - Int
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
winning_position - Int
|
Example
{
"area_id": uuid,
"candidate_id": uuid,
"cast_votes": 987,
"cast_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"points": 987,
"results_event_id": uuid,
"tenant_id": uuid,
"winning_position": 987
}
results_area_contest_candidate_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
candidate_id - uuid
|
|
cast_votes - Int
|
|
cast_votes_percent - numeric
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
points - Int
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
winning_position - Int
|
Example
{
"area_id": uuid,
"candidate_id": uuid,
"cast_votes": 987,
"cast_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"points": 123,
"results_event_id": uuid,
"tenant_id": uuid,
"winning_position": 123
}
results_area_contest_candidate_mutation_response
Description
response of any mutation on the table "sequent_backend.results_area_contest_candidate"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [results_area_contest_candidate!]!
|
data from the rows affected by the mutation |
Example
{
"affected_rows": 123,
"returning": [results_area_contest_candidate]
}
results_area_contest_candidate_on_conflict
Description
on_conflict condition type for table "sequent_backend.results_area_contest_candidate"
Fields
| Input Field | Description |
|---|---|
constraint - results_area_contest_candidate_constraint!
|
|
update_columns - [results_area_contest_candidate_update_column!]!
|
|
where - results_area_contest_candidate_bool_exp
|
Example
{
"constraint": "results_area_contest_candidate_pkey",
"update_columns": ["annotations"],
"where": results_area_contest_candidate_bool_exp
}
results_area_contest_candidate_order_by
Description
Ordering options when selecting data from "sequent_backend.results_area_contest_candidate".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
area_id - order_by
|
|
candidate_id - order_by
|
|
cast_votes - order_by
|
|
cast_votes_percent - order_by
|
|
contest_id - order_by
|
|
created_at - order_by
|
|
documents - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
id - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
points - order_by
|
|
results_event_id - order_by
|
|
tenant_id - order_by
|
|
winning_position - order_by
|
Example
{
"annotations": "asc",
"area_id": "asc",
"candidate_id": "asc",
"cast_votes": "asc",
"cast_votes_percent": "asc",
"contest_id": "asc",
"created_at": "asc",
"documents": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"points": "asc",
"results_event_id": "asc",
"tenant_id": "asc",
"winning_position": "asc"
}
results_area_contest_candidate_pk_columns_input
Description
primary key columns input for table: sequent_backend.results_area_contest_candidate
Example
{
"election_event_id": uuid,
"id": uuid,
"results_event_id": uuid,
"tenant_id": uuid
}
results_area_contest_candidate_prepend_input
results_area_contest_candidate_select_column
Description
select columns of table "sequent_backend.results_area_contest_candidate"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_area_contest_candidate_set_input
Description
input type for updating data in table "sequent_backend.results_area_contest_candidate"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
candidate_id - uuid
|
|
cast_votes - Int
|
|
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 - Int
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
winning_position - Int
|
Example
{
"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": 987
}
results_area_contest_candidate_stddev_fields
results_area_contest_candidate_stddev_pop_fields
results_area_contest_candidate_stddev_samp_fields
results_area_contest_candidate_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_results_area_contest_candidate"
Fields
| Input Field | Description |
|---|---|
initial_value - results_area_contest_candidate_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": results_area_contest_candidate_stream_cursor_value_input,
"ordering": "ASC"
}
results_area_contest_candidate_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
candidate_id - uuid
|
|
cast_votes - Int
|
|
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 - Int
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
winning_position - Int
|
Example
{
"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
}
results_area_contest_candidate_sum_fields
results_area_contest_candidate_update_column
Description
update columns of table "sequent_backend.results_area_contest_candidate"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_area_contest_candidate_updates
Fields
| Input Field | 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
{
"_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
}
results_area_contest_candidate_var_pop_fields
results_area_contest_candidate_var_samp_fields
results_area_contest_candidate_variance_fields
results_area_contest_constraint
Description
unique or primary key constraints on table "sequent_backend.results_area_contest"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "results_event_id", "tenant_id", "election_event_id" |
Example
"results_area_contest_pkey"
results_area_contest_delete_at_path_input
results_area_contest_delete_elem_input
results_area_contest_delete_key_input
results_area_contest_inc_input
Description
input type for incrementing numeric columns in table "sequent_backend.results_area_contest"
Fields
| Input Field | Description |
|---|---|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
Example
{
"blank_votes": 987,
"blank_votes_percent": numeric,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"implicit_invalid_votes": 123,
"implicit_invalid_votes_percent": numeric,
"total_auditable_votes": 987,
"total_auditable_votes_percent": numeric,
"total_invalid_votes": 987,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"total_votes_percent": numeric
}
results_area_contest_insert_input
Description
input type for inserting data into table "sequent_backend.results_area_contest"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
Example
{
"annotations": jsonb,
"area_id": uuid,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 123,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 987,
"total_valid_votes_percent": numeric,
"total_votes": 987,
"total_votes_percent": numeric
}
results_area_contest_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
last_updated_at - timestamptz
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
Example
{
"area_id": uuid,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"implicit_invalid_votes": 987,
"implicit_invalid_votes_percent": numeric,
"last_updated_at": timestamptz,
"results_event_id": uuid,
"tenant_id": uuid,
"total_auditable_votes": 123,
"total_auditable_votes_percent": numeric,
"total_invalid_votes": 987,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"total_votes_percent": numeric
}
results_area_contest_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
last_updated_at - timestamptz
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
Example
{
"area_id": uuid,
"blank_votes": 987,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"implicit_invalid_votes": 123,
"implicit_invalid_votes_percent": numeric,
"last_updated_at": timestamptz,
"results_event_id": uuid,
"tenant_id": uuid,
"total_auditable_votes": 123,
"total_auditable_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
}
results_area_contest_mutation_response
Description
response of any mutation on the table "sequent_backend.results_area_contest"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [results_area_contest!]!
|
data from the rows affected by the mutation |
Example
{
"affected_rows": 987,
"returning": [results_area_contest]
}
results_area_contest_on_conflict
Description
on_conflict condition type for table "sequent_backend.results_area_contest"
Fields
| Input Field | Description |
|---|---|
constraint - results_area_contest_constraint!
|
|
update_columns - [results_area_contest_update_column!]!
|
|
where - results_area_contest_bool_exp
|
Example
{
"constraint": "results_area_contest_pkey",
"update_columns": ["annotations"],
"where": results_area_contest_bool_exp
}
results_area_contest_order_by
Description
Ordering options when selecting data from "sequent_backend.results_area_contest".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
area_id - order_by
|
|
blank_votes - order_by
|
|
blank_votes_percent - order_by
|
|
contest_id - order_by
|
|
created_at - order_by
|
|
documents - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
elegible_census - order_by
|
|
explicit_invalid_votes - order_by
|
|
explicit_invalid_votes_percent - order_by
|
|
id - order_by
|
|
implicit_invalid_votes - order_by
|
|
implicit_invalid_votes_percent - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
results_event_id - order_by
|
|
tenant_id - order_by
|
|
total_auditable_votes - order_by
|
|
total_auditable_votes_percent - order_by
|
|
total_invalid_votes - order_by
|
|
total_invalid_votes_percent - order_by
|
|
total_valid_votes - order_by
|
|
total_valid_votes_percent - order_by
|
|
total_votes - order_by
|
|
total_votes_percent - order_by
|
Example
{
"annotations": "asc",
"area_id": "asc",
"blank_votes": "asc",
"blank_votes_percent": "asc",
"contest_id": "asc",
"created_at": "asc",
"documents": "asc",
"election_event_id": "asc",
"election_id": "asc",
"elegible_census": "asc",
"explicit_invalid_votes": "asc",
"explicit_invalid_votes_percent": "asc",
"id": "asc",
"implicit_invalid_votes": "asc",
"implicit_invalid_votes_percent": "asc",
"labels": "asc",
"last_updated_at": "asc",
"results_event_id": "asc",
"tenant_id": "asc",
"total_auditable_votes": "asc",
"total_auditable_votes_percent": "asc",
"total_invalid_votes": "asc",
"total_invalid_votes_percent": "asc",
"total_valid_votes": "asc",
"total_valid_votes_percent": "asc",
"total_votes": "asc",
"total_votes_percent": "asc"
}
results_area_contest_pk_columns_input
results_area_contest_prepend_input
results_area_contest_select_column
Description
select columns of table "sequent_backend.results_area_contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_area_contest_set_input
Description
input type for updating data in table "sequent_backend.results_area_contest"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
Example
{
"annotations": jsonb,
"area_id": uuid,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 123,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 987,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"total_votes_percent": numeric
}
results_area_contest_stddev_fields
Description
aggregate stddev on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 987.65,
"blank_votes_percent": 123.45,
"elegible_census": 123.45,
"explicit_invalid_votes": 987.65,
"explicit_invalid_votes_percent": 987.65,
"implicit_invalid_votes": 123.45,
"implicit_invalid_votes_percent": 123.45,
"total_auditable_votes": 987.65,
"total_auditable_votes_percent": 123.45,
"total_invalid_votes": 987.65,
"total_invalid_votes_percent": 123.45,
"total_valid_votes": 987.65,
"total_valid_votes_percent": 987.65,
"total_votes": 987.65,
"total_votes_percent": 123.45
}
results_area_contest_stddev_pop_fields
Description
aggregate stddev_pop on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 987.65,
"blank_votes_percent": 987.65,
"elegible_census": 987.65,
"explicit_invalid_votes": 123.45,
"explicit_invalid_votes_percent": 987.65,
"implicit_invalid_votes": 123.45,
"implicit_invalid_votes_percent": 987.65,
"total_auditable_votes": 123.45,
"total_auditable_votes_percent": 987.65,
"total_invalid_votes": 987.65,
"total_invalid_votes_percent": 987.65,
"total_valid_votes": 987.65,
"total_valid_votes_percent": 987.65,
"total_votes": 123.45,
"total_votes_percent": 123.45
}
results_area_contest_stddev_samp_fields
Description
aggregate stddev_samp on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 987.65,
"blank_votes_percent": 987.65,
"elegible_census": 987.65,
"explicit_invalid_votes": 123.45,
"explicit_invalid_votes_percent": 123.45,
"implicit_invalid_votes": 123.45,
"implicit_invalid_votes_percent": 987.65,
"total_auditable_votes": 987.65,
"total_auditable_votes_percent": 123.45,
"total_invalid_votes": 123.45,
"total_invalid_votes_percent": 987.65,
"total_valid_votes": 123.45,
"total_valid_votes_percent": 123.45,
"total_votes": 987.65,
"total_votes_percent": 987.65
}
results_area_contest_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_results_area_contest"
Fields
| Input Field | Description |
|---|---|
initial_value - results_area_contest_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": results_area_contest_stream_cursor_value_input,
"ordering": "ASC"
}
results_area_contest_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
Example
{
"annotations": jsonb,
"area_id": uuid,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 123,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 987,
"total_valid_votes_percent": numeric,
"total_votes": 987,
"total_votes_percent": numeric
}
results_area_contest_sum_fields
Description
aggregate sum on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
Example
{
"blank_votes": 987,
"blank_votes_percent": numeric,
"elegible_census": 123,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"implicit_invalid_votes": 123,
"implicit_invalid_votes_percent": numeric,
"total_auditable_votes": 123,
"total_auditable_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
}
results_area_contest_update_column
Description
update columns of table "sequent_backend.results_area_contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_area_contest_updates
Fields
| Input Field | 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
{
"_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
}
results_area_contest_var_pop_fields
Description
aggregate var_pop on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 123.45,
"blank_votes_percent": 987.65,
"elegible_census": 987.65,
"explicit_invalid_votes": 123.45,
"explicit_invalid_votes_percent": 987.65,
"implicit_invalid_votes": 987.65,
"implicit_invalid_votes_percent": 987.65,
"total_auditable_votes": 987.65,
"total_auditable_votes_percent": 123.45,
"total_invalid_votes": 123.45,
"total_invalid_votes_percent": 123.45,
"total_valid_votes": 123.45,
"total_valid_votes_percent": 123.45,
"total_votes": 987.65,
"total_votes_percent": 987.65
}
results_area_contest_var_samp_fields
Description
aggregate var_samp on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 987.65,
"blank_votes_percent": 123.45,
"elegible_census": 123.45,
"explicit_invalid_votes": 987.65,
"explicit_invalid_votes_percent": 123.45,
"implicit_invalid_votes": 987.65,
"implicit_invalid_votes_percent": 123.45,
"total_auditable_votes": 123.45,
"total_auditable_votes_percent": 123.45,
"total_invalid_votes": 123.45,
"total_invalid_votes_percent": 123.45,
"total_valid_votes": 123.45,
"total_valid_votes_percent": 123.45,
"total_votes": 987.65,
"total_votes_percent": 123.45
}
results_area_contest_variance_fields
Description
aggregate variance on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 123.45,
"blank_votes_percent": 987.65,
"elegible_census": 987.65,
"explicit_invalid_votes": 123.45,
"explicit_invalid_votes_percent": 123.45,
"implicit_invalid_votes": 123.45,
"implicit_invalid_votes_percent": 987.65,
"total_auditable_votes": 123.45,
"total_auditable_votes_percent": 987.65,
"total_invalid_votes": 987.65,
"total_invalid_votes_percent": 987.65,
"total_valid_votes": 987.65,
"total_valid_votes_percent": 987.65,
"total_votes": 987.65,
"total_votes_percent": 987.65
}
results_contest
Description
columns and relationships of "sequent_backend.results_contest"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid!
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
Arguments
|
|
election_event_id - uuid!
|
|
election_id - uuid!
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid!
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid!
|
|
tenant_id - uuid!
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
|
voting_type - String
|
|
Example
{
"annotations": jsonb,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "xyz789",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 123,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 987,
"total_valid_votes_percent": numeric,
"total_votes": 987,
"total_votes_percent": numeric,
"voting_type": "xyz789"
}
results_contest_aggregate
Description
aggregated selection of "sequent_backend.results_contest"
Fields
| Field Name | Description |
|---|---|
aggregate - results_contest_aggregate_fields
|
|
nodes - [results_contest!]!
|
Example
{
"aggregate": results_contest_aggregate_fields,
"nodes": [results_contest]
}
results_contest_aggregate_fields
Description
aggregate fields of "sequent_backend.results_contest"
Fields
| Field Name | Description |
|---|---|
avg - results_contest_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - results_contest_max_fields
|
|
min - results_contest_min_fields
|
|
stddev - results_contest_stddev_fields
|
|
stddev_pop - results_contest_stddev_pop_fields
|
|
stddev_samp - results_contest_stddev_samp_fields
|
|
sum - results_contest_sum_fields
|
|
var_pop - results_contest_var_pop_fields
|
|
var_samp - results_contest_var_samp_fields
|
|
variance - results_contest_variance_fields
|
|
Example
{
"avg": results_contest_avg_fields,
"count": 123,
"max": results_contest_max_fields,
"min": results_contest_min_fields,
"stddev": results_contest_stddev_fields,
"stddev_pop": results_contest_stddev_pop_fields,
"stddev_samp": results_contest_stddev_samp_fields,
"sum": results_contest_sum_fields,
"var_pop": results_contest_var_pop_fields,
"var_samp": results_contest_var_samp_fields,
"variance": results_contest_variance_fields
}
results_contest_append_input
results_contest_avg_fields
Description
aggregate avg on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 123.45,
"blank_votes_percent": 123.45,
"elegible_census": 987.65,
"explicit_invalid_votes": 123.45,
"explicit_invalid_votes_percent": 123.45,
"implicit_invalid_votes": 987.65,
"implicit_invalid_votes_percent": 987.65,
"total_auditable_votes": 123.45,
"total_auditable_votes_percent": 123.45,
"total_invalid_votes": 987.65,
"total_invalid_votes_percent": 987.65,
"total_valid_votes": 987.65,
"total_valid_votes_percent": 987.65,
"total_votes": 123.45,
"total_votes_percent": 123.45
}
results_contest_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.results_contest". All fields are combined with a logical 'AND'.
Fields
Example
{
"_and": [results_contest_bool_exp],
"_not": results_contest_bool_exp,
"_or": [results_contest_bool_exp],
"annotations": jsonb_comparison_exp,
"blank_votes": Int_comparison_exp,
"blank_votes_percent": numeric_comparison_exp,
"contest_id": uuid_comparison_exp,
"counting_algorithm": String_comparison_exp,
"created_at": timestamptz_comparison_exp,
"documents": jsonb_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"elegible_census": Int_comparison_exp,
"explicit_invalid_votes": Int_comparison_exp,
"explicit_invalid_votes_percent": numeric_comparison_exp,
"id": uuid_comparison_exp,
"implicit_invalid_votes": Int_comparison_exp,
"implicit_invalid_votes_percent": numeric_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"name": String_comparison_exp,
"results_event_id": uuid_comparison_exp,
"tenant_id": uuid_comparison_exp,
"total_auditable_votes": Int_comparison_exp,
"total_auditable_votes_percent": numeric_comparison_exp,
"total_invalid_votes": Int_comparison_exp,
"total_invalid_votes_percent": numeric_comparison_exp,
"total_valid_votes": Int_comparison_exp,
"total_valid_votes_percent": numeric_comparison_exp,
"total_votes": Int_comparison_exp,
"total_votes_percent": numeric_comparison_exp,
"voting_type": String_comparison_exp
}
results_contest_candidate
Description
columns and relationships of "sequent_backend.results_contest_candidate"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
candidate_id - uuid!
|
|
cast_votes - Int
|
|
cast_votes_percent - numeric
|
|
contest_id - uuid!
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
Arguments
|
|
election_event_id - uuid!
|
|
election_id - uuid!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
points - Int
|
|
results_event_id - uuid!
|
|
tenant_id - uuid!
|
|
winning_position - Int
|
|
Example
{
"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
}
results_contest_candidate_aggregate
Description
aggregated selection of "sequent_backend.results_contest_candidate"
Fields
| Field Name | Description |
|---|---|
aggregate - results_contest_candidate_aggregate_fields
|
|
nodes - [results_contest_candidate!]!
|
Example
{
"aggregate": results_contest_candidate_aggregate_fields,
"nodes": [results_contest_candidate]
}
results_contest_candidate_aggregate_fields
Description
aggregate fields of "sequent_backend.results_contest_candidate"
Fields
| Field Name | Description |
|---|---|
avg - results_contest_candidate_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - results_contest_candidate_max_fields
|
|
min - results_contest_candidate_min_fields
|
|
stddev - results_contest_candidate_stddev_fields
|
|
stddev_pop - results_contest_candidate_stddev_pop_fields
|
|
stddev_samp - results_contest_candidate_stddev_samp_fields
|
|
sum - results_contest_candidate_sum_fields
|
|
var_pop - results_contest_candidate_var_pop_fields
|
|
var_samp - results_contest_candidate_var_samp_fields
|
|
variance - results_contest_candidate_variance_fields
|
|
Example
{
"avg": results_contest_candidate_avg_fields,
"count": 123,
"max": results_contest_candidate_max_fields,
"min": results_contest_candidate_min_fields,
"stddev": results_contest_candidate_stddev_fields,
"stddev_pop": results_contest_candidate_stddev_pop_fields,
"stddev_samp": results_contest_candidate_stddev_samp_fields,
"sum": results_contest_candidate_sum_fields,
"var_pop": results_contest_candidate_var_pop_fields,
"var_samp": results_contest_candidate_var_samp_fields,
"variance": results_contest_candidate_variance_fields
}
results_contest_candidate_append_input
results_contest_candidate_avg_fields
results_contest_candidate_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.results_contest_candidate". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [results_contest_candidate_bool_exp!]
|
|
_not - results_contest_candidate_bool_exp
|
|
_or - [results_contest_candidate_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
candidate_id - uuid_comparison_exp
|
|
cast_votes - Int_comparison_exp
|
|
cast_votes_percent - numeric_comparison_exp
|
|
contest_id - uuid_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
documents - jsonb_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
points - Int_comparison_exp
|
|
results_event_id - uuid_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
winning_position - Int_comparison_exp
|
Example
{
"_and": [results_contest_candidate_bool_exp],
"_not": results_contest_candidate_bool_exp,
"_or": [results_contest_candidate_bool_exp],
"annotations": jsonb_comparison_exp,
"candidate_id": uuid_comparison_exp,
"cast_votes": Int_comparison_exp,
"cast_votes_percent": numeric_comparison_exp,
"contest_id": uuid_comparison_exp,
"created_at": timestamptz_comparison_exp,
"documents": jsonb_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"points": Int_comparison_exp,
"results_event_id": uuid_comparison_exp,
"tenant_id": uuid_comparison_exp,
"winning_position": Int_comparison_exp
}
results_contest_candidate_constraint
Description
unique or primary key constraints on table "sequent_backend.results_contest_candidate"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "results_event_id", "tenant_id", "election_event_id" |
Example
"results_contest_candidate_pkey"
results_contest_candidate_delete_at_path_input
results_contest_candidate_delete_elem_input
results_contest_candidate_delete_key_input
results_contest_candidate_inc_input
Description
input type for incrementing numeric columns in table "sequent_backend.results_contest_candidate"
Example
{
"cast_votes": 123,
"cast_votes_percent": numeric,
"points": 123,
"winning_position": 987
}
results_contest_candidate_insert_input
Description
input type for inserting data into table "sequent_backend.results_contest_candidate"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
candidate_id - uuid
|
|
cast_votes - Int
|
|
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 - Int
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
winning_position - Int
|
Example
{
"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
}
results_contest_candidate_max_fields
Description
aggregate max on columns
Example
{
"candidate_id": uuid,
"cast_votes": 123,
"cast_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"points": 123,
"results_event_id": uuid,
"tenant_id": uuid,
"winning_position": 123
}
results_contest_candidate_min_fields
Description
aggregate min on columns
Example
{
"candidate_id": uuid,
"cast_votes": 123,
"cast_votes_percent": numeric,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"points": 987,
"results_event_id": uuid,
"tenant_id": uuid,
"winning_position": 123
}
results_contest_candidate_mutation_response
Description
response of any mutation on the table "sequent_backend.results_contest_candidate"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [results_contest_candidate!]!
|
data from the rows affected by the mutation |
Example
{
"affected_rows": 123,
"returning": [results_contest_candidate]
}
results_contest_candidate_on_conflict
Description
on_conflict condition type for table "sequent_backend.results_contest_candidate"
Fields
| Input Field | Description |
|---|---|
constraint - results_contest_candidate_constraint!
|
|
update_columns - [results_contest_candidate_update_column!]!
|
|
where - results_contest_candidate_bool_exp
|
Example
{
"constraint": "results_contest_candidate_pkey",
"update_columns": ["annotations"],
"where": results_contest_candidate_bool_exp
}
results_contest_candidate_order_by
Description
Ordering options when selecting data from "sequent_backend.results_contest_candidate".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
candidate_id - order_by
|
|
cast_votes - order_by
|
|
cast_votes_percent - order_by
|
|
contest_id - order_by
|
|
created_at - order_by
|
|
documents - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
id - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
points - order_by
|
|
results_event_id - order_by
|
|
tenant_id - order_by
|
|
winning_position - order_by
|
Example
{
"annotations": "asc",
"candidate_id": "asc",
"cast_votes": "asc",
"cast_votes_percent": "asc",
"contest_id": "asc",
"created_at": "asc",
"documents": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"points": "asc",
"results_event_id": "asc",
"tenant_id": "asc",
"winning_position": "asc"
}
results_contest_candidate_pk_columns_input
results_contest_candidate_prepend_input
results_contest_candidate_select_column
Description
select columns of table "sequent_backend.results_contest_candidate"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_contest_candidate_set_input
Description
input type for updating data in table "sequent_backend.results_contest_candidate"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
candidate_id - uuid
|
|
cast_votes - Int
|
|
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 - Int
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
winning_position - Int
|
Example
{
"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": 987,
"results_event_id": uuid,
"tenant_id": uuid,
"winning_position": 123
}
results_contest_candidate_stddev_fields
results_contest_candidate_stddev_pop_fields
results_contest_candidate_stddev_samp_fields
results_contest_candidate_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_results_contest_candidate"
Fields
| Input Field | Description |
|---|---|
initial_value - results_contest_candidate_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": results_contest_candidate_stream_cursor_value_input,
"ordering": "ASC"
}
results_contest_candidate_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
candidate_id - uuid
|
|
cast_votes - Int
|
|
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 - Int
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
winning_position - Int
|
Example
{
"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": 987,
"results_event_id": uuid,
"tenant_id": uuid,
"winning_position": 123
}
results_contest_candidate_sum_fields
results_contest_candidate_update_column
Description
update columns of table "sequent_backend.results_contest_candidate"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_contest_candidate_updates
Fields
| Input Field | 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
{
"_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
}
results_contest_candidate_var_pop_fields
results_contest_candidate_var_samp_fields
results_contest_candidate_variance_fields
results_contest_constraint
Description
unique or primary key constraints on table "sequent_backend.results_contest"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "results_event_id", "tenant_id", "election_event_id" |
Example
"results_contest_pkey"
results_contest_delete_at_path_input
results_contest_delete_elem_input
results_contest_delete_key_input
results_contest_inc_input
Description
input type for incrementing numeric columns in table "sequent_backend.results_contest"
Fields
| Input Field | Description |
|---|---|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
Example
{
"blank_votes": 123,
"blank_votes_percent": numeric,
"elegible_census": 123,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"implicit_invalid_votes": 987,
"implicit_invalid_votes_percent": numeric,
"total_auditable_votes": 123,
"total_auditable_votes_percent": numeric,
"total_invalid_votes": 987,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"total_votes_percent": numeric
}
results_contest_insert_input
Description
input type for inserting data into table "sequent_backend.results_contest"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
|
voting_type - String
|
Example
{
"annotations": jsonb,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "abc123",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_invalid_votes": 123,
"total_invalid_votes_percent": numeric,
"total_valid_votes": 123,
"total_valid_votes_percent": numeric,
"total_votes": 123,
"total_votes_percent": numeric,
"voting_type": "xyz789"
}
results_contest_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
|
voting_type - String
|
Example
{
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "xyz789",
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"implicit_invalid_votes": 123,
"implicit_invalid_votes_percent": numeric,
"last_updated_at": timestamptz,
"name": "abc123",
"results_event_id": uuid,
"tenant_id": uuid,
"total_auditable_votes": 987,
"total_auditable_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,
"voting_type": "xyz789"
}
results_contest_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
|
voting_type - String
|
Example
{
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "abc123",
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 123,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"implicit_invalid_votes": 987,
"implicit_invalid_votes_percent": numeric,
"last_updated_at": timestamptz,
"name": "abc123",
"results_event_id": uuid,
"tenant_id": uuid,
"total_auditable_votes": 123,
"total_auditable_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,
"voting_type": "xyz789"
}
results_contest_mutation_response
Description
response of any mutation on the table "sequent_backend.results_contest"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [results_contest!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [results_contest]}
results_contest_on_conflict
Description
on_conflict condition type for table "sequent_backend.results_contest"
Fields
| Input Field | Description |
|---|---|
constraint - results_contest_constraint!
|
|
update_columns - [results_contest_update_column!]!
|
|
where - results_contest_bool_exp
|
Example
{
"constraint": "results_contest_pkey",
"update_columns": ["annotations"],
"where": results_contest_bool_exp
}
results_contest_order_by
Description
Ordering options when selecting data from "sequent_backend.results_contest".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
blank_votes - order_by
|
|
blank_votes_percent - order_by
|
|
contest_id - order_by
|
|
counting_algorithm - order_by
|
|
created_at - order_by
|
|
documents - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
elegible_census - order_by
|
|
explicit_invalid_votes - order_by
|
|
explicit_invalid_votes_percent - order_by
|
|
id - order_by
|
|
implicit_invalid_votes - order_by
|
|
implicit_invalid_votes_percent - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
name - order_by
|
|
results_event_id - order_by
|
|
tenant_id - order_by
|
|
total_auditable_votes - order_by
|
|
total_auditable_votes_percent - order_by
|
|
total_invalid_votes - order_by
|
|
total_invalid_votes_percent - order_by
|
|
total_valid_votes - order_by
|
|
total_valid_votes_percent - order_by
|
|
total_votes - order_by
|
|
total_votes_percent - order_by
|
|
voting_type - order_by
|
Example
{
"annotations": "asc",
"blank_votes": "asc",
"blank_votes_percent": "asc",
"contest_id": "asc",
"counting_algorithm": "asc",
"created_at": "asc",
"documents": "asc",
"election_event_id": "asc",
"election_id": "asc",
"elegible_census": "asc",
"explicit_invalid_votes": "asc",
"explicit_invalid_votes_percent": "asc",
"id": "asc",
"implicit_invalid_votes": "asc",
"implicit_invalid_votes_percent": "asc",
"labels": "asc",
"last_updated_at": "asc",
"name": "asc",
"results_event_id": "asc",
"tenant_id": "asc",
"total_auditable_votes": "asc",
"total_auditable_votes_percent": "asc",
"total_invalid_votes": "asc",
"total_invalid_votes_percent": "asc",
"total_valid_votes": "asc",
"total_valid_votes_percent": "asc",
"total_votes": "asc",
"total_votes_percent": "asc",
"voting_type": "asc"
}
results_contest_pk_columns_input
results_contest_prepend_input
results_contest_select_column
Description
select columns of table "sequent_backend.results_contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_contest_set_input
Description
input type for updating data in table "sequent_backend.results_contest"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
|
voting_type - String
|
Example
{
"annotations": jsonb,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "xyz789",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_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": "abc123"
}
results_contest_stddev_fields
Description
aggregate stddev on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 987.65,
"blank_votes_percent": 987.65,
"elegible_census": 123.45,
"explicit_invalid_votes": 987.65,
"explicit_invalid_votes_percent": 123.45,
"implicit_invalid_votes": 987.65,
"implicit_invalid_votes_percent": 123.45,
"total_auditable_votes": 987.65,
"total_auditable_votes_percent": 123.45,
"total_invalid_votes": 987.65,
"total_invalid_votes_percent": 123.45,
"total_valid_votes": 987.65,
"total_valid_votes_percent": 123.45,
"total_votes": 987.65,
"total_votes_percent": 987.65
}
results_contest_stddev_pop_fields
Description
aggregate stddev_pop on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 987.65,
"blank_votes_percent": 123.45,
"elegible_census": 987.65,
"explicit_invalid_votes": 987.65,
"explicit_invalid_votes_percent": 987.65,
"implicit_invalid_votes": 987.65,
"implicit_invalid_votes_percent": 123.45,
"total_auditable_votes": 123.45,
"total_auditable_votes_percent": 987.65,
"total_invalid_votes": 987.65,
"total_invalid_votes_percent": 987.65,
"total_valid_votes": 987.65,
"total_valid_votes_percent": 123.45,
"total_votes": 123.45,
"total_votes_percent": 123.45
}
results_contest_stddev_samp_fields
Description
aggregate stddev_samp on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 123.45,
"blank_votes_percent": 987.65,
"elegible_census": 987.65,
"explicit_invalid_votes": 123.45,
"explicit_invalid_votes_percent": 987.65,
"implicit_invalid_votes": 123.45,
"implicit_invalid_votes_percent": 123.45,
"total_auditable_votes": 123.45,
"total_auditable_votes_percent": 987.65,
"total_invalid_votes": 987.65,
"total_invalid_votes_percent": 123.45,
"total_valid_votes": 987.65,
"total_valid_votes_percent": 987.65,
"total_votes": 123.45,
"total_votes_percent": 987.65
}
results_contest_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_results_contest"
Fields
| Input Field | Description |
|---|---|
initial_value - results_contest_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": results_contest_stream_cursor_value_input,
"ordering": "ASC"
}
results_contest_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
contest_id - uuid
|
|
counting_algorithm - String
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
id - uuid
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
|
voting_type - String
|
Example
{
"annotations": jsonb,
"blank_votes": 123,
"blank_votes_percent": numeric,
"contest_id": uuid,
"counting_algorithm": "xyz789",
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"id": uuid,
"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_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"
}
results_contest_sum_fields
Description
aggregate sum on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Int
|
|
blank_votes_percent - numeric
|
|
elegible_census - Int
|
|
explicit_invalid_votes - Int
|
|
explicit_invalid_votes_percent - numeric
|
|
implicit_invalid_votes - Int
|
|
implicit_invalid_votes_percent - numeric
|
|
total_auditable_votes - Int
|
|
total_auditable_votes_percent - numeric
|
|
total_invalid_votes - Int
|
|
total_invalid_votes_percent - numeric
|
|
total_valid_votes - Int
|
|
total_valid_votes_percent - numeric
|
|
total_votes - Int
|
|
total_votes_percent - numeric
|
Example
{
"blank_votes": 123,
"blank_votes_percent": numeric,
"elegible_census": 123,
"explicit_invalid_votes": 987,
"explicit_invalid_votes_percent": numeric,
"implicit_invalid_votes": 123,
"implicit_invalid_votes_percent": numeric,
"total_auditable_votes": 123,
"total_auditable_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
}
results_contest_update_column
Description
update columns of table "sequent_backend.results_contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_contest_updates
Fields
| Input Field | 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
{
"_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
}
results_contest_var_pop_fields
Description
aggregate var_pop on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 123.45,
"blank_votes_percent": 987.65,
"elegible_census": 123.45,
"explicit_invalid_votes": 987.65,
"explicit_invalid_votes_percent": 987.65,
"implicit_invalid_votes": 987.65,
"implicit_invalid_votes_percent": 123.45,
"total_auditable_votes": 987.65,
"total_auditable_votes_percent": 123.45,
"total_invalid_votes": 987.65,
"total_invalid_votes_percent": 123.45,
"total_valid_votes": 123.45,
"total_valid_votes_percent": 987.65,
"total_votes": 987.65,
"total_votes_percent": 123.45
}
results_contest_var_samp_fields
Description
aggregate var_samp on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 123.45,
"blank_votes_percent": 123.45,
"elegible_census": 987.65,
"explicit_invalid_votes": 987.65,
"explicit_invalid_votes_percent": 987.65,
"implicit_invalid_votes": 123.45,
"implicit_invalid_votes_percent": 123.45,
"total_auditable_votes": 123.45,
"total_auditable_votes_percent": 123.45,
"total_invalid_votes": 987.65,
"total_invalid_votes_percent": 123.45,
"total_valid_votes": 123.45,
"total_valid_votes_percent": 123.45,
"total_votes": 987.65,
"total_votes_percent": 987.65
}
results_contest_variance_fields
Description
aggregate variance on columns
Fields
| Field Name | Description |
|---|---|
blank_votes - Float
|
|
blank_votes_percent - Float
|
|
elegible_census - Float
|
|
explicit_invalid_votes - Float
|
|
explicit_invalid_votes_percent - Float
|
|
implicit_invalid_votes - Float
|
|
implicit_invalid_votes_percent - Float
|
|
total_auditable_votes - Float
|
|
total_auditable_votes_percent - Float
|
|
total_invalid_votes - Float
|
|
total_invalid_votes_percent - Float
|
|
total_valid_votes - Float
|
|
total_valid_votes_percent - Float
|
|
total_votes - Float
|
|
total_votes_percent - Float
|
Example
{
"blank_votes": 987.65,
"blank_votes_percent": 987.65,
"elegible_census": 987.65,
"explicit_invalid_votes": 987.65,
"explicit_invalid_votes_percent": 987.65,
"implicit_invalid_votes": 123.45,
"implicit_invalid_votes_percent": 987.65,
"total_auditable_votes": 123.45,
"total_auditable_votes_percent": 123.45,
"total_invalid_votes": 987.65,
"total_invalid_votes_percent": 987.65,
"total_valid_votes": 987.65,
"total_valid_votes_percent": 987.65,
"total_votes": 123.45,
"total_votes_percent": 123.45
}
results_election
Description
columns and relationships of "sequent_backend.results_election"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
Arguments
|
|
election_event_id - uuid!
|
|
election_id - uuid!
|
|
elegible_census - Int
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid!
|
|
tenant_id - uuid!
|
|
total_voters - Int
|
|
total_voters_percent - numeric
|
|
Example
{
"annotations": jsonb,
"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
}
results_election_aggregate
Description
aggregated selection of "sequent_backend.results_election"
Fields
| Field Name | Description |
|---|---|
aggregate - results_election_aggregate_fields
|
|
nodes - [results_election!]!
|
Example
{
"aggregate": results_election_aggregate_fields,
"nodes": [results_election]
}
results_election_aggregate_fields
Description
aggregate fields of "sequent_backend.results_election"
Fields
| Field Name | Description |
|---|---|
avg - results_election_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - results_election_max_fields
|
|
min - results_election_min_fields
|
|
stddev - results_election_stddev_fields
|
|
stddev_pop - results_election_stddev_pop_fields
|
|
stddev_samp - results_election_stddev_samp_fields
|
|
sum - results_election_sum_fields
|
|
var_pop - results_election_var_pop_fields
|
|
var_samp - results_election_var_samp_fields
|
|
variance - results_election_variance_fields
|
|
Example
{
"avg": results_election_avg_fields,
"count": 987,
"max": results_election_max_fields,
"min": results_election_min_fields,
"stddev": results_election_stddev_fields,
"stddev_pop": results_election_stddev_pop_fields,
"stddev_samp": results_election_stddev_samp_fields,
"sum": results_election_sum_fields,
"var_pop": results_election_var_pop_fields,
"var_samp": results_election_var_samp_fields,
"variance": results_election_variance_fields
}
results_election_append_input
results_election_area
Description
columns and relationships of "sequent_backend.results_election_area"
Example
{
"area_id": uuid,
"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
}
results_election_area_aggregate
Description
aggregated selection of "sequent_backend.results_election_area"
Fields
| Field Name | Description |
|---|---|
aggregate - results_election_area_aggregate_fields
|
|
nodes - [results_election_area!]!
|
Example
{
"aggregate": results_election_area_aggregate_fields,
"nodes": [results_election_area]
}
results_election_area_aggregate_fields
Description
aggregate fields of "sequent_backend.results_election_area"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - results_election_area_max_fields
|
|
min - results_election_area_min_fields
|
|
Example
{
"count": 123,
"max": results_election_area_max_fields,
"min": results_election_area_min_fields
}
results_election_area_append_input
Description
append existing jsonb value of filtered columns with new jsonb value
Fields
| Input Field | Description |
|---|---|
documents - jsonb
|
Example
{"documents": jsonb}
results_election_area_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.results_election_area". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [results_election_area_bool_exp!]
|
|
_not - results_election_area_bool_exp
|
|
_or - [results_election_area_bool_exp!]
|
|
area_id - uuid_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
documents - jsonb_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
name - String_comparison_exp
|
|
results_event_id - uuid_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [results_election_area_bool_exp],
"_not": results_election_area_bool_exp,
"_or": [results_election_area_bool_exp],
"area_id": uuid_comparison_exp,
"created_at": timestamptz_comparison_exp,
"documents": jsonb_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"name": String_comparison_exp,
"results_event_id": uuid_comparison_exp,
"tenant_id": uuid_comparison_exp
}
results_election_area_constraint
Description
unique or primary key constraints on table "sequent_backend.results_election_area"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id" |
|
|
unique or primary key constraint on columns "id", "results_event_id", "tenant_id", "election_event_id" |
Example
"results_election_area_id_key"
results_election_area_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Fields
| Input Field | Description |
|---|---|
documents - [String!]
|
Example
{"documents": ["xyz789"]}
results_election_area_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Fields
| Input Field | Description |
|---|---|
documents - Int
|
Example
{"documents": 123}
results_election_area_delete_key_input
Description
delete key/value pair or string element. key/value pairs are matched based on their key value
Fields
| Input Field | Description |
|---|---|
documents - String
|
Example
{"documents": "xyz789"}
results_election_area_insert_input
Description
input type for inserting data into table "sequent_backend.results_election_area"
Fields
| Input Field | Description |
|---|---|
area_id - uuid
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"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
}
results_election_area_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"name": "xyz789",
"results_event_id": uuid,
"tenant_id": uuid
}
results_election_area_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"name": "xyz789",
"results_event_id": uuid,
"tenant_id": uuid
}
results_election_area_mutation_response
Description
response of any mutation on the table "sequent_backend.results_election_area"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [results_election_area!]!
|
data from the rows affected by the mutation |
Example
{
"affected_rows": 987,
"returning": [results_election_area]
}
results_election_area_on_conflict
Description
on_conflict condition type for table "sequent_backend.results_election_area"
Fields
| Input Field | Description |
|---|---|
constraint - results_election_area_constraint!
|
|
update_columns - [results_election_area_update_column!]!
|
|
where - results_election_area_bool_exp
|
Example
{
"constraint": "results_election_area_id_key",
"update_columns": ["area_id"],
"where": results_election_area_bool_exp
}
results_election_area_order_by
Description
Ordering options when selecting data from "sequent_backend.results_election_area".
Example
{
"area_id": "asc",
"created_at": "asc",
"documents": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"last_updated_at": "asc",
"name": "asc",
"results_event_id": "asc",
"tenant_id": "asc"
}
results_election_area_pk_columns_input
results_election_area_prepend_input
Description
prepend existing jsonb value of filtered columns with new jsonb value
Fields
| Input Field | Description |
|---|---|
documents - jsonb
|
Example
{"documents": jsonb}
results_election_area_select_column
Description
select columns of table "sequent_backend.results_election_area"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"area_id"
results_election_area_set_input
Description
input type for updating data in table "sequent_backend.results_election_area"
Fields
| Input Field | Description |
|---|---|
area_id - uuid
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"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
}
results_election_area_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_results_election_area"
Fields
| Input Field | Description |
|---|---|
initial_value - results_election_area_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": results_election_area_stream_cursor_value_input,
"ordering": "ASC"
}
results_election_area_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
area_id - uuid
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"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
}
results_election_area_update_column
Description
update columns of table "sequent_backend.results_election_area"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"area_id"
results_election_area_updates
Fields
| Input Field | 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 |
_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
{
"_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,
"_prepend": results_election_area_prepend_input,
"_set": results_election_area_set_input,
"where": results_election_area_bool_exp
}
results_election_avg_fields
results_election_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.results_election". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [results_election_bool_exp!]
|
|
_not - results_election_bool_exp
|
|
_or - [results_election_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
documents - jsonb_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
elegible_census - Int_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
name - String_comparison_exp
|
|
results_event_id - uuid_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
total_voters - Int_comparison_exp
|
|
total_voters_percent - numeric_comparison_exp
|
Example
{
"_and": [results_election_bool_exp],
"_not": results_election_bool_exp,
"_or": [results_election_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"documents": jsonb_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"elegible_census": Int_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"name": String_comparison_exp,
"results_event_id": uuid_comparison_exp,
"tenant_id": uuid_comparison_exp,
"total_voters": Int_comparison_exp,
"total_voters_percent": numeric_comparison_exp
}
results_election_constraint
Description
unique or primary key constraints on table "sequent_backend.results_election"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "results_event_id", "tenant_id", "election_event_id" |
Example
"results_election_pkey"
results_election_delete_at_path_input
results_election_delete_elem_input
results_election_delete_key_input
results_election_inc_input
results_election_insert_input
Description
input type for inserting data into table "sequent_backend.results_election"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_voters - Int
|
|
total_voters_percent - numeric
|
Example
{
"annotations": jsonb,
"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
}
results_election_max_fields
Description
aggregate max on columns
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"id": uuid,
"last_updated_at": timestamptz,
"name": "xyz789",
"results_event_id": uuid,
"tenant_id": uuid,
"total_voters": 123,
"total_voters_percent": numeric
}
results_election_min_fields
Description
aggregate min on columns
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 123,
"id": uuid,
"last_updated_at": timestamptz,
"name": "xyz789",
"results_event_id": uuid,
"tenant_id": uuid,
"total_voters": 987,
"total_voters_percent": numeric
}
results_election_mutation_response
Description
response of any mutation on the table "sequent_backend.results_election"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [results_election!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [results_election]}
results_election_on_conflict
Description
on_conflict condition type for table "sequent_backend.results_election"
Fields
| Input Field | Description |
|---|---|
constraint - results_election_constraint!
|
|
update_columns - [results_election_update_column!]!
|
|
where - results_election_bool_exp
|
Example
{
"constraint": "results_election_pkey",
"update_columns": ["annotations"],
"where": results_election_bool_exp
}
results_election_order_by
Description
Ordering options when selecting data from "sequent_backend.results_election".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
created_at - order_by
|
|
documents - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
elegible_census - order_by
|
|
id - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
name - order_by
|
|
results_event_id - order_by
|
|
tenant_id - order_by
|
|
total_voters - order_by
|
|
total_voters_percent - order_by
|
Example
{
"annotations": "asc",
"created_at": "asc",
"documents": "asc",
"election_event_id": "asc",
"election_id": "asc",
"elegible_census": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"name": "asc",
"results_event_id": "asc",
"tenant_id": "asc",
"total_voters": "asc",
"total_voters_percent": "asc"
}
results_election_pk_columns_input
results_election_prepend_input
results_election_select_column
Description
select columns of table "sequent_backend.results_election"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_election_set_input
Description
input type for updating data in table "sequent_backend.results_election"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_voters - Int
|
|
total_voters_percent - numeric
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"results_event_id": uuid,
"tenant_id": uuid,
"total_voters": 987,
"total_voters_percent": numeric
}
results_election_stddev_fields
results_election_stddev_pop_fields
results_election_stddev_samp_fields
results_election_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_results_election"
Fields
| Input Field | Description |
|---|---|
initial_value - results_election_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": results_election_stream_cursor_value_input,
"ordering": "ASC"
}
results_election_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
elegible_census - Int
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
results_event_id - uuid
|
|
tenant_id - uuid
|
|
total_voters - Int
|
|
total_voters_percent - numeric
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"election_id": uuid,
"elegible_census": 987,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"results_event_id": uuid,
"tenant_id": uuid,
"total_voters": 123,
"total_voters_percent": numeric
}
results_election_sum_fields
results_election_update_column
Description
update columns of table "sequent_backend.results_election"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_election_updates
Fields
| Input Field | 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
{
"_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
}
results_election_var_pop_fields
results_election_var_samp_fields
results_election_variance_fields
results_event
Description
columns and relationships of "sequent_backend.results_event"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
Arguments
|
|
election_event_id - uuid!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
tenant_id - uuid!
|
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"tenant_id": uuid
}
results_event_aggregate
Description
aggregated selection of "sequent_backend.results_event"
Fields
| Field Name | Description |
|---|---|
aggregate - results_event_aggregate_fields
|
|
nodes - [results_event!]!
|
Example
{
"aggregate": results_event_aggregate_fields,
"nodes": [results_event]
}
results_event_aggregate_fields
Description
aggregate fields of "sequent_backend.results_event"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - results_event_max_fields
|
|
min - results_event_min_fields
|
|
Example
{
"count": 987,
"max": results_event_max_fields,
"min": results_event_min_fields
}
results_event_append_input
results_event_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.results_event". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [results_event_bool_exp!]
|
|
_not - results_event_bool_exp
|
|
_or - [results_event_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
documents - jsonb_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
name - String_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [results_event_bool_exp],
"_not": results_event_bool_exp,
"_or": [results_event_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"documents": jsonb_comparison_exp,
"election_event_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"name": String_comparison_exp,
"tenant_id": uuid_comparison_exp
}
results_event_constraint
Description
unique or primary key constraints on table "sequent_backend.results_event"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"results_event_pkey"
results_event_delete_at_path_input
results_event_delete_elem_input
results_event_delete_key_input
results_event_insert_input
Description
input type for inserting data into table "sequent_backend.results_event"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
tenant_id - uuid
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"tenant_id": uuid
}
results_event_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"name": "abc123",
"tenant_id": uuid
}
results_event_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"name": "abc123",
"tenant_id": uuid
}
results_event_mutation_response
Description
response of any mutation on the table "sequent_backend.results_event"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [results_event!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [results_event]}
results_event_on_conflict
Description
on_conflict condition type for table "sequent_backend.results_event"
Fields
| Input Field | Description |
|---|---|
constraint - results_event_constraint!
|
|
update_columns - [results_event_update_column!]!
|
|
where - results_event_bool_exp
|
Example
{
"constraint": "results_event_pkey",
"update_columns": ["annotations"],
"where": results_event_bool_exp
}
results_event_order_by
Description
Ordering options when selecting data from "sequent_backend.results_event".
Example
{
"annotations": "asc",
"created_at": "asc",
"documents": "asc",
"election_event_id": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"name": "asc",
"tenant_id": "asc"
}
results_event_pk_columns_input
results_event_prepend_input
results_event_select_column
Description
select columns of table "sequent_backend.results_event"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_event_set_input
Description
input type for updating data in table "sequent_backend.results_event"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
tenant_id - uuid
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"tenant_id": uuid
}
results_event_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_results_event"
Fields
| Input Field | Description |
|---|---|
initial_value - results_event_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": results_event_stream_cursor_value_input,
"ordering": "ASC"
}
results_event_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
documents - jsonb
|
|
election_event_id - uuid
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
tenant_id - uuid
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"documents": jsonb,
"election_event_id": uuid,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"tenant_id": uuid
}
results_event_update_column
Description
update columns of table "sequent_backend.results_event"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
results_event_updates
Fields
| Input Field | 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
{
"_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
}
scheduled_event
Description
columns and relationships of "sequent_backend.scheduled_event"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
archived_at - timestamptz
|
|
created_at - timestamptz
|
|
created_by - String
|
|
cron_config - jsonb
|
|
Arguments
|
|
election_event_id - uuid
|
|
event_payload - jsonb
|
|
Arguments
|
|
event_processor - String
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
stopped_at - timestamptz
|
|
task_id - String
|
|
tenant_id - uuid
|
|
Example
{
"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
}
scheduled_event_aggregate
Description
aggregated selection of "sequent_backend.scheduled_event"
Fields
| Field Name | Description |
|---|---|
aggregate - scheduled_event_aggregate_fields
|
|
nodes - [scheduled_event!]!
|
Example
{
"aggregate": scheduled_event_aggregate_fields,
"nodes": [scheduled_event]
}
scheduled_event_aggregate_fields
Description
aggregate fields of "sequent_backend.scheduled_event"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - scheduled_event_max_fields
|
|
min - scheduled_event_min_fields
|
|
Example
{
"count": 123,
"max": scheduled_event_max_fields,
"min": scheduled_event_min_fields
}
scheduled_event_append_input
scheduled_event_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.scheduled_event". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [scheduled_event_bool_exp!]
|
|
_not - scheduled_event_bool_exp
|
|
_or - [scheduled_event_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
archived_at - timestamptz_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
created_by - String_comparison_exp
|
|
cron_config - jsonb_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
event_payload - jsonb_comparison_exp
|
|
event_processor - String_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
stopped_at - timestamptz_comparison_exp
|
|
task_id - String_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [scheduled_event_bool_exp],
"_not": scheduled_event_bool_exp,
"_or": [scheduled_event_bool_exp],
"annotations": jsonb_comparison_exp,
"archived_at": timestamptz_comparison_exp,
"created_at": timestamptz_comparison_exp,
"created_by": String_comparison_exp,
"cron_config": jsonb_comparison_exp,
"election_event_id": uuid_comparison_exp,
"event_payload": jsonb_comparison_exp,
"event_processor": String_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"stopped_at": timestamptz_comparison_exp,
"task_id": String_comparison_exp,
"tenant_id": uuid_comparison_exp
}
scheduled_event_constraint
Description
unique or primary key constraints on table "sequent_backend.scheduled_event"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id" |
Example
"scheduled_event_pkey"
scheduled_event_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["xyz789"],
"cron_config": ["abc123"],
"event_payload": ["abc123"],
"labels": ["abc123"]
}
scheduled_event_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Example
{"annotations": 123, "cron_config": 123, "event_payload": 123, "labels": 123}
scheduled_event_delete_key_input
Description
delete key/value pair or string element. key/value pairs are matched based on their key value
Example
{
"annotations": "abc123",
"cron_config": "abc123",
"event_payload": "abc123",
"labels": "abc123"
}
scheduled_event_insert_input
Description
input type for inserting data into table "sequent_backend.scheduled_event"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
archived_at - timestamptz
|
|
created_at - timestamptz
|
|
created_by - String
|
|
cron_config - jsonb
|
|
election_event_id - uuid
|
|
event_payload - jsonb
|
|
event_processor - String
|
|
id - uuid
|
|
labels - jsonb
|
|
stopped_at - timestamptz
|
|
task_id - String
|
|
tenant_id - uuid
|
Example
{
"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
}
scheduled_event_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
archived_at - timestamptz
|
|
created_at - timestamptz
|
|
created_by - String
|
|
election_event_id - uuid
|
|
event_processor - String
|
|
id - uuid
|
|
stopped_at - timestamptz
|
|
task_id - String
|
|
tenant_id - uuid
|
Example
{
"archived_at": timestamptz,
"created_at": timestamptz,
"created_by": "abc123",
"election_event_id": uuid,
"event_processor": "abc123",
"id": uuid,
"stopped_at": timestamptz,
"task_id": "xyz789",
"tenant_id": uuid
}
scheduled_event_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
archived_at - timestamptz
|
|
created_at - timestamptz
|
|
created_by - String
|
|
election_event_id - uuid
|
|
event_processor - String
|
|
id - uuid
|
|
stopped_at - timestamptz
|
|
task_id - String
|
|
tenant_id - uuid
|
Example
{
"archived_at": timestamptz,
"created_at": timestamptz,
"created_by": "abc123",
"election_event_id": uuid,
"event_processor": "abc123",
"id": uuid,
"stopped_at": timestamptz,
"task_id": "xyz789",
"tenant_id": uuid
}
scheduled_event_mutation_response
Description
response of any mutation on the table "sequent_backend.scheduled_event"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [scheduled_event!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [scheduled_event]}
scheduled_event_on_conflict
Description
on_conflict condition type for table "sequent_backend.scheduled_event"
Fields
| Input Field | Description |
|---|---|
constraint - scheduled_event_constraint!
|
|
update_columns - [scheduled_event_update_column!]!
|
|
where - scheduled_event_bool_exp
|
Example
{
"constraint": "scheduled_event_pkey",
"update_columns": ["annotations"],
"where": scheduled_event_bool_exp
}
scheduled_event_order_by
Description
Ordering options when selecting data from "sequent_backend.scheduled_event".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
archived_at - order_by
|
|
created_at - order_by
|
|
created_by - order_by
|
|
cron_config - order_by
|
|
election_event_id - order_by
|
|
event_payload - order_by
|
|
event_processor - order_by
|
|
id - order_by
|
|
labels - order_by
|
|
stopped_at - order_by
|
|
task_id - order_by
|
|
tenant_id - order_by
|
Example
{
"annotations": "asc",
"archived_at": "asc",
"created_at": "asc",
"created_by": "asc",
"cron_config": "asc",
"election_event_id": "asc",
"event_payload": "asc",
"event_processor": "asc",
"id": "asc",
"labels": "asc",
"stopped_at": "asc",
"task_id": "asc",
"tenant_id": "asc"
}
scheduled_event_pk_columns_input
Description
primary key columns input for table: sequent_backend.scheduled_event
Fields
| Input Field | Description |
|---|---|
id - uuid!
|
Example
{"id": uuid}
scheduled_event_prepend_input
scheduled_event_select_column
Description
select columns of table "sequent_backend.scheduled_event"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
scheduled_event_set_input
Description
input type for updating data in table "sequent_backend.scheduled_event"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
archived_at - timestamptz
|
|
created_at - timestamptz
|
|
created_by - String
|
|
cron_config - jsonb
|
|
election_event_id - uuid
|
|
event_payload - jsonb
|
|
event_processor - String
|
|
id - uuid
|
|
labels - jsonb
|
|
stopped_at - timestamptz
|
|
task_id - String
|
|
tenant_id - uuid
|
Example
{
"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
}
scheduled_event_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_scheduled_event"
Fields
| Input Field | Description |
|---|---|
initial_value - scheduled_event_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": scheduled_event_stream_cursor_value_input,
"ordering": "ASC"
}
scheduled_event_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
archived_at - timestamptz
|
|
created_at - timestamptz
|
|
created_by - String
|
|
cron_config - jsonb
|
|
election_event_id - uuid
|
|
event_payload - jsonb
|
|
event_processor - String
|
|
id - uuid
|
|
labels - jsonb
|
|
stopped_at - timestamptz
|
|
task_id - String
|
|
tenant_id - uuid
|
Example
{
"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
}
scheduled_event_update_column
Description
update columns of table "sequent_backend.scheduled_event"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
scheduled_event_updates
Fields
| Input Field | 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
{
"_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
}
secret
Description
columns and relationships of "sequent_backend.secret"
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"key": "xyz789",
"labels": jsonb,
"tenant_id": uuid,
"value": bytea
}
secret_aggregate
Description
aggregated selection of "sequent_backend.secret"
Fields
| Field Name | Description |
|---|---|
aggregate - secret_aggregate_fields
|
|
nodes - [secret!]!
|
Example
{
"aggregate": secret_aggregate_fields,
"nodes": [secret]
}
secret_aggregate_fields
Description
aggregate fields of "sequent_backend.secret"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - secret_max_fields
|
|
min - secret_min_fields
|
|
Example
{
"count": 123,
"max": secret_max_fields,
"min": secret_min_fields
}
secret_append_input
secret_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.secret". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [secret_bool_exp!]
|
|
_not - secret_bool_exp
|
|
_or - [secret_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
key - String_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
value - bytea_comparison_exp
|
Example
{
"_and": [secret_bool_exp],
"_not": secret_bool_exp,
"_or": [secret_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"key": String_comparison_exp,
"labels": jsonb_comparison_exp,
"tenant_id": uuid_comparison_exp,
"value": bytea_comparison_exp
}
secret_constraint
Description
unique or primary key constraints on table "sequent_backend.secret"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "key" |
|
|
unique or primary key constraint on columns "key", "id", "tenant_id" |
Example
"secret_key_key"
secret_delete_at_path_input
secret_delete_elem_input
secret_delete_key_input
secret_insert_input
Description
input type for inserting data into table "sequent_backend.secret"
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"key": "abc123",
"labels": jsonb,
"tenant_id": uuid,
"value": bytea
}
secret_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
key - String
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"key": "abc123",
"tenant_id": uuid
}
secret_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
id - uuid
|
|
key - String
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"key": "xyz789",
"tenant_id": uuid
}
secret_mutation_response
Description
response of any mutation on the table "sequent_backend.secret"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [secret!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [secret]}
secret_on_conflict
Description
on_conflict condition type for table "sequent_backend.secret"
Fields
| Input Field | Description |
|---|---|
constraint - secret_constraint!
|
|
update_columns - [secret_update_column!]!
|
|
where - secret_bool_exp
|
Example
{
"constraint": "secret_key_key",
"update_columns": ["annotations"],
"where": secret_bool_exp
}
secret_order_by
Description
Ordering options when selecting data from "sequent_backend.secret".
Example
{
"annotations": "asc",
"created_at": "asc",
"election_event_id": "asc",
"id": "asc",
"key": "asc",
"labels": "asc",
"tenant_id": "asc",
"value": "asc"
}
secret_pk_columns_input
secret_prepend_input
secret_select_column
Description
select columns of table "sequent_backend.secret"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
secret_set_input
Description
input type for updating data in table "sequent_backend.secret"
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"key": "abc123",
"labels": jsonb,
"tenant_id": uuid,
"value": bytea
}
secret_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_secret"
Fields
| Input Field | Description |
|---|---|
initial_value - secret_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": secret_stream_cursor_value_input,
"ordering": "ASC"
}
secret_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"election_event_id": uuid,
"id": uuid,
"key": "abc123",
"labels": jsonb,
"tenant_id": uuid,
"value": bytea
}
secret_update_column
Description
update columns of table "sequent_backend.secret"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
secret_updates
Fields
| Input Field | 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
{
"_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
}
support_material
Description
columns and relationships of "sequent_backend.support_material"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb!
|
|
Arguments
|
|
created_at - timestamptz!
|
|
data - jsonb!
|
|
Arguments
|
|
document_id - String
|
|
election_event_id - uuid!
|
|
id - uuid!
|
|
is_hidden - Boolean
|
|
kind - String!
|
|
labels - jsonb!
|
|
Arguments
|
|
last_updated_at - timestamptz!
|
|
tenant_id - uuid!
|
|
Example
{
"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
}
support_material_aggregate
Description
aggregated selection of "sequent_backend.support_material"
Fields
| Field Name | Description |
|---|---|
aggregate - support_material_aggregate_fields
|
|
nodes - [support_material!]!
|
Example
{
"aggregate": support_material_aggregate_fields,
"nodes": [support_material]
}
support_material_aggregate_fields
Description
aggregate fields of "sequent_backend.support_material"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - support_material_max_fields
|
|
min - support_material_min_fields
|
|
Example
{
"count": 987,
"max": support_material_max_fields,
"min": support_material_min_fields
}
support_material_append_input
support_material_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.support_material". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [support_material_bool_exp!]
|
|
_not - support_material_bool_exp
|
|
_or - [support_material_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
data - jsonb_comparison_exp
|
|
document_id - String_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
is_hidden - Boolean_comparison_exp
|
|
kind - String_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [support_material_bool_exp],
"_not": support_material_bool_exp,
"_or": [support_material_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"data": jsonb_comparison_exp,
"document_id": String_comparison_exp,
"election_event_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"is_hidden": Boolean_comparison_exp,
"kind": String_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"tenant_id": uuid_comparison_exp
}
support_material_constraint
Description
unique or primary key constraints on table "sequent_backend.support_material"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"support_material_pkey"
support_material_delete_at_path_input
support_material_delete_elem_input
support_material_delete_key_input
support_material_insert_input
Description
input type for inserting data into table "sequent_backend.support_material"
Example
{
"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
}
support_material_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
document_id - String
|
|
election_event_id - uuid
|
|
id - uuid
|
|
kind - String
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"document_id": "xyz789",
"election_event_id": uuid,
"id": uuid,
"kind": "abc123",
"last_updated_at": timestamptz,
"tenant_id": uuid
}
support_material_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
document_id - String
|
|
election_event_id - uuid
|
|
id - uuid
|
|
kind - String
|
|
last_updated_at - timestamptz
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"document_id": "abc123",
"election_event_id": uuid,
"id": uuid,
"kind": "xyz789",
"last_updated_at": timestamptz,
"tenant_id": uuid
}
support_material_mutation_response
Description
response of any mutation on the table "sequent_backend.support_material"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [support_material!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [support_material]}
support_material_on_conflict
Description
on_conflict condition type for table "sequent_backend.support_material"
Fields
| Input Field | Description |
|---|---|
constraint - support_material_constraint!
|
|
update_columns - [support_material_update_column!]!
|
|
where - support_material_bool_exp
|
Example
{
"constraint": "support_material_pkey",
"update_columns": ["annotations"],
"where": support_material_bool_exp
}
support_material_order_by
Description
Ordering options when selecting data from "sequent_backend.support_material".
Example
{
"annotations": "asc",
"created_at": "asc",
"data": "asc",
"document_id": "asc",
"election_event_id": "asc",
"id": "asc",
"is_hidden": "asc",
"kind": "asc",
"labels": "asc",
"last_updated_at": "asc",
"tenant_id": "asc"
}
support_material_pk_columns_input
support_material_prepend_input
support_material_select_column
Description
select columns of table "sequent_backend.support_material"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
support_material_set_input
Description
input type for updating data in table "sequent_backend.support_material"
Example
{
"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
}
support_material_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_support_material"
Fields
| Input Field | Description |
|---|---|
initial_value - support_material_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": support_material_stream_cursor_value_input,
"ordering": "ASC"
}
support_material_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"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
}
support_material_update_column
Description
update columns of table "sequent_backend.support_material"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
support_material_updates
Fields
| Input Field | 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
{
"_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
}
tally_session
Description
columns and relationships of "sequent_backend.tally_session"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
area_ids - [uuid!]
|
|
configuration - jsonb
|
|
Arguments
|
|
created_at - timestamptz
|
|
election_event_id - uuid!
|
|
election_ids - [uuid!]
|
|
execution_status - String
|
|
id - uuid!
|
|
is_execution_completed - Boolean!
|
|
keys_ceremony_id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
permission_label - [String!]
|
|
tally_type - String
|
|
tenant_id - uuid!
|
|
threshold - Int!
|
|
Example
{
"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": false,
"keys_ceremony_id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"permission_label": ["xyz789"],
"tally_type": "xyz789",
"tenant_id": uuid,
"threshold": 987
}
tally_session_aggregate
Description
aggregated selection of "sequent_backend.tally_session"
Fields
| Field Name | Description |
|---|---|
aggregate - tally_session_aggregate_fields
|
|
nodes - [tally_session!]!
|
Example
{
"aggregate": tally_session_aggregate_fields,
"nodes": [tally_session]
}
tally_session_aggregate_fields
Description
aggregate fields of "sequent_backend.tally_session"
Fields
| Field Name | Description |
|---|---|
avg - tally_session_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - tally_session_max_fields
|
|
min - tally_session_min_fields
|
|
stddev - tally_session_stddev_fields
|
|
stddev_pop - tally_session_stddev_pop_fields
|
|
stddev_samp - tally_session_stddev_samp_fields
|
|
sum - tally_session_sum_fields
|
|
var_pop - tally_session_var_pop_fields
|
|
var_samp - tally_session_var_samp_fields
|
|
variance - tally_session_variance_fields
|
|
Example
{
"avg": tally_session_avg_fields,
"count": 123,
"max": tally_session_max_fields,
"min": tally_session_min_fields,
"stddev": tally_session_stddev_fields,
"stddev_pop": tally_session_stddev_pop_fields,
"stddev_samp": tally_session_stddev_samp_fields,
"sum": tally_session_sum_fields,
"var_pop": tally_session_var_pop_fields,
"var_samp": tally_session_var_samp_fields,
"variance": tally_session_variance_fields
}
tally_session_append_input
tally_session_avg_fields
Description
aggregate avg on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 123.45}
tally_session_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.tally_session". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [tally_session_bool_exp!]
|
|
_not - tally_session_bool_exp
|
|
_or - [tally_session_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
area_ids - uuid_array_comparison_exp
|
|
configuration - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_ids - uuid_array_comparison_exp
|
|
execution_status - String_comparison_exp
|
|
id - uuid_comparison_exp
|
|
is_execution_completed - Boolean_comparison_exp
|
|
keys_ceremony_id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
permission_label - String_array_comparison_exp
|
|
tally_type - String_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
threshold - Int_comparison_exp
|
Example
{
"_and": [tally_session_bool_exp],
"_not": tally_session_bool_exp,
"_or": [tally_session_bool_exp],
"annotations": jsonb_comparison_exp,
"area_ids": uuid_array_comparison_exp,
"configuration": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_ids": uuid_array_comparison_exp,
"execution_status": String_comparison_exp,
"id": uuid_comparison_exp,
"is_execution_completed": Boolean_comparison_exp,
"keys_ceremony_id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"permission_label": String_array_comparison_exp,
"tally_type": String_comparison_exp,
"tenant_id": uuid_comparison_exp,
"threshold": Int_comparison_exp
}
tally_session_constraint
Description
unique or primary key constraints on table "sequent_backend.tally_session"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"tally_pkey"
tally_session_contest
Description
columns and relationships of "sequent_backend.tally_session_contest"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
area_id - uuid!
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid!
|
|
election_id - uuid!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
session_id - Int!
|
|
tally_session_id - uuid!
|
|
tenant_id - uuid!
|
|
Example
{
"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
}
tally_session_contest_aggregate
Description
aggregated selection of "sequent_backend.tally_session_contest"
Fields
| Field Name | Description |
|---|---|
aggregate - tally_session_contest_aggregate_fields
|
|
nodes - [tally_session_contest!]!
|
Example
{
"aggregate": tally_session_contest_aggregate_fields,
"nodes": [tally_session_contest]
}
tally_session_contest_aggregate_fields
Description
aggregate fields of "sequent_backend.tally_session_contest"
Fields
| Field Name | Description |
|---|---|
avg - tally_session_contest_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - tally_session_contest_max_fields
|
|
min - tally_session_contest_min_fields
|
|
stddev - tally_session_contest_stddev_fields
|
|
stddev_pop - tally_session_contest_stddev_pop_fields
|
|
stddev_samp - tally_session_contest_stddev_samp_fields
|
|
sum - tally_session_contest_sum_fields
|
|
var_pop - tally_session_contest_var_pop_fields
|
|
var_samp - tally_session_contest_var_samp_fields
|
|
variance - tally_session_contest_variance_fields
|
|
Example
{
"avg": tally_session_contest_avg_fields,
"count": 987,
"max": tally_session_contest_max_fields,
"min": tally_session_contest_min_fields,
"stddev": tally_session_contest_stddev_fields,
"stddev_pop": tally_session_contest_stddev_pop_fields,
"stddev_samp": tally_session_contest_stddev_samp_fields,
"sum": tally_session_contest_sum_fields,
"var_pop": tally_session_contest_var_pop_fields,
"var_samp": tally_session_contest_var_samp_fields,
"variance": tally_session_contest_variance_fields
}
tally_session_contest_append_input
tally_session_contest_avg_fields
Description
aggregate avg on columns
Fields
| Field Name | Description |
|---|---|
session_id - Float
|
Example
{"session_id": 987.65}
tally_session_contest_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.tally_session_contest". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [tally_session_contest_bool_exp!]
|
|
_not - tally_session_contest_bool_exp
|
|
_or - [tally_session_contest_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
area_id - uuid_comparison_exp
|
|
contest_id - uuid_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
session_id - Int_comparison_exp
|
|
tally_session_id - uuid_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [tally_session_contest_bool_exp],
"_not": tally_session_contest_bool_exp,
"_or": [tally_session_contest_bool_exp],
"annotations": jsonb_comparison_exp,
"area_id": uuid_comparison_exp,
"contest_id": uuid_comparison_exp,
"created_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"session_id": Int_comparison_exp,
"tally_session_id": uuid_comparison_exp,
"tenant_id": uuid_comparison_exp
}
tally_session_contest_constraint
Description
unique or primary key constraints on table "sequent_backend.tally_session_contest"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"tally_contest_pkey"
tally_session_contest_delete_at_path_input
tally_session_contest_delete_elem_input
tally_session_contest_delete_key_input
tally_session_contest_inc_input
Description
input type for incrementing numeric columns in table "sequent_backend.tally_session_contest"
Fields
| Input Field | Description |
|---|---|
session_id - Int
|
Example
{"session_id": 123}
tally_session_contest_insert_input
Description
input type for inserting data into table "sequent_backend.tally_session_contest"
Example
{
"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
}
tally_session_contest_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
session_id - Int
|
|
tally_session_id - uuid
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"session_id": 123,
"tally_session_id": uuid,
"tenant_id": uuid
}
tally_session_contest_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
session_id - Int
|
|
tally_session_id - uuid
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"contest_id": uuid,
"created_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"session_id": 123,
"tally_session_id": uuid,
"tenant_id": uuid
}
tally_session_contest_mutation_response
Description
response of any mutation on the table "sequent_backend.tally_session_contest"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [tally_session_contest!]!
|
data from the rows affected by the mutation |
Example
{
"affected_rows": 987,
"returning": [tally_session_contest]
}
tally_session_contest_on_conflict
Description
on_conflict condition type for table "sequent_backend.tally_session_contest"
Fields
| Input Field | Description |
|---|---|
constraint - tally_session_contest_constraint!
|
|
update_columns - [tally_session_contest_update_column!]!
|
|
where - tally_session_contest_bool_exp
|
Example
{
"constraint": "tally_contest_pkey",
"update_columns": ["annotations"],
"where": tally_session_contest_bool_exp
}
tally_session_contest_order_by
Description
Ordering options when selecting data from "sequent_backend.tally_session_contest".
Example
{
"annotations": "asc",
"area_id": "asc",
"contest_id": "asc",
"created_at": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"session_id": "asc",
"tally_session_id": "asc",
"tenant_id": "asc"
}
tally_session_contest_pk_columns_input
tally_session_contest_prepend_input
tally_session_contest_select_column
Description
select columns of table "sequent_backend.tally_session_contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tally_session_contest_set_input
Description
input type for updating data in table "sequent_backend.tally_session_contest"
Example
{
"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
}
tally_session_contest_stddev_fields
Description
aggregate stddev on columns
Fields
| Field Name | Description |
|---|---|
session_id - Float
|
Example
{"session_id": 123.45}
tally_session_contest_stddev_pop_fields
Description
aggregate stddev_pop on columns
Fields
| Field Name | Description |
|---|---|
session_id - Float
|
Example
{"session_id": 123.45}
tally_session_contest_stddev_samp_fields
Description
aggregate stddev_samp on columns
Fields
| Field Name | Description |
|---|---|
session_id - Float
|
Example
{"session_id": 987.65}
tally_session_contest_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_tally_session_contest"
Fields
| Input Field | Description |
|---|---|
initial_value - tally_session_contest_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": tally_session_contest_stream_cursor_value_input,
"ordering": "ASC"
}
tally_session_contest_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"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
}
tally_session_contest_sum_fields
Description
aggregate sum on columns
Fields
| Field Name | Description |
|---|---|
session_id - Int
|
Example
{"session_id": 123}
tally_session_contest_update_column
Description
update columns of table "sequent_backend.tally_session_contest"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tally_session_contest_updates
Fields
| Input Field | 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
{
"_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
}
tally_session_contest_var_pop_fields
Description
aggregate var_pop on columns
Fields
| Field Name | Description |
|---|---|
session_id - Float
|
Example
{"session_id": 987.65}
tally_session_contest_var_samp_fields
Description
aggregate var_samp on columns
Fields
| Field Name | Description |
|---|---|
session_id - Float
|
Example
{"session_id": 123.45}
tally_session_contest_variance_fields
Description
aggregate variance on columns
Fields
| Field Name | Description |
|---|---|
session_id - Float
|
Example
{"session_id": 987.65}
tally_session_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["abc123"],
"configuration": ["xyz789"],
"labels": ["xyz789"]
}
tally_session_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Example
{"annotations": 123, "configuration": 987, "labels": 987}
tally_session_delete_key_input
tally_session_execution
Description
columns and relationships of "sequent_backend.tally_session_execution"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz
|
|
current_message_id - Int!
|
|
documents - jsonb
|
|
Arguments
|
|
election_event_id - uuid!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
results_event_id - uuid
|
|
session_ids - [Int!]
|
|
status - jsonb
|
|
Arguments
|
|
tally_session_id - uuid!
|
|
tenant_id - uuid!
|
|
Example
{
"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,
"session_ids": [987],
"status": jsonb,
"tally_session_id": uuid,
"tenant_id": uuid
}
tally_session_execution_aggregate
Description
aggregated selection of "sequent_backend.tally_session_execution"
Fields
| Field Name | Description |
|---|---|
aggregate - tally_session_execution_aggregate_fields
|
|
nodes - [tally_session_execution!]!
|
Example
{
"aggregate": tally_session_execution_aggregate_fields,
"nodes": [tally_session_execution]
}
tally_session_execution_aggregate_fields
Description
aggregate fields of "sequent_backend.tally_session_execution"
Fields
| Field Name | Description |
|---|---|
avg - tally_session_execution_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - tally_session_execution_max_fields
|
|
min - tally_session_execution_min_fields
|
|
stddev - tally_session_execution_stddev_fields
|
|
stddev_pop - tally_session_execution_stddev_pop_fields
|
|
stddev_samp - tally_session_execution_stddev_samp_fields
|
|
sum - tally_session_execution_sum_fields
|
|
var_pop - tally_session_execution_var_pop_fields
|
|
var_samp - tally_session_execution_var_samp_fields
|
|
variance - tally_session_execution_variance_fields
|
|
Example
{
"avg": tally_session_execution_avg_fields,
"count": 123,
"max": tally_session_execution_max_fields,
"min": tally_session_execution_min_fields,
"stddev": tally_session_execution_stddev_fields,
"stddev_pop": tally_session_execution_stddev_pop_fields,
"stddev_samp": tally_session_execution_stddev_samp_fields,
"sum": tally_session_execution_sum_fields,
"var_pop": tally_session_execution_var_pop_fields,
"var_samp": tally_session_execution_var_samp_fields,
"variance": tally_session_execution_variance_fields
}
tally_session_execution_append_input
tally_session_execution_avg_fields
Description
aggregate avg on columns
Fields
| Field Name | Description |
|---|---|
current_message_id - Float
|
Example
{"current_message_id": 123.45}
tally_session_execution_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.tally_session_execution". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [tally_session_execution_bool_exp!]
|
|
_not - tally_session_execution_bool_exp
|
|
_or - [tally_session_execution_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
current_message_id - Int_comparison_exp
|
|
documents - jsonb_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
results_event_id - uuid_comparison_exp
|
|
session_ids - Int_array_comparison_exp
|
|
status - jsonb_comparison_exp
|
|
tally_session_id - uuid_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [tally_session_execution_bool_exp],
"_not": tally_session_execution_bool_exp,
"_or": [tally_session_execution_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"current_message_id": Int_comparison_exp,
"documents": jsonb_comparison_exp,
"election_event_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"results_event_id": uuid_comparison_exp,
"session_ids": Int_array_comparison_exp,
"status": jsonb_comparison_exp,
"tally_session_id": uuid_comparison_exp,
"tenant_id": uuid_comparison_exp
}
tally_session_execution_constraint
Description
unique or primary key constraints on table "sequent_backend.tally_session_execution"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"tally_session_execution_pkey"
tally_session_execution_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["abc123"],
"documents": ["xyz789"],
"labels": ["xyz789"],
"status": ["xyz789"]
}
tally_session_execution_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Example
{"annotations": 987, "documents": 987, "labels": 987, "status": 987}
tally_session_execution_delete_key_input
Description
delete key/value pair or string element. key/value pairs are matched based on their key value
Example
{
"annotations": "abc123",
"documents": "abc123",
"labels": "xyz789",
"status": "xyz789"
}
tally_session_execution_inc_input
Description
input type for incrementing numeric columns in table "sequent_backend.tally_session_execution"
Fields
| Input Field | Description |
|---|---|
current_message_id - Int
|
Example
{"current_message_id": 987}
tally_session_execution_insert_input
Description
input type for inserting data into table "sequent_backend.tally_session_execution"
Example
{
"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,
"session_ids": [123],
"status": jsonb,
"tally_session_id": uuid,
"tenant_id": uuid
}
tally_session_execution_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
current_message_id - Int
|
|
election_event_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
results_event_id - uuid
|
|
session_ids - [Int!]
|
|
tally_session_id - uuid
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"current_message_id": 987,
"election_event_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"results_event_id": uuid,
"session_ids": [987],
"tally_session_id": uuid,
"tenant_id": uuid
}
tally_session_execution_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
current_message_id - Int
|
|
election_event_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
results_event_id - uuid
|
|
session_ids - [Int!]
|
|
tally_session_id - uuid
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"current_message_id": 987,
"election_event_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"results_event_id": uuid,
"session_ids": [123],
"tally_session_id": uuid,
"tenant_id": uuid
}
tally_session_execution_mutation_response
Description
response of any mutation on the table "sequent_backend.tally_session_execution"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [tally_session_execution!]!
|
data from the rows affected by the mutation |
Example
{
"affected_rows": 123,
"returning": [tally_session_execution]
}
tally_session_execution_on_conflict
Description
on_conflict condition type for table "sequent_backend.tally_session_execution"
Fields
| Input Field | Description |
|---|---|
constraint - tally_session_execution_constraint!
|
|
update_columns - [tally_session_execution_update_column!]!
|
|
where - tally_session_execution_bool_exp
|
Example
{
"constraint": "tally_session_execution_pkey",
"update_columns": ["annotations"],
"where": tally_session_execution_bool_exp
}
tally_session_execution_order_by
Description
Ordering options when selecting data from "sequent_backend.tally_session_execution".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
created_at - order_by
|
|
current_message_id - order_by
|
|
documents - order_by
|
|
election_event_id - order_by
|
|
id - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
results_event_id - order_by
|
|
session_ids - order_by
|
|
status - order_by
|
|
tally_session_id - order_by
|
|
tenant_id - order_by
|
Example
{
"annotations": "asc",
"created_at": "asc",
"current_message_id": "asc",
"documents": "asc",
"election_event_id": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"results_event_id": "asc",
"session_ids": "asc",
"status": "asc",
"tally_session_id": "asc",
"tenant_id": "asc"
}
tally_session_execution_pk_columns_input
tally_session_execution_prepend_input
tally_session_execution_select_column
Description
select columns of table "sequent_backend.tally_session_execution"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tally_session_execution_set_input
Description
input type for updating data in table "sequent_backend.tally_session_execution"
Example
{
"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,
"session_ids": [123],
"status": jsonb,
"tally_session_id": uuid,
"tenant_id": uuid
}
tally_session_execution_stddev_fields
Description
aggregate stddev on columns
Fields
| Field Name | Description |
|---|---|
current_message_id - Float
|
Example
{"current_message_id": 123.45}
tally_session_execution_stddev_pop_fields
Description
aggregate stddev_pop on columns
Fields
| Field Name | Description |
|---|---|
current_message_id - Float
|
Example
{"current_message_id": 987.65}
tally_session_execution_stddev_samp_fields
Description
aggregate stddev_samp on columns
Fields
| Field Name | Description |
|---|---|
current_message_id - Float
|
Example
{"current_message_id": 987.65}
tally_session_execution_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_tally_session_execution"
Fields
| Input Field | Description |
|---|---|
initial_value - tally_session_execution_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": tally_session_execution_stream_cursor_value_input,
"ordering": "ASC"
}
tally_session_execution_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"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,
"session_ids": [987],
"status": jsonb,
"tally_session_id": uuid,
"tenant_id": uuid
}
tally_session_execution_sum_fields
Description
aggregate sum on columns
Fields
| Field Name | Description |
|---|---|
current_message_id - Int
|
Example
{"current_message_id": 987}
tally_session_execution_update_column
Description
update columns of table "sequent_backend.tally_session_execution"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tally_session_execution_updates
Fields
| Input Field | 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
{
"_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
}
tally_session_execution_var_pop_fields
Description
aggregate var_pop on columns
Fields
| Field Name | Description |
|---|---|
current_message_id - Float
|
Example
{"current_message_id": 987.65}
tally_session_execution_var_samp_fields
Description
aggregate var_samp on columns
Fields
| Field Name | Description |
|---|---|
current_message_id - Float
|
Example
{"current_message_id": 987.65}
tally_session_execution_variance_fields
Description
aggregate variance on columns
Fields
| Field Name | Description |
|---|---|
current_message_id - Float
|
Example
{"current_message_id": 123.45}
tally_session_inc_input
Description
input type for incrementing numeric columns in table "sequent_backend.tally_session"
Fields
| Input Field | Description |
|---|---|
threshold - Int
|
Example
{"threshold": 987}
tally_session_insert_input
Description
input type for inserting data into table "sequent_backend.tally_session"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_ids - [uuid!]
|
|
configuration - jsonb
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_ids - [uuid!]
|
|
execution_status - String
|
|
id - uuid
|
|
is_execution_completed - Boolean
|
|
keys_ceremony_id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
permission_label - [String!]
|
|
tally_type - String
|
|
tenant_id - uuid
|
|
threshold - Int
|
Example
{
"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"],
"tally_type": "abc123",
"tenant_id": uuid,
"threshold": 987
}
tally_session_max_fields
Description
aggregate max on columns
Example
{
"area_ids": [uuid],
"created_at": timestamptz,
"election_event_id": uuid,
"election_ids": [uuid],
"execution_status": "xyz789",
"id": uuid,
"keys_ceremony_id": uuid,
"last_updated_at": timestamptz,
"permission_label": ["xyz789"],
"tally_type": "xyz789",
"tenant_id": uuid,
"threshold": 123
}
tally_session_min_fields
Description
aggregate min on columns
Example
{
"area_ids": [uuid],
"created_at": timestamptz,
"election_event_id": uuid,
"election_ids": [uuid],
"execution_status": "xyz789",
"id": uuid,
"keys_ceremony_id": uuid,
"last_updated_at": timestamptz,
"permission_label": ["abc123"],
"tally_type": "xyz789",
"tenant_id": uuid,
"threshold": 987
}
tally_session_mutation_response
Description
response of any mutation on the table "sequent_backend.tally_session"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [tally_session!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [tally_session]}
tally_session_on_conflict
Description
on_conflict condition type for table "sequent_backend.tally_session"
Fields
| Input Field | Description |
|---|---|
constraint - tally_session_constraint!
|
|
update_columns - [tally_session_update_column!]!
|
|
where - tally_session_bool_exp
|
Example
{
"constraint": "tally_pkey",
"update_columns": ["annotations"],
"where": tally_session_bool_exp
}
tally_session_order_by
Description
Ordering options when selecting data from "sequent_backend.tally_session".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
area_ids - order_by
|
|
configuration - order_by
|
|
created_at - order_by
|
|
election_event_id - order_by
|
|
election_ids - order_by
|
|
execution_status - order_by
|
|
id - order_by
|
|
is_execution_completed - order_by
|
|
keys_ceremony_id - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
permission_label - order_by
|
|
tally_type - order_by
|
|
tenant_id - order_by
|
|
threshold - order_by
|
Example
{
"annotations": "asc",
"area_ids": "asc",
"configuration": "asc",
"created_at": "asc",
"election_event_id": "asc",
"election_ids": "asc",
"execution_status": "asc",
"id": "asc",
"is_execution_completed": "asc",
"keys_ceremony_id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"permission_label": "asc",
"tally_type": "asc",
"tenant_id": "asc",
"threshold": "asc"
}
tally_session_pk_columns_input
tally_session_prepend_input
tally_session_select_column
Description
select columns of table "sequent_backend.tally_session"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tally_session_set_input
Description
input type for updating data in table "sequent_backend.tally_session"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_ids - [uuid!]
|
|
configuration - jsonb
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_ids - [uuid!]
|
|
execution_status - String
|
|
id - uuid
|
|
is_execution_completed - Boolean
|
|
keys_ceremony_id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
permission_label - [String!]
|
|
tally_type - String
|
|
tenant_id - uuid
|
|
threshold - Int
|
Example
{
"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"],
"tally_type": "abc123",
"tenant_id": uuid,
"threshold": 987
}
tally_session_stddev_fields
Description
aggregate stddev on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 123.45}
tally_session_stddev_pop_fields
Description
aggregate stddev_pop on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 987.65}
tally_session_stddev_samp_fields
Description
aggregate stddev_samp on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 987.65}
tally_session_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_tally_session"
Fields
| Input Field | Description |
|---|---|
initial_value - tally_session_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": tally_session_stream_cursor_value_input,
"ordering": "ASC"
}
tally_session_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_ids - [uuid!]
|
|
configuration - jsonb
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
election_ids - [uuid!]
|
|
execution_status - String
|
|
id - uuid
|
|
is_execution_completed - Boolean
|
|
keys_ceremony_id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
permission_label - [String!]
|
|
tally_type - String
|
|
tenant_id - uuid
|
|
threshold - Int
|
Example
{
"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"],
"tally_type": "xyz789",
"tenant_id": uuid,
"threshold": 987
}
tally_session_sum_fields
Description
aggregate sum on columns
Fields
| Field Name | Description |
|---|---|
threshold - Int
|
Example
{"threshold": 123}
tally_session_update_column
Description
update columns of table "sequent_backend.tally_session"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tally_session_updates
Fields
| Input Field | 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
{
"_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
}
tally_session_var_pop_fields
Description
aggregate var_pop on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 987.65}
tally_session_var_samp_fields
Description
aggregate var_samp on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 987.65}
tally_session_variance_fields
Description
aggregate variance on columns
Fields
| Field Name | Description |
|---|---|
threshold - Float
|
Example
{"threshold": 123.45}
tally_sheet
Description
columns and relationships of "sequent_backend.tally_sheet"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
area_id - uuid!
|
|
channel - String
|
|
content - jsonb
|
|
Arguments
|
|
contest_id - uuid!
|
|
created_at - timestamptz!
|
|
created_by_user_id - String!
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid!
|
|
election_id - uuid!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz!
|
|
published_at - timestamptz
|
|
published_by_user_id - String
|
|
tenant_id - uuid!
|
|
Example
{
"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,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "abc123",
"tenant_id": uuid
}
tally_sheet_aggregate
Description
aggregated selection of "sequent_backend.tally_sheet"
Fields
| Field Name | Description |
|---|---|
aggregate - tally_sheet_aggregate_fields
|
|
nodes - [tally_sheet!]!
|
Example
{
"aggregate": tally_sheet_aggregate_fields,
"nodes": [tally_sheet]
}
tally_sheet_aggregate_fields
Description
aggregate fields of "sequent_backend.tally_sheet"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - tally_sheet_max_fields
|
|
min - tally_sheet_min_fields
|
|
Example
{
"count": 123,
"max": tally_sheet_max_fields,
"min": tally_sheet_min_fields
}
tally_sheet_append_input
tally_sheet_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.tally_sheet". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [tally_sheet_bool_exp!]
|
|
_not - tally_sheet_bool_exp
|
|
_or - [tally_sheet_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
area_id - uuid_comparison_exp
|
|
channel - String_comparison_exp
|
|
content - jsonb_comparison_exp
|
|
contest_id - uuid_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
created_by_user_id - String_comparison_exp
|
|
deleted_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
election_id - uuid_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
published_at - timestamptz_comparison_exp
|
|
published_by_user_id - String_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [tally_sheet_bool_exp],
"_not": tally_sheet_bool_exp,
"_or": [tally_sheet_bool_exp],
"annotations": jsonb_comparison_exp,
"area_id": uuid_comparison_exp,
"channel": String_comparison_exp,
"content": jsonb_comparison_exp,
"contest_id": uuid_comparison_exp,
"created_at": timestamptz_comparison_exp,
"created_by_user_id": String_comparison_exp,
"deleted_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"election_id": uuid_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"published_at": timestamptz_comparison_exp,
"published_by_user_id": String_comparison_exp,
"tenant_id": uuid_comparison_exp
}
tally_sheet_constraint
Description
unique or primary key constraints on table "sequent_backend.tally_sheet"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id", "election_event_id" |
Example
"tally_sheet_pkey"
tally_sheet_delete_at_path_input
tally_sheet_delete_elem_input
tally_sheet_delete_key_input
tally_sheet_insert_input
Description
input type for inserting data into table "sequent_backend.tally_sheet"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
channel - String
|
|
content - jsonb
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
created_by_user_id - String
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
published_at - timestamptz
|
|
published_by_user_id - String
|
|
tenant_id - uuid
|
Example
{
"annotations": jsonb,
"area_id": uuid,
"channel": "abc123",
"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,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "xyz789",
"tenant_id": uuid
}
tally_sheet_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
channel - String
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
created_by_user_id - String
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
published_at - timestamptz
|
|
published_by_user_id - String
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"channel": "abc123",
"contest_id": uuid,
"created_at": timestamptz,
"created_by_user_id": "abc123",
"deleted_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "abc123",
"tenant_id": uuid
}
tally_sheet_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
area_id - uuid
|
|
channel - String
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
created_by_user_id - String
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
published_at - timestamptz
|
|
published_by_user_id - String
|
|
tenant_id - uuid
|
Example
{
"area_id": uuid,
"channel": "abc123",
"contest_id": uuid,
"created_at": timestamptz,
"created_by_user_id": "abc123",
"deleted_at": timestamptz,
"election_event_id": uuid,
"election_id": uuid,
"id": uuid,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "abc123",
"tenant_id": uuid
}
tally_sheet_mutation_response
Description
response of any mutation on the table "sequent_backend.tally_sheet"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [tally_sheet!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [tally_sheet]}
tally_sheet_on_conflict
Description
on_conflict condition type for table "sequent_backend.tally_sheet"
Fields
| Input Field | Description |
|---|---|
constraint - tally_sheet_constraint!
|
|
update_columns - [tally_sheet_update_column!]!
|
|
where - tally_sheet_bool_exp
|
Example
{
"constraint": "tally_sheet_pkey",
"update_columns": ["annotations"],
"where": tally_sheet_bool_exp
}
tally_sheet_order_by
Description
Ordering options when selecting data from "sequent_backend.tally_sheet".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
area_id - order_by
|
|
channel - order_by
|
|
content - order_by
|
|
contest_id - order_by
|
|
created_at - order_by
|
|
created_by_user_id - order_by
|
|
deleted_at - order_by
|
|
election_event_id - order_by
|
|
election_id - order_by
|
|
id - order_by
|
|
labels - order_by
|
|
last_updated_at - order_by
|
|
published_at - order_by
|
|
published_by_user_id - order_by
|
|
tenant_id - order_by
|
Example
{
"annotations": "asc",
"area_id": "asc",
"channel": "asc",
"content": "asc",
"contest_id": "asc",
"created_at": "asc",
"created_by_user_id": "asc",
"deleted_at": "asc",
"election_event_id": "asc",
"election_id": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"published_at": "asc",
"published_by_user_id": "asc",
"tenant_id": "asc"
}
tally_sheet_pk_columns_input
tally_sheet_prepend_input
tally_sheet_select_column
Description
select columns of table "sequent_backend.tally_sheet"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tally_sheet_set_input
Description
input type for updating data in table "sequent_backend.tally_sheet"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
channel - String
|
|
content - jsonb
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
created_by_user_id - String
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
published_at - timestamptz
|
|
published_by_user_id - String
|
|
tenant_id - uuid
|
Example
{
"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,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "xyz789",
"tenant_id": uuid
}
tally_sheet_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_tally_sheet"
Fields
| Input Field | Description |
|---|---|
initial_value - tally_sheet_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": tally_sheet_stream_cursor_value_input,
"ordering": "ASC"
}
tally_sheet_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
area_id - uuid
|
|
channel - String
|
|
content - jsonb
|
|
contest_id - uuid
|
|
created_at - timestamptz
|
|
created_by_user_id - String
|
|
deleted_at - timestamptz
|
|
election_event_id - uuid
|
|
election_id - uuid
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
published_at - timestamptz
|
|
published_by_user_id - String
|
|
tenant_id - uuid
|
Example
{
"annotations": jsonb,
"area_id": uuid,
"channel": "abc123",
"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,
"labels": jsonb,
"last_updated_at": timestamptz,
"published_at": timestamptz,
"published_by_user_id": "abc123",
"tenant_id": uuid
}
tally_sheet_update_column
Description
update columns of table "sequent_backend.tally_sheet"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tally_sheet_updates
Fields
| Input Field | 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 |
_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
{
"_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,
"_prepend": tally_sheet_prepend_input,
"_set": tally_sheet_set_input,
"where": tally_sheet_bool_exp
}
taskOutput
Fields
| Field Name | Description |
|---|---|
task_execution - tasks_execution_type!
|
Example
{"task_execution": tasks_execution_type}
tasks_execution
Description
columns and relationships of "sequent_backend.tasks_execution"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz!
|
|
election_event_id - uuid
|
|
end_at - timestamptz
|
|
executed_by_user - String!
|
|
execution_status - String!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
logs - json
|
|
Arguments
|
|
name - String!
|
|
start_at - timestamptz!
|
|
tenant - tenant!
|
An object relationship |
tenant_id - uuid!
|
|
type - String!
|
|
Example
{
"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": "xyz789"
}
tasks_execution_aggregate
Description
aggregated selection of "sequent_backend.tasks_execution"
Fields
| Field Name | Description |
|---|---|
aggregate - tasks_execution_aggregate_fields
|
|
nodes - [tasks_execution!]!
|
Example
{
"aggregate": tasks_execution_aggregate_fields,
"nodes": [tasks_execution]
}
tasks_execution_aggregate_fields
Description
aggregate fields of "sequent_backend.tasks_execution"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - tasks_execution_max_fields
|
|
min - tasks_execution_min_fields
|
|
Example
{
"count": 123,
"max": tasks_execution_max_fields,
"min": tasks_execution_min_fields
}
tasks_execution_append_input
tasks_execution_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.tasks_execution". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [tasks_execution_bool_exp!]
|
|
_not - tasks_execution_bool_exp
|
|
_or - [tasks_execution_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
election_event_id - uuid_comparison_exp
|
|
end_at - timestamptz_comparison_exp
|
|
executed_by_user - String_comparison_exp
|
|
execution_status - String_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
logs - json_comparison_exp
|
|
name - String_comparison_exp
|
|
start_at - timestamptz_comparison_exp
|
|
tenant - tenant_bool_exp
|
|
tenant_id - uuid_comparison_exp
|
|
type - String_comparison_exp
|
Example
{
"_and": [tasks_execution_bool_exp],
"_not": tasks_execution_bool_exp,
"_or": [tasks_execution_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"election_event_id": uuid_comparison_exp,
"end_at": timestamptz_comparison_exp,
"executed_by_user": String_comparison_exp,
"execution_status": String_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"logs": json_comparison_exp,
"name": String_comparison_exp,
"start_at": timestamptz_comparison_exp,
"tenant": tenant_bool_exp,
"tenant_id": uuid_comparison_exp,
"type": String_comparison_exp
}
tasks_execution_constraint
Description
unique or primary key constraints on table "sequent_backend.tasks_execution"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id" |
Example
"tasks_execution_pkey"
tasks_execution_delete_at_path_input
tasks_execution_delete_elem_input
tasks_execution_delete_key_input
tasks_execution_insert_input
Description
input type for inserting data into table "sequent_backend.tasks_execution"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
end_at - timestamptz
|
|
executed_by_user - String
|
|
execution_status - String
|
|
id - uuid
|
|
labels - jsonb
|
|
logs - json
|
|
name - String
|
|
start_at - timestamptz
|
|
tenant - tenant_obj_rel_insert_input
|
|
tenant_id - uuid
|
|
type - String
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"election_event_id": uuid,
"end_at": timestamptz,
"executed_by_user": "abc123",
"execution_status": "abc123",
"id": uuid,
"labels": jsonb,
"logs": json,
"name": "abc123",
"start_at": timestamptz,
"tenant": tenant_obj_rel_insert_input,
"tenant_id": uuid,
"type": "xyz789"
}
tasks_execution_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
end_at - timestamptz
|
|
executed_by_user - String
|
|
execution_status - String
|
|
id - uuid
|
|
name - String
|
|
start_at - timestamptz
|
|
tenant_id - uuid
|
|
type - String
|
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"end_at": timestamptz,
"executed_by_user": "xyz789",
"execution_status": "abc123",
"id": uuid,
"name": "abc123",
"start_at": timestamptz,
"tenant_id": uuid,
"type": "abc123"
}
tasks_execution_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
end_at - timestamptz
|
|
executed_by_user - String
|
|
execution_status - String
|
|
id - uuid
|
|
name - String
|
|
start_at - timestamptz
|
|
tenant_id - uuid
|
|
type - String
|
Example
{
"created_at": timestamptz,
"election_event_id": uuid,
"end_at": timestamptz,
"executed_by_user": "abc123",
"execution_status": "xyz789",
"id": uuid,
"name": "xyz789",
"start_at": timestamptz,
"tenant_id": uuid,
"type": "xyz789"
}
tasks_execution_mutation_response
Description
response of any mutation on the table "sequent_backend.tasks_execution"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [tasks_execution!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [tasks_execution]}
tasks_execution_on_conflict
Description
on_conflict condition type for table "sequent_backend.tasks_execution"
Fields
| Input Field | Description |
|---|---|
constraint - tasks_execution_constraint!
|
|
update_columns - [tasks_execution_update_column!]!
|
|
where - tasks_execution_bool_exp
|
Example
{
"constraint": "tasks_execution_pkey",
"update_columns": ["annotations"],
"where": tasks_execution_bool_exp
}
tasks_execution_order_by
Description
Ordering options when selecting data from "sequent_backend.tasks_execution".
Fields
| Input Field | Description |
|---|---|
annotations - order_by
|
|
created_at - order_by
|
|
election_event_id - order_by
|
|
end_at - order_by
|
|
executed_by_user - order_by
|
|
execution_status - order_by
|
|
id - order_by
|
|
labels - order_by
|
|
logs - order_by
|
|
name - order_by
|
|
start_at - order_by
|
|
tenant - tenant_order_by
|
|
tenant_id - order_by
|
|
type - order_by
|
Example
{
"annotations": "asc",
"created_at": "asc",
"election_event_id": "asc",
"end_at": "asc",
"executed_by_user": "asc",
"execution_status": "asc",
"id": "asc",
"labels": "asc",
"logs": "asc",
"name": "asc",
"start_at": "asc",
"tenant": tenant_order_by,
"tenant_id": "asc",
"type": "asc"
}
tasks_execution_pk_columns_input
tasks_execution_prepend_input
tasks_execution_select_column
Description
select columns of table "sequent_backend.tasks_execution"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tasks_execution_set_input
Description
input type for updating data in table "sequent_backend.tasks_execution"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
end_at - timestamptz
|
|
executed_by_user - String
|
|
execution_status - String
|
|
id - uuid
|
|
labels - jsonb
|
|
logs - json
|
|
name - String
|
|
start_at - timestamptz
|
|
tenant_id - uuid
|
|
type - String
|
Example
{
"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_id": uuid,
"type": "abc123"
}
tasks_execution_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_tasks_execution"
Fields
| Input Field | Description |
|---|---|
initial_value - tasks_execution_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": tasks_execution_stream_cursor_value_input,
"ordering": "ASC"
}
tasks_execution_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
election_event_id - uuid
|
|
end_at - timestamptz
|
|
executed_by_user - String
|
|
execution_status - String
|
|
id - uuid
|
|
labels - jsonb
|
|
logs - json
|
|
name - String
|
|
start_at - timestamptz
|
|
tenant_id - uuid
|
|
type - String
|
Example
{
"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_id": uuid,
"type": "xyz789"
}
tasks_execution_type
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz!
|
|
election_event_id - uuid!
|
|
end_at - timestamptz
|
|
executed_by_user - String!
|
|
execution_status - String!
|
|
id - uuid!
|
|
labels - jsonb
|
|
logs - json
|
|
name - String!
|
|
start_at - timestamptz!
|
|
tenant_id - uuid!
|
|
type - String!
|
Example
{
"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_id": uuid,
"type": "abc123"
}
tasks_execution_update_column
Description
update columns of table "sequent_backend.tasks_execution"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tasks_execution_updates
Fields
| Input Field | 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
{
"_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
}
template
Description
columns and relationships of "sequent_backend.template"
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
annotations - jsonb
|
|
Arguments
|
|
communication_method - String!
|
|
created_at - timestamptz!
|
|
created_by - String!
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
template - jsonb!
|
|
Arguments
|
|
tenant_id - uuid!
|
|
type - String!
|
|
updated_at - timestamptz!
|
|
Example
{
"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
}
templateOutput
Fields
| Field Name | Description |
|---|---|
document_id - String!
|
|
error_msg - String
|
|
task_execution - tasks_execution_type
|
Example
{
"document_id": "abc123",
"error_msg": "abc123",
"task_execution": tasks_execution_type
}
template_aggregate
Description
aggregated selection of "sequent_backend.template"
Fields
| Field Name | Description |
|---|---|
aggregate - template_aggregate_fields
|
|
nodes - [template!]!
|
Example
{
"aggregate": template_aggregate_fields,
"nodes": [template]
}
template_aggregate_fields
Description
aggregate fields of "sequent_backend.template"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - template_max_fields
|
|
min - template_min_fields
|
|
Example
{
"count": 123,
"max": template_max_fields,
"min": template_min_fields
}
template_append_input
template_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.template". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [template_bool_exp!]
|
|
_not - template_bool_exp
|
|
_or - [template_bool_exp!]
|
|
alias - String_comparison_exp
|
|
annotations - jsonb_comparison_exp
|
|
communication_method - String_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
created_by - String_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
template - jsonb_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
|
type - String_comparison_exp
|
|
updated_at - timestamptz_comparison_exp
|
Example
{
"_and": [template_bool_exp],
"_not": template_bool_exp,
"_or": [template_bool_exp],
"alias": String_comparison_exp,
"annotations": jsonb_comparison_exp,
"communication_method": String_comparison_exp,
"created_at": timestamptz_comparison_exp,
"created_by": String_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"template": jsonb_comparison_exp,
"tenant_id": uuid_comparison_exp,
"type": String_comparison_exp,
"updated_at": timestamptz_comparison_exp
}
template_constraint
Description
unique or primary key constraints on table "sequent_backend.template"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id", "tenant_id" |
Example
"communication_template_pkey"
template_delete_at_path_input
template_delete_elem_input
template_delete_key_input
template_insert_input
Description
input type for inserting data into table "sequent_backend.template"
Example
{
"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
}
template_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
communication_method - String
|
|
created_at - timestamptz
|
|
created_by - String
|
|
id - uuid
|
|
tenant_id - uuid
|
|
type - String
|
|
updated_at - timestamptz
|
Example
{
"alias": "abc123",
"communication_method": "abc123",
"created_at": timestamptz,
"created_by": "xyz789",
"id": uuid,
"tenant_id": uuid,
"type": "abc123",
"updated_at": timestamptz
}
template_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
alias - String
|
|
communication_method - String
|
|
created_at - timestamptz
|
|
created_by - String
|
|
id - uuid
|
|
tenant_id - uuid
|
|
type - String
|
|
updated_at - timestamptz
|
Example
{
"alias": "abc123",
"communication_method": "xyz789",
"created_at": timestamptz,
"created_by": "abc123",
"id": uuid,
"tenant_id": uuid,
"type": "xyz789",
"updated_at": timestamptz
}
template_mutation_response
Description
response of any mutation on the table "sequent_backend.template"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [template!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [template]}
template_on_conflict
Description
on_conflict condition type for table "sequent_backend.template"
Fields
| Input Field | Description |
|---|---|
constraint - template_constraint!
|
|
update_columns - [template_update_column!]!
|
|
where - template_bool_exp
|
Example
{
"constraint": "communication_template_pkey",
"update_columns": ["alias"],
"where": template_bool_exp
}
template_order_by
Description
Ordering options when selecting data from "sequent_backend.template".
Example
{
"alias": "asc",
"annotations": "asc",
"communication_method": "asc",
"created_at": "asc",
"created_by": "asc",
"id": "asc",
"labels": "asc",
"template": "asc",
"tenant_id": "asc",
"type": "asc",
"updated_at": "asc"
}
template_pk_columns_input
template_prepend_input
template_select_column
Description
select columns of table "sequent_backend.template"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
template_set_input
Description
input type for updating data in table "sequent_backend.template"
Example
{
"alias": "abc123",
"annotations": jsonb,
"communication_method": "abc123",
"created_at": timestamptz,
"created_by": "xyz789",
"id": uuid,
"labels": jsonb,
"template": jsonb,
"tenant_id": uuid,
"type": "abc123",
"updated_at": timestamptz
}
template_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_template"
Fields
| Input Field | Description |
|---|---|
initial_value - template_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": template_stream_cursor_value_input,
"ordering": "ASC"
}
template_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Example
{
"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
}
template_update_column
Description
update columns of table "sequent_backend.template"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"alias"
template_updates
Fields
| Input Field | 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
{
"_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
}
tenant
Description
columns and relationships of "sequent_backend.tenant"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz!
|
|
id - uuid!
|
|
is_active - Boolean!
|
|
labels - jsonb
|
|
Arguments
|
|
settings - jsonb
|
|
Arguments
|
|
slug - String!
|
|
test - Int
|
|
updated_at - timestamptz!
|
|
voting_channels - jsonb
|
|
Arguments
|
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"is_active": true,
"labels": jsonb,
"settings": jsonb,
"slug": "abc123",
"test": 123,
"updated_at": timestamptz,
"voting_channels": jsonb
}
tenant_aggregate
Description
aggregated selection of "sequent_backend.tenant"
Fields
| Field Name | Description |
|---|---|
aggregate - tenant_aggregate_fields
|
|
nodes - [tenant!]!
|
Example
{
"aggregate": tenant_aggregate_fields,
"nodes": [tenant]
}
tenant_aggregate_fields
Description
aggregate fields of "sequent_backend.tenant"
Fields
| Field Name | Description |
|---|---|
avg - tenant_avg_fields
|
|
count - Int!
|
|
Arguments
|
|
max - tenant_max_fields
|
|
min - tenant_min_fields
|
|
stddev - tenant_stddev_fields
|
|
stddev_pop - tenant_stddev_pop_fields
|
|
stddev_samp - tenant_stddev_samp_fields
|
|
sum - tenant_sum_fields
|
|
var_pop - tenant_var_pop_fields
|
|
var_samp - tenant_var_samp_fields
|
|
variance - tenant_variance_fields
|
|
Example
{
"avg": tenant_avg_fields,
"count": 987,
"max": tenant_max_fields,
"min": tenant_min_fields,
"stddev": tenant_stddev_fields,
"stddev_pop": tenant_stddev_pop_fields,
"stddev_samp": tenant_stddev_samp_fields,
"sum": tenant_sum_fields,
"var_pop": tenant_var_pop_fields,
"var_samp": tenant_var_samp_fields,
"variance": tenant_variance_fields
}
tenant_append_input
tenant_avg_fields
Description
aggregate avg on columns
Fields
| Field Name | Description |
|---|---|
test - Float
|
Example
{"test": 987.65}
tenant_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.tenant". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [tenant_bool_exp!]
|
|
_not - tenant_bool_exp
|
|
_or - [tenant_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
id - uuid_comparison_exp
|
|
is_active - Boolean_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
settings - jsonb_comparison_exp
|
|
slug - String_comparison_exp
|
|
test - Int_comparison_exp
|
|
updated_at - timestamptz_comparison_exp
|
|
voting_channels - jsonb_comparison_exp
|
Example
{
"_and": [tenant_bool_exp],
"_not": tenant_bool_exp,
"_or": [tenant_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"id": uuid_comparison_exp,
"is_active": Boolean_comparison_exp,
"labels": jsonb_comparison_exp,
"settings": jsonb_comparison_exp,
"slug": String_comparison_exp,
"test": Int_comparison_exp,
"updated_at": timestamptz_comparison_exp,
"voting_channels": jsonb_comparison_exp
}
tenant_constraint
Description
unique or primary key constraints on table "sequent_backend.tenant"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id" |
|
|
unique or primary key constraint on columns "slug" |
Example
"tenant_pkey"
tenant_delete_at_path_input
Description
delete the field or element with specified path (for JSON arrays, negative integers count from the end)
Example
{
"annotations": ["xyz789"],
"labels": ["abc123"],
"settings": ["xyz789"],
"voting_channels": ["abc123"]
}
tenant_delete_elem_input
Description
delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
Example
{"annotations": 123, "labels": 123, "settings": 987, "voting_channels": 123}
tenant_delete_key_input
Description
delete key/value pair or string element. key/value pairs are matched based on their key value
Example
{
"annotations": "abc123",
"labels": "abc123",
"settings": "abc123",
"voting_channels": "xyz789"
}
tenant_inc_input
Description
input type for incrementing numeric columns in table "sequent_backend.tenant"
Fields
| Input Field | Description |
|---|---|
test - Int
|
Example
{"test": 987}
tenant_insert_input
Description
input type for inserting data into table "sequent_backend.tenant"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
id - uuid
|
|
is_active - Boolean
|
|
labels - jsonb
|
|
settings - jsonb
|
|
slug - String
|
|
test - Int
|
|
updated_at - timestamptz
|
|
voting_channels - jsonb
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"is_active": true,
"labels": jsonb,
"settings": jsonb,
"slug": "abc123",
"test": 987,
"updated_at": timestamptz,
"voting_channels": jsonb
}
tenant_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
id - uuid
|
|
slug - String
|
|
test - Int
|
|
updated_at - timestamptz
|
Example
{
"created_at": timestamptz,
"id": uuid,
"slug": "abc123",
"test": 123,
"updated_at": timestamptz
}
tenant_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
id - uuid
|
|
slug - String
|
|
test - Int
|
|
updated_at - timestamptz
|
Example
{
"created_at": timestamptz,
"id": uuid,
"slug": "abc123",
"test": 987,
"updated_at": timestamptz
}
tenant_mutation_response
Description
response of any mutation on the table "sequent_backend.tenant"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [tenant!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 987, "returning": [tenant]}
tenant_obj_rel_insert_input
Description
input type for inserting object relation for remote table "sequent_backend.tenant"
Fields
| Input Field | Description |
|---|---|
data - tenant_insert_input!
|
|
on_conflict - tenant_on_conflict
|
upsert condition |
Example
{
"data": tenant_insert_input,
"on_conflict": tenant_on_conflict
}
tenant_on_conflict
Description
on_conflict condition type for table "sequent_backend.tenant"
Fields
| Input Field | Description |
|---|---|
constraint - tenant_constraint!
|
|
update_columns - [tenant_update_column!]!
|
|
where - tenant_bool_exp
|
Example
{
"constraint": "tenant_pkey",
"update_columns": ["annotations"],
"where": tenant_bool_exp
}
tenant_order_by
Description
Ordering options when selecting data from "sequent_backend.tenant".
Example
{
"annotations": "asc",
"created_at": "asc",
"id": "asc",
"is_active": "asc",
"labels": "asc",
"settings": "asc",
"slug": "asc",
"test": "asc",
"updated_at": "asc",
"voting_channels": "asc"
}
tenant_pk_columns_input
Description
primary key columns input for table: sequent_backend.tenant
Fields
| Input Field | Description |
|---|---|
id - uuid!
|
Example
{"id": uuid}
tenant_prepend_input
tenant_select_column
Description
select columns of table "sequent_backend.tenant"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tenant_set_input
Description
input type for updating data in table "sequent_backend.tenant"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
id - uuid
|
|
is_active - Boolean
|
|
labels - jsonb
|
|
settings - jsonb
|
|
slug - String
|
|
test - Int
|
|
updated_at - timestamptz
|
|
voting_channels - jsonb
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"is_active": false,
"labels": jsonb,
"settings": jsonb,
"slug": "xyz789",
"test": 987,
"updated_at": timestamptz,
"voting_channels": jsonb
}
tenant_stddev_fields
Description
aggregate stddev on columns
Fields
| Field Name | Description |
|---|---|
test - Float
|
Example
{"test": 987.65}
tenant_stddev_pop_fields
Description
aggregate stddev_pop on columns
Fields
| Field Name | Description |
|---|---|
test - Float
|
Example
{"test": 987.65}
tenant_stddev_samp_fields
Description
aggregate stddev_samp on columns
Fields
| Field Name | Description |
|---|---|
test - Float
|
Example
{"test": 123.45}
tenant_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_tenant"
Fields
| Input Field | Description |
|---|---|
initial_value - tenant_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": tenant_stream_cursor_value_input,
"ordering": "ASC"
}
tenant_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
id - uuid
|
|
is_active - Boolean
|
|
labels - jsonb
|
|
settings - jsonb
|
|
slug - String
|
|
test - Int
|
|
updated_at - timestamptz
|
|
voting_channels - jsonb
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"is_active": false,
"labels": jsonb,
"settings": jsonb,
"slug": "xyz789",
"test": 987,
"updated_at": timestamptz,
"voting_channels": jsonb
}
tenant_sum_fields
Description
aggregate sum on columns
Fields
| Field Name | Description |
|---|---|
test - Int
|
Example
{"test": 987}
tenant_update_column
Description
update columns of table "sequent_backend.tenant"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
tenant_updates
Fields
| Input Field | 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
{
"_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
}
tenant_var_pop_fields
Description
aggregate var_pop on columns
Fields
| Field Name | Description |
|---|---|
test - Float
|
Example
{"test": 123.45}
tenant_var_samp_fields
Description
aggregate var_samp on columns
Fields
| Field Name | Description |
|---|---|
test - Float
|
Example
{"test": 987.65}
tenant_variance_fields
Description
aggregate variance on columns
Fields
| Field Name | Description |
|---|---|
test - Float
|
Example
{"test": 123.45}
timestamptz
Example
timestamptz
timestamptz_comparison_exp
Description
Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_eq - timestamptz
|
|
_gt - timestamptz
|
|
_gte - timestamptz
|
|
_in - [timestamptz!]
|
|
_is_null - Boolean
|
|
_lt - timestamptz
|
|
_lte - timestamptz
|
|
_neq - timestamptz
|
|
_nin - [timestamptz!]
|
Example
{
"_eq": timestamptz,
"_gt": timestamptz,
"_gte": timestamptz,
"_in": [timestamptz],
"_is_null": true,
"_lt": timestamptz,
"_lte": timestamptz,
"_neq": timestamptz,
"_nin": [timestamptz]
}
trustee
Description
columns and relationships of "sequent_backend.trustee"
Fields
| Field Name | Description |
|---|---|
annotations - jsonb
|
|
Arguments
|
|
created_at - timestamptz
|
|
id - uuid!
|
|
labels - jsonb
|
|
Arguments
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
public_key - String
|
|
tenant_id - uuid
|
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "abc123",
"public_key": "abc123",
"tenant_id": uuid
}
trustee_aggregate
Description
aggregated selection of "sequent_backend.trustee"
Fields
| Field Name | Description |
|---|---|
aggregate - trustee_aggregate_fields
|
|
nodes - [trustee!]!
|
Example
{
"aggregate": trustee_aggregate_fields,
"nodes": [trustee]
}
trustee_aggregate_bool_exp
Fields
| Input Field | Description |
|---|---|
count - trustee_aggregate_bool_exp_count
|
Example
{"count": trustee_aggregate_bool_exp_count}
trustee_aggregate_bool_exp_count
Fields
| Input Field | Description |
|---|---|
arguments - [trustee_select_column!]
|
|
distinct - Boolean
|
|
filter - trustee_bool_exp
|
|
predicate - Int_comparison_exp!
|
Example
{
"arguments": ["annotations"],
"distinct": false,
"filter": trustee_bool_exp,
"predicate": Int_comparison_exp
}
trustee_aggregate_fields
Description
aggregate fields of "sequent_backend.trustee"
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
Arguments
|
|
max - trustee_max_fields
|
|
min - trustee_min_fields
|
|
Example
{
"count": 987,
"max": trustee_max_fields,
"min": trustee_min_fields
}
trustee_aggregate_order_by
Description
order by aggregate values of table "sequent_backend.trustee"
Fields
| Input Field | Description |
|---|---|
count - order_by
|
|
max - trustee_max_order_by
|
|
min - trustee_min_order_by
|
Example
{
"count": "asc",
"max": trustee_max_order_by,
"min": trustee_min_order_by
}
trustee_append_input
trustee_arr_rel_insert_input
Description
input type for inserting array relation for remote table "sequent_backend.trustee"
Fields
| Input Field | Description |
|---|---|
data - [trustee_insert_input!]!
|
|
on_conflict - trustee_on_conflict
|
upsert condition |
Example
{
"data": [trustee_insert_input],
"on_conflict": trustee_on_conflict
}
trustee_bool_exp
Description
Boolean expression to filter rows from the table "sequent_backend.trustee". All fields are combined with a logical 'AND'.
Fields
| Input Field | Description |
|---|---|
_and - [trustee_bool_exp!]
|
|
_not - trustee_bool_exp
|
|
_or - [trustee_bool_exp!]
|
|
annotations - jsonb_comparison_exp
|
|
created_at - timestamptz_comparison_exp
|
|
id - uuid_comparison_exp
|
|
labels - jsonb_comparison_exp
|
|
last_updated_at - timestamptz_comparison_exp
|
|
name - String_comparison_exp
|
|
public_key - String_comparison_exp
|
|
tenant_id - uuid_comparison_exp
|
Example
{
"_and": [trustee_bool_exp],
"_not": trustee_bool_exp,
"_or": [trustee_bool_exp],
"annotations": jsonb_comparison_exp,
"created_at": timestamptz_comparison_exp,
"id": uuid_comparison_exp,
"labels": jsonb_comparison_exp,
"last_updated_at": timestamptz_comparison_exp,
"name": String_comparison_exp,
"public_key": String_comparison_exp,
"tenant_id": uuid_comparison_exp
}
trustee_constraint
Description
unique or primary key constraints on table "sequent_backend.trustee"
Values
| Enum Value | Description |
|---|---|
|
|
unique or primary key constraint on columns "id" |
Example
"trustee_pkey"
trustee_delete_at_path_input
trustee_delete_elem_input
trustee_delete_key_input
trustee_insert_input
Description
input type for inserting data into table "sequent_backend.trustee"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
public_key - String
|
|
tenant_id - uuid
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"public_key": "xyz789",
"tenant_id": uuid
}
trustee_max_fields
Description
aggregate max on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
public_key - String
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"id": uuid,
"last_updated_at": timestamptz,
"name": "xyz789",
"public_key": "abc123",
"tenant_id": uuid
}
trustee_max_order_by
Description
order by max() on columns of table "sequent_backend.trustee"
Example
{
"created_at": "asc",
"id": "asc",
"last_updated_at": "asc",
"name": "asc",
"public_key": "asc",
"tenant_id": "asc"
}
trustee_min_fields
Description
aggregate min on columns
Fields
| Field Name | Description |
|---|---|
created_at - timestamptz
|
|
id - uuid
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
public_key - String
|
|
tenant_id - uuid
|
Example
{
"created_at": timestamptz,
"id": uuid,
"last_updated_at": timestamptz,
"name": "xyz789",
"public_key": "xyz789",
"tenant_id": uuid
}
trustee_min_order_by
Description
order by min() on columns of table "sequent_backend.trustee"
Example
{
"created_at": "asc",
"id": "asc",
"last_updated_at": "asc",
"name": "asc",
"public_key": "asc",
"tenant_id": "asc"
}
trustee_mutation_response
Description
response of any mutation on the table "sequent_backend.trustee"
Fields
| Field Name | Description |
|---|---|
affected_rows - Int!
|
number of rows affected by the mutation |
returning - [trustee!]!
|
data from the rows affected by the mutation |
Example
{"affected_rows": 123, "returning": [trustee]}
trustee_on_conflict
Description
on_conflict condition type for table "sequent_backend.trustee"
Fields
| Input Field | Description |
|---|---|
constraint - trustee_constraint!
|
|
update_columns - [trustee_update_column!]!
|
|
where - trustee_bool_exp
|
Example
{
"constraint": "trustee_pkey",
"update_columns": ["annotations"],
"where": trustee_bool_exp
}
trustee_order_by
Description
Ordering options when selecting data from "sequent_backend.trustee".
Example
{
"annotations": "asc",
"created_at": "asc",
"id": "asc",
"labels": "asc",
"last_updated_at": "asc",
"name": "asc",
"public_key": "asc",
"tenant_id": "asc"
}
trustee_pk_columns_input
Description
primary key columns input for table: sequent_backend.trustee
Fields
| Input Field | Description |
|---|---|
id - uuid!
|
Example
{"id": uuid}
trustee_prepend_input
trustee_select_column
Description
select columns of table "sequent_backend.trustee"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
trustee_set_input
Description
input type for updating data in table "sequent_backend.trustee"
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
public_key - String
|
|
tenant_id - uuid
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"public_key": "abc123",
"tenant_id": uuid
}
trustee_stream_cursor_input
Description
Streaming cursor of the table "sequent_backend_trustee"
Fields
| Input Field | Description |
|---|---|
initial_value - trustee_stream_cursor_value_input!
|
Stream column input with initial value |
ordering - cursor_ordering
|
cursor ordering |
Example
{
"initial_value": trustee_stream_cursor_value_input,
"ordering": "ASC"
}
trustee_stream_cursor_value_input
Description
Initial value of the column from where the streaming should start
Fields
| Input Field | Description |
|---|---|
annotations - jsonb
|
|
created_at - timestamptz
|
|
id - uuid
|
|
labels - jsonb
|
|
last_updated_at - timestamptz
|
|
name - String
|
|
public_key - String
|
|
tenant_id - uuid
|
Example
{
"annotations": jsonb,
"created_at": timestamptz,
"id": uuid,
"labels": jsonb,
"last_updated_at": timestamptz,
"name": "xyz789",
"public_key": "xyz789",
"tenant_id": uuid
}
trustee_update_column
Description
update columns of table "sequent_backend.trustee"
Values
| Enum Value | Description |
|---|---|
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
|
|
column name |
Example
"annotations"
trustee_updates
Fields
| Input Field | 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
{
"_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
}
uuid
Example
uuid
uuid_array_comparison_exp
Description
Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'.
Example
{
"_contained_in": [uuid],
"_contains": [uuid],
"_eq": [uuid],
"_gt": [uuid],
"_gte": [uuid],
"_in": [uuid],
"_is_null": false,
"_lt": [uuid],
"_lte": [uuid],
"_neq": [uuid],
"_nin": [uuid]
}
uuid_comparison_exp
Description
Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'.
Example
{
"_eq": uuid,
"_gt": uuid,
"_gte": uuid,
"_in": [uuid],
"_is_null": false,
"_lt": uuid,
"_lte": uuid,
"_neq": uuid,
"_nin": [uuid]
}